shortyshort406 Posted March 27, 2013 Report Posted March 27, 2013 Hello Friends, I need Small help for Scripting in Vuser. i am using Web service protocol in Loadrunner. I have parameter output of web service as following. [b]GetResult=result[/b] then i put parameter in output message as following [b]lr_output_message(lr_eval_string("{result}")):[/b] here, i am having issue. where i am trying to set transaction pass or fail base on web service output of [b]result.[/b] [b]if ([/b][b]lr_output_message(lr_eval_string("{result}")) == "APPROVE")[/b] [b]lr_end_transaction("XXXXX", LR_PASS);[/b] [b] else[/b] [b]lr_end_transaction("XXXXX", LR_FAIL);[/b] [b]return 0;[/b] even, output of web service is [b]APPROVE[/b] still i get transaction fail on replay screen. so can anyone tell me where am i making error. i really appreciate . thanks my e-mail [email protected] Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.