Data Format Extension requests

Some Web applications send or receive content which is unreadable by testers. Such applications are hard to load test because the content of the requests cannot be modified.

The Data Format Extension API is useful to read custom requests in the same way AMF, GWT, and other modules do. Natively NeoLoad converts the content of binary requests of a supported format into readable XML. When the existing modules (AMF, GWT, etc.) do not support custom formats, the Data Format Extension API helps testers have NeoLoad decode and encode requests. With the API used in a Java code, custom formats can be read. The API covers the HTTP and WebSocket transport layers.

Decoding a request or a response consists in the following operations:

  1. Receiving the request or response
  2. Detecting whether it can be decoded
  3. Converting the binary content into an object
  4. Converting the object into XML
  5. Storing the XML content in the request or response

Encoding is for requests only. It consists in the following operations:

  1. Generating the request with XML content
  2. Converting the XML content into an object
  3. Converting the object into binary content
  4. Storing the binary content in the request

The Data Format Extension API helps:

The other steps of the process are handled by NeoLoad.

Once the API is implemented in NeoLoad, it is invoked on recording the custom format application and to generate the load.