3

I have 7 requests and 100 thread users in 1 Master and 3 Slave systems.

I want to know how load gets handled in slave systems?

What is response timeout in JMeter?

1
  • How can we use Master as well to simulate more load?
    – user36617
    Jan 16, 2019 at 9:59

2 Answers 2

4

As per what I'm understanding is that you have set up below mentioned architecture for JMeter distributed testing,

1 Master: Controlling 3 Slaves.

You have set up number of threads to 100 in the Thread Group.

In your Thread Group you have 7 HTTP Requests.

So now if you run your test with Remote Start All option, the Master system will tell all the 3 Salve system to execute the srcipt that will make 7 HTTP Requests each for 100 users. The Mster system in return will collect the results of all the three slaves.

So now in this scenario you are generating a load of 300 users simultaneously for each of your 7 HTTP Requests.

Now for the response timeout in Jmeter: Default timeout is 30 seconds I guess. Although you have configure your own timeout limit. There are 2 ways to configure custom response timeouts,

You can configure it in the Timeouts section in HTTP Request Sampler.

enter image description here

You can also configure it in the Timeouts section in HTTP Request Defaults config element.

enter image description here

3
  • thank you for answer, virtually it creates 300 users for 3 slaves? what is standard response timeout? Aug 5, 2016 at 6:44
  • Yes it creates 300 virtual users for 3 slaves. I've mentioned about the default timeout in the answer. For browsers I guess the default timeout is 30 or 60 seconds. Aug 5, 2016 at 6:47
  • ramup time is also added? Aug 12, 2016 at 10:55
2
  1. All JMeter slaves are basically executing the script from master machine. So if you have 100 threads in Thread Group each slave will kick off 100 threads hence total load will be 300 threads. Master machine does not generate any load (unless you launch a slave at the same host)
  2. By default all JMeter timeouts to wit:

    • Connect Timeout (until connection is established
    • Socket Timeout (waiting for data or between 2 data packets)

    are set to zero. It means that JMeter will try to establish connection or wait for response forever.

You can use Connect and Response timeouts setting of the HTTP Request sampler in order to control the timeout values. You can also apply the desired timeout values to all HTTP Request samplers in one shot using HTTP Request Defaults

HTTP Request Defaults - Timeouts

Response threshold can be set via Duration Assertion

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.