Support of JavaScript Object Notation (JSON)

JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is based on a subset of the JavaScript Programming Language, Standard ECMA-262 3rd Edition - December 1999

Recording:

In order to be able to visualize and modify the JSON messages, the AgileLoad recording module converts JSON messages to XML messages.
The user can easily insert variables in the requests, collect some results, and define validation tests.

Replay:

The AgileLoad replay engine converts the XML messages to AMF messages.

JSON/XML conversion:

During the replay, the JSON to XML conversion uses some CPU resources. If a request does not need to be modified (eg: add some variables), it is a good idea to replace the XML message by the original JSON message. This will prevent the AgileLoad engine to convert the XML message to JSON.
This can be done by selecting the Tools/JSON XML conversion menu

A same JSON request with a body in JSON format and XML format

JSON

XML

See also:





Go back to the Learning center:


Copyright © AgileLoad. All rights reserved.
Agile Load testing tool| Contact AgileLoad | Terms of Use | Sitemap