51Testing软件测试论坛

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

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 1371|回复: 2
打印 上一主题 下一主题

[原创] 关于动态参数问题求解答

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2011-10-25 15:44:03 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
录制了一脚本,如下:脚本中"Name=row_selcb", "Value=300013912233", ENDITEM, 行数和
Name=calc_ids", "Value=300013912233,中得数据对应的,即,都是131个,这些数据是在一个总得数据里面包含的,如包含在:5436236626数据里面,和数据5436236626一样的数据所包含的个数不一样,比如,对5436236626参数化,新数据是:2343245345,这个里面的数据个数和5436236626里面的数据个数不同,但录制的5436236626里面如下脚本,是131个,参数化2343245345里面却只有50个,导致场景无法执行,大家帮忙分析下要怎么处理这个不一样的数据问题呢。
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
 楼主| 发表于 2011-10-25 15:44:40 | 只看该作者
web_submit_data("findConsnoByCalcid.action",
                "Action=http://172.16.85.187/sgpmss_ylcs/calcmanage/findConsnoByCalcid.action",
                "Method=POST",
                "TargetFrame=",
                "Referer=http://172.16.85.187/sgpmss_ylcs/calcmanage/getPowerVerifyList.action",
                "Snapshot=t15.inf",
                "Mode=HTML",
                ITEMDATA,
                "Name=oldApp_no", "Value=300000090888", ENDITEM,
                "Name=pageSize", "Value=131", ENDITEM,
                "Name=cons_nos", "Value=", ENDITEM,
                "Name=calc_ids", "Value=", ENDITEM,
                "Name=checkbox", "Value=checkbox", ENDITEM,
                "Name=row_selcb", "Value=300013912233", ENDITEM,
                "Name=row_selcb", "Value=300013912226", ENDITEM,
                "Name=row_selcb", "Value=300013912235", ENDITEM,
                "Name=row_selcb", "Value=300013912232", ENDITEM,
                "Name=row_selcb", "Value=300013912231", ENDITEM,
                "Name=row_selcb", "Value=300013912241", ENDITEM,
                "Name=row_selcb", "Value=300013912240", ENDITEM,
                "Name=row_selcb", "Value=300013912238", ENDITEM,
                "Name=row_selcb", "Value=300013912236", ENDITEM,
                "Name=row_selcb", "Value=300013912225", ENDITEM,
                "Name=row_selcb", "Value=300013912212", ENDITEM,
                "Name=row_selcb", "Value=300013912252", ENDITEM,
                "Name=row_selcb", "Value=300013912251", ENDITEM,
                "Name=row_selcb", "Value=300013912250", ENDITEM,
                "Name=row_selcb", "Value=300013912249", ENDITEM,
                "Name=row_selcb", "Value=300013912248", ENDITEM,
                "Name=row_selcb", "Value=300013912234", ENDITEM,
                "Name=row_selcb", "Value=300013912245", ENDITEM,
                "Name=row_selcb", "Value=300013912213", ENDITEM,
                "Name=row_selcb", "Value=300013912227", ENDITEM,
                "Name=row_selcb", "Value=300013912229", ENDITEM,
                "Name=row_selcb", "Value=300013912230", ENDITEM,
                "Name=row_selcb", "Value=300013912237", ENDITEM,
                "Name=row_selcb", "Value=300013912239", ENDITEM,
                "Name=row_selcb", "Value=300013912242", ENDITEM,
                "Name=row_selcb", "Value=300013912228", ENDITEM,
                "Name=row_selcb", "Value=300013912254", ENDITEM,
                "Name=row_selcb", "Value=300013912253", ENDITEM,
                "Name=row_selcb", "Value=300013912247", ENDITEM,
                "Name=row_selcb", "Value=300013912246", ENDITEM,
                "Name=row_selcb", "Value=300013912214", ENDITEM,
                "Name=row_selcb", "Value=300013912243", ENDITEM,
                "Name=row_selcb", "Value=300013912244", ENDITEM,
                "Name=row_selcb", "Value=300013912256", ENDITEM,
                "Name=row_selcb", "Value=300013912258", ENDITEM,
                "Name=row_selcb", "Value=300013912261", ENDITEM,
                "Name=row_selcb", "Value=300013912262", ENDITEM,
                "Name=row_selcb", "Value=300013912263", ENDITEM,
                "Name=row_selcb", "Value=300013912265", ENDITEM,
                "Name=row_selcb", "Value=300013912268", ENDITEM,
                "Name=row_selcb", "Value=300013912270", ENDITEM,
                "Name=row_selcb", "Value=300013912276", ENDITEM,
                "Name=row_selcb", "Value=300013912217", ENDITEM,
                "Name=row_selcb", "Value=300013912218", ENDITEM,
                "Name=row_selcb", "Value=300013912220", ENDITEM,
                "Name=row_selcb", "Value=300013912222", ENDITEM,
                "Name=row_selcb", "Value=300013912277", ENDITEM,
                "Name=row_selcb", "Value=300013912280", ENDITEM,
                "Name=row_selcb", "Value=300013912283", ENDITEM,
                "Name=row_selcb", "Value=300013912285", ENDITEM,
                "Name=row_selcb", "Value=300013912288", ENDITEM,
                "Name=row_selcb", "Value=300013912296", ENDITEM,
                "Name=row_selcb", "Value=300013912297", ENDITEM,
                "Name=row_selcb", "Value=300013912299", ENDITEM,
                "Name=row_selcb", "Value=300013912310", ENDITEM,
                "Name=row_selcb", "Value=300013912311", ENDITEM,
                "Name=row_selcb", "Value=300013912298", ENDITEM,
                "Name=row_selcb", "Value=300013912260", ENDITEM,
                "Name=row_selcb", "Value=300013912259", ENDITEM,
                "Name=row_selcb", "Value=300013912264", ENDITEM,
                "Name=row_selcb", "Value=300013912266", ENDITEM,
                "Name=row_selcb", "Value=300013912267", ENDITEM,
                "Name=row_selcb", "Value=300013912216", ENDITEM,
                "Name=row_selcb", "Value=300013912219", ENDITEM,
                "Name=row_selcb", "Value=300013912221", ENDITEM,
                "Name=row_selcb", "Value=300013912223", ENDITEM,
                "Name=row_selcb", "Value=300013912278", ENDITEM,
                "Name=row_selcb", "Value=300013912279", ENDITEM,
                "Name=row_selcb", "Value=300013912281", ENDITEM,
                "Name=row_selcb", "Value=300013912282", ENDITEM,
                "Name=row_selcb", "Value=300013912284", ENDITEM,
                "Name=row_selcb", "Value=300013912286", ENDITEM,
                "Name=row_selcb", "Value=300013912287", ENDITEM,
                "Name=row_selcb", "Value=300013912289", ENDITEM,
                "Name=row_selcb", "Value=300013912257", ENDITEM,
                "Name=row_selcb", "Value=300013912269", ENDITEM,
                "Name=row_selcb", "Value=300013912271", ENDITEM,
                "Name=row_selcb", "Value=300013912272", ENDITEM,
                "Name=row_selcb", "Value=300013912215", ENDITEM,
                "Name=row_selcb", "Value=300013912273", ENDITEM,
                "Name=row_selcb", "Value=300013912274", ENDITEM,
                "Name=row_selcb", "Value=300013912275", ENDITEM,
                "Name=row_selcb", "Value=300013912290", ENDITEM,
                "Name=row_selcb", "Value=300013912291", ENDITEM,
                "Name=row_selcb", "Value=300013912292", ENDITEM,
                "Name=row_selcb", "Value=300013912293", ENDITEM,
                "Name=row_selcb", "Value=300013912294", ENDITEM,
                "Name=row_selcb", "Value=300013912300", ENDITEM,
                "Name=row_selcb", "Value=300013912301", ENDITEM,
                "Name=row_selcb", "Value=300013912302", ENDITEM,
                "Name=row_selcb", "Value=300013912303", ENDITEM,
                "Name=row_selcb", "Value=300013912304", ENDITEM,
                "Name=row_selcb", "Value=300013912305", ENDITEM,
                "Name=row_selcb", "Value=300013912306", ENDITEM,
                "Name=row_selcb", "Value=300013912307", ENDITEM,
                "Name=row_selcb", "Value=300013912308", ENDITEM,
                "Name=row_selcb", "Value=300013912309", ENDITEM,
                "Name=row_selcb", "Value=300013912313", ENDITEM,
                "Name=row_selcb", "Value=300013912314", ENDITEM,
                "Name=row_selcb", "Value=300013912317", ENDITEM,
                "Name=row_selcb", "Value=300013912318", ENDITEM,
                "Name=row_selcb", "Value=300013912319", ENDITEM,
                "Name=row_selcb", "Value=300013912320", ENDITEM,
                "Name=row_selcb", "Value=300013912255", ENDITEM,
                "Name=row_selcb", "Value=300013912295", ENDITEM,
                "Name=row_selcb", "Value=300013912312", ENDITEM,
                "Name=row_selcb", "Value=300013912315", ENDITEM,
                "Name=row_selcb", "Value=300013912316", ENDITEM,
                "Name=row_selcb", "Value=300013912321", ENDITEM,
                "Name=row_selcb", "Value=300013912322", ENDITEM,
                "Name=row_selcb", "Value=300013912323", ENDITEM,
                "Name=row_selcb", "Value=300013912324", ENDITEM,
                "Name=row_selcb", "Value=300013912325", ENDITEM,
                "Name=row_selcb", "Value=300013912326", ENDITEM,
                "Name=row_selcb", "Value=300013912327", ENDITEM,
                "Name=row_selcb", "Value=300013912328", ENDITEM,
                "Name=row_selcb", "Value=300013912329", ENDITEM,
                "Name=row_selcb", "Value=300013912330", ENDITEM,
                "Name=row_selcb", "Value=300013912331", ENDITEM,
                "Name=row_selcb", "Value=300013912332", ENDITEM,
                "Name=row_selcb", "Value=300013912333", ENDITEM,
                "Name=row_selcb", "Value=300013912334", ENDITEM,
                "Name=row_selcb", "Value=300013912335", ENDITEM,
                "Name=row_selcb", "Value=300013912336", ENDITEM,
                "Name=row_selcb", "Value=300013912337", ENDITEM,
                "Name=row_selcb", "Value=300013912338", ENDITEM,
                "Name=row_selcb", "Value=300013912339", ENDITEM,
                "Name=row_selcb", "Value=300013912342", ENDITEM,
                "Name=row_selcb", "Value=300013912340", ENDITEM,
                "Name=row_selcb", "Value=300013912341", ENDITEM,
                "Name=row_selcb", "Value=300013912224", ENDITEM,
                "Name=jumpPage", "Value=0", ENDITEM,
                LAST);

        web_url("toPersonVeri.action",
                "URL=http://172.16.85.187/sgpmss_ylcs/calcmanage/toPersonVeri.action",
                "TargetFrame=",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t16.inf",
                "Mode=HTML",
                EXTRARES,
                "Url=../syscom/css/green/images/m_1.gif", ENDITEM,
                LAST);

        lr_end_transaction("电费审核",LR_AUTO);

        lr_rendezvous("电费审核确认");

        lr_start_transaction("电费审核确认");

        lr_think_time(70);
回复 支持 反对

使用道具 举报

该用户从未签到

3#
 楼主| 发表于 2011-10-25 15:44:46 | 只看该作者
web_submit_data("personVeri.action",
                "Action=http://172.16.85.187/sgpmss_ylcs/calcmanage/personVeri.action",
                "Method=POST",
                "TargetFrame=hiddeniframe",
                "RecContentType=text/html",
                "Referer=http://172.16.85.187/sgpmss_ylcs/calcmanage/toPersonVeri.action",
                "Snapshot=t17.inf",
                "Mode=HTML",
                ITEMDATA,
                "Name=calc_ids", "Value=300013912233, 300013912226, 300013912235, 300013912232, 300013912231, 300013912241, 300013912240, 300013912238, 300013912236, 300013912225, 300013912212, 300013912252, 300013912251, 300013912250, 300013912249, 300013912248, 300013912234, 300013912245, 300013912213, 300013912227, 300013912229, 300013912230, 300013912237, 300013912239, 300013912242, 300013912228, 300013912254, 300013912253, 300013912247, 300013912246, 300013912214, 300013912243, 300013912244, 300013912256, "
                "300013912258, 300013912261, 300013912262, 300013912263, 300013912265, 300013912268, 300013912270, 300013912276, 300013912217, 300013912218, 300013912220, 300013912222, 300013912277, 300013912280, 300013912283, 300013912285, 300013912288, 300013912296, 300013912297, 300013912299, 300013912310, 300013912311, 300013912298, 300013912260, 300013912259, 300013912264, 300013912266, 300013912267, 300013912216, 300013912219, 300013912221, 300013912223, 300013912278, 300013912279, 300013912281, 300013912282"
                ", 300013912284, 300013912286, 300013912287, 300013912289, 300013912257, 300013912269, 300013912271, 300013912272, 300013912215, 300013912273, 300013912274, 300013912275, 300013912290, 300013912291, 300013912292, 300013912293, 300013912294, 300013912300, 300013912301, 300013912302, 300013912303, 300013912304, 300013912305, 300013912306, 300013912307, 300013912308, 300013912309, 300013912313, 300013912314, 300013912317, 300013912318, 300013912319, 300013912320, 300013912255, 300013912295, "
                "300013912312, 300013912315, 300013912316, 300013912321, 300013912322, 300013912323, 300013912324, 300013912325, 300013912326, 300013912327, 300013912328, 300013912329, 300013912330, 300013912331, 300013912332, 300013912333, 300013912334, 300013912335, 300013912336, 300013912337, 300013912338, 300013912339, 300013912342, 300013912340, 300013912341, 300013912224", ENDITEM,
                "Name=oldApp_no", "Value=300000090888", ENDITEM,
                "Name=now_date", "Value=2011-10-20", ENDITEM,
                "Name=veri_rslt", "Value=01", ENDITEM,
                "Name=show_veri_remark", "Value=瀹℃牳 姝g‘", ENDITEM,
                "Name=veri_remark", "Value=zq", ENDITEM,
                "Name=Submit", "Value=纭\x80\x80璁\xA4", ENDITEM,
                LAST);
回复 支持 反对

使用道具 举报

本版积分规则

关闭

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

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

GMT+8, 2024-11-16 04:38 , Processed in 0.063371 second(s), 25 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

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