Unanswered question

How to capture response size and time in a file?

I have a request which will download report data as part of the response. since we are running for various users with various input conditions, i want to write a javascript in neoload script to output the responsesize and the response time for that particular user/iteration. So that I can collate this information later and can see the correlation between the response size and response time.

MMMM M.
MMMM M.

MMMM M.

Level
0
1 / 100
point

Answers

Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

You can easily extract the response size from the HTTP headers with a variable extractor. But for the response time you can't do it except if your request is under a page which is also under a container.

Since NeoLoad stores the raw data for a container you will get the response time for all the request execution. But be careful, depending on your tests and scripts the amount of data can be huge.