不要追求绝对的公平,红尘之中没有公平而言,人活一世,难得糊涂。                                           it is no use doing what you like, you have got to like what you do.

LR搜索

上一篇 / 下一篇  2007-04-20 10:16:17 / 个人分类:Mercury LoadRunner

#include "web_api.h"
-ZfF"Rx&B!s~8H051Testing软件测试网[Al0|2s-q"a e

JK mw]5p4m0Action()51Testing软件测试网!fV_mtg.F
{51Testing软件测试网"J$l_)U*J P
51Testing软件测试网1s'M7o&UY'u d i
web_url("www.hao123.com",
]$q/og;u8s0"URL=http://www.hao123.com/",
d*D'bZ0N$T1HC0"Resource=0",
T,|!]w2NDF0"RecContentType=text/html",51Testing软件测试网]eoq,a^T
"Referer=",
};];dg+E8LC$YY#E0"Snapshot=t1.inf",51Testing软件测试网Q(y7?#{|*U
"Mode=HTML",
"}?_'M!T b(wUs;a o0LAST);
_$t!G7a#o0lr_think_time(4);
Ky$?FkC,K(J051Testing软件测试网O6jDTHoH`
web_add_cookie("BAIDUID=35A7FDBDAC0E43AABF4845B3FFE5736D; DOMAIN=www.baidu.com");
p!T5Ba(|1o ST&r6J0
H+aD YU"{5b-Gq0web_add_cookie("BAIDUID=35A7FDBDAC0E43AABF4845B3FFE5736D; DOMAIN=img.baidu.com");
t#G3mo%RW!W051Testing软件测试网D4R'N&ac"| y0hi5A|
web_add_cookie("BAIDUID=35A7FDBDAC0E43AABF4845B3FFE5736D; DOMAIN=survey.baidu.com");51Testing软件测试网g-q\~{M Z

V%CP&is(C7{ y.i%PD{0web_find("web_find",51Testing软件测试网)I-h6@Q ^'_*{
"What=loadrunner",
ryq4X5Z x0LAST);51Testing软件测试网s [ ?2U/OF;J
51Testing软件测试网Q2O0V-C1W,a0{fh
web_url("s",
wcd.F cP;B8V/Y:]0"URL=http://www.baidu.com/s?tn=sitehao123&cl=3&rn=10&ct=0&lm=0&word=loadrunner",51Testing软件测试网d/D9c.c)]5h Vr
"Resource=0",
`;F6I-F @4fx;vS0"RecContentType=text/html",51Testing软件测试网:E4ts;asD
"Referer=http://www.hao123.com/",51Testing软件测试网*bUM)F%i&Se p
"Snapshot=t3.inf",
d$B1s DI0"Mode=HTML",
{ L{,jmkt3Hf0EXTRARES,
"jzt*h6@zt0"URL=http://img.baidu.com/img/sobar/b5.gif", "Referer=http://www.baidu.com/s?tn=sitehao123&cl=3&rn=10&ct=0&lm=0&word=loadrunner", ENDITEM,51Testing软件测试网cO"L cqV O
"URL=http://survey.baidu.com:8090/images/w.gif?path=http://www.baidu.com/s?tn=sitehao123&cl=3&rn=10&ct=0&lm=0&word=loadrunner&t=1157701158828", "Referer=http://www.baidu.com/s?tn=sitehao123&cl=3&rn=10&ct=0&lm=0&word=loadrunner", ENDITEM,51Testing软件测试网+I?l0]-Jx"D\
LAST);
3W1GnZO|D#Y2KW0
-QfC;Db3H ZW/x0return 0;51Testing软件测试网s0TG.C4J)k1[7An
}
yBX:\:KW-cP6|051Testing软件测试网-x/j[H ]Y2Y7l

@7n LSHa@X$O o0

TAG:

 

评分:0

我来说两句

Open Toolbar