I have a scenario wherein i have to export the values(the details of group
of people) from a webpage in either a CVS or PDF format in my local. The
response was success When i recorded this scenario in jmeter. When i added
recorded samplers in the thread group and ran them, i received success
response with 302 response code. But the sample time is very less when
compared with F12 time(manually captured it using F12 developer tool).
It is a POST request when i recorded it. In the results it's showing 3
different child samples out of that 1 is POST and the remaining 2 are GET
requests. And 1 additional request with blank request.
This is expected as real browsers handle "embedded resources" in a different
way: each "main" request to get content is followed by *parallel* requests
to the resources - this is not something you can implement manually using
JMeter Test Elements as per current version (3.3)
The solution is configuring your HTTP Request samplers to:
*Retrieve All Embedded Resources*
The settings can be found at the "Advanced" tab of the HTTP Request sampler: