Running a Load Test ScenarioLast Updated: 12/07/2015 Introduced in Verision: 2.0
The Load Test Utility dynamically generates data and makes requests against the system for load testing purposes. Requests and data are defined and configured to run as scenarios.
To run a load test scenario, open the Load Test Utility from the local machine, select your scenario in the Select Script dropdown, configure the simulation details and click the Run button.
In the example, we will:
- Select a previously created scenario in the Load Test Utility.
- Configure simulation values.
- Run the scenario.
- View the results in the Knowledge Base folder.
Our example test will test what happens when 50 users simultaneously attempt to add an article to the Knowledge Base folder. This example assumes that the scenario for adding an article to the Knowledge Base folder has already been created and is called Add Article.
In the portal, we can see that our Knowledge Base folder currently contains several recent news articles.
To run our scenario, we will open the Load Test Utility.
Under the Testing Control tab, we will select Add Article from the Select Script dropdown.
Next, under Simulation Type, we will select No Pause. This will initiate the multiple threads of our script all at once.
Next, we will fill in the Number of Simulated Users field with “50”. This configures our scenario to simulate 50 unique users, each of which will start a unique thread of the Add Article script.
This completes the configuration of our scenario, so we will click the Run button to begin our load test.
The Log tab contains detailed logs of our test. The first 50 lines indicate that 50 unique sessions were started.
The last 50 lines indicate that those 50 sessions were successfully completed. If they had not completed successfully, an error message would have appeared in the log.
Back in the portal, we can see that 50 new articles have been added to the Knowledge Base folder.