Muokkaa

Jaa


Create and manage tests runs in Azure Load Testing

When you run a load test, Azure Load Testing creates a test run associated with the test. Learn how to manage tests runs for a load test in Azure Load Testing.

Prerequisites

  • An Azure account with an active subscription. If you don't have an Azure subscription, create a free account before you begin.
  • An Azure load testing resource. To create a load testing resource, see Create and run a load test.

View test runs

Test runs are associated with a load test in Azure Load Testing. To view the test runs for a test in the Azure portal:

  1. In the Azure portal, and go to your load testing resource.

  2. Select Tests in the left pane, to view the list of tests.

  3. View the test runs for a test by selecting the test name in the list.

    Screenshot that shows the list of test runs for a load test in the Azure portal.

  4. Select ellipsis (...) for a test run perform more actions on the test run.

    Screenshot that shows the test run context menu in the Azure portal to download input files, results file, and share a link.

Edit a test run

You can modify a test run by adding or removing Azure app components or resource metrics. You can't update the other test configuration settings.

To view the test runs for a test in the Azure portal:

  1. In the Azure portal, and go to your load testing resource.

  2. Select Tests in the left pane, to view the list of tests.

  3. Go to the test details by selecting the test name in the list tests.

  4. Go to the test run dashboard by selecting a test run name in the list of runs.

  5. Select App Components or Configure metrics to add or remove app components or resource metrics.

    The test run dashboard automatically reflects the updates to app components and metrics.

    Screenshot that shows how to configure app components and resource metrics for a test run in the Azure portal.

Rerun a test run

When you rerun a test run, Azure Load Testing uses the test configuration that is associated with the test run. If you've made changes to the configuration of the test afterwards, those changes aren't taken into account for rerunning the test run.

To rerun a test run in the Azure portal:

  1. In the Azure portal, and go to your load testing resource.

  2. Select Tests in the left pane, to view the list of tests.

  3. Go to the test details by selecting the test name in the list tests.

  4. Go to the test run dashboard by selecting a test run name in the list of runs.

  5. Select Rerun.

  6. In the Rerun page, optionally update the test run description and test parameters.

  7. Select Rerun to start the load test.

Stop a test run

To stop a test run in the Azure portal:

  1. In the Azure portal, and go to your load testing resource.

  2. Select Tests in the left pane, to view the list of tests.

  3. Go to the test details by selecting the test name in the list tests.

  4. Select one or more test runs from the list by checking the corresponding checkboxes.

  5. Select Delete test runs

    Alternately, go to the test run dashboard by selecting a test run name in the list of runs, and then select Delete test run.

  6. In the Delete test run page, select Delete to delete the test run.

Delete a test run

To delete a test run in the Azure portal:

  1. In the Azure portal, and go to your load testing resource.

  2. Select Tests in the left pane, to view the list of tests.

  3. Go to the test details by selecting the test name in the list tests.

  4. Select ellipsis (...) > Stop to stop a running test run.

Compare test runs

To identify performance degradation over time, you can visually compare up to five test runs in the dashboard. Learn more about comparing test runs in Azure Load Testing.

Next steps