loadrunner 怎么能得到返回的http状态?

loadrunner如何保存从服务器传回来的http头的信息?

Action()

{

int HttpRetCode;

       web_url("www.hao123.com",

              "URL=http://www.hao123.com/",

              "Resource=0",

              "RecContentType=text/html",

              "Referer=",

              "Snapshot=t1.inf",

              "Mode=HTML",

              LAST);

    HttpRetCode = web_get_int_property(HTTP_INFO_RETURN_CODE);

if (HttpRetCode == )

       lr_log_message("终于成功了!!我不容易呀!!!");

       else

       lr_log_message("唉,又失败了,不过这才是正常的! ");

       return ;

}
上一篇:jfinal框架教程-学习笔记(二)


下一篇:Golang里面使用protobuf(proto3)