Forum Discussion
oleksii
Occasional Contributor
I changed test suite teardown script to this:
def statisticsPath = "c:\\Programs\\SmartBear\\SoapUI-5.2.1\\loadteststatistics\\temp.txt" def testCaseReportFile = new File("c:\\Programs\\SmartBear\\SoapUI-5.2.1\\loadteststatistics\\temp.txt") testCaseReportFile.append("some text")
And the file was not created after running loadtestrunner from console which proves that this test suite teardown script is not called when load tests are run - what a pitty.
The file was created when I run this script in GUI which confirms that the script is OK.
I will continue by adding extra load test in the end of my test suite which will execute the script.
rupert_anderson
9 years agoValued Contributor
Hi,
OK, are you saying those LoadTest Teardown / Startup tab scripts are not getting run when running via the command line? They should do.
Regards,
Rup
- rupert_anderson9 years agoValued Contributor
Also have you see this doc?
https://www.soapui.org/load-testing/scripting-possibilities.html
might be useful.
Related Content
- 7 years ago
- 6 years ago
Recent Discussions
- 4 days ago