Forum Stats

  • 3,769,004 Users
  • 2,252,898 Discussions
  • 7,874,837 Comments

Discussions

How to get the response time for the http request sent

S VISHAL KUMAR
S VISHAL KUMAR Member Posts: 76 Red Ribbon

Hello All,

How to get the response time for the http request sent. I am posting the request through below command and want to capture the time taken to get the response.

How to achieve this from OpenScript/Load Testing?

http.post(1, url, null, http.postdata(http.param(xml.toString())), http.headers(http.header("Iv-User", "sample1",Header.HeaderAction.Add), http.header("s2", "sample2", Header.HeaderAction.Add)), false, "ASCII", "ASCII");

Any help on this would be really appreciated.

Thanks,

Vishal Kumar

Answers