LoadRunner??HTTPЭ?????????
???????????? ???????[ 2015/5/11 13:55:43 ] ??????????????????
????LoadRunner??HTTPЭ????????????????????
????????????д
????1??“HTML–base scr??pt”??“URL-base scr??pt”??????
????1??“HTML–base scr??pt”??????????????????????????????
?????磺
????Action()
????{
????web_url("WebTours"??
????"URL=http://127.0.0.1:1080/WebTours/"??
????"Resource=0"??
????"RecContentType=text/html"??
????"Referer="??
????"Snapshot=t4.inf"??
????"Mode=HTML"??
????LAST);
????web_submit_form("login.pl"??
????"Snapshot=t5.inf"??
????ITEMDATA??
????"Name=username"??"Value=jojo"??ENDITEM??
????"Name=password"??"Value=bean"??ENDITEM??
????"Name=login.x"??"Value=53"??ENDITEM??
????"Name=login.y"??"Value=13"??ENDITEM??
????LAST);
????return 0;
????}
????2??“URL-base scr??pt”??????????????????????????????????????HTTP??????????????????????????HTML??ó???????С?????????????ó???
?????磺
????Action()
????{
????web_url("WebTours"??
????"URL=http://127.0.0.1:1080/WebTours/"??
????"Resource=0"??
????"RecContentType=text/html"??
????"Referer="??
????"Snapshot=t1.inf"??
????"Mode=HTTP"??
????LAST);
????web_concurrent_start(NULL);
????web_url("header.html"??
????"URL=http://127.0.0.1:1080/WebTours/header.html"??
????"Resource=0"??
????"RecContentType=text/html"??
????"Referer=http://127.0.0.1:1080/WebTours/"??
????"Snapshot=t2.inf"??
????"Mode=HTTP"??
????LAST);
????web_url("welcome.pl"??
????"URL=http://127.0.0.1:1080/WebTours/welcome.pl?signOff=true"??
????"Resource=0"??
????"RecContentType=text/html"??
????"Referer=http://127.0.0.1:1080/WebTours/"??
????"Snapshot=t5.inf"??
????"Mode=HTTP"??
????LAST);
????web_concurrent_end(NULL);
????web_concurrent_start(NULL);
????web_url("hp_logo.png"??
????"URL=http://127.0.0.1:1080/WebTours/images/hp_logo.png"??
????"Resource=1"??
????"RecContentType=image/png"??
????"Referer=http://127.0.0.1:1080/WebTours/header.html"??
????"Snapshot=t3.inf"??
????LAST);
????web_url("webtours.png"??
????"URL=http://127.0.0.1:1080/WebTours/images/webtours.png"??
????"Resource=1"??
????"RecContentType=image/png"??
????"Referer=http://127.0.0.1:1080/WebTours/header.html"??
????"Snapshot=t4.inf"??
????LAST);
????web_concurrent_end(NULL);
????web_concurrent_start(NULL);
????web_url("home.html"??
????"URL=http://127.0.0.1:1080/WebTours/home.html"??
????"Resource=0"??
????"RecContentType=text/html"??
????"Referer=http://127.0.0.1:1080/WebTours/welcome.pl?signOff=true"??
????"Snapshot=t6.inf"??
????"Mode=HTTP"??
????LAST);
????web_url("nav.pl"??
????"URL=http://127.0.0.1:1080/WebTours/nav.pl?in=home"??
????"Resource=0"??
????"RecContentType=text/html"??
????"Referer=http://127.0.0.1:1080/WebTours/welcome.pl?signOff=true"??
????"Snapshot=t7.inf"??
????"Mode=HTTP"??
????LAST);
????web_concurrent_end(NULL);
????web_url("mer_login.gif"??
????"URL=http://127.0.0.1:1080/WebTours/images/mer_login.gif"??
????"Resource=1"??
????"RecContentType=image/gif"??
????"Referer=http://127.0.0.1:1080/WebTours/nav.pl?in=home"??
????"Snapshot=t8.inf"??
????LAST);
????web_submit_data("login.pl"??
????"Action=http://127.0.0.1:1080/WebTours/login.pl"??
????"Method=POST"??
????"RecContentType=text/html"??
????"Referer=http://127.0.0.1:1080/WebTours/nav.pl?in=home"??
????"Snapshot=t9.inf"??
????"Mode=HTTP"??
????ITEMDATA??
????"Name=userSession"??"Value=97276.8320777643fAADzHHpAfDAAclearcase/"target="_blank">ccpAzcD"??ENDITEM??
????"Name=username"??"Value=jojo"??ENDITEM??
????"Name=password"??"Value=bean"??ENDITEM??
????"Name=JSFormSubmit"??"Value=off"??ENDITEM??
????"Name=login.x"??"Value=56"??ENDITEM??
????"Name=login.y"??"Value=11"??ENDITEM??
????LAST);
????web_concurrent_start(NULL);
????web_url("login.pl_2"??
????"URL=http://127.0.0.1:1080/WebTours/login.pl?intro=true"??
????"Resource=0"??
????"RecContentType=text/html"??
????"Referer=http://127.0.0.1:1080/WebTours/login.pl"??
????"Snapshot=t10.inf"??
????"Mode=HTTP"??
????LAST);
????web_url("nav.pl_2"??
????"URL=http://127.0.0.1:1080/WebTours/nav.pl?page=menu&in=home"??
????"Resource=0"??
????"RecContentType=text/html"??
????"Referer=http://127.0.0.1:1080/WebTours/login.pl"??
????"Snapshot=t11.inf"??
????"Mode=HTTP"??
????LAST);
????web_concurrent_end(NULL);
????web_concurrent_start(NULL);
????web_url("in_home.gif"??
????"URL=http://127.0.0.1:1080/WebTours/images/in_home.gif"??
????"Resource=1"??
????"RecContentType=image/gif"??
????"Referer=http://127.0.0.1:1080/WebTours/nav.pl?page=menu&in=home"??
????"Snapshot=t12.inf"??
????LAST);
????web_url("flights.gif"??
????"URL=http://127.0.0.1:1080/WebTours/images/flights.gif"??
????"Resource=1"??
????"RecContentType=image/gif"??
????"Referer=http://127.0.0.1:1080/WebTours/nav.pl?page=menu&in=home"??
????"Snapshot=t13.inf"??
????LAST);
????web_url("signoff.gif"??
????"URL=http://127.0.0.1:1080/WebTours/images/signoff.gif"??
????"Resource=1"??
????"RecContentType=image/gif"??
????"Referer=http://127.0.0.1:1080/WebTours/nav.pl?page=menu&in=home"??
????"Snapshot=t14.inf"??
????LAST);
????web_url("itinerary.gif"??
????"URL=http://127.0.0.1:1080/WebTours/images/itinerary.gif"??
????"Resource=1"??
????"RecContentType=image/gif"??
????"Referer=http://127.0.0.1:1080/WebTours/nav.pl?page=menu&in=home"??
????"Snapshot=t15.inf"??
????LAST);
????web_concurrent_end(NULL);
????return 0;
????}
????3????????????????url?????????
????*??????????????
????*????????????????javascr??pt?????????????????????
????*?????https???Э??
????4?????????????????
????*http??????????????????
????*url???????????????????????????????????????
????????HTML??????
????1????????????????????????
????2?????????????URL?????????????£?
????Action()
????{
????web_url("WebTours"??
????"URL=http://127.0.0.1:1080/WebTours/"??
????"TargetFrame="??
????"Resource=0"??
????"RecContentType=text/html"??
????"Referer="??
????"Snapshot=t1.inf"??
????"Mode=HTML"??
????LAST);
????web_url("Update.htm"??
????"URL=http://scdown.qq.com/download/Update.htm"??
????"TargetFrame="??
????"Resource=0"??
????"RecContentType=text/html"??
????"Referer="??
????"Snapshot=t2.inf"??
????"Mode=HTML"??
????LAST);
????web_url("Update.htm_2"??
????"URL=http://scdown.qq.com/download/Update.htm"??
????"TargetFrame="??
????"Resource=0"??
????"RecContentType=text/html"??
????"Referer="??
????"Snapshot=t3.inf"??
????"Mode=HTML"??
????LAST);
????web_url("Update.htm_3"??
????"URL=http://scdown.qq.com/download/Update.htm"??
????"TargetFrame="??
????"Resource=0"??
????"RecContentType=text/html"??
????"Referer="??
????"Snapshot=t4.inf"??
????"Mode=HTML"??
????LAST);
????web_submit_data("login.pl"??
????"Action=http://127.0.0.1:1080/WebTours/login.pl"??
????"Method=POST"??
????"TargetFrame="??
????"RecContentType=text/html"??
????"Referer=http://127.0.0.1:1080/WebTours/nav.pl?in=home"??
????"Snapshot=t5.inf"??
????"Mode=HTML"??
????ITEMDATA??
????"Name=userSession"??"Value=97276.9197245848fAADziVpffiDDDDDDAAccpAiQDf"??ENDITEM??
????"Name=username"??"Value=jojo"??ENDITEM??
????"Name=password"??"Value=bean"??ENDITEM??
????"Name=JSFormSubmit"??"Value=off"??ENDITEM??
????"Name=login.x"??"Value=52"??ENDITEM??
????"Name=login.y"??"Value=8"??ENDITEM??
????LAST);
????return 0;
????}
???????????header
????????????????????????????Headers?????????????????????????????????????“accept-language”????websphere??????????????HTTP?????е?Header?????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11