Forum Discussion
Hello Alex,
I'm still having some issues with my load test. I have 2 different tasks for which I want to check the responseBody (script A and B). So, basically, here's the problem. I've created an event handler for script A and an event handler for script B. This is the event handler for script A.
function A_OnLoadTestingResponse(Sender, User, Request)
{
var ping = Request.ResponseBody.Contents;
if(aqString.Find(ping, "Welcome A") != -1)
{
Log.Message("String found.Test passed");
}
else
{Log.Error("String not found.Test failed");}
}
But when I run the test A that is associated with task A, in the log it shows that it also checked for the string that coresponds to the script and event handler B. So basically, by running task A, I get load test results for task A and event handler results for task A and for task B. What am I doing wrong?
Related Content
- 5 months agomacheshmeh
- 12 months agoianlop
- 10 months agoIso_Yura
- 3 years agomcbane
Recent Discussions
- 20 hours agojstaehlin
- 2 days agoAivanitskiy