Forum Discussion
StevenColon
7 years agoSmartBear Alumni (Retired)
Thank you for posting to our Community Forum.
Currently, there is no way to use groovy scripting to start/stop virts. First reason being that you cannot see any of the UI/ transaction log in ServiceV. I also saw during my investigation, even though there is start() that there is no stop() method implemented.
The best way to do this is by using the VirtRunner test step to start and stop virts in automated testing.
Here is our documentation on that test step: https://support.smartbear.com/readyapi/docs/soapui/steps/virt-runner.html
Let me know if you have any questions/concerns.