Support for Ajax Applications

Applies to LoadComplete 4.97, last modified on May 20, 2019

Ajax (Asynchronous JavaScript and XML) applications are Rich Internet Applications that use a set of web technologies for data presentation, data exchange and data processing. LoadComplete supports load testing of Ajax applications and lets you create and run test scenarios for verifying Ajax application performance under load.

Supported Technologies

Ajax applications can exchange data with a remote server using various protocols and data formats, including HTTP, JSON and XML. LoadComplete supports these technologies so that you can effectively test Ajax applications:

  • HTTP. LoadComplete can record and play back any HTTP GET and POST requests. These include web page and resource requests, form submission requests and so on. LoadComplete also lets you customize URL parameters in GET requests and HTML form fields in POST requests of the application/x-www-form-urlencoded and multipart/form-data types in order to run the test with different data sets. For more information, see Editing Scenarios.

  • JSON. LoadComplete detects HTTP requests and responses that contain JSON data, parses this data and shows it in a tree-like form for easy viewing. You can see field names, types and values, arrays, custom objects and so on. For more information, see Support for JSON Format.

  • XML.LoadComplete detects HTTP requests and responses containing XML data, parses this data and shows it in a tree-like form. You can see XML element names, attributes and values.

Parameterizing Requests

LoadComplete support for JSON and XML requests and responses allows you to --

  • Extract values from server responses to variables.

  • Replace recorded values in requests with variables.

This lets you parameterize simulated requests and re-use dynamic parameter values returned in responses in subsequent requests. For more information, see Parameterizing Rich Internet Application Traffic and Data Correlation.


In Ajax applications, user actions typically trigger individual JSON and XML requests rather than load web pages. As a result, by default, the recorded traffic may include a long list of requests, and it may be difficult to view and analyze it.

To make the traffic easier to understand, you can wrap the recorded JSON and XML requests into custom pages. For more information on this, see Defining Custom Pages.

Using custom pages brings one more benefit: you can use LoadComplete features for randomizing web pages’ think time and make virtual user behavior closer to real user activity. For information on the think time settings, see Setting Think Time Behavior.

See Also

Load Testing With LoadComplete
Support for JSON Format
Supported Protocols and Data Formats
Parameterizing Rich Internet Application Traffic

Highlight search results