如果晚上月亮升起的时候,月光照到我的门口,我希望月光女神能满足我一个愿望,我想要一双人类的手。我想用我的双手把我的爱人紧紧地拥在怀中,哪怕只有一次。如果我从来没有品尝过温暖的感觉,也许我不会这样寒冷;如果我从没有感受过爱情的甜美,我也许就不会这样地痛苦。如果我没有遇到善良的佩格,如果我从来不曾离开过我的房间,我就不会知道我原来是这样的孤独.
HTML和URL录制模式
上一篇 / 下一篇 2012-06-25 16:27:22 / 个人分类:loadrunner
基于2中模式录制相同的脚本:打开首页
1、HTML的录制模式:
Action()51Testing软件测试网k%j7nr6HD0\%uv
{
{
web_url("WebTours",
!Bv6f3E+M^U6T9{`NE0 "URL=http://127.0.0.1:1080/WebTours/",
h mV(s s!i%kc0 "Resource=0",51Testing软件测试网*l.[ O UT T!oT
"RecContentType=text/html",51Testing软件测试网Z FeYQ^g(F
"Referer=",
R@3p"n,Naf-_\ qa0 "Snapshot=t22.inf",
iP w2P'b0 "Mode=HTML",51Testing软件测试网!V1s7Ofr].e$?(P3{3e
LAST);
!Bv6f3E+M^U6T9{`NE0 "URL=http://127.0.0.1:1080/WebTours/",
h mV(s s!i%kc0 "Resource=0",51Testing软件测试网*l.[ O UT T!oT
"RecContentType=text/html",51Testing软件测试网Z FeYQ^g(F
"Referer=",
R@3p"n,Naf-_\ qa0 "Snapshot=t22.inf",
iP w2P'b0 "Mode=HTML",51Testing软件测试网!V1s7Ofr].e$?(P3{3e
LAST);
return 0;
S)pTsT6X ~8?d(O0}
S)pTsT6X ~8?d(O0}
2、URL录制模式:
Action()51Testing软件测试网|@Z&YXE
{
{
web_url("WebTours",
E V*\/PJ:I N0 "URL=http://127.0.0.1:1080/WebTours/",
9U eo@]0 "Resource=0",
/^!ZJC { aif0 "RecContentType=text/html",51Testing软件测试网4ls;z2Z"B d
"Referer=",51Testing软件测试网7w/S%?]Y P0sMMO
"Snapshot=t23.inf",
)a!h|!Ob%U0 "Mode=HTTP",51Testing软件测试网Wx w#I alX k
LAST);
E V*\/PJ:I N0 "URL=http://127.0.0.1:1080/WebTours/",
9U eo@]0 "Resource=0",
/^!ZJC { aif0 "RecContentType=text/html",51Testing软件测试网4ls;z2Z"B d
"Referer=",51Testing软件测试网7w/S%?]Y P0sMMO
"Snapshot=t23.inf",
)a!h|!Ob%U0 "Mode=HTTP",51Testing软件测试网Wx w#I alX k
LAST);
web_concurrent_start(NULL);
web_url("header.html",51Testing软件测试网A"D7f,}p.o E1R
"URL=http://127.0.0.1:1080/WebTours/header.html",
-Jm5U'}3vDS%I0 "Resource=0",51Testing软件测试网N#dv$^@D
"RecContentType=text/html",51Testing软件测试网/q0Gj K'i%O9I
"Referer=http://127.0.0.1:1080/WebTours/",
8oZ Qs,f{A)D0 "Snapshot=t24.inf",51Testing软件测试网MA4h#k\s
"Mode=HTTP",51Testing软件测试网-md.BR"?
LAST);
"URL=http://127.0.0.1:1080/WebTours/header.html",
-Jm5U'}3vDS%I0 "Resource=0",51Testing软件测试网N#dv$^@D
"RecContentType=text/html",51Testing软件测试网/q0Gj K'i%O9I
"Referer=http://127.0.0.1:1080/WebTours/",
8oZ Qs,f{A)D0 "Snapshot=t24.inf",51Testing软件测试网MA4h#k\s
"Mode=HTTP",51Testing软件测试网-md.BR"?
LAST);
web_url("welcome.pl",
9dIZ!S3}3E;o0 "URL=http://127.0.0.1:1080/WebTours/welcome.pl?signOff=true",51Testing软件测试网$R%h9~9P(t%U?G,wB
"Resource=0",
1R@_^jVez}&}-C0 "RecContentType=text/html",
C:O:O!o7t6lk0 "Referer=http://127.0.0.1:1080/WebTours/",
V S/zEJVO[0 "Snapshot=t26.inf",51Testing软件测试网Te1z/E{$}`
"Mode=HTTP",
LY o)gH0 LAST);
9dIZ!S3}3E;o0 "URL=http://127.0.0.1:1080/WebTours/welcome.pl?signOff=true",51Testing软件测试网$R%h9~9P(t%U?G,wB
"Resource=0",
1R@_^jVez}&}-C0 "RecContentType=text/html",
C:O:O!o7t6lk0 "Referer=http://127.0.0.1:1080/WebTours/",
V S/zEJVO[0 "Snapshot=t26.inf",51Testing软件测试网Te1z/E{$}`
"Mode=HTTP",
LY o)gH0 LAST);
web_concurrent_end(NULL);
web_concurrent_start(NULL);
web_url("hp_logo.png",51Testing软件测试网h)v
gT:D+M
"URL=http://127.0.0.1:1080/WebTours/images/hp_logo.png",51Testing软件测试网S @/Q `5[r@
"Resource=1",51Testing软件测试网;A;xwOl6E
"RecContentType=image/png",
6f1|$A.WH0?$gH Qn#t0 "Referer=http://127.0.0.1:1080/WebTours/header.html",51Testing软件测试网kf qgfE
"Snapshot=t25.inf",51Testing软件测试网6kW K5kzKXc
LAST);
"URL=http://127.0.0.1:1080/WebTours/images/hp_logo.png",51Testing软件测试网S @/Q `5[r@
"Resource=1",51Testing软件测试网;A;xwOl6E
"RecContentType=image/png",
6f1|$A.WH0?$gH Qn#t0 "Referer=http://127.0.0.1:1080/WebTours/header.html",51Testing软件测试网kf qgfE
"Snapshot=t25.inf",51Testing软件测试网6kW K5kzKXc
LAST);
web_url("webtours.png",51Testing软件测试网8W,X/C`
qu+yp
"URL=http://127.0.0.1:1080/WebTours/images/webtours.png",
x(jqsCHu3^0 "Resource=1",
`7YVNz0}0 "RecContentType=image/png",51Testing软件测试网Q~_0h1E6L f~
"Referer=http://127.0.0.1:1080/WebTours/header.html",
yx?X@z0 "Snapshot=t27.inf",
d^ D-jF`(v0 LAST);
"URL=http://127.0.0.1:1080/WebTours/images/webtours.png",
x(jqsCHu3^0 "Resource=1",
`7YVNz0}0 "RecContentType=image/png",51Testing软件测试网Q~_0h1E6L f~
"Referer=http://127.0.0.1:1080/WebTours/header.html",
yx?X@z0 "Snapshot=t27.inf",
d^ D-jF`(v0 LAST);
web_concurrent_end(NULL);
web_concurrent_start(NULL);
web_url("home.html",51Testing软件测试网2uv LX4^8w0i A
"URL=http://127.0.0.1:1080/WebTours/home.html",51Testing软件测试网-nt.y8Z7s ]1KU
"Resource=0",
5p ]4Z1b {*f0 "RecContentType=text/html",51Testing软件测试网r [+]3xPpGs2E
"Referer=http://127.0.0.1:1080/WebTours/welcome.pl?signOff=true",51Testing软件测试网9a4x,jI7aL@zD
"Snapshot=t28.inf",
3X.e5@$KU%cX0 "Mode=HTTP",
/}2AFf%?v7?8Bp:l7N0 LAST);
"URL=http://127.0.0.1:1080/WebTours/home.html",51Testing软件测试网-nt.y8Z7s ]1KU
"Resource=0",
5p ]4Z1b {*f0 "RecContentType=text/html",51Testing软件测试网r [+]3xPpGs2E
"Referer=http://127.0.0.1:1080/WebTours/welcome.pl?signOff=true",51Testing软件测试网9a4x,jI7aL@zD
"Snapshot=t28.inf",
3X.e5@$KU%cX0 "Mode=HTTP",
/}2AFf%?v7?8Bp:l7N0 LAST);
web_url("nav.pl",51Testing软件测试网.r!auSOp;pV
"URL=http://127.0.0.1:1080/WebTours/nav.pl?in=home",
0xS-`)R2e?ruD%c7L0 "Resource=0",51Testing软件测试网u(Wr_"sIab
"RecContentType=text/html",51Testing软件测试网 vxu J~ k*|
"Referer=http://127.0.0.1:1080/WebTours/welcome.pl?signOff=true",51Testing软件测试网%m'G!^#aY)^Hlk
"Snapshot=t29.inf",
:p d@\ qA7qz0 "Mode=HTTP",51Testing软件测试网9FUv,nI A)?OHA l
LAST);
"URL=http://127.0.0.1:1080/WebTours/nav.pl?in=home",
0xS-`)R2e?ruD%c7L0 "Resource=0",51Testing软件测试网u(Wr_"sIab
"RecContentType=text/html",51Testing软件测试网 vxu J~ k*|
"Referer=http://127.0.0.1:1080/WebTours/welcome.pl?signOff=true",51Testing软件测试网%m'G!^#aY)^Hlk
"Snapshot=t29.inf",
:p d@\ qA7qz0 "Mode=HTTP",51Testing软件测试网9FUv,nI A)?OHA l
LAST);
web_concurrent_end(NULL);
web_concurrent_start(NULL);
web_url("JSFormSubmit.js",51Testing软件测试网*SF7Y}&F