51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 3525|回复: 13
打印 上一主题 下一主题

[原创] 大家来看看这个地方是用关联还是参数化?关联不了。[已解决,谢谢各位的帮助]

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2008-11-24 23:51:37 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
关联的resnameid是由web_submit_data提交一条数据到数据库所生成记录的ID。。可是不知道为什么关联不了?
不知道这种插入数据库后,再由数据库中的记录取的值传给一个URL进行相应的操作,这种值的取得到底是由关联还是参数化合适?

web_submit_data("saveResNamernAction.action",
                "Action=http://192.168.1.111:8080/res-plat//saveResNamernAction.action",
                "Method=POST",
                "EncType=multipart/form-data",
                "RecContentType=text/html",
                "Referer=http://192.168.1.111:8080/res-plat//befaddResNamernAction.action?infoOrWSorWsDesc=1",
                "Snapshot=t89.inf",
                "Mode=HTTP",
                ITEMDATA,
                "Name=goToNextAction", "Value=true", ENDITEM,
                "Name=infoOrWSorWsDesc", "Value=1", ENDITEM,
                "Name=dummy_id", "Value=2008110710054057196", ENDITEM,
                "Name=addOrUpdate", "Value=null", ENDITEM,
                "Name=resnameId", "Value=", ENDITEM,
                "Name=res_name", "Value={resname}", ENDITEM,
                "Name=is_comm_res", "Value=1", ENDITEM,
                "Name=res_exp", "Value={resname}", ENDITEM,
                "Name=create_userid", "Value=admin", ENDITEM,
                "Name=register_org", "Value=", ENDITEM,
                "Name=commit_org", "Value=", ENDITEM,
                "Name=master_org", "Value=", ENDITEM,
                "Name=file", "Value=", "File=Yes", ENDITEM,
                LAST);


        web_reg_save_param("resnameid",
                "LB=resname_id=",
                "RB=&wsResnameID",
                LAST);
        lr_continue_on_error(1);

        web_url("splitAction_getResMetaInfoList.action",
                "URL=http://192.168.1.111:8080/res-plat//splitAction_getResMetaInfoList.action?&addOrUpdate=null&resMetaInfoSetSingle=true&resname_id={resnameid}&wsResnameID=null&wsDescResnameID=null&infoOrWSorWsDesc=1",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://192.168.1.111:8080/res-plat/mainmenu/main.jsp",
                "Snapshot=t90.inf",
                "Mode=HTTP",
                LAST);
        lr_continue_on_error(0);
    lr_error_message("%s",lr_eval_string("{resnameid}")) ;
        ExtendedLog(0);

出错信息:
Action.c(50): Continuing after Error -26377: No match found for the requested parameter "resnameid". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 1024 bytes, use web_set_max_html_param_len to increase the parameter size          [MsgId: MERR-26377]
Action.c(50): Notify: Saving Parameter "resnameid = "
Action.c(50): web_url("splitAction_getResMetaInfoList.action") highest severity level was "continue on error", 1202 body bytes, 167 header bytes          [MsgId: MMSG-26388]
Action.c(50): Continuing after error in Vuser script.右

[ 本帖最后由 iewgku 于 2008-11-25 11:01 编辑 ]
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
 楼主| 发表于 2008-11-24 23:55:39 | 只看该作者
在脚本中加了web_set_max_html_param_len("1024");这句话也没用。。。详细的LOGO如下:

