Starting and Stopping

How to start and stop a load test

To start, stop and abort load tests, your account must at least have the role of a tester within the project.

Starting the Load Test

To actually start the load test, click the link on top of the load test contents:

Start the configured load test.

You will be prompted to confirm that you want to start the load test with the given settings now. If you click Start Load Test XTC will start the load test by downloading the current state of the test suite project from the repository, building the project, provisioning the requested agents and, if this was successful, run the provided test scenarios for the configured time.

Stopping a Load Test

XLT simplifies finishing load tests for you, as load tests will be stopped automatically after the run is complete. XLT will take care to deprovision the agents that were used for the test run and it will automatically download results and create a report.

If XTC fails to terminate an agent machine, it will mark the Terminate Agents step on the Status tab of the load test as failed.

Aborting a Load Test

However there might be several reasons why you’d want to abort a load test before it has finished: maybe you noticed too late that you missed some configuration setting, or you notice a lot of unexpected errors popping up on the scenario overview or your app server is already collapsing halfway through the run, to just name a few. In these situations, you can just abort the test run by clicking Abort Load Test on the top right.

Abort the load test.

This will open a popup which prompts you to confirm that you want to abort the current run. Depending on the test status (whether any test scenarios have run already, thus producing result data) you may select which result artifacts should be downloaded and whether a report should be created. By deselecting unneeded artifacts, result browsers for example, the initial download may progress much faster and, consequently, storing the result and load test report to persistent storage later on may take less time as well.

XTC will then stop the running test scenarios and deprovision all agents.

Popup after clicking Abort Load Test in a test run which is currently STARTING.

Right after a user has clicked the Abort Load Test button, the button will be disabled for the current user as well as for all other users. This is to indicate that the abort procedure is in progress.

If XTC fails to terminate an agent machine, it will mark the Terminate Agents step on the Status tab of the load test as failed.

Last modified June 22, 2022