I am using Jmeter to stress test my website.
Each user needs to make two requests consecutively:
How can I tell Jmeter to make these two requests in that order for each thread?
Adding Timers To add a timer element, we need to right-click on the Thread Group element and select Add, Timer, Constant Timer. Here, we've added a Constant Timer with a Thread Delay of three seconds to our thread group. This timer adds a delay between each request.
Create a Test Plan First For JMeter Post Requests Just right click on Test Plan and then click on the element by following this path: Threads (Users) -> Thread Group. Your Thread Group should be added now. And you can keep values in Thread Properties as they are.
Take a look at order execution in the User Manual
Jmeter will run the requests in the order you place them. So your structure would look like this:
Test Plan
+ ThreadGroup
+ HTTP Request - LOGIN
+ HTTP Request - 2nd Page
In addition to reading the usermanual, also check out the official step-by-step guide on how to record
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With