Forum Discussion
Hi,
Settings are correct.
The case is that request/response data is displayed for requests only. I.e. you should see the recorded and actual content of request and response if you select the record for the Request0065. The error message below the log error for request says that no data was extracted from response by Data Selector for the Redirect_3 variable.
Most probably, this happened because there was redirect (code 302) when the scenario was recorded, but during the playback there was no redirect but the server responded with successful page (code 200). As a result, the structure and content of the returned page was different and this made Data Selector to fail.
I suspect that this is because more that one virtual user was used during playback.
I think that you may start with this:
-- Execute the scenario for one virtual user (either in Verify mode or just set one VU for the test). Repeat the run two-three times;
-- If all runs succeed, then you need to analyze how the checkout process is implemented in the tested application by either talking with developers or by analyzing the recorded traffic for the scenario.
It is my guess that some token/cookie must be cleared during the logout sequence but the Request0065 is not parameterized enough and in the request server receives token/cookie that must be absent for the logged-out user. Thus server 'thinks' that this virtual user has a valid session and responds with the requested page instead of redirect to some landing page.
OK. I understand what you are saying, and it is very helpful regarding the redirect. BOOM. That said. I do still want to understand how to see responses.
The log in the screen shots are not the exact same log as the one I showed above. Here you see the redirect error in one.png. Would I not expect to see response body in two.png?
Thanks
- AlexKaras4 years agoChampion Level 3
Hi,
> Would I not expect to see response body in two.png?
Assuming that the given request can contain body and the test was executed with Log settings been set to store bodies, I would expect to see the actual request and response bodies in the log panels:
- vthomeschoolmom4 years agoSuper Contributor
Thank you. I have reached out to support. They are helping me. Thanks for your help too!
- AlexKaras4 years agoChampion Level 3
Thank you for update.
Do you mind to share the final result?
Related Content
- 4 years ago
- 3 years ago
Recent Discussions
- 9 months ago
- 2 years ago
- 3 years ago
- 3 years ago