

Go to your Azure Load Testing resource, select Tests from the left pane, select + Create, and then select Upload a JMeter script. Sign in to the Azure portal by using the credentials for your Azure subscription. To create a load test using an existing JMeter script in the Azure portal: When you create a quick test by using a URL, Azure Load Testing automatically generates the corresponding JMeter script. An Azure Load Testing resource can contain multiple load tests. When you create a load test in Azure Load Testing, you specify a JMeter script to define the load test plan. The sampler names appear in the Azure Load Testing test run results dashboard. ĭon't include any Personally Identifiable Information (PII) in the sampler name in the JMeter script. Set the value of the HTTPSampler.path node to the path of your endpoint.įor example, the path for the URL would be /app/products. Set the value of the HTTPSampler.domain node to the host name of your endpoint.įor example, if you want to test the endpoint, the host name is Cautionĭon't include https or http in the endpoint URL. This script simulates a load test of five virtual users that simultaneously access a web endpoint, and takes 2 minutes to complete. Open the SampleTest.jmx file in a text editor. To get started with a sample JMeter script: Alternatively, import cURL commands to generate the requests in the JMeter test script. You can also use the Apache JMeter test script recorder to record the requests while navigating the application in a browser. In this section, you'll create a sample JMeter test script to load test a single web endpoint.

If you already have a script, you can skip to Create a load test.
#Apache jmeter stable release download#
If you need to create an Azure Load Testing resource, see the quickstart Create and run a load test.Ĭlone or download the samples project from GitHub Create an account for free.Īn Azure Load Testing resource. Azure Load Testing supports all communication protocols that JMeter supports.Īn Azure account with an active subscription.
#Apache jmeter stable release how to#
Learn how to use an Apache JMeter script to load test a web application with Azure Load Testing from the Azure portal.Īzure Load Testing enables you to take an existing Apache JMeter script, and use it to run a load test at cloud scale.
