Please Help me any one How will you verify the...

  • perf-test.com need your contributions to build up a strong repository of performance engineering resources.

R

Ramakrishna Reddy

Guest
Please Help me any one How will you verify the page success fully download or not in Loadrunner
 
Use text check or image check to verify the page is loaded properly.
 
Text check point image check point downloadsize http status code even u can use web reg save param...
 
As Ravi Ranjan suggested you can use text checks.... you can use LR functions like web_reg_find ( if placing before the request) and web_find( if placing after the request ) and save the text count to a variable and PASS or FAIL a transaction based on the text count....
 
You can use this function for text count: web_reg_find("text=google","savecount=cnt",LAST); lr_start_transaction("google__T001_homepage"); if(atoi(lr_eval_string("{cnt}"))>0 { lr_end_transaction("google__T001_homepage",LR_PASS); } else { lr_end_transaction("google_homepage",LR_FAIL); lr_exit(LR_EXIT_ITERATION_AND_CONTINUE,LR_FAIL); // this stmt makes the users to continue even if transaction fails lr_exit(LR_EXIT_VUSER); to exit the Vuser }