SAMPLECODE:
Action()
{
double trans_time;
int status;
web_cleanup_cookies();
web_set_sockets_option("SSL_VERSION", "TLS1.2");
web_set_max_html_param_len("999999");
lr_start_transaction("Digital_HondaCity_01_HomePage");
web_url("AirVistas",
"URL=https://Airvistas/service/access/findseat/",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t10096.inf",
"Mode=HTML",
LAST);
trans_time = lr_get_transaction_duration("Digital_HondaCity_01_HomePage");
lr_end_transaction("Digital_HondaCity_01_HomePage",LR_AUTO);
if (trans_time)
lr_output_message("The duration of DHC Home Page : %f seconds", trans_time);
else
lr_output_message("The duration cannot be determined.");
return 0;
}
Here is the output:
{
double trans_time;
int status;
web_cleanup_cookies();
web_set_sockets_option("SSL_VERSION", "TLS1.2");
web_set_max_html_param_len("999999");
lr_start_transaction("Digital_HondaCity_01_HomePage");
web_url("AirVistas",
"URL=https://Airvistas/service/access/findseat/",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t10096.inf",
"Mode=HTML",
LAST);
trans_time = lr_get_transaction_duration("Digital_HondaCity_01_HomePage");
lr_end_transaction("Digital_HondaCity_01_HomePage",LR_AUTO);
if (trans_time)
lr_output_message("The duration of DHC Home Page : %f seconds", trans_time);
else
lr_output_message("The duration cannot be determined.");
return 0;
}
Here is the output:
No comments:
Post a Comment