Starting action Action.
Action.c(12): web_set_max_html_param_len was successful          [MsgId: MMSG-26392]
Action.c(13): Notify: Transaction "A" started.
Action.c(19): web_submit_data("saveResNamernAction.action") started          [MsgId: MMSG-26355]
Action.c(19): Notify: Parameter Substitution: parameter "resname" =  "test2404"
Action.c(19): Notify: Parameter Substitution: parameter "resname" =  "test2404"
Action.c(19): Warning -26490: File name in a multipart submit is missing or empty. Using an empty file          [MsgId: MWAR-26490]
Action.c(19): t=7578ms: Already connected to 192.168.1.111:8080          [MsgId: MMSG-26000]
Action.c(19): t=7580ms: 575-byte request headers for "http://192.168.1.111:8080/res-plat//saveResNamernAction.action" (RelFrameId=1)
Action.c(19):     POST /res-plat//saveResNamernAction.action HTTP/1.1\r\n
Action.c(19):     Content-Type: multipart/form-data; boundary=---------------------------7d025e2b16b064e\r\n
Action.c(19):     Cache-Control: no-cache\r\n
Action.c(19):     Referer: http://192.168.1.111:8080/res-pl ... on?infoOrWSorWsDesc
Action.c(19):     =1\r\n
Action.c(19):     User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR 1.1.4322; .NET CLR
Action.c(19):      2.0.50727)\r\n
Action.c(19):     Accept-Encoding: gzip, deflate\r\n
Action.c(19):     Accept-Language: zh-cn\r\n
Action.c(19):     Accept: */*\r\n
Action.c(19):     Connection: Keep-Alive\r\n
Action.c(19):     Host: 192.168.1.111:8080\r\n
Action.c(19):     Cookie: JSESSIONID=559906473B9739E033D1F2E902FD1786; username=admin\r\n
Action.c(19):     Content-Length: 1467\r\n
Action.c(19):     \r\n
Action.c(19): t=7612ms: 1467-byte request body for "http://192.168.1.111:8080/res-plat//saveResNamernAction.action" (RelFrameId=1)
Action.c(19):     -----------------------------7d025e2b16b064e\r\n
Action.c(19):     Content-Disposition: form-data; name="goToNextAction"\r\n
Action.c(19):     \r\n
Action.c(19):     true\r\n
Action.c(19):     -----------------------------7d025e2b16b064e\r\n
Action.c(19):     Content-Disposition: form-data; name="infoOrWSorWsDesc"\r\n
Action.c(19):     \r\n
Action.c(19):     1\r\n
Action.c(19):     -----------------------------7d025e2b16b064e\r\n
Action.c(19):     Content-Disposition: form-data; name="dummy_id"\r\n
Action.c(19):     \r\n
Action.c(19):     2008110710054057196\r\n
Action.c(19):     -----------------------------7d025e2b16b064e\r\n
Action.c(19):     Content-Disposition: form-data; name="addOrUpdate"\r\n
Action.c(19):     \r\n
Action.c(19):     null\r\n
Action.c(19):     -----------------------------7d025e2b16b064e\r\n
Action.c(19):     Content-Disposition: form-data; name="resnameId"\r\n
Action.c(19):     \r\n
Action.c(19):     \r\n
Action.c(19):     -----------------------------7d025e2b16b064e\r\n
Action.c(19):     Content-Disposition: form-data; name="res_name"\r\n
Action.c(19):     \r\n
Action.c(19):     test2404\r\n
Action.c(19):     -----------------------------7d025e2b16b064e\r\n
Action.c(19):     Content-Disposition: form-data; name="is_comm_res"\r\n
Action.c(19):     \r\n
Action.c(19):     1\r\n
Action.c(19):     -----------------------------7d025e2b16b064e\r\n
Action.c(19):     Content-Disposition: form-data; name="res_exp"\r\n
Action.c(19):     \r\n
Action.c(19):     test2404\r\n
Action.c(19):     -----------------------------7d025e2b16b064e\r\n
Action.c(19):     Content-Disposition: form-data; name="create_userid"\r\n
Action.c(19):     \r\n
Action.c(19):     admin\r\n
Action.c(19):     -----------------------------7d025e2b16b064e\r\n
Action.c(19):     Content-Disposition: form-data; name="register_org"\r\n
Action.c(19):     \r\n
Action.c(19):     \r\n
Action.c(19):     -----------------------------7d025e2b16b064e\r\n
Action.c(19):     Content-Disposition: form-data; name="commit_org"\r\n
Action.c(19):     \r\n
Action.c(19):     \r\n
Action.c(19):     -----------------------------7d025e2b16b064e\r\n
Action.c(19):     Content-Disposition: form-data; name="master_org"\r\n
Action.c(19):     \r\n
Action.c(19):     \r\n
Action.c(19):     -----------------------------7d025e2b16b064e\r\n
Action.c(19):     Content-Disposition: form-data; name="file"; filename=""\r\n
Action.c(19):     Content-Type: application/octet-stream\r\n
Action.c(19):     \r\n
Action.c(19):     \r\n
Action.c(19):     -----------------------------7d025e2b16b064e--\r\n
Action.c(19): t=7738ms: 173-byte response headers for "http://192.168.1.111:8080/res-plat//saveResNamernAction.action" (RelFrameId=1)
Action.c(19):     HTTP/1.1 200 OK\r\n
Action.c(19):     Server: Apache-Coyote/1.1\r\n
Action.c(19):     Content-Type: text/html;charset=ISO-8859-1\r\n
Action.c(19):     Content-Language: zh-CN\r\n
Action.c(19):     Content-Length: 792\r\n
Action.c(19):     Date: Mon, 24 Nov 2008 15:25:54 GMT\r\n
Action.c(19):     \r\n
Action.c(19): t=7755ms: 792-byte response body for "http://192.168.1.111:8080/res-plat//saveResNamernAction.action" (RelFrameId=1)
Action.c(19):        <script>parent.callback('true','true','splitAction_getResMetaInfoList.action?&addOrUpda
Action.c(19):     te=null&resMetaInfoSetSingle=true&resname_id=&wsResnameID=null&wsDescResnameID=null')</scr
Action.c(19):     ipt>\r\n
Action.c(19):     \r\n
Action.c(19):       </body>\r\n
Action.c(19):     </html>\r\n
Action.c(19): t=7812ms: Request done "http://192.168.1.111:8080/res-plat//saveResNamernAction.action"          [MsgId: MMSG-26000]
Action.c(19): web_submit_data("saveResNamernAction.action") highest severity level was "warning", 792 body bytes, 173 header bytes          [MsgId: MMSG-26388]
Action.c(44): web_reg_save_param started          [MsgId: MMSG-26355]
Action.c(44): Registering web_reg_save_param was successful          [MsgId: MMSG-26390]
Action.c(50): web_url("splitAction_getResMetaInfoList.action") started          [MsgId: MMSG-26355]
Action.c(50): Warning: The string 'resnameid' with parameter delimiters is not a parameter.
Action.c(50): t=25740ms: Inactive socket was closed by 192.168.1.111:8080, probably due to keepalive timeout          [MsgId: MMSG-26000]
Action.c(50): t=25742ms: Closed connection to 192.168.1.111:8080 after completing 39 requests          [MsgId: MMSG-26000]
Action.c(50): t=25742ms: Already connected to 192.168.1.111:8080          [MsgId: MMSG-26000]
Action.c(50): t=25743ms: 543-byte request headers for "http://192.168.1.111:8080/res-plat//splitAction_getResMetaInfoList.action?&addOrUpdate=null&resMetaInfoSetSingle=true&resname_id={resnameid}&wsResnameID=null&wsDescResnameID=null&infoOrWSorWsDesc=1" (RelFrameId=1)
Action.c(50):     GET /res-plat//splitAction_getResMetaInfoList.action?&addOrUpdate=null&resMetaInfoSetSingl
Action.c(50):     e=true&resname_id={resnameid}&wsResnameID=null&wsDescResnameID=null&infoOrWSorWsDesc=1 HTT
Action.c(50):     P/1.1\r\n
Action.c(50):     Referer: http://192.168.1.111:8080/res-plat/mainmenu/main.jsp\r\n
Action.c(50):     User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR 1.1.4322; .NET CLR
Action.c(50):      2.0.50727)\r\n
Action.c(50):     Accept-Encoding: gzip, deflate\r\n
Action.c(50):     Accept-Language: zh-cn\r\n
Action.c(50):     Accept: */*\r\n
Action.c(50):     Connection: Keep-Alive\r\n
Action.c(50):     Host: 192.168.1.111:8080\r\n
Action.c(50):     Cookie: JSESSIONID=559906473B9739E033D1F2E902FD1786; username=admin\r\n
Action.c(50):     \r\n
Action.c(50): t=25769ms: 167-byte response headers for "http://192.168.1.111:8080/res-plat//splitAction_getResMetaInfoList.action?&addOrUpdate=null&resMetaInfoSetSingle=true&resname_id={resnameid}&wsResnameID=null&wsDescResnameID=null&infoOrWSorWsDesc=1" (RelFrameId=1)
Action.c(50):     HTTP/1.1 200 OK\r\n
Action.c(50):     Server: Apache-Coyote/1.1\r\n
Action.c(50):     Content-Type: text/html;charset=GBK\r\n
Action.c(50):     Content-Language: zh-CN\r\n
Action.c(50):     Content-Length: 1202\r\n
Action.c(50):     Date: Mon, 24 Nov 2008 15:26:12 GMT\r\n
Action.c(50):     \r\n
Action.c(50): t=25776ms: 1202-byte response body for "http://192.168.1.111:8080/res-plat//splitAction_getResMetaInfoList.action?&addOrUpdate=null&resMetaInfoSetSingle=true&resname_id={resnameid}&wsResnameID=null&wsDescResnameID=null&infoOrWSorWsDesc=1" (RelFrameId=1)
Action.c(50):     \r\n
Action.c(50):     <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml
Action.c(50):    Action.c(50):     </body>\r\n
Action.c(50):     </html>\r\n
Action.c(50): t=25821ms: Request done "http://192.168.1.111:8080/res-plat//splitAction_getResMetaInfoList.action?&addOrUpdate=null&resMetaInfoSetSingle=true&resname_id={resnameid}&wsResnameID=null&wsDescResnameID=null&infoOrWSorWsDesc=1"          [MsgId: MMSG-26000]
Action.c(50): Continuing after Error -26377: No match found for the requested parameter "resnameid". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 1024 bytes, use web_set_max_html_param_len to increase the parameter size          [MsgId: MERR-26377]
Action.c(50): Notify: Saving Parameter "resnameid = "
Action.c(50): web_url("splitAction_getResMetaInfoList.action") highest severity level was "continue on error", 1202 body bytes, 167 header bytes          [MsgId: MMSG-26388]
Action.c(50): Continuing after error in Vuser script.
回复 支持 反对

