This is the script we are getting the value for "durationTime".
Action()
{
float durationTime;
lr_start_transaction("1st Load Test");
web_url("user_guide","URL=http://www.espncricinfo.com","Mode=HTML",LAST );
durationTime = lr_get_transaction_duration("1st Load Test");
lr_output_message("----Duration time of URL----: [%f]", durationTime);
lr_user_data_point("duration_Time", durationTime);
lr_end_transaction("1st Load Test", LR_AUTO);
return 0;
}
OUTPUT
----Duration time of URL----: [4.460504]
Can anyone please clarify, whether we need to change anything in graph settings or other ways to do this.