cancel
Showing results for 
Search instead for 
Did you mean: 

noob question viewing response after run

vthomeschoolmom
Super Contributor

noob question viewing response after run

I was given responsibility for LoadComplete test runs when a collegue left. The tests and scenarios he created were not stable. So he showed me how to record a scenario. All fine. I created a scenario and a test. How do I see what the responses were when I run a test? I want to see the responses for the requests I am making. How do I do that? Thnks

8 REPLIES 8
AlexKaras
Community Hero

Re: noob question viewing response after run

Hi,

 

https://support.smartbear.com/loadcomplete/docs/testing-with/results/working/viewing-bodies.html

and other articles from this help section.

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
vthomeschoolmom
Super Contributor

Re: noob question viewing response after run

Thank you for the reply. Following what you linked I wound up here:

 

https://support.smartbear.com/loadcomplete/docs/testing-with/results/panels/details/response-body.ht...

 

Which is what I want to see. In that document, it documents the No Data to Display as I am seeing. (See NoData.png).

 

There is a link to the simulating settings where you are supposed to set a setting to NOT skip body. So I go to my settings and looks to me like the settings should cause the response body to save. See simulating settingsettings.png

 

But I am not seeing a response body.

 

AlexKaras
Community Hero

Re: noob question viewing response after run

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.

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
vthomeschoolmom
Super Contributor

Re: noob question viewing response after run

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

AlexKaras
Community Hero

Re: noob question viewing response after run

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:

RequestBodies.jpg

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
vthomeschoolmom
Super Contributor

Re: noob question viewing response after run

Thank you. I have reached out to support. They are helping me. Thanks for your help too! 

AlexKaras
Community Hero

Re: noob question viewing response after run

Thank you for update.

Do you mind to share the final result?

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
vthomeschoolmom
Super Contributor

Re: noob question viewing response after run

So I shall! When it occurs. 🙂 Thanks

New Here?
Join us and watch the welcome video:
Announcements