I tried to capture the page load time using this function,
Action() {
long PageLoadTime;
lr_start_transaction("1st Load Test");
web_url("user_guide","URL=https://www.amazon.in/","Mode=HTML",LAST );
pageLoadTime=web_get_int_property(HTTP_INFO_DOWNLOAD_TIME);
lr_output_message("----PageLoadTime of URL----: [%s]", lr_eval_string("
{pageLoadTime}"));
lr_end_transaction("1st Load Test", LR_AUTO);
return 0;
}