rastech1
14 years agoOccasional Contributor
check points and wait methods in load test with scripting
Hi,
I just want to understant proper way of running a load test with scripting. First of all, I will tell why I need it.
Just using visual test editor can not handle everything. Some responses has to be checked in order to continue next request.
When I searched I found that post named "Is it possible to insert property check points or script routines in the task."
I just want to understant proper way of running a load test with scripting. First of all, I will tell why I need it.
Just using visual test editor can not handle everything. Some responses has to be checked in order to continue next request.
When I searched I found that post named "Is it possible to insert property check points or script routines in the task."
And the given answer is
""HTTP load testing operates with the http(s) protocol only and does not involve user interface of the tested application. Thus it is of no use to use UI functions like WaitAliasChild() during load test."
I dont understant, so in order to insert a checkpoint, do I have to use user interafce ? Cant I use some checkpoint inside somewhere in the script ?
another question is, in an smartbear article is it wrritten that
// Wait until the results are loaded: "http://www.google.com/search?hl=en&q=TestComplete&btnG=Google+Search"
w.Wait();
So, "Wait until the results are loaded" ensures that previous request loaded ?