Forum Discussion
omatzura
Super Contributor
Hi,
you have several options:
1) get soapUI Pro and package the script in the Script Library (read more at http://www.soapui.org/userguide/scripti ... pt_Library). Then make a call to this from within your teardown scripts.
2) create a TestRunListener extension (read more at http://www.soapui.org/architecture/extensions.html) and implement the afterRun method to do you what you need. This will be run for all TestCases so remember to check that you are "within" the desired TestCase/TestSuite. If you use soapUI Pro, you can create the extension in groovy (and/or use the Script Library) with support for instant recompiling so you wont have to restart to reload changes to the extension.
Hope this helps!
regards,
/Ole
eviware.com
you have several options:
1) get soapUI Pro and package the script in the Script Library (read more at http://www.soapui.org/userguide/scripti ... pt_Library). Then make a call to this from within your teardown scripts.
2) create a TestRunListener extension (read more at http://www.soapui.org/architecture/extensions.html) and implement the afterRun method to do you what you need. This will be run for all TestCases so remember to check that you are "within" the desired TestCase/TestSuite. If you use soapUI Pro, you can create the extension in groovy (and/or use the Script Library) with support for instant recompiling so you wont have to restart to reload changes to the extension.
Hope this helps!
regards,
/Ole
eviware.com
Related Content
- 6 years ago
- 7 years ago
Recent Discussions
- 15 years ago