lr函数--web_get_int_property
2009-06-14 19:28
423 查看
一、函数用途
记录http响应的信息
二、函数属性
1.http_info_return_code: 返回http代码
2.http_info_download_size:返回页面字节数
3.http_info_download_time:返回页面下载时间
三、例子
The following example uses the web_get_int_property function to check if the Vuser successfully accessed the dogbert home page.
TEST()
{
int HttpRetCode;
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 ");
}
相关文章推荐
- lr函数--web_get_int_property返回上一级请求的状态
- lr函数--web_get_int_property
- lr函数--web_get_int_property(记录HTTP响应信息)
- loadrunner Web_类函数之web_get_int_property()
- LoadRunner-使用web_get_int_property进行文件下载
- web_get_int_property 两种不同参数
- web_get_int_property(HTTP_INFO_RETURN_CODE)详解(原创)
- LoadRunner functions 之web_get_int_property_ 验证页面通过, 页面下载, 事物成功_xyb
- LoadRunner总结(1)-web_get_int_property 函数
- EJBTHREE-1337: do not get WebServiceContext property from stateless bean context。
- Java Web JSP <jsp:getProperty> 中文乱码
- 安卓Webview 加载网页 Uncaught TypeError: Cannot read property 'getItem' of null",
- Java Web编程入门--错误信息“The method getUserById(int) of type UserServiceImpl must override a superclass”
- Web_ get_ int_property函数
- C#通过WebClient/HttpWebRequest实现http的post/get方法
- WebView的使用(http协议访问网络Get和Post请求方式)
- jsp:usebean setProperty getProperty
- 响应: 500 OOPS: priv_sock_get_int 错误: 读取目录列表失败
- Web app root system property already set to different value: 'webapp.root'
- Setting property 'source' to 'org.eclipse.jst.jee.server:webProject' did not find a matching propert