Hello, load testing enthusiasts! Say goodbye to the complexities of JMeter scripting with our new feature which allows you to create load tests directly by providing your HTTP requests. No prior expertise in testing tools is required – just navigate to the portal, input your HTTP requests, and you're all set!
With this new experience you can specify the endpoint, HTTP method, headers, query parameters, or just enter cURL commands effortlessly. But that's not all you also have additional functionalities with this.
Extract data from the response of one request and pass it on to a subsequent request. For example, if you are retrieving an authentication token in a request and would like to use it for authentication in your subsequent requests, you can store it in a variable and do so.
Provide input test data. For example, if you are testing a Get Shopping Cart API and would like to provide different customer IDs for the same, you could store these in a CSV file and provide that as an input for your customer ID field in the request.
Specify different load patterns. You can specify what load shape you need to be simulated during the test.
Creating a Load Test
In this section we’ll look at how to create a test in a few simple steps.
Head to the Overview page of your Azure Load Testing resource
Hit the Get started tab, and select Add HTTP requests > Create.
Provide a unique name for your test, add a description if desired
In the Test plan tab Configure your application endpoint and load test parameters – insert the test URL, request method, headers, request body etc. Alternatively, you could just copy the cURL command if you have already configured your requests in other tools like Postman.
In the Load tab, Enter the number of virtual users, set the duration, etc.
Hit that Create button, and Azure Load Testing takes care of generating a load test script and provisioning the necessary infrastructure to simulate your desired load.
So, you can now start your load testing journey without having to set up a test script. For more details, visit our documentation. If you have any feedback, let us know through our feedback forum. Refer to the previous blogposts on Azure Load Testing here.