Troubleshoot JMeter problems by downloading Azure Load Testing Preview logs

In this article, you'll learn how to download the Azure Load Testing Preview logs in the Azure portal to troubleshoot problems with the Apache JMeter script.

When you run a load test, the Azure Load Testing test engines execute your Apache JMeter test script. The Apache JMeter log can help you identify both problems in the JMX file and issues that occur during the test execution. For example, the application endpoint might be unavailable, or the JMX file might contain invalid credentials.

Important

Azure Load Testing is currently in preview. For legal terms that apply to Azure features that are in beta, in preview, or otherwise not yet released into general availability, see the Supplemental Terms of Use for Microsoft Azure Previews.

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 that has a completed test run. If you need to create an Azure Load Testing resource, see Create and run a load test.

Access and download logs for your load test

In this section, you retrieve and download the Azure Load Testing logs from the Azure portal.

  1. In the Azure portal, go to your Azure Load Testing resource.

  2. Select Tests to view the list of tests, and then select your load test.

    Screenshot that shows the list of load tests for an Azure Load Test resource.

    Tip

    To limit the number of tests, use the search box and the Time range filter.

  3. In the list of tests, select the test run you're working with to view its details.

    Screenshot that shows a list of test runs for the selected load test.

  4. On the dashboard, select Download, and then select Logs.

    Screenshot that shows how to download the load test logs from the test result page.

    The browser should now start downloading the execution logs as a zipped folder.

  5. You can use any extraction tool to extract the zipped folder and access the logging information.

    Screenshot that shows the JMeter log file content.

Next steps