How to use if condition in load runner to verify web_reg_Save_param() value?

Rajesh Om picture Rajesh Om · Jun 4, 2016 · Viewed 12.8k times · Source

I am trying to verify web_reg_Save_param() value in if condition but not able to verify please provide me the solution and i have used if condition as

if(lr_eval_string(Gmessage==Smessage))
    {
        lr_end_transaction("10_GetSecurity_Token",LR_PASS);
    }
    else
    {
        lr_end_transaction("10_GetSecurity_Token",LR_FAIL);
    }
    //lr_end_transaction("10_GetSecurity_Token",LR_AUTO);
    return 0;

Where i am getting Gmessage as Success in web_reg_save_param(), please help how to verify to check valid and invalid for json response.

Answer

James Pulley picture James Pulley · Jun 6, 2016

FoundationSkills - Language of your test tool.

I will recommend a book that I own and one which I have recommended to relatives to address this issues, http://www.c-for-dummies.com/

It is a good book. Easy to follow. This will address your foundation skills issue in the 'C' programming language. My copy sits on my shelf among a dozen or more bright yellow "For Dummies...." books