????????Transaction?????????????????????????????????????????????????????????????????????Щ????????????????????????HTTP??????????????

??????????????????????????????????????????????????????????????????????????????÷?????????????????д???????д??????????????????????????????????????????????????????????????????????????????????????

?????????????????????У?????????????????????????????

?????????loadrunner ???WebTours????????????裺

????1????WebTours???

????2???????????????????“???”

????3???????????????????????

????4???????????????????????????????????????????????????£?

??????????£?

Action()
{

    web_url("WebTours"??
        "URL=http://127.0.0.1:2080/WebTours/"??
        "Resource=0"??
        "RecContentType=text/html"??
        "Referer="??
        "Snapshot=t3.inf"??
        "Mode=HTML"??
        EXTRARES??
        "Url=../favicon.ico"?? "Referer="?? ENDITEM??
        LAST);

    lr_start_transaction("???");    //?????????

    web_submit_data("login.pl"??
        "Action=http://127.0.0.1:2080/WebTours/login.pl"??
        "Method=POST"??
        "Referer=http://127.0.0.1:2080/WebTours/nav.pl?in=home"??
        "Mode=HTML"??
        ITEMDATA??
        "Name=userSession"?? "Value=110409.949777238fzHQcVVpHQVzzzzHDtAHfpcHAHf"?? ENDITEM??
        "Name=username"?? "Value=test"?? ENDITEM??
        "Name=password"?? "Value=123456"?? ENDITEM??
        "Name=JSFormSubmit"?? "Value=on"?? ENDITEM??
        LAST);

    web_submit_data("login.pl_2"??
        "Action=http://127.0.0.1:2080/WebTours/login.pl"??
        "Method=POST"??
        "RecContentType=text/html"??
        "Referer=http://127.0.0.1:2080/WebTours/nav.pl?in=home"??
        "Snapshot=t4.inf"??
        "Mode=HTML"??
        ITEMDATA??
        "Name=userSession"?? "Value=110409.949777238fzHQcVVpHQVzzzzHDtAHfpcHAHf"?? ENDITEM??
        "Name=username"?? "Value=test"?? ENDITEM??
        "Name=password"?? "Value=123456"?? ENDITEM??
        "Name=JSFormSubmit"?? "Value=on"?? ENDITEM??
        "Name=login.x"?? "Value=51"?? ENDITEM??
        "Name=login.y"?? "Value=12"?? ENDITEM??
        LAST);

    lr_end_transaction("???"??LR_AUTO);   //???????????

    return 0;
}