Forum Discussion
nmrao
Champion Level 3
I think it should be possible and yes delay would be better not to strain the server.
Xpath works for SOAP, but not sure for Json.
By the way, there is another possibility to achieve it using groovy script (no rest step). Please see below thread for reference (my last reply)
https://community.smartbear.com/t5/SoapUI-Pro/A-bit-more-groovy-help-Populating-a-REST-URI-with-Properties-Set/m-p/177766/
Xpath works for SOAP, but not sure for Json.
By the way, there is another possibility to achieve it using groovy script (no rest step). Please see below thread for reference (my last reply)
https://community.smartbear.com/t5/SoapUI-Pro/A-bit-more-groovy-help-Populating-a-REST-URI-with-Properties-Set/m-p/177766/
mgroen2
6 years agoSuper Contributor
Well.. I have been working on it this morning.
Got it working but come into another thing:
The target in the Conditional is a delay, and this works, but how do I prevent that the delay test step is not executed ? On what place in the "test tree" does it need to be placed?
Hope it's clear what I mean.. I can't think of a situation where the "vertraging" is not executed when not necessary...
- nmrao6 years agoChampion Level 3If condition is false it should goto delay and execute the Rest call after the deiay. Otherwise, conditional goto should be to the next test step or end it (whatever appropriate)
Since delay is the first step in the sequence, you mean to say it is waiting unnecessarily? Hmm. can be done something.- mgroen26 years agoSuper Contributor
Hi,
I gave it some re-thoughts... All I need is a "while do construction"; re-execute the REST call as long as response code = 404 (or after a specific time).
Do you have any idea on how to implement this?
Thanks,
Mathijs
Related Content
- 10 years ago
- 6 years ago
- 12 years ago
Recent Discussions
- 5 days ago
- 9 days ago