loadRunner手动关联,通过 web_reg_save_param()函数

时间:2023-03-09 15:51:53
loadRunner手动关联,通过 web_reg_save_param()函数

Action()
{

//<B>sign up now</B></A> 
    /*
    web_reg_save_param_regexp(
        "ParamName=gloryroad",
        "RegExp=<B>(.*)</B></A>",
        SEARCH_FILTERS,
        "Scope=Body", 
        "IgnoreRedirections=No",
        LAST);
    */
    
   web_reg_save_param("var","LB=<B>","RB=</B></A>",LAST);
       
        
    web_url("index.htm", 
        "URL=http://127.0.0.1:1080/WebTours/index.htm", 
        "TargetFrame=", 
        "Resource=0", 
        "RecContentType=text/html", 
        "Referer=", 
        "Snapshot=t20.inf", 
        "Mode=HTML", 
        LAST);

return 0;
}

结果:

loadRunner手动关联,通过 web_reg_save_param()函数