Forum Discussion
exp1
15 years agoOccasional Contributor
Hi Allen,
I added extra two lines in order to get requestID, and run the test as usual,and noticed that the actually the function was triggered
after that I see just see this "{" character in the log result under Additional Information tab.
What does it mean ? I wrote my script code below,
function GeneralEvents_OnLoadTestingResponse(User,Sender,Request)
{
Request=LoadTesting["HTTPTask"]("FAZ02_Basket")["Connection"](1)["Request"](0);
var myRequest=Request["RequestID"];
if(Request.RequestID==myRequest)
{
Log.Message("Response body for Request"+myRequest,Request.ResponseBody.Contents);
}
}
Best Regards.
I added extra two lines in order to get requestID, and run the test as usual,and noticed that the actually the function was triggered
after that I see just see this "{" character in the log result under Additional Information tab.
What does it mean ? I wrote my script code below,
function GeneralEvents_OnLoadTestingResponse(User,Sender,Request)
{
Request=LoadTesting["HTTPTask"]("FAZ02_Basket")["Connection"](1)["Request"](0);
var myRequest=Request["RequestID"];
if(Request.RequestID==myRequest)
{
Log.Message("Response body for Request"+myRequest,Request.ResponseBody.Contents);
}
}
Best Regards.