Recording a Load Test Scenario
  • Updated on 09 May 2013
  • 1 minute to read
  • Print
  • Dark

Recording a Load Test Scenario

  • Print
  • Dark

The Load Test Utility dynamically generates data and makes requests against the system for load testing purposes. Requests and data are defined and configured in recorded scenarios .
To record a load test scenario, open the Load Test Utility from the local machine. Under the Record Control tab, give a name to this scenario (or script) and click the Start Recording button. All actions performed in the portal between pressing the Start Recording button and pressing the Stop Recording button will be recorded and transformed in a script that can be modified and repeated as needed.


In the example, we will:

  1. Open the Load Test Utility.

  2. Record a scenario in the portal.

  3. View the scenario in the Load Test Utility'sScript Editor .

Our example scenario will consist of a user adding an article to the Knowledge Base folder. This scenario can later be used to load test many users adding many articles simultaneously.

In the portal, we can see that our Knowledge Base folder currently contains several recent news articles.

To record our scenario, we will open the Load Test Utility .

Under the Record Control tab, we will fill in the New Script Name field with "Add Article" and click Start Recording to begin recording our actions in the portal.

In the portal, we will navigate to the Knowledge Base folder. Next, we'll click the Actions button and select Create Article .

In the resulting Create Article popup, we will fill in the Title field with "Test Article", type "Test Desc..........." in the Description field, and click OK .

Back in the Load Test Utility , we will click the Stop Recording button.

Under the Script Editor tab, we will see a detailed list of services, methods and details about every event that occurred while we were recording in the portal. Each event is represented in XML and can be modified in the panel on the right.

Was this article helpful?