Viewing Virtual User Data

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

If, in your test, you parameterize the requests that multiple virtual users simulate, you may want to know what data each virtual user sends to the server.

In LoadComplete, you can save and view the contents of simulated requests and received responses in the test log.

To store the contents of requests and responses:

  1. Choose Tools | Options from LoadComplete’s main menu. This will invoke the Options dialog.

  2. In the dialog, select the Simulating | General category on the left.

  3. In the Store log data drop-down list, select All data (Report + Details).

  4. In the Store request and response data drop-down list, select Complete data (start line, headers and body).

  5. Click OK to save the changes.

Note: LoadComplete ignores the logging options during scenario verification and saves the complete request and response data anyway.

Now you can run your test. LoadComplete will save the contents of each simulated request and received response to the test log.

You can view the contents of simulated requests after the test run is over --

  1. Switch to the Details panel of the test log.

  2. In the left pane of the Details panel, find the virtual user that simulated the request.

  3. In the right pane of the Details panel, find the needed request.

  4. Examine the Request Body panel. It shows the contents of the request sent by the virtual user.

    Note: You can see the contents of POST HTML requests only. The request body of GET requests does not contain any data.
  5. View the server’s response to that request in the Response Body panel.

    To verify that the server responded correctly, you can create a validation rule for that response. See Creating Validation Rules.

See Also

Typical Use Cases
Viewing Actual Request and Response Bodies
Request Body Panel
Response Body Panel

Highlight search results