software_qa_eng
15 years agoOccasional Contributor
rest response not updated in test case
I created a test case where i interface a selenium script using groovy script.
The selenium script adds an article to my content management system.
After i set the delay for 300000 ms, a rest request (json response) is made.
The problem is the response i see does not have the latest entry i added in my groovy script teststep. Not until i manually view the rest request and click the play button does the response update with the latest entry.
I have added extra delay time, with no avail.
here is the weird thing. When I retried this testcase, I make the same request on a browser during the delay teststep. i see the entry from the browser 150000ms during the delay countdown, yet the testcase request response is not updated. So i am wondering, is this a bug during the testcase run? possibly soapui caches the response?
I even tried adding the same rest request to see if the second request is updated, but that was pointless as well. any help would be appreciated.
The selenium script adds an article to my content management system.
After i set the delay for 300000 ms, a rest request (json response) is made.
The problem is the response i see does not have the latest entry i added in my groovy script teststep. Not until i manually view the rest request and click the play button does the response update with the latest entry.
I have added extra delay time, with no avail.
here is the weird thing. When I retried this testcase, I make the same request on a browser during the delay teststep. i see the entry from the browser 150000ms during the delay countdown, yet the testcase request response is not updated. So i am wondering, is this a bug during the testcase run? possibly soapui caches the response?
I even tried adding the same rest request to see if the second request is updated, but that was pointless as well. any help would be appreciated.