I am new to load runner and i am preparing script for REST ,here i will get one token in response where i need to use same token value in another script to validate the customer details ,i am using web_reg_save_param t save those value i.e token value in some variable.please help how can i pass that particular value into another script which is dependent.
i have tried below script
if (atoi(lr_eval_string("{SecurityToken}")) > 0)
{
lr_end_transaction("01_Cards",LR_PASS);
lr_output_message(lr_eval_string("Value of Security Token is : {SecurityToken}"));
}
else
{
lr_end_transaction("01_Cards",LR_FAIL);
lr_output_message(lr_eval_string("Value of Security Token is : {SecurityToken}"));
}