Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make JMeter wait for a page answer

I was not able to figure out how to make JMeter wait for HTTP Response from Web Service.
I added If Controller with ${JMeterThread.last_sample_ok} option, but unfortunately it doesn't work.
Anyone can help me ?

like image 548
Lukasz Ciesluk Avatar asked Dec 04 '25 13:12

Lukasz Ciesluk


2 Answers

I agree with Oliver response.

But maybe your question is too vague and what you are trying to do is wait for some response following an intermediate "loading page", in this case answer would be something like this:

  • http://www.sourcepole.ch/2011/1/4/waiting-for-a-page-change-in-jmeter
like image 57
UBIK LOAD PACK Avatar answered Dec 06 '25 03:12

UBIK LOAD PACK


JMeter waits for a HTTP response by default.

If you're using the HTTP Sampler then you can view the response for each request using the View Results Listener. You can also set the timeout for requests in the sampler itself or by using the HTTP Defaults Control.

like image 45
Oliver Lloyd Avatar answered Dec 06 '25 01:12

Oliver Lloyd



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!