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. 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. PrerequisitesĪn Azure account with an active subscription. If you want to create a load test without a JMeter script, learn how you can create a URL-based load test in the Azure portal. Azure Load Testing supports all communication protocols that JMeter supports.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |