Mockservice and Testsuites running fine in the soapUI tool but not from the commandline
I have testsuites to test a asynchronous service which sends callback response at anytime(no fixed duration). So i set up a mockserver(mockservice in soapUI) which listens on port 80 and when it receives the callback response from the asynchronous service it writes the response to a project property using the "OnRequestScript" like below
The above set up is working fine and im able to run the mock server and testsuites in the soapUI tool.But when I run the mockserver and the test suites from the command line, the mockserver is up and running in port 80 but testsuite is not able to get the response from the mockserver and the script is failing. I think the project property ("ResponseBody") set by the mockerver is not read by the testsuite. Please help me with this issue. Following is the way i invoke mockserver and test suite. both mockserver and testsuites are in the same project "soapui-project.xml"