Forum Discussion
exp1
15 years agoOccasional Contributor
Hi Allen,
Thank you for your reply, but there is a point I could not solve what is Request ID
In the helps it says,
The Request parameter is an
object that provides a scripting interface for the request being sent. Use the
property to determine the request for which the event was generated.
and in the Request ID page, it says
Is Global Index is teh Request ID ?
I tried both way and started my test, but both cases returned error from the script code given above.
Can you tell me how I have to change the script to in order to get response body of a given request of a vuser in my test ?
Thank you for your reply, but there is a point I could not solve what is Request ID
In the helps it says,
The Request parameter is an
HTTPRequestobject that provides a scripting interface for the request being sent. Use the
HTTPRequest.RequestIDproperty to determine the request for which the event was generated.
and in the Request ID page, it says
The request ID identifies the request within the entire HTTPTask. It is
displayed in the tree of connections and request in the Load Testing
Task editor. Do not confuse request id with the index of the request in the
requests collection of a connection.
Is Global Index is teh Request ID ?
I tried both way and started my test, but both cases returned error from the script code given above.
Can you tell me how I have to change the script to in order to get response body of a given request of a vuser in my test ?