Forum Discussion
SmartBear_Suppo
Alumni
16 years agoHi!
You could set up a TestCase that contains first a 5 second delay and then the Ack request, the script of the first MockResponse could trigger this TestCase before returning "its" response.
The script for launching the TestCase is straight-forward:
def tc = mockResponse.mockOperation.mockService.project.testSuites["..."].testCases["..."]
tc.run( null, true )
One limitation would be that e you could only have one TestCase running at a time..
Does that help?
regards,
/ole
eviware.com
You could set up a TestCase that contains first a 5 second delay and then the Ack request, the script of the first MockResponse could trigger this TestCase before returning "its" response.
The script for launching the TestCase is straight-forward:
def tc = mockResponse.mockOperation.mockService.project.testSuites["..."].testCases["..."]
tc.run( null, true )
One limitation would be that e you could only have one TestCase running at a time..
Does that help?
regards,
/ole
eviware.com