"System error" under load troubleshooting
Printed From: One Stop Testing
Category: Testing Tools @ OneStopTesting
Forum Name: LoadRunner @ OneStopTesting
Forum Discription: LoadRunner is a performance and load testing product by HP / Mercury Interactive for examining system behavior and performance, while generating actual load.
URL: http://forum.onestoptesting.com/forum_posts.asp?TID=388
Printed Date: 28Dec2024 at 6:29pm
Topic: "System error" under load troubleshooting
Posted By: bond007
Subject: "System error" under load troubleshooting
Date Posted: 30Mar2007 at 11:04pm
I see intermittent “system error” in my application under load and not sure how I can troubleshoot it further. I would like to stop execution of all users in the scenario if I see a “system error” web_reg_find("Text=system error", "Fail=Found", "Search=Body", LAST);
My
Runtime Setting has “Continue on error” unchecked; however when I run
20 users, scripts continues to run and I am having hard time finding
any logs on the server. I would like my scenario to end immediately if “System error” found. Any suggestion will be appreciated.
|
Replies:
Posted By: jay@jay
Date Posted: 31Mar2007 at 2:10am
int syserror;
syserror = web_reg_find("Fail=Found", "Text=System Error", LAST);
lr_start_transaction("abcd"); web_url("Main", "URL=https://{ServerName}", .. .. .. lr_end_transaction("abcd",LR_AUTO);
if(syserror = LR_FAIL) { lr_error_message("Received System Error-Aborting Vuser"); lr_abort(); }
|
|