You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I start hoverfly, put it in capture mode with the --stateful option. Then issue the following requests:
#These requests capture with sequence state = sequence:1
curl -k -x http://localhost:8500 http://worldclockapi.com/api/json/utc/now
curl -k -x http://localhost:8500 http://worldclockapi.com/api/json/utc/now
#These requests capture with sequence state = sequence:2
curl -k -x http://localhost:8500 http://worldclockapi.com/api/json/est/now
curl -k -x http://localhost:8500 http://worldclockapi.com/api/json/est/now
#These requests capture with sequence state = sequence:1
curl -k -x http://localhost:8500 http://worldclockapi.com/api/json/pst/now
curl -k -x http://localhost:8500 http://worldclockapi.com/api/json/pst/now
I save this simulation to disk, then put hoverfly in simulate mode and import my simulation. When I issue the same set of requests again, I notice that my first request to http://worldclockapi.com/api/json/pst/now returns the second response instead of the first response.
I believe this is happening because it shares the same sequence state key as the first sequence that was captured.
I start hoverfly, put it in capture mode with the
--stateful
option. Then issue the following requests:I save this simulation to disk, then put hoverfly in simulate mode and import my simulation. When I issue the same set of requests again, I notice that my first request to
http://worldclockapi.com/api/json/pst/now
returns the second response instead of the first response.I believe this is happening because it shares the same sequence state key as the first sequence that was captured.
Exported simulation json
The text was updated successfully, but these errors were encountered: