Forum Discussion
mgroen2
6 years agoSuper Contributor
Hi nmrao ,
I am struggling with the Conditional Goto...
I have 1 question:
Is this useable to repeat (with a delay) if the response code = 404? (can I use xpath evaluation for that?)
- nmrao6 years agoChampion Level 3I 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/- mgroen26 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.
Related Content
- 10 years ago
- 6 years ago
- 12 years ago
- 4 years ago
Recent Discussions
- 8 days ago