Forum Discussion

arthurdpg's avatar
Regular Visitor
6 years ago

[SoapUI] - How to make Load Test fail when a Groovy Step assert fails

Hi guys,   I have a Groovy Step in my test case. I run some validation and I make an assert at the end. When I run only my groovy step, it fails correctly.   But when I run my Load Test, with my...
  • groovyguy's avatar
    6 years ago

    Based on my experiences, during a Load test, errors will not cause the load test to fail/stop. Instead, it will throw an error and will be logged in the "Errors" during the run. If you require the Load test to stop when that groovy script fails, you may have to find a different way to handle that.


    I moved your thread to LoadUI, since you are working with Load tests.