Forum Discussion
oleksii
Occasional Contributor
The more I work with SoapUI the more **bleep**ty it seems to me :(
This:
loadTestRunner.cancel( "Cancelling LoadTest" )
being placed in load test setup script has no effect on load test execution at all. How to use it then??
rupert_anderson
8 years agoValued Contributor
Hi,
Whilst SoapUI has its aged parts and rough edges, I prefer to think of them as opportunities for improvement! :-)
In terms of your problem, if I am understanding you right you have something like:
TestCase:
1.Soap Request (get ping result)
2.Groovy TestStep (test ping result and conditionally stop load test)
The above TestCase is then run from a load test.
Could you instead maybe try to conditionally stop the load test from within the TestCase rather than in the Load Test's setup script? Maybe something like:
if( context.LoadTestRunner!= null ) context.LoadTestRunner.cancel( "Cancelling LoadTest" )
Related post:
Regards,
Rupert
Related Content
- 2 years ago
- 2 years ago
Recent Discussions
- 2 days ago