Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 20755

Halting testrunner execution upon eventHandler exception

$
0
0

Context:

  • We use testrunner.bat to run large SoapUI projects.  
  • We use eventHandlers implemented as groovy scripts (e.g. TestRunListener.beforeRun).  

Current situation

  • Groovy code in eventHandlers may throw exceptions, but testrunner.bat keeps executing tests ayway.
  • Hours of lab time could be wasted by executing tests when a fundamental piece like an eventHandler is failing.

Desired situation

  • Want exceptions thrown within groovy eventHandlers to cause testrunner.bat to terminate gracefully.

Benefit

  • Avoid wasting hours of lab time executing tests that are doomed to fail because of problems in eventHandlers.

Pointers welcome!  Thanks,

 

Rob


Viewing all articles
Browse latest Browse all 20755

Trending Articles