通过linux版本的lr agent提示找不到web_reg_save_param_ex函数

 

Action.c(5): Error: C interpreter run time error: /tmp/brr_TSBgR2/netdir/E/lrscript/aaa/Action.c (5): Error -- Unresolved symbol : web_reg_save_param_xpath. 

解决方法:换成

web_reg_save_param_ex

函数后正常,看来是

linux

不支持

web_reg_save_param_xpath 

 

    
    web_reg_save_param("tempValue",
        "LB=tempValue\":\"",
        "RB=\"",
        "Ord=1",
        "NotFound=WARNING",
        "Search=Body",
        "IgnoreRedirections=Yes",
        LAST);

    web_reg_save_param("api_token",
        "LB=api_token\":\"",
        "RB=\"",
        "Ord=1",
        "NotFound=WARNING",
        "Search=Body",
        "IgnoreRedirections=Yes",
        LAST);


/*
    web_reg_save_param_ex(
        "ParamName=tempValue",
        "LB=tempValue\":\"",
        "RB=\"",
        "Ordinal=1",
        SEARCH_FILTERS,
        "Scope=Body",
        "IgnoreRedirections=Yes",
        LAST);

    web_reg_save_param_ex(
        "ParamName=api_token",
        "LB=api_token\":\"",
        "RB=\"",
        "Ordinal=1",
        SEARCH_FILTERS,
        "Scope=Body",
        "IgnoreRedirections=Yes",
        LAST);

*/

 https://wenku.baidu.com/view/cfa5e142a5e9856a57126005.html

posted @ 2018-02-07 13:21  Agoly  阅读(563)  评论(0编辑  收藏  举报