cancel
Showing results for 
Search instead for 
Did you mean: 

Stop test execution from groovy

Highlighted
Community Hero

Stop test execution from groovy

Hey,

Is there a way to stop the test execution for all test (from all test suites) from a groovy script?


If my answer helped please click on the 'Accept as Solution' button.
1 REPLY 1
Highlighted
Community Leader

Hi @Lucian,

 

testRunner.cancel("Reason to stop").

 

It worked for me. Give it a try. 🙂

 

 


Click "Accept as Solution" if my answer has helped,
Remember to give "Kudos" 🙂 ↓↓↓↓↓



Thanks and Regards,
Himanshu Tayal
New Here?
Join us and watch the welcome video:
Announcements
TechCorner Leaderboard
Want a fun and easy way to learn ReadyAPI and show off your skills? Try solving weekly TechCorner challenges and get into the Leaderboard!


Challenge Status

Get a full Raw JMS request

Participate!

Compare an expected JSON value and actual response in Events

Participate!

Fetch value/data from JSON response using Groovy Script

See replies!

Get data from Petstore and add it to Excel sheets

Participate!
Top Kudoed Authors