???????????loadrunner???????м???????????????????????????????????????????????????????loadrunner???????????????????????????????????????

???????????loadrunner???????????????????????????Recording Options>>Advanced>>Support charset???????????????loadrunner???????????

????????????????????????loadrunner?????????????????????????????????Google?????????????

???????????????Google??????????????????????????????????????????????????????????????????????gb2312???????????????????<!doctype html><html><head><meta http-equiv="Content-Type" content="text/html;charset=gb2312">??Google???????????UTF-8???????????????????<!doctype html><html><head><meta http-equiv="content-type" content="text/html; charset=UTF-8">??

????1????????????????????????loadrunner?????????????£?

Action()
{
    web_reg_find("Search=body"??
                 "SaveCount=times"??
                 "Text=???"??
                 LAST);


    web_url("www.baidu.com"??
        "URL=http://www.baidu.com/"??
        "Resource=0"??
        "RecContentType=text/html"??
        "Referer="??
        "Snapshot=t1.inf"??
        "Mode=HTML"??
        EXTRARES??
        "Url=/img/i2.png"?? ENDITEM??
        "Url=/img/arr.gif"?? ENDITEM??
        "Url=/js/bdsug.js?v=1.0.3.0"?? ENDITEM??
        "Url=/cache/hps/js/hps-1.0.js"?? ENDITEM??
        LAST);

    if(atoi(lr_eval_string ("{times}"))>0)
        lr_output_message("search successful");
    else
        lr_error_message("search failed");

    return 0;
}

???????в???????????????????

????2??????loadrunner??????????UTF-8??????????????????????????????????????в?????????????????????????????????Action.c(26): Error: search failed??

??????????????loadrunner??????????????????????????loadrunner??????????UTF-8???????????????????????????????????????????????????????????????????data???μ?CodeGenerationLog.txt????С??????????????????????????????“???”??????????????????????loadrunner??????????????п?????????“???”????????????loadrunner??????????UTF-8???????????????????“???”?????????????????loadrunner??????????UTF-8????????????????????????gb2312????UTF-8???????????????????????gb2312???????loadrunner?????????????????UTF-8????????????????????????????