51Testing软件测试论坛
标题:
各位大哥哥,为什么换个license就不能用了呢?
[打印本页]
作者:
susan120828
时间:
2008-9-17 14:43
标题:
各位大哥哥,为什么换个license就不能用了呢?
刚刚开始用的是十天的试用版,后来找了个license,可是现在运行到10个以上就报错了哦,error 26612: HTTP Status-Code=500 (Internal Server Error) ,痛苦的啊,老了老了唉,各位大虾GG,帮帮忙哦。。。。。。。。
作者:
iori
时间:
2008-9-17 15:30
你这个错误也不是license的问题,应该是关联的问题
作者:
susan120828
时间:
2008-9-17 15:32
标题:
该怎么弄呢?
GG,说详细点哦
作者:
iori
时间:
2008-9-17 15:46
你可以把脚本和回放结果贴上来
作者:
susan120828
时间:
2008-9-17 15:56
#include "web_api.h"
Action()
{
web_set_max_html_param_len("1024");
/* Registering parameter(s) from source task id 2
// {
ID2} = "E87E46AC8CF3185DE5BB70CAEAED1E23"
// */
web_reg_save_param("JSESSIONID2", "LB/IC=jsessionid=",
"RB/IC=\"",
"Ord=1",
"Search=body",
"RelFrameId=1",
LAST);
web_custom_request("172.21.73.64",
"URL=http://172.21.73.64/",
"Method=GET",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTTP",
LAST);
web_concurrent_start(NULL);
web_custom_request("reg_dl_base.css",
"URL=http://172.21.73.64/Style_css/reg_dl_base.css",
"Method=GET",
"Resource=1",
"RecContentType=text/css",
"Referer=http://172.21.73.64/",
LAST);
web_custom_request("border.jpg",
"URL=http://172.21.73.64/images/login/border.jpg",
"Method=GET",
"Resource=1",
"RecContentType=image/jpeg",
"Referer=http://172.21.73.64/",
LAST);
web_custom_request("yhdl.jpg",
"URL=http://172.21.73.64/images/login/yhdl.jpg",
"Method=GET",
"Resource=1",
"RecContentType=image/jpeg",
"Referer=http://172.21.73.64/",
LAST);
web_custom_request("yhdl_left.jpg",
"URL=http://172.21.73.64/images/login/yhdl_left.jpg",
"Method=GET",
"Resource=1",
"RecContentType=image/jpeg",
"Referer=http://172.21.73.64/",
LAST);
web_custom_request("fh.jpg",
"URL=http://172.21.73.64/images/login/fh.jpg",
"Method=GET",
"Resource=1",
"RecContentType=image/jpeg",
"Referer=http://172.21.73.64/",
LAST);
web_custom_request("VerifyCodeServlet",
"URL=http://172.21.73.64/VerifyCodeServlet",
"Method=GET",
"Resource=1",
"RecContentType=image/jpeg",
"Referer=http://172.21.73.64/",
LAST);
web_custom_request("reg_right_top.jpg",
"URL=http://172.21.73.64/images/login/reg_right_top.jpg",
"Method=GET",
"Resource=1",
"RecContentType=image/jpeg",
"Referer=http://172.21.73.64/",
LAST);
web_custom_request("login.jpg",
"URL=http://172.21.73.64/images/login/login.jpg",
"Method=GET",
"Resource=1",
"RecContentType=image/jpeg",
"Referer=http://172.21.73.64/",
LAST);
web_custom_request("reg_right_img.jpg",
"URL=http://172.21.73.64/images/login/reg_right_img.jpg",
"Method=GET",
"Resource=1",
"RecContentType=image/jpeg",
"Referer=http://172.21.73.64/",
LAST);
web_concurrent_end(NULL);
web_concurrent_start(NULL);
web_custom_request("home_base.css",
"URL=http://172.21.73.64/Style_css/home_base.css",
"Method=GET",
"Resource=1",
"RecContentType=text/css",
"Referer=http://172.21.73.64/",
LAST);
web_custom_request("base.css",
"URL=http://172.21.73.64/Style_css/base.css",
"Method=GET",
"Resource=1",
"RecContentType=text/css",
"Referer=http://172.21.73.64/",
LAST);
web_concurrent_end(NULL);
web_custom_request("reg_bj.jpg",
"URL=http://172.21.73.64/images/login/reg_bj.jpg",
"Method=GET",
"Resource=1",
"RecContentType=image/jpeg",
"Referer=http://172.21.73.64/",
LAST);
lr_think_time( 5 );
作者:
susan120828
时间:
2008-9-17 15:56
web_custom_request("login.do;jsessionid={JSESSIONID2}",
"URL=http://172.21.73.64/login.do;jsessionid={JSESSIONID2}",
"Method=POST",
"Resource=0",
"RecContentType=text/html",
"Referer=http://172.21.73.64/",
"Snapshot=t2.inf",
"Mode=HTTP",
"Body=fid=&da=null&ud=null&typeid=null&searchContent=null&mode=null&phonenum=null&key=null&keyDateTime=null&userName={NewParam}&password=123456&verifyCode=",
LAST);
web_concurrent_start(NULL);
web_custom_request("style.css",
"URL=http://172.21.73.64/style/css1/style.css",
"Method=GET",
"Resource=1",
"RecContentType=text/css",
"Referer=http://172.21.73.64/login.do;jsessionid={JSESSIONID2}",
LAST);
web_custom_request("banner.do",
"URL=http://172.21.73.64/banner.do",
"Method=GET",
"Resource=0",
"RecContentType=text/html",
"Referer=http://172.21.73.64/login.do;jsessionid={JSESSIONID2}",
"Snapshot=t3.inf",
"Mode=HTTP",
LAST);
web_concurrent_end(NULL);
web_custom_request("leftbg.gif",
"URL=http://172.21.73.64/style/image1/leftbg.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/login.do;jsessionid={JSESSIONID2}",
LAST);
web_custom_request("welcome.do",
"URL=http://172.21.73.64/welcome.do",
"Method=GET",
"Resource=0",
"RecContentType=text/html",
"Referer=http://172.21.73.64/login.do;jsessionid={JSESSIONID2}",
"Snapshot=t4.inf",
"Mode=HTTP",
LAST);
// [WCSPARAM WCSParam_Diff1 7 z02.gif] Parameter {WCSParam_Diff1} created by Correlation Studio
web_reg_save_param( "WCSParam_Diff1", "LB=image1/", "RB=\"", "Ord=3", "Search=Body", "RelFrameId=1", LAST );
// [WCSPARAM WCSParam_Diff2 6 i7.gif] Parameter {WCSParam_Diff2} created by Correlation Studio
web_reg_save_param( "WCSParam_Diff2", "LB=image1/", "RB=\"", "Ord=4", "Search=Body", "RelFrameId=1", LAST );
// [WCSPARAM WCSParam_Diff3 6 i1.gif] Parameter {WCSParam_Diff3} created by Correlation Studio
web_reg_save_param( "WCSParam_Diff3", "LB=image1/", "RB=\"", "Ord=7", "Search=Body", "RelFrameId=1", LAST );
// [WCSPARAM WCSParam_Diff4 6 i3.gif] Parameter {WCSParam_Diff4} created by Correlation Studio
web_reg_save_param( "WCSParam_Diff4", "LB=image1/", "RB=\"", "Ord=9", "Search=Body", "RelFrameId=1", LAST );
// [WCSPARAM WCSParam_Diff5 6 i2.gif] Parameter {WCSParam_Diff5} created by Correlation Studio
web_reg_save_param( "WCSParam_Diff5", "LB=image1/", "RB=\"", "Ord=10", "Search=Body", "RelFrameId=1", LAST );
web_custom_request("setUpTree.do",
"URL=http://172.21.73.64/setUpTree.do",
"Method=GET",
"Resource=0",
"RecContentType=text/html",
"Referer=http://172.21.73.64/login.do;jsessionid={JSESSIONID2}",
"Snapshot=t5.inf",
"Mode=HTTP",
LAST);
web_custom_request("user.css",
"URL=http://172.21.73.64/Style_css/user.css",
"Method=GET",
"Resource=1",
"RecContentType=text/css",
"Referer=http://172.21.73.64/banner.do",
LAST);
web_custom_request("base.css_2",
"URL=http://172.21.73.64/Style_css/base.css",
"Method=GET",
"Resource=1",
"RecContentType=text/css",
"Referer=http://172.21.73.64/welcome.do",
LAST);
web_concurrent_start(NULL);
web_custom_request("tree-control.css",
"URL=http://172.21.73.64/style/css1/tree-control.css",
"Method=GET",
"Resource=1",
"RecContentType=text/css",
"Referer=http://172.21.73.64/tree-control.jsp",
LAST);
web_custom_request("{WCSParam_Diff1}",
"URL=http://172.21.73.64/style/image1/{WCSParam_Diff1}",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/tree-control.jsp",
LAST);
web_custom_request("{WCSParam_Diff2}",
"URL=http://172.21.73.64/style/image1/{WCSParam_Diff2}",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/tree-control.jsp",
LAST);
web_custom_request("{WCSParam_Diff4}",
"URL=http://172.21.73.64/style/image1/{WCSParam_Diff4}",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/tree-control.jsp",
LAST);
web_custom_request("i23.gif",
"URL=http://172.21.73.64/style/image1/i23.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/tree-control.jsp",
LAST);
web_custom_request("{WCSParam_Diff5}",
"URL=http://172.21.73.64/style/image1/{WCSParam_Diff5}",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/tree-control.jsp",
LAST);
web_custom_request("{WCSParam_Diff3}",
"URL=http://172.21.73.64/style/image1/{WCSParam_Diff3}",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/tree-control.jsp",
LAST);
web_custom_request("leftbg.gif_2",
"URL=http://172.21.73.64/style/image1/leftbg.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/tree-control.jsp",
LAST);
web_concurrent_end(NULL);
web_concurrent_start(NULL);
web_custom_request("home_base.css_2",
"URL=http://172.21.73.64/Style_css/home_base.css",
"Method=GET",
"Resource=1",
"RecContentType=text/css",
"Referer=http://172.21.73.64/welcome.do",
LAST);
web_custom_request("caidan1.gif",
"URL=http://172.21.73.64/style/image1/caidan1.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/tree-control.jsp",
LAST);
作者:
susan120828
时间:
2008-9-17 15:56
web_concurrent_end(NULL);
web_concurrent_start(NULL);
web_custom_request("hy_glzx_top_left.jpg",
"URL=http://172.21.73.64/images/login/hy_glzx_top_left.jpg",
"Method=GET",
"Resource=1",
"RecContentType=image/jpeg",
"Referer=http://172.21.73.64/banner.do",
LAST);
web_custom_request("hy_glzx_top_right.jpg",
"URL=http://172.21.73.64/images/login/hy_glzx_top_right.jpg",
"Method=GET",
"Resource=1",
"RecContentType=image/jpeg",
"Referer=http://172.21.73.64/banner.do",
LAST);
web_custom_request("hyzx_right_bj.jpg",
"URL=http://172.21.73.64/images/login/hyzx_right_bj.jpg",
"Method=GET",
"Resource=1",
"RecContentType=image/jpeg",
"Referer=http://172.21.73.64/welcome.do",
LAST);
web_custom_request("hyzx_font_bj.jpg",
"URL=http://172.21.73.64/images/login/hyzx_font_bj.jpg",
"Method=GET",
"Resource=1",
"RecContentType=image/jpeg",
"Referer=http://172.21.73.64/welcome.do",
LAST);
web_concurrent_end(NULL);
web_concurrent_start(NULL);
web_custom_request("hyzx_font_bj.jpg_2",
"URL=http://172.21.73.64/images/login/hyzx_font_bj.jpg",
"Method=GET",
"Resource=1",
"RecContentType=image/jpeg",
"Referer=http://172.21.73.64/welcome.do",
LAST);
web_custom_request("hyzx_font_bj.jpg_3",
"URL=http://172.21.73.64/images/login/hyzx_font_bj.jpg",
"Method=GET",
"Resource=1",
"RecContentType=image/jpeg",
"Referer=http://172.21.73.64/welcome.do",
LAST);
web_custom_request("sx1.gif",
"URL=http://172.21.73.64/style/image1/sx1.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/tree-control.jsp",
LAST);
web_concurrent_end(NULL);
web_concurrent_start(NULL);
web_custom_request("hyzx_font_bj.jpg_4",
"URL=http://172.21.73.64/images/login/hyzx_font_bj.jpg",
"Method=GET",
"Resource=1",
"RecContentType=image/jpeg",
"Referer=http://172.21.73.64/welcome.do",
LAST);
web_custom_request("hyzx_font_bj.jpg_5",
"URL=http://172.21.73.64/images/login/hyzx_font_bj.jpg",
"Method=GET",
"Resource=1",
"RecContentType=image/jpeg",
"Referer=http://172.21.73.64/welcome.do",
LAST);
web_custom_request("hyzx_font_bj.jpg_6",
"URL=http://172.21.73.64/images/login/hyzx_font_bj.jpg",
"Method=GET",
"Resource=1",
"RecContentType=image/jpeg",
"Referer=http://172.21.73.64/welcome.do",
LAST);
web_concurrent_end(NULL);
web_concurrent_start(NULL);
web_custom_request("sx1.gif_2",
"URL=http://172.21.73.64/style/image1/sx1.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/tree-control.jsp",
LAST);
web_custom_request("caidan1.gif_2",
"URL=http://172.21.73.64/style/image1/caidan1.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/tree-control.jsp",
LAST);
web_custom_request("caidan1.gif_3",
"URL=http://172.21.73.64/style/image1/caidan1.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/tree-control.jsp",
LAST);
web_custom_request("hy_glzx_top_bj.jpg",
"URL=http://172.21.73.64/images/login/hy_glzx_top_bj.jpg",
"Method=GET",
"Resource=1",
"RecContentType=image/jpeg",
"Referer=http://172.21.73.64/banner.do",
LAST);
web_custom_request("sx1.gif_3",
"URL=http://172.21.73.64/style/image1/sx1.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/tree-control.jsp",
LAST);
web_concurrent_end(NULL);
web_custom_request("getReceiveMsgNum.do",
"URL=http://172.21.73.64/getReceiveMsgNum.do",
"Method=POST",
"Resource=0",
"RecContentType=text/xml",
"Referer=http://172.21.73.64/tree-control.jsp",
"Snapshot=t6.inf",
"Mode=HTTP",
"EncType=",
LAST);
web_concurrent_start(NULL);
web_custom_request("caidan1.gif_4",
"URL=http://172.21.73.64/style/image1/caidan1.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/tree-control.jsp",
LAST);
web_custom_request("caidan1.gif_5",
"URL=http://172.21.73.64/style/image1/caidan1.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/tree-control.jsp",
LAST);
web_custom_request("sx2.gif",
"URL=http://172.21.73.64/style/image1/sx2.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/tree-control.jsp",
LAST);
web_custom_request("caidan1.gif_6",
"URL=http://172.21.73.64/style/image1/caidan1.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/tree-control.jsp",
LAST);
web_custom_request("sx2.gif_2",
"URL=http://172.21.73.64/style/image1/sx2.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/tree-control.jsp",
LAST);
web_concurrent_end(NULL);
// [WCSPARAM WCSParam_Diff6 12 resultBuffer] Parameter {WCSParam_Diff6} created by Correlation Studio
web_reg_save_param( "WCSParam_Diff6", "LB= name=\"", "RB=\"", "Ord=6", "Search=Body", "RelFrameId=1", LAST );
web_custom_request("showSmsSendMsgSend.do",
"URL=http://172.21.73.64/showSmsSendMsgSend.do",
"Method=GET",
"Resource=0",
"RecContentType=text/html",
"Referer=http://172.21.73.64/tree-control.jsp",
"Snapshot=t7.inf",
"Mode=HTTP",
LAST);
web_concurrent_start(NULL);
web_custom_request("right1.gif",
"URL=http://172.21.73.64/style/image1/right1.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/showSmsSendMsgSend.do",
LAST);
web_custom_request("del.gif",
"URL=http://172.21.73.64/images/zh/del.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/showSmsSendMsgSend.do",
LAST);
web_custom_request("i17.gif",
"URL=http://172.21.73.64/images/all/ico/i17.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/showSmsSendMsgSend.do",
LAST);
web_custom_request("addind.gif",
"URL=http://172.21.73.64/images/zh/addind.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/showSmsSendMsgSend.do",
LAST);
作者:
susan120828
时间:
2008-9-17 15:57
web_custom_request("delall.gif",
"URL=http://172.21.73.64/images/zh/delall.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/showSmsSendMsgSend.do",
LAST);
web_custom_request("addgrp.gif",
"URL=http://172.21.73.64/images/zh/addgrp.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/showSmsSendMsgSend.do",
LAST);
web_custom_request("i18.gif",
"URL=http://172.21.73.64/images/all/ico/i18.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/showSmsSendMsgSend.do",
LAST);
web_concurrent_end(NULL);
web_concurrent_start(NULL);
web_custom_request("table_bottom.gif",
"URL=http://172.21.73.64/style/image1/table_bottom.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/showSmsSendMsgSend.do",
LAST);
web_custom_request("sx1.gif_4",
"URL=http://172.21.73.64/style/image1/sx1.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/tree-control.jsp",
LAST);
web_concurrent_end(NULL);
web_custom_request("an01.gif",
"URL=http://172.21.73.64/style/image1/an01.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/showSmsSendMsgSend.do",
LAST);
web_concurrent_start(NULL);
web_custom_request("sx1.gif_5",
"URL=http://172.21.73.64/style/image1/sx1.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/tree-control.jsp",
LAST);
web_custom_request("right1.gif_2",
"URL=http://172.21.73.64/style/image1/right1.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/showSmsSendMsgSend.do",
LAST);
web_custom_request("table_bottom.gif_2",
"URL=http://172.21.73.64/style/image1/table_bottom.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/showSmsSendMsgSend.do",
LAST);
web_custom_request("an01.gif_2",
"URL=http://172.21.73.64/style/image1/an01.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/showSmsSendMsgSend.do",
LAST);
web_custom_request("an01.gif_3",
"URL=http://172.21.73.64/style/image1/an01.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/showSmsSendMsgSend.do",
LAST);
web_custom_request("an01.gif_4",
"URL=http://172.21.73.64/style/image1/an01.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/showSmsSendMsgSend.do",
LAST);
web_custom_request("an01.gif_5",
"URL=http://172.21.73.64/style/image1/an01.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/showSmsSendMsgSend.do",
LAST);
web_custom_request("an01.gif_6",
"URL=http://172.21.73.64/style/image1/an01.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/showSmsSendMsgSend.do",
LAST);
web_custom_request("an01.gif_7",
"URL=http://172.21.73.64/style/image1/an01.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/showSmsSendMsgSend.do",
LAST);
web_custom_request("an01.gif_8",
"URL=http://172.21.73.64/style/image1/an01.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/showSmsSendMsgSend.do",
LAST);
web_custom_request("an01.gif_9",
"URL=http://172.21.73.64/style/image1/an01.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/showSmsSendMsgSend.do",
LAST);
web_custom_request("an01.gif_10",
"URL=http://172.21.73.64/style/image1/an01.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/showSmsSendMsgSend.do",
LAST);
web_custom_request("an01.gif_11",
"URL=http://172.21.73.64/style/image1/an01.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/showSmsSendMsgSend.do",
LAST);
web_custom_request("an01.gif_12",
"URL=http://172.21.73.64/style/image1/an01.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/showSmsSendMsgSend.do",
LAST);
web_concurrent_end(NULL);
// [WCSPARAM WCSParam_Diff7 5 style] Parameter {WCSParam_Diff7} created by Correlation Studio
web_reg_save_param( "WCSParam_Diff7", "LB=stylesheet href=", "RB=/", "Ord=1", "Search=Body", "RelFrameId=1", LAST );
web_custom_request("smsSendMsgSend.do",
"URL=http://172.21.73.64/smsSendMsgSend.do",
"Method=POST",
"Resource=0",
"RecContentType=text/html",
"Referer=http://172.21.73.64/showSmsSendMsgSend.do",
"Snapshot=t8.inf",
"Mode=HTTP",
"Body=oa=11&fid=Send&sign=system+manager&isfirestpage=true&{WCSParam_Diff6}=null&inMsisdnTxt=11&name=&telephone=&errorNumber=&Txt=+&da=%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D+%B1%BB%BD%D0%BA%C5%C2%EB%A3%BA+%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D&haveinput=3&chars=251&nummsg=%B2%BB%B2%F0%B7%D6&ud=123&priority=low&vpday=1",
LAST);
web_concurrent_start(NULL);
web_custom_request("right1.gif_3",
"URL=http://172.21.73.64/{WCSParam_Diff7}/image1/right1.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/smsSendMsgSend.do",
LAST);
web_custom_request("2.gif",
"URL=http://172.21.73.64/{WCSParam_Diff7}/image1/2.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/smsSendMsgSend.do",
LAST);
web_custom_request("table_bottom.gif_3",
"URL=http://172.21.73.64/{WCSParam_Diff7}/image1/table_bottom.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/smsSendMsgSend.do",
LAST);
web_custom_request("an01.gif_13",
"URL=http://172.21.73.64/{WCSParam_Diff7}/image1/an01.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/smsSendMsgSend.do",
LAST);
web_custom_request("right1.gif_4",
"URL=http://172.21.73.64/{WCSParam_Diff7}/image1/right1.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/smsSendMsgSend.do",
LAST);
web_custom_request("2.gif_2",
"URL=http://172.21.73.64/{WCSParam_Diff7}/image1/2.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/smsSendMsgSend.do",
LAST);
web_custom_request("2.gif_3",
"URL=http://172.21.73.64/{WCSParam_Diff7}/image1/2.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/smsSendMsgSend.do",
LAST);
web_custom_request("2.gif_4",
"URL=http://172.21.73.64/{WCSParam_Diff7}/image1/2.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/smsSendMsgSend.do",
LAST);
web_custom_request("2.gif_5",
"URL=http://172.21.73.64/{WCSParam_Diff7}/image1/2.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/smsSendMsgSend.do",
LAST);
web_custom_request("an01.gif_14",
"URL=http://172.21.73.64/{WCSParam_Diff7}/image1/an01.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/smsSendMsgSend.do",
LAST);
web_custom_request("an01.gif_15",
"URL=http://172.21.73.64/{WCSParam_Diff7}/image1/an01.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/smsSendMsgSend.do",
LAST);
web_custom_request("2.gif_6",
"URL=http://172.21.73.64/{WCSParam_Diff7}/image1/2.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/smsSendMsgSend.do",
LAST);
web_custom_request("an01.gif_16",
"URL=http://172.21.73.64/{WCSParam_Diff7}/image1/an01.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/smsSendMsgSend.do",
LAST);
web_custom_request("table_bottom.gif_4",
"URL=http://172.21.73.64/{WCSParam_Diff7}/image1/table_bottom.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/smsSendMsgSend.do",
LAST);
web_custom_request("2.gif_7",
"URL=http://172.21.73.64/{WCSParam_Diff7}/image1/2.gif",
"Method=GET",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://172.21.73.64/smsSendMsgSend.do",
LAST);
web_concurrent_end(NULL);
return 0;
作者:
iori
时间:
2008-9-17 16:03
你为什么非要用url模式录制,看得我眼晕
作者:
susan120828
时间:
2008-9-17 16:06
我也是看着说明书步骤做的呀,您帮我看看哦
作者:
iori
时间:
2008-9-17 16:14
我大概看了一下你的脚本,你是用自动关联的
// [WCSPARAM WCSParam_Diff1 7 z02.gif] Parameter {WCSParam_Diff1} created by Correlation Studio
web_reg_save_param( "WCSParam_Diff1", "LB=image1/", "RB=\"", "Ord=3", "Search=Body", "RelFrameId=1", LAST );
// [WCSPARAM WCSParam_Diff2 6 i7.gif] Parameter {WCSParam_Diff2} created by Correlation Studio
web_reg_save_param( "WCSParam_Diff2", "LB=image1/", "RB=\"", "Ord=4", "Search=Body", "RelFrameId=1", LAST );
// [WCSPARAM WCSParam_Diff3 6 i1.gif] Parameter {WCSParam_Diff3} created by Correlation Studio
web_reg_save_param( "WCSParam_Diff3", "LB=image1/", "RB=\"", "Ord=7", "Search=Body", "RelFrameId=1", LAST );
// [WCSPARAM WCSParam_Diff4 6 i3.gif] Parameter {WCSParam_Diff4} created by Correlation Studio
web_reg_save_param( "WCSParam_Diff4", "LB=image1/", "RB=\"", "Ord=9", "Search=Body", "RelFrameId=1", LAST );
// [WCSPARAM WCSParam_Diff5 6 i2.gif] Parameter {WCSParam_Diff5} created by Correlation Studio
web_reg_save_param( "WCSParam_Diff5", "LB=image1/", "RB=\"", "Ord=10", "Search=Body", "RelFrameId=1", LAST );
这几个地方是图片,是不需要关联的,在自动关联的时候你需要分析,有些地方是不需要关联
作者:
iori
时间:
2008-9-17 16:17
给你些建议,录制脚本的时候在recording options中recording中尽量选用HTML-based script方式录制,这样的话脚本易理解
[attach]45399[/attach]好好看一下这个吧
[
本帖最后由 iori 于 2008-9-17 16:20 编辑
]
作者:
susan120828
时间:
2008-9-17 16:23
GG,我没改过呀,默认就是HTML录制的
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2