Forum Discussion
- kondasamy9 years agoRegular Contributor
- peterebels9 years agoNew Contributor
The first step is the post request. In this step the response will give me a request-id which is created randomly in the request by
${=java.util.UUID.randomUUID()}
this post action will take a while, the action itself will be fast. but our softeware execution time is not as fast as intended....
the software will send a respondmessage to our mockservice. After that we want to check, if the software has responded to mock. If soap UI is to fast executing the teststeps.
We will check if the mockservices has received the notification before our software has sent the notification and therefor the step will fail.
To overcome we have delayed the teststepprocedure which tries to find out, if the notification is send to the mock.
So:
post ---- create --- tid & send notification to mock
verify with tid
I want to
post --- create tid & send notification to mock.
try to verify with tid via groovy script which tries to retry 10 times (for example) and fail if and only if maxretry is reached and status is FAIL but proceed with next teststep if verify is OK and maxretry is not reached...
I hope this is as specific enough as required....
best regards
Peter
Related Content
Recent Discussions
- 15 years ago