AndiKoll
13 years agoContributor
continuous mock response handling
Hi,
i try to set up the following test case:
- delay 1ms
- mock response (receiving a soa request and answering with a response), Start Step set to "delay 1ms"
- groovy script which checks the content of the request and loops to the mock resonse until the request contains specific parameter values.
The problem:
when a request has been answered the system under test sends the next request immediately afterwards.
This second request will be answered with the following response:
HTTP/1.1 200 OK
Content-Type: text/html; charset=iso-8859-1
Transfer-Encoding: chunked
Server: Jetty(6.1.x)
5F
<html><body><p>There are currently 0 running soapUI MockServices</p><ul></ul></p></body></html>
0
How can I set up the test case to continuousely handle all requests or how can I avoid sending the response above?
Greetings
Andi
i try to set up the following test case:
- delay 1ms
- mock response (receiving a soa request and answering with a response), Start Step set to "delay 1ms"
- groovy script which checks the content of the request and loops to the mock resonse until the request contains specific parameter values.
The problem:
when a request has been answered the system under test sends the next request immediately afterwards.
This second request will be answered with the following response:
HTTP/1.1 200 OK
Content-Type: text/html; charset=iso-8859-1
Transfer-Encoding: chunked
Server: Jetty(6.1.x)
5F
<html><body><p>There are currently 0 running soapUI MockServices</p><ul></ul></p></body></html>
0
How can I set up the test case to continuousely handle all requests or how can I avoid sending the response above?
Greetings
Andi