您的位置:首页 > 运维架构

Web_ get_ int_property函数

2016-05-12 11:31 495 查看

Web_ get_ int_property函数

1 作用

记录Http的响应信息

2 参数

http_info_return_code: 返回http代码

http_info_download_size:返回页面字节数

http_info_download_time:返回页面下载时间

3 例子

int HttpRetCode=0;
web_url("dogbert",

"URL=http://dogbert",

"TargetFrame=_TOP",

LAST);

HttpRetCode = web_get_int_property(HTTP_INFO_RETURN_CODE);

if (HttpRetCode == 200)

lr_log_message("The Vuser successfully accessed the Dogbert home page");

else

lr_log_message("The Vuser failed to access the Dogbert home page ");
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息