Ankur
Ankur

Reputation: 1086

How to send concurrent request in jmeter as browser does?

I am doing load testing in jmeter. I have recorded the script using jmeter recording of my application. When i am running the script then response time is greater than the response time comes in browser. I have used the concurrent pool in Http Request Header but its not working for me because i have different http requests. So Is there any way that we can send the parellel http requests of Sampler for same user.

Please help! Thanks in advance.

Upvotes: 0

Views: 1076

Answers (1)

Dmitri T
Dmitri T

Reputation: 168092

Try "clean" browser session - delete all cookies, cache, etc. - response times will stop being different - all you need is just to add HTTP Cache Manager to your Test Plan

If it doesn't help - it may be AJAX. JMeter doesn't have built-in mechanisms for simulating AJAX requests so it needs to be worked around.

See How to Load Test AJAX/XHR Enabled Sites With JMeter guide for different options highlighted and explained.

Upvotes: 0

Related Questions