Hi,
back to the original problem - there is an overhead of starting the testcase internally, calling all handlers, etc.. so I don't see the times you get as very odd. But you are on to something; Mock Responses are dispatched in parallell so you might have several threads executing the TestCase at the same time, which will probably cause errors in some situations.
Another option could be to just submit a standalone request from your script (instead of running a TestCase), try the following to do this:
def request = project.interfaces["..."].operations["..."].getRequestByName( "..." )
request.submit( new com.eviware.soapui.impl.wsdl.WsdlSubmitContext( request ), false )
log request.response.contentAsString
This should also require a lower overhead and will work with multiple threads executing in parallell..
Does that help?
regards,
/Ole
SmartBear Software