ITAbteilung
14 years agoContributor
[Resolved] Starting a testcase from a mockup
Hi there,
i am wondering if it is possible to start a testcase from a script of a SoapUI-Mockup-Service. The idea is adding asynchronous behavior to the Mockup-Service: the mockup gets the request, starts the testcase, sends back the (synchronous) response. Then the testcase is still running, waiting some seconds and sending a request to the client (from the Mockup-Service). Is this possible?
If not, what do you recommend for adding asynchronous behavior to a Mockup-Service? My idea would be to start a Thread that waits and sends the asynchronous Request (eg via URLConnection). Is there a more simple solution?
Thanks in advance,
best regards,
Patrick
i am wondering if it is possible to start a testcase from a script of a SoapUI-Mockup-Service. The idea is adding asynchronous behavior to the Mockup-Service: the mockup gets the request, starts the testcase, sends back the (synchronous) response. Then the testcase is still running, waiting some seconds and sending a request to the client (from the Mockup-Service). Is this possible?
If not, what do you recommend for adding asynchronous behavior to a Mockup-Service? My idea would be to start a Thread that waits and sends the asynchronous Request (eg via URLConnection). Is there a more simple solution?
Thanks in advance,
best regards,
Patrick