使用道具 举报

该用户从未签到

3#
发表于 2008-11-25 08:18:06 | 只看该作者
关联函数用的不对。
回复 支持 反对

使用道具 举报

该用户从未签到

4#
 楼主| 发表于 2008-11-25 08:23:07 | 只看该作者
楼上的兄弟能不能说得具体点?
回复 支持 反对

使用道具 举报

该用户从未签到

5#
 楼主| 发表于 2008-11-25 08:25:44 | 只看该作者
我感觉LOG中的Action.c(19): t=7755ms: 792-byte response body for "http://192.168.1.111:8080/res-plat//saveResNamernAction.action" (RelFrameId=1)
Action.c(19):        <script>parent.callback('true','true','splitAction_getResMetaInfoList.action?&addOrUpda
Action.c(19):     te=null&resMetaInfoSetSingle=true&resname_id=&wsResnameID=null&wsDescResnameID=null')</scr这句,好像resname_id没有值。。。但实际上这个值是前面的web_submit_data提交一条数据到数据库所生成记录的ID.
现在怎么这个值取到?
回复 支持 反对

使用道具 举报

该用户从未签到

6#
发表于 2008-11-25 09:09:21 | 只看该作者
如果resname_id是前面的web_submit_data提交一条数据到数据库所生成记录的ID,那就应该把web_reg_save_param移到web_submit_data的前面!
另外你要注意这个函数取值是从服务器的返回信息里取值,而不是从LR的脚本里取值,所以左右边界也应该从服务器返回信息里找。
回复 支持 反对

使用道具 举报

该用户从未签到

7#
 楼主| 发表于 2008-11-25 09:16:06 | 只看该作者
再附上完整一点的代码,whyleave兄帮忙看一下关联的对不对。
关联后的代码
           web_reg_save_param("resnameid",
                "LB=resname_id=",
                "RB=&wsResnameID",
                "Ord=1",
                "Search=Body",
                "RelFrameId=1",
                LAST);

        web_submit_data("saveResNamernAction.action",
                "Action=http://192.168.1.111:8080/res-plat//saveResNamernAction.action",
                "Method=POST",
                "EncType=multipart/form-data",
                "RecContentType=text/html",
                "Referer=http://192.168.1.111:8080/res-plat//befaddResNamernAction.action?infoOrWSorWsDesc=1",
                "Snapshot=t89.inf",
                "Mode=HTTP",
                ITEMDATA,
                "Name=goToNextAction", "Value=true", ENDITEM,
                "Name=infoOrWSorWsDesc", "Value=1", ENDITEM,
                "Name=dummy_id", "Value=2008110710054057196", ENDITEM,
                "Name=addOrUpdate", "Value=null", ENDITEM,
                "Name=resnameId", "Value=", ENDITEM,
                "Name=res_name", "Value={resname}", ENDITEM,
                "Name=is_comm_res", "Value=1", ENDITEM,
                "Name=res_exp", "Value={resname}", ENDITEM,
                "Name=create_userid", "Value=admin", ENDITEM,
                "Name=register_org", "Value=", ENDITEM,
                "Name=commit_org", "Value=", ENDITEM,
                "Name=master_org", "Value=", ENDITEM,
                "Name=file", "Value=", "File=yes", ENDITEM,
                LAST);



        lr_continue_on_error( 1 );

        web_url("splitAction_getResMetaInfoList.action",
                "URL=http://192.168.1.111:8080/res-plat//splitAction_getResMetaInfoList.action?&addOrUpdate=null&resMetaInfoSetSingle=true&resname_id={resnameid}&wsResnameID=null&wsDescResnameID=null&infoOrWSorWsDesc=1",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://192.168.1.111:8080/res-plat/mainmenu/main.jsp",
                "Snapshot=t90.inf",
                "Mode=HTTP",
                LAST);
        lr_continue_on_error( 0 );
    lr_error_message("%s", lr_eval_string("{resnameid}"));
        ExtendedLog( 0 );

        web_url("ajax.js",
                "URL=http://192.168.1.111:8080/res-plat/js/ajax.js",
                "Resource=1",
                "RecContentType=text/javascript",
                "Referer=http://192.168.1.111:8080/res-plat//splitAction_getResMetaInfoList.action?&addOrUpdate=null&resMetaInfoSetSingle=true&resname_id={resnameid}&wsResnameID=null&wsDescResnameID=null&infoOrWSorWsDesc=1",
                "Snapshot=t91.inf",
                LAST);

        web_url("button_bg3.gif",
                "URL=http://192.168.1.111:8080/res-plat/image_wsgr/button_bg3.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://192.168.1.111:8080/res-plat//splitAction_getResMetaInfoList.action?&addOrUpdate=null&resMetaInfoSetSingle=true&resname_id={resnameid}&wsResnameID=null&wsDescResnameID=null&infoOrWSorWsDesc=1",
                "Snapshot=t92.inf",
                LAST);


        web_url("befUpdateResMetaInfornMCAction.action",
                "URL=http://192.168.1.111:8080/res-plat//befUpdateResMetaInfornMCAction.action?resname={resname}&resMetaInfoId=&resname_id={resnameid}&dummyId=2008110710054057196&infoOrWSorWsDesc=1&wsResnameID=null&wsDescResnameID=null&addOrUpdate=null",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://192.168.1.111:8080/res-plat/mainmenu/main.jsp",
                "Snapshot=t93.inf",
                "Mode=HTTP",
                LAST);
        lr_think_time(10);

        web_custom_request("saveResMetaInfornMCAction.action",
                "URL=http://192.168.1.111:8080/res-plat//saveResMetaInfornMCAction.action",
                "Method=POST",
                "Resource=0",
                "RecContentType=application/json",
                "Referer=http://192.168.1.111:8080/res-plat//befUpdateResMetaInfornMCAction.action?resname={resname}&resMetaInfoId=&resname_id={resnameid}&dummyId=2008110710054057196&infoOrWSorWsDesc=1&wsResnameID=null&wsDescResnameID=null&addOrUpdate=null",
                "Snapshot=t94.inf",
                "Mode=HTTP",
                "Body=resMetaInfoId=&resMetaName={resname}&resname_id={resnameid}&paraToSave=%257CNAME={resname}%257CENG_NAME=%257CCODE=%257CC1=%257CC2=%257CC3=%257CC4=%257CC5=%257CC6=a-01%257CC7=1%257CC8=%257CC9=%257CC10=%257CC11=v1.0%257CC12=",
                LAST);

        web_url("splitAction_getResMetaInfoList.action_2",
                "URL=http://192.168.1.111:8080/res-plat//splitAction_getResMetaInfoList.action?&resname_id={resnameid}&dummyId=2008110710054057196&infoOrWSorWsDesc=1&wsResnameID=null&wsDescResnameID=null&addOrUpdate=null",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://192.168.1.111:8080/res-plat/mainmenu/main.jsp",
                "Snapshot=t95.inf",
                "Mode=HTTP",
                LAST);
回复 支持 反对

使用道具 举报

该用户从未签到

8#
 楼主| 发表于 2008-11-25 09:16:50 | 只看该作者

关联前的代码

Action()
{

        lr_start_transaction("A");

        lr_think_time(25);

        web_submit_data("saveResNamernAction.action",
                "Action=http://192.168.1.111:8080/res-plat//saveResNamernAction.action",
                "Method=POST",
                "EncType=multipart/form-data",
                "RecContentType=text/html",
                "Referer=http://192.168.1.111:8080/res-plat//befaddResNamernAction.action?infoOrWSorWsDesc=1",
                "Snapshot=t89.inf",
                "Mode=HTTP",
                ITEMDATA,
                "Name=goToNextAction", "Value=true", ENDITEM,
                "Name=infoOrWSorWsDesc", "Value=1", ENDITEM,
                "Name=dummy_id", "Value=2008110710054057196", ENDITEM,
                "Name=addOrUpdate", "Value=null", ENDITEM,
                "Name=resnameId", "Value=", ENDITEM,
                "Name=res_name", "Value=test2404", ENDITEM,
                "Name=is_comm_res", "Value=1", ENDITEM,
                "Name=res_exp", "Value=test2404", ENDITEM,
                "Name=create_userid", "Value=admin", ENDITEM,
                "Name=register_org", "Value=", ENDITEM,
                "Name=commit_org", "Value=", ENDITEM,
                "Name=master_org", "Value=", ENDITEM,
                "Name=file", "Value=", "File=Yes", ENDITEM,
                LAST);

        web_url("splitAction_getResMetaInfoList.action",
                "URL=http://192.168.1.111:8080/res-plat//splitAction_getResMetaInfoList.action?&addOrUpdate=null&resMetaInfoSetSingle=true&resname_id=2008112411050368281&wsResnameID=null&wsDescResnameID=null&infoOrWSorWsDesc=1",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://192.168.1.111:8080/res-plat/mainmenu/main.jsp",
                "Snapshot=t90.inf",
                "Mode=HTTP",
                LAST);

        web_url("ajax.js",
                "URL=http://192.168.1.111:8080/res-plat/js/ajax.js",
                "Resource=1",
                "RecContentType=text/javascript",
                "Referer=http://192.168.1.111:8080/res-plat//splitAction_getResMetaInfoList.action?&addOrUpdate=null&resMetaInfoSetSingle=true&resname_id=2008112411050368281&wsResnameID=null&wsDescResnameID=null&infoOrWSorWsDesc=1",
                "Snapshot=t91.inf",
                LAST);

        web_url("button_bg3.gif",
                "URL=http://192.168.1.111:8080/res-plat/image_wsgr/button_bg3.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://192.168.1.111:8080/res-plat//splitAction_getResMetaInfoList.action?&addOrUpdate=null&resMetaInfoSetSingle=true&resname_id=2008112411050368281&wsResnameID=null&wsDescResnameID=null&infoOrWSorWsDesc=1",
                "Snapshot=t92.inf",
                LAST);

        web_url("befUpdateResMetaInfornMCAction.action",
                "URL=http://192.168.1.111:8080/res-plat//befUpdateResMetaInfornMCAction.action?resname=test2404&resMetaInfoId=&resname_id=2008112411050368281&dummyId=2008110710054057196&infoOrWSorWsDesc=1&wsResnameID=null&wsDescResnameID=null&addOrUpdate=null",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://192.168.1.111:8080/res-plat/mainmenu/main.jsp",
                "Snapshot=t93.inf",
                "Mode=HTTP",
                LAST);
回复 支持 反对

使用道具 举报

该用户从未签到

9#
 楼主| 发表于 2008-11-25 09:18:12 | 只看该作者
另外就是“左右边界也应该从服务器返回信息里找”。返回信息在哪里看?
回复 支持 反对

使用道具 举报

该用户从未签到

10#
发表于 2008-11-25 09:41:04 | 只看该作者
在你的脚本上找!还有你需要测试的东西上是否也有关联性的选项!
回复 支持 反对

使用道具 举报

该用户从未签到

11#
发表于 2008-11-25 09:42:49 | 只看该作者
在你保存的目录里面的data文件夹里面找.
回复 支持 反对

使用道具 举报

该用户从未签到

12#
发表于 2008-11-25 09:47:50 | 只看该作者
使用关联,且可以使用拼凑字符串的方法来实现URL的链接。
回复 支持 反对

使用道具 举报

该用户从未签到

13#
 楼主| 发表于 2008-11-25 10:14:19 | 只看该作者
那现在的问题是出现在哪呢????
回复 支持 反对

使用道具 举报

该用户从未签到

14#
 楼主| 发表于 2008-11-25 10:58:41 | 只看该作者
谢谢各位,问题已解决,使用自动关联,成功捕捉到该ID。
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-10-7 16:26 , Processed in 0.104108 second(s), 28 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表