oleksii
9 years agoOccasional Contributor
TestSuite teardown script is not executed when LoadTest is run?
I have a testsuite which contains a bunch of load tests. There is a teardown script which is setup in test suite and I expected that it would run after all load tests finish, but it did not happen.
Load test is run with shell command similar to this one:
%SOAPUI_HOME%\bin\loadtestrunner.bat -r -fc:\Programs\SmartBear\SoapUI-5.2.1\loadteststatistics -s "ReadOnlyScenarios" -Doracle.jdbc.timezoneAsRegion=false -Gsoapui.properties=c:\GitRepository\CIP\cip.dev.properties CIP-SmokeTests-Load-v2.xml
Is it designed in such way or I'm missing something? I can think of only one workaround: create a new test case in the end with a groovy step, add load test for it which executes the step only once.