Troubleshoot JMeter problems by downloading Azure Load Testing Preview logs

Learn how you can 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 to identify problems in the JMX file, as well as issues 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. See the Supplemental Terms of Use for Microsoft Azure Previews for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.

Prerequisites

  • An Azure account with an active subscription. If you don't have an Azure subscription, create a free account before you begin.
  • You need 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'll retrieve and download the Azure Load Testing logs from the Azure portal.

  1. Navigate to your Azure Load Testing resource in the Azure portal.

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

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

    Tip

    You can use the search box and the Time range filter to limit the number of tests.

  3. Select the test run from the list to view the test run details page.

    Screenshot that shows how to select a test run for a load test.

  4. On the dashboard, select Download, and then 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 zip tool to unzip the folder and access the logging information.

    Screenshot that shows the JMeter log file content.

Next steps