Hi Team,
I have push the load for 50CC but whenever it fails then I am not able to see the Response code for failures.
kindly help on this. Refer screen shot for the same.
A)
Cybersecurity
DevOps Cloud
IT Operations Cloud
If an answer to your question is correct, click on "Verify Answer" under the "More" button. The answer will now appear with a checkmark. Please be sure to always mark answers that resolve your issue as verified. Your fellow Community members will appreciate it!  Learn more
Hi Team,
I have push the load for 50CC but whenever it fails then I am not able to see the Response code for failures.
kindly help on this. Refer screen shot for the same.
A)
Dear Namita,
If you would like to check more response details from server, it will be better to check from the logs itself.
For Cloud machine:
1. Script.
2. Extended vuser logs
[Test 'General' section]
-Enable logs:
[x] Collect Vuser logs from cloud-based load generators
[Script RTS]
[x] Enable logging
Log Options
[ ] Always
[x] Log when error occurs and limit log cache to [100]
Detail Level
[x] Extended log
[x] Parameter substitution
[x] Data returned by server
Hope the information above is useful.
Regards,
Kate
LoadRunner-Cloud Ops.
Thanks for Reply. I will try
I am using on premise Load Generator, for that can you please help me. How to see the response code for failed API request in tool Dashboard
Dear Namita,
If you would like to view HTTP codes, please go to Dashboard >> Hits per second >> Show >> Http Codes
Please note that this dashboard will present all of the Http codes received during run not only the failure.
In most of the case if the error contains the response code, it should present in "Script Error" information.
However, the test failure is caused by "text expected to contain /"account":" and this text cannot be found from the response.
I suggest to also check on-premise load generator (OPLG) logs by following below steps and re-run your test again:
1. Script.
2. Extended vuser logs
[Test 'General' section]
-Enable logs:
[x] Collect Vuser logs from on-premises load generators
**If this option is not enable from your tenant, please open support ticket for assistance**
[Script RTS]
[x] Enable logging
Log Options
[ ] Always
[x] Log when error occurs and limit log cache to [100]
Detail Level
[x] Extended log
[x] Parameter substitution
[x] Data returned by server
3. Distribution
[On Premise]
Select OPLG and click [Edit]
Toggle "ON" for Enable Vuser Logs Collection
Regards,
Kate