Testrunner.bat not updating custom properties
I have a test case that has the following structure:
1) Groovy script (updates TestSuite level Custom property & sets SOAP XML element in step 3)
2) Groovy script (updates TestSuite level Custom property & sets SOAP XML element in step 3)
3) Send Soap request to endpoint
4) Delay 
5) Validate DB after Soap Request
The Issue: When I run this TC via the Soap UI GUI, I can see my TestSuite level properties being updated as expected, but when I run this TC via cmd.exe using 'testrunner.bat' the custom properties at the test suite level do not get updated. This causes an issue the next time I go to run my tests, as the properties are not being incremented as expected by testrunner.bat. I am validating by re-opening the project in SoapUI GUI after running testrunner and I do not see the custom properties getting updated even though the execution is successful via testrunner.
Anyone have any advice for how I can make sure my custom property updates are being saved correctly so that when I reopen SoapUI GUI after running the testrunner, I can see the updated custom property values?
Hello bm103 ,
Have you reviewed the testrunner.bat parameters documentation?
You could consider using the 'S' parameter to save the project which should save your custom property updates?
S : Commands the runner to save the test project after the test run finishes. This command-line argument may be useful, if you store data during the test within the project.