|
5#
楼主 |
发表于 2006-10-20 10:59:31
|
只看该作者
烦到还不烦,主要是公司在性能测试特别是B/S类的基本处于空白,出现问题不知道找谁解决,我才刚毕业,LR也还在自学,头痛 啊!
我把录的最基本的登陆进网站的脚本贴出来,一般进入网站,打开地图就有地图服务生成,只要能生成服务后面就好说。帮忙看看吧!
Action()
{
web_add_cookie("MapID=deb5287161aa46e8a5e1be07a5c3bea8; DOMAIN=192.168.1.6");
web_url("default.aspx",
"URL=http://192.168.1.6/civil/default.aspx",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
EXTRARES,
"Url=images/map/5.gif", ENDITEM,
"Url=images/map/17.gif", ENDITEM,
"Url=images/map/11.gif", ENDITEM,
"Url=images/map/3.gif", ENDITEM,
"Url=images/map/10.gif", ENDITEM,
"Url=mapimage/deb5287161aa46e8a5e1be07a5c3bea8/632962639307187500.gif", ENDITEM,
"Url=images/map/bus_2.gif", ENDITEM,
"Url=images/map/drive_2.gif", ENDITEM,
"Url=images/map/zoomin_2.gif", ENDITEM,
"Url=images/map/Pan_2.gif", ENDITEM,
"Url=images/map/zoomout_2.gif", ENDITEM,
"Url=images/map/PointSelect_2.gif", ENDITEM,
"Url=images/map/Distance_2.gif", ENDITEM,
"Url=images/map/layer_2.gif", ENDITEM,
"Url=images/map/print_2.gif", ENDITEM,
LAST);
web_custom_request("MapServer,App_Code.ashx",
"URL=http://192.168.1.6/Civil/ajaxpro/MapServer,App_Code.ashx",
"Method=POST",
"Resource=0",
"RecContentType=text/plain",
"Referer=http://192.168.1.6/civil/default.aspx",
"Mode=HTML",
"Body={\"mapID\": \"deb5287161aa46e8a5e1be07a5c3bea8\", \"toolID\": \"mapinit\", \"param\": [781, 472, \"main.xml\"], \"context\": null}\r\n"
"",
LAST);
return 0;
} |
|