AndiKoll
14 years agoContributor
awaiting several asynchronuos requests
Hi,
I try to realize a test case for the following use case:
After receiving a request and respondign it the interface awaites several different requests without knowing which request comes first.
How can I realize:
- responding the initial request (by using test step 'Mock response')
- waiting for any request receiving
- checking which request has been received
- waiting a defined time for a second and third request (any request of the WSDL definition)
- raising an asertion in case of timeout
Is there any e3xample available?
CXan you give me any hint how to solve the problem?
Thanks in advance
Greetings
Andi Kollenbach
I try to realize a test case for the following use case:
After receiving a request and respondign it the interface awaites several different requests without knowing which request comes first.
How can I realize:
- responding the initial request (by using test step 'Mock response')
- waiting for any request receiving
- checking which request has been received
- waiting a defined time for a second and third request (any request of the WSDL definition)
- raising an asertion in case of timeout
Is there any e3xample available?
CXan you give me any hint how to solve the problem?
Thanks in advance
Greetings
Andi Kollenbach