Forum Discussion

dsolis2's avatar
dsolis2
Occasional Contributor
13 years ago

Rest response does not return updated data from server

I am sending a rest request to a server that is continously updating data. In SoapUi, I send one request, wait for some specified period of time and send a second request. For example, imagine an application that is tracking the growth of a lottery value. If I send a request to this app, I expect to get a value at that time. If I wait 20 seconds and send the request again, I expect the value to have increased by some number. Similarly, in the application I am testing, I should see the same behavior. However in SoapUI, the data in the request is not updated. I have set the cache definitions to false and also included a custom HTTP header for Cache-Control: no-cache.

The test step in SoapUi look like this:

Rest Request
Delay 10000
Rest Request

Is there something I'm missing?
No RepliesBe the first to reply