51Testing软件测试论坛

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

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 10574|回复: 22
打印 上一主题 下一主题

[原创] 脚本运行正常,但是在场景中运行却出错

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2011-10-10 22:32:15 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 lingyun1104 于 2011-10-16 23:02 编辑

在contrallor中执行时报错如下:错误 -35061: 找不到请求的参数“CorrelationParameter_2”的匹配项。检查请求的边界是否存在于响应数据中。此外,如果要保存的数据超过 15280 个字节,请使用 web_set_max_html_param_len 增加参数大小。
PS:
1、CorrelationParameter_2在脚本中做的一个关联;
2、“如果要保存的数据超过 15280 个字节”,这个参数CorrelationParameter_2保存的动态值一般为3000多点,不可能超过15280这个值。这个在脚本编写的时候已经解决了,基本可以排除是这个原因。

问题分析:
一、关联函数:
web_reg_save_param_ex(

"ParamName=CorrelationParameter_2",

"LB=mark=&order=",

"RB=%3d%3d",
SEARCH_FILTERS,

"Scope=Body",

"RequestUrl=*/BizApply.aspx*",

LAST);

说明:“CorrelationParameter_2”是保存生成订单的内容。因为不同的订单会有不同的值,在此做了一个关联。
二、在脚本中,调试的已经能通过,不同的订单也能成功的关联,在Vugen中执行一次,就能在应用系统中看到一个成功的订单位。

问题:
把在Vugen调试好的脚本设置场景,执行,一定会报如开始中所报的错。有没有遇到相同问题的兄弟姐妹们,给解答下。
由于脚本在这里不能帖,下面的链接里有脚本以及说明,请查看:
http://www.51testing.com/?uid-40486-action-viewspace-itemid-247190
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
 楼主| 发表于 2011-10-10 22:34:35 | 只看该作者
自己先顶一下,不要落下去了,看到的朋友、楼主,给解答一下。
回复 支持 反对

使用道具 举报

该用户从未签到

3#
 楼主| 发表于 2011-10-10 22:44:46 | 只看该作者
再说明书一下,在vugen脚本中这个这个值取的是正确的,我在页的源代码中看过,仔细的对比过,为什么在场景执行时,就会报错,另也不是都报错,有的又能取到值,并能在应用程序中看到真实的模块了业务,并成功的提交了订单。
回复 支持 反对

使用道具 举报

该用户从未签到

4#
 楼主| 发表于 2011-10-11 10:30:39 | 只看该作者
有没有遇到类似情况 的朋友给找个原因 呀
回复 支持 反对

使用道具 举报

该用户从未签到

5#
发表于 2011-10-11 10:57:18 | 只看该作者
运行场景,不论vuger多少都一定报这个错误?每个事务都报吗
回复 支持 反对

使用道具 举报

该用户从未签到

6#
 楼主| 发表于 2011-10-11 17:51:19 | 只看该作者
回复 5# jj_ljw


    也不是都传报错:

我试验了一下:
一、在controllor场景中,设置Vuser:1时
结果:全部通过;
二、在controllor场景中,设置Vuser:2时
结果:通过:不通过=1:1(大概比例)
三、在controllor场景中,设置Vuser:3时
结果:通过:不通过=1:2(大概比例)
回复 支持 反对

使用道具 举报

该用户从未签到

7#
 楼主| 发表于 2011-10-11 17:53:08 | 只看该作者
也就是说,Vuser设置 的越多,在执行场景时,报的错越多。
有没有人遇到过这种情况 。
回复 支持 反对

使用道具 举报

  • TA的每日心情
    开心
    2014-10-16 09:54
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]测试小兵

    8#
    发表于 2011-10-12 10:44:15 | 只看该作者
    是每次只通过一个吗?

    业务操作是否与操作用户有关?
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    9#
     楼主| 发表于 2011-10-12 14:51:59 | 只看该作者
    回复 8# mymagic


        无关,用同一用户进去的。
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    10#
    发表于 2011-10-14 09:42:02 | 只看该作者
    调试肯定能过。
    你是单用户压力订单脚本,试试不同用户压力下
    完整脚本方便贴出来么
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    开心
    2014-10-16 09:54
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]测试小兵

    11#
    发表于 2011-10-14 10:04:22 | 只看该作者
    问题就是   是否支持同一个用户同时提交多个订单。
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    12#
    发表于 2011-10-14 10:43:27 | 只看该作者
    关注,我最近也碰到这个问题!
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    13#
    发表于 2011-10-14 15:26:34 | 只看该作者
    那就是你的服务器的问题,看看你服务器日志就明白什么原因了?如果抓取不到,说明了服务器没有返回正确的数据。查看日志,定位问题出现在什么地方。
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    14#
     楼主| 发表于 2011-10-16 13:19:18 | 只看该作者
    回复 10# ljj149850508


        Action3()
    {
            lr_think_time(30);

            web_set_max_html_param_len("152800");

    //Correlation comment - Do not change!Original value='Bd8hBExQXBO3cYxOFiyhnKbGdev9OotVZMzOZY7INHPWjuQkZLjnSW1y2bsD%2f0HONh21nhEZu%2bkyr47ZdoHr%2b%2fLnYgxCVy6AL3rIC1mJQo%2bFaeAEurigyWaoODQHdzpmkro0bDbMIXzsqPVkkvlL9l3M1uekJjefXjqx6NR4zVdQuHPscyttOmRcvxxberJNLOZn7Ks0%2bbcJaTILyPcv3r6IyKWRdYEN5jaYnI%2fGjgoUtRkn4GCqYMgTlivx47%2bcc0q8Zr%2fYZbI%2bVjlfRPQwv%2fikd3RLN%2f42w1%2fSKDJBSOJ62TtLQ0d3xOZ8uk6YsI21tib0ESsfLpWkSElMyajAXX%2fHpSVxNPFPSI7%2fP3GFG98hTE5xgZRh7yXwYsup2%2f9SgmOYyTlob6Bv4%2b3EDgVEGe0%2bWbXAbtFCIjY0J20Bzy3zVKyA0FRTgREOVYgmUSCXNMVLDZgOkanJclb62tGphWZbqpbMkk3TZtGCWsHdfKmfLV2u8r9Faas9Vjjv0W1TDQao9FkM8qAkTyakLHxjUxOh%2bx3GMJxJkonOoPbTaKkRxU4MuWKBjgc9mP0%2fdybhClKGRNaAzyOHusX4egL2vedYh8WXgWSC%2b0BalK31LaYXhHJKwXY3CcB8WUM%2fLb60%2bXEHdFVVFBVxZtxtr7LKmiNi3KTYtoggNd0GprGzdQB3EuOc49NATs%2b3iA7Qj6c2%2fF0nK3fWyBn0VcvZO%2bLrCB81mE824Rizi9x0gzKEr%2fVbupIxNiJQItyIIvn%2f2Wl8P%2bYPlG6gwBz73Frq13ORNXxTJJbXQATSkmdmEj9dM5Je7zg5%2fGc5QbD9cNqkXgdGhXSeOzZL%2bkuNNDXLlMBQY' Name ='CorrelationParameter_2'

            web_reg_save_param_ex(
                    "ParamName=CorrelationParameter_2",
                    "LB=order=",
                    "RB=%3d%3d",
                    SEARCH_FILTERS,
                    "Scope=Body",
                    "RequestUrl=*/BizApply.aspx*",
                    LAST);

            lr_start_transaction("è·èϽé·Ñ");




            web_submit_data("BizApply.aspx_3",
                    "Action=http://192.168.200.249/eir/trailer/BizApply.aspx",
                    "Method=POST",
                    "RecContentType=text/html",
                    "Referer=http://192.168.200.249/eir/trailer/BizApply.aspx",
                    "Snapshot=t36.inf",
                    "Mode=HTTP",
                    ITEMDATA,
                    "Name=__VIEWSTATE", "Value={Siebel_Analytic_ViewState7}", ENDITEM,
                    "Name=__SCROLLPOSITIONX", "Value=0", ENDITEM,
                    "Name=__SCROLLPOSITIONY", "Value=0", ENDITEM,
                    "Name=__EVENTTARGET", "Value=", ENDITEM,
                    "Name=__EVENTARGUMENT", "Value=", ENDITEM,
                    "Name=__EVENTVALIDATION", "Value={CorrelationParameter_1}", ENDITEM,
                    "Name=ddlCarrier$DropDownList1", "Value=37", ENDITEM,
                    "Name=txtBookingNo", "Value=", ENDITEM,
                    "Name=hfCheckCode", "Value=0", ENDITEM,
                    "Name=TextBoxValidateCode", "Value=", ENDITEM,
                    "Name=gvBooking$ctl01$chkSelectAll", "Value=on", ENDITEM,
                    "Name=gvBooking$ctl02$chkSelect", "Value=on", ENDITEM,
                    "Name=gvBooking$ctl02$hidEIR_DETAIL_SEQ", "Value={EIR_DETAIL_SEQ}", ENDITEM,
                    "Name=gvBooking$ctl02$hidOWNER_SEQ", "Value=37", ENDITEM,
                    "Name=gvBooking$ctl02$hidOWNER_CODE", "Value=China Shipping", ENDITEM,
                    "Name=gvBooking$ctl02$hidMODIFY_DATETIME", "Value=2011-08-18 14:08:09.196562", ENDITEM,
                    "Name=btnBatchConfirm", "Value=è·èϽé·Ñ", ENDITEM,
                    LAST);
            lr_think_time(50);

    /* Registering parameter(s) from source task id 78
            // {Siebel_Analytic_ViewState10} = "/wEPDwUJODE5MjA0MjQ0D2QWAgIBD2QWAgIBDzwrAA0BAA8WBB4LXyFEYXRhQm91bmRnHgtfIUl0ZW1Db3VudAIBZBYCZg9kFgQCAQ9kFg5mDw8WAh4EVGV4dAUFMTE5MDdkZAIBDw8WAh8CBRMyMDExLzEwLzExIDEzOjQxOjQzZGQCAg9kFgICAQ8PFgIfAgUG5LuY5qy+ZGQCAw8PFgIfAgUOQ2hpbmEgU2hpcHBpbmdkZAIEDw8WAh8CBRLorr7lpIfkuqTmjqXljZXotLlkZAIFDw8WAh8CBQUzMC4wMGRkAgYPDxYCHwIFBiZuYnNwO2RkAgIPDxYCHgdWaXNpYmxlaGRkGAIFHl9fQ29udHJvbHNSZXF1aXJlUG9zdEJhY2tLZXlfXxYCBQdidG5OZXh0BQlidG5DYW5jZWwFB2d2UXVlcnkPPCsACgEIAgFks1bK51E9YLJLa++RataORXBBbnU="
            // */

            web_reg_save_param("Siebel_Analytic_ViewState10",
                    "LB/IC=ViewState\" value=\"",
                    "RB/IC=\"",
                    "Ord=1",
                    "RelFrameId=1",
                    "Search=Body",
                    LAST);

    //Correlation comment - Do not change!Original value='I//mND' Name ='CorrelationParameter_3'

            web_reg_save_param_ex(
                    "ParamName=CorrelationParameter_3",
                    "LB=\"__EVENTVALIDATION\" value=\"",
                    "RB=\"",
                    SEARCH_FILTERS,
                    "Scope=Body",
                    "RequestUrl=*/OrderPay.aspx*",
                    LAST);

            web_url("OrderPay.aspx",
                    "URL=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=",
                    "Snapshot=t38.inf",
                    "Mode=HTTP",
                    LAST);

            web_concurrent_start(NULL);

            web_url("base.css_2",
                    "URL=http://192.168.200.249/EPay/css/base.css",
                    "Resource=1",
                    "RecContentType=text/css",
                    "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
                    "Snapshot=t39.inf",
                    LAST);

            web_url("usercenter.css_2",
                    "URL=http://192.168.200.249/EPay/css/usercenter.css",
                    "Resource=1",
                    "RecContentType=text/css",
                    "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
                    "Snapshot=t40.inf",
                    LAST);

            web_url("15.gif",
                    "URL=http://192.168.200.249/EPay/images/15.gif",
                    "Resource=1",
                    "RecContentType=image/gif",
                    "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
                    "Snapshot=t42.inf",
                    LAST);

            web_url("16.gif",
                    "URL=http://192.168.200.249/EPay/images/16.gif",
                    "Resource=1",
                    "RecContentType=image/gif",
                    "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
                    "Snapshot=t47.inf",
                    LAST);

            web_concurrent_end(NULL);

            web_url("WebResource.axd_2",
                    "URL=http://192.168.200.249/epay/WebResource.axd?d=JbgjsqIYckRSs8Wxm7pDtA2&t=633802920069218315",
                    "Resource=1",
                    "RecContentType=application/x-javascript",
                    "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
                    "Snapshot=t41.inf",
                    LAST);

            web_concurrent_start(NULL);

            web_url("ucdot7.gif",
                    "URL=http://192.168.200.249/EPay/images/ucdot7.gif",
                    "Resource=1",
                    "RecContentType=image/gif",
                    "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
                    "Snapshot=t43.inf",
                    LAST);

            web_url("mywork_bg.png_2",
                    "URL=http://192.168.200.249/EPay/images/mywork_bg.png",
                    "Resource=1",
                    "RecContentType=image/png",
                    "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
                    "Snapshot=t44.inf",
                    LAST);

            web_url("htlogo.jpg",
                    "URL=http://192.168.200.249/EPay/images/htlogo.jpg",
                    "Resource=1",
                    "RecContentType=image/jpeg",
                    "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
                    "Snapshot=t45.inf",
                    LAST);

            web_url("ucdot10.gif",
                    "URL=http://192.168.200.249/EPay/images/ucdot10.gif",
                    "Resource=1",
                    "RecContentType=image/gif",
                    "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
                    "Snapshot=t46.inf",
                    LAST);

            web_concurrent_end(NULL);

    /* Request with GET method to URL "http://192.168.200.249/favicon.ico" failed during recording. Server response : 404*/

    /* Request with GET method to URL "http://192.168.200.249/EPay/images/new_header_bg2.gif;" failed during recording. Server response : 404*/

            web_concurrent_start(NULL);

            web_url("ucdot8.gif",
                    "URL=http://192.168.200.249/EPay/images/ucdot8.gif",
                    "Resource=1",
                    "RecContentType=image/gif",
                    "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
                    "Snapshot=t48.inf",
                    LAST);

            web_url("ucdot9.gif",
                    "URL=http://192.168.200.249/EPay/images/ucdot9.gif",
                    "Resource=1",
                    "RecContentType=image/gif",
                    "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
                    "Snapshot=t49.inf",
                    LAST);

            web_concurrent_end(NULL);

            lr_end_transaction("è·èϽé·Ñ", LR_AUTO);

    return 0;
    }
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    15#
     楼主| 发表于 2011-10-16 13:20:11 | 只看该作者
    Action3()
    {
            lr_think_time(30);

            web_set_max_html_param_len("152800");

    //Correlation comment - Do not change!Original value='Bd8hBExQXBO3cYxOFiyhnKbGdev9OotVZMzOZY7INHPWjuQkZLjnSW1y2bsD%2f0HONh21nhEZu%2bkyr47ZdoHr%2b%2fLnYgxCVy6AL3rIC1mJQo%2bFaeAEurigyWaoODQHdzpmkro0bDbMIXzsqPVkkvlL9l3M1uekJjefXjqx6NR4zVdQuHPscyttOmRcvxxberJNLOZn7Ks0%2bbcJaTILyPcv3r6IyKWRdYEN5jaYnI%2fGjgoUtRkn4GCqYMgTlivx47%2bcc0q8Zr%2fYZbI%2bVjlfRPQwv%2fikd3RLN%2f42w1%2fSKDJBSOJ62TtLQ0d3xOZ8uk6YsI21tib0ESsfLpWkSElMyajAXX%2fHpSVxNPFPSI7%2fP3GFG98hTE5xgZRh7yXwYsup2%2f9SgmOYyTlob6Bv4%2b3EDgVEGe0%2bWbXAbtFCIjY0J20Bzy3zVKyA0FRTgREOVYgmUSCXNMVLDZgOkanJclb62tGphWZbqpbMkk3TZtGCWsHdfKmfLV2u8r9Faas9Vjjv0W1TDQao9FkM8qAkTyakLHxjUxOh%2bx3GMJxJkonOoPbTaKkRxU4MuWKBjgc9mP0%2fdybhClKGRNaAzyOHusX4egL2vedYh8WXgWSC%2b0BalK31LaYXhHJKwXY3CcB8WUM%2fLb60%2bXEHdFVVFBVxZtxtr7LKmiNi3KTYtoggNd0GprGzdQB3EuOc49NATs%2b3iA7Qj6c2%2fF0nK3fWyBn0VcvZO%2bLrCB81mE824Rizi9x0gzKEr%2fVbupIxNiJQItyIIvn%2f2Wl8P%2bYPlG6gwBz73Frq13ORNXxTJJbXQATSkmdmEj9dM5Je7zg5%2fGc5QbD9cNqkXgdGhXSeOzZL%2bkuNNDXLlMBQY' Name ='CorrelationParameter_2'

            web_reg_save_param_ex(
                    "ParamName=CorrelationParameter_2",
                    "LB=order=",
                    "RB=%3d%3d",
                    SEARCH_FILTERS,
                    "Scope=Body",
                    "RequestUrl=*/BizApply.aspx*",
                    LAST);

            lr_start_transaction("è·èϽé·Ñ");




            web_submit_data("BizApply.aspx_3",
                    "Action=http://192.168.200.249/eir/trailer/BizApply.aspx",
                    "Method=POST",
                    "RecContentType=text/html",
                    "Referer=http://192.168.200.249/eir/trailer/BizApply.aspx",
                    "Snapshot=t36.inf",
                    "Mode=HTTP",
                    ITEMDATA,
                    "Name=__VIEWSTATE", "Value={Siebel_Analytic_ViewState7}", ENDITEM,
                    "Name=__SCROLLPOSITIONX", "Value=0", ENDITEM,
                    "Name=__SCROLLPOSITIONY", "Value=0", ENDITEM,
                    "Name=__EVENTTARGET", "Value=", ENDITEM,
                    "Name=__EVENTARGUMENT", "Value=", ENDITEM,
                    "Name=__EVENTVALIDATION", "Value={CorrelationParameter_1}", ENDITEM,
                    "Name=ddlCarrier$DropDownList1", "Value=37", ENDITEM,
                    "Name=txtBookingNo", "Value=", ENDITEM,
                    "Name=hfCheckCode", "Value=0", ENDITEM,
                    "Name=TextBoxValidateCode", "Value=", ENDITEM,
                    "Name=gvBooking$ctl01$chkSelectAll", "Value=on", ENDITEM,
                    "Name=gvBooking$ctl02$chkSelect", "Value=on", ENDITEM,
                    "Name=gvBooking$ctl02$hidEIR_DETAIL_SEQ", "Value={EIR_DETAIL_SEQ}", ENDITEM,
                    "Name=gvBooking$ctl02$hidOWNER_SEQ", "Value=37", ENDITEM,
                    "Name=gvBooking$ctl02$hidOWNER_CODE", "Value=China Shipping", ENDITEM,
                    "Name=gvBooking$ctl02$hidMODIFY_DATETIME", "Value=2011-08-18 14:08:09.196562", ENDITEM,
                    "Name=btnBatchConfirm", "Value=è·èϽé·Ñ", ENDITEM,
                    LAST);
            lr_think_time(50);

    /* Registering parameter(s) from source task id 78
            // {Siebel_Analytic_ViewState10} = "/wEPDwUJODE5MjA0MjQ0D2QWAgIBD2QWAgIBDzwrAA0BAA8WBB4LXyFEYXRhQm91bmRnHgtfIUl0ZW1Db3VudAIBZBYCZg9kFgQCAQ9kFg5mDw8WAh4EVGV4dAUFMTE5MDdkZAIBDw8WAh8CBRMyMDExLzEwLzExIDEzOjQxOjQzZGQCAg9kFgICAQ8PFgIfAgUG5LuY5qy+ZGQCAw8PFgIfAgUOQ2hpbmEgU2hpcHBpbmdkZAIEDw8WAh8CBRLorr7lpIfkuqTmjqXljZXotLlkZAIFDw8WAh8CBQUzMC4wMGRkAgYPDxYCHwIFBiZuYnNwO2RkAgIPDxYCHgdWaXNpYmxlaGRkGAIFHl9fQ29udHJvbHNSZXF1aXJlUG9zdEJhY2tLZXlfXxYCBQdidG5OZXh0BQlidG5DYW5jZWwFB2d2UXVlcnkPPCsACgEIAgFks1bK51E9YLJLa++RataORXBBbnU="
            // */

            web_reg_save_param("Siebel_Analytic_ViewState10",
                    "LB/IC=ViewState\" value=\"",
                    "RB/IC=\"",
                    "Ord=1",
                    "RelFrameId=1",
                    "Search=Body",
                    LAST);

    //Correlation comment - Do not change!Original value='I//mND' Name ='CorrelationParameter_3'

            web_reg_save_param_ex(
                    "ParamName=CorrelationParameter_3",
                    "LB=\"__EVENTVALIDATION\" value=\"",
                    "RB=\"",
                    SEARCH_FILTERS,
                    "Scope=Body",
                    "RequestUrl=*/OrderPay.aspx*",
                    LAST);

            web_url("OrderPay.aspx",
                    "URL=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
                    "Resource=0",
                    "RecContentType=text/html",
                    "Referer=",
                    "Snapshot=t38.inf",
                    "Mode=HTTP",
                    LAST);

            web_concurrent_start(NULL);

            web_url("base.css_2",
                    "URL=http://192.168.200.249/EPay/css/base.css",
                    "Resource=1",
                    "RecContentType=text/css",
                    "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
                    "Snapshot=t39.inf",
                    LAST);

            web_url("usercenter.css_2",
                    "URL=http://192.168.200.249/EPay/css/usercenter.css",
                    "Resource=1",
                    "RecContentType=text/css",
                    "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
                    "Snapshot=t40.inf",
                    LAST);

            web_url("15.gif",
                    "URL=http://192.168.200.249/EPay/images/15.gif",
                    "Resource=1",
                    "RecContentType=image/gif",
                    "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
                    "Snapshot=t42.inf",
                    LAST);

            web_url("16.gif",
                    "URL=http://192.168.200.249/EPay/images/16.gif",
                    "Resource=1",
                    "RecContentType=image/gif",
                    "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
                    "Snapshot=t47.inf",
                    LAST);

            web_concurrent_end(NULL);

            web_url("WebResource.axd_2",
                    "URL=http://192.168.200.249/epay/WebResource.axd?d=JbgjsqIYckRSs8Wxm7pDtA2&t=633802920069218315",
                    "Resource=1",
                    "RecContentType=application/x-javascript",
                    "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
                    "Snapshot=t41.inf",
                    LAST);

            web_concurrent_start(NULL);

            web_url("ucdot7.gif",
                    "URL=http://192.168.200.249/EPay/images/ucdot7.gif",
                    "Resource=1",
                    "RecContentType=image/gif",
                    "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
                    "Snapshot=t43.inf",
                    LAST);

            web_url("mywork_bg.png_2",
                    "URL=http://192.168.200.249/EPay/images/mywork_bg.png",
                    "Resource=1",
                    "RecContentType=image/png",
                    "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
                    "Snapshot=t44.inf",
                    LAST);

            web_url("htlogo.jpg",
                    "URL=http://192.168.200.249/EPay/images/htlogo.jpg",
                    "Resource=1",
                    "RecContentType=image/jpeg",
                    "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
                    "Snapshot=t45.inf",
                    LAST);

            web_url("ucdot10.gif",
                    "URL=http://192.168.200.249/EPay/images/ucdot10.gif",
                    "Resource=1",
                    "RecContentType=image/gif",
                    "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
                    "Snapshot=t46.inf",
                    LAST);

            web_concurrent_end(NULL);

    /* Request with GET method to URL "http://192.168.200.249/favicon.ico" failed during recording. Server response : 404*/

    /* Request with GET method to URL "http://192.168.200.249/EPay/images/new_header_bg2.gif;" failed during recording. Server response : 404*/

            web_concurrent_start(NULL);

            web_url("ucdot8.gif",
                    "URL=http://192.168.200.249/EPay/images/ucdot8.gif",
                    "Resource=1",
                    "RecContentType=image/gif",
                    "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
                    "Snapshot=t48.inf",
                    LAST);

            web_url("ucdot9.gif",
                    "URL=http://192.168.200.249/EPay/images/ucdot9.gif",
                    "Resource=1",
                    "RecContentType=image/gif",
                    "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
                    "Snapshot=t49.inf",
                    LAST);

            web_concurrent_end(NULL);

            lr_end_transaction("è·èϽé·Ñ", LR_AUTO);

    return 0;
    }
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    16#
     楼主| 发表于 2011-10-16 16:11:06 | 只看该作者
    1. Action3()
    2. {
    3.         lr_think_time(30);

    4.         web_set_max_html_param_len("152800");

    5. //Correlation comment - Do not change!Original value='Bd8hBExQXBO3cYxOFiyhnKbGdev9OotVZMzOZY7INHPWjuQkZLjnSW1y2bsD%2f0HONh21nhEZu%2bkyr47ZdoHr%2b%2fLnYgxCVy6AL3rIC1mJQo%2bFaeAEurigyWaoODQHdzpmkro0bDbMIXzsqPVkkvlL9l3M1uekJjefXjqx6NR4zVdQuHPscyttOmRcvxxberJNLOZn7Ks0%2bbcJaTILyPcv3r6IyKWRdYEN5jaYnI%2fGjgoUtRkn4GCqYMgTlivx47%2bcc0q8Zr%2fYZbI%2bVjlfRPQwv%2fikd3RLN%2f42w1%2fSKDJBSOJ62TtLQ0d3xOZ8uk6YsI21tib0ESsfLpWkSElMyajAXX%2fHpSVxNPFPSI7%2fP3GFG98hTE5xgZRh7yXwYsup2%2f9SgmOYyTlob6Bv4%2b3EDgVEGe0%2bWbXAbtFCIjY0J20Bzy3zVKyA0FRTgREOVYgmUSCXNMVLDZgOkanJclb62tGphWZbqpbMkk3TZtGCWsHdfKmfLV2u8r9Faas9Vjjv0W1TDQao9FkM8qAkTyakLHxjUxOh%2bx3GMJxJkonOoPbTaKkRxU4MuWKBjgc9mP0%2fdybhClKGRNaAzyOHusX4egL2vedYh8WXgWSC%2b0BalK31LaYXhHJKwXY3CcB8WUM%2fLb60%2bXEHdFVVFBVxZtxtr7LKmiNi3KTYtoggNd0GprGzdQB3EuOc49NATs%2b3iA7Qj6c2%2fF0nK3fWyBn0VcvZO%2bLrCB81mE824Rizi9x0gzKEr%2fVbupIxNiJQItyIIvn%2f2Wl8P%2bYPlG6gwBz73Frq13ORNXxTJJbXQATSkmdmEj9dM5Je7zg5%2fGc5QbD9cNqkXgdGhXSeOzZL%2bkuNNDXLlMBQY' Name ='CorrelationParameter_2'

    6.         web_reg_save_param_ex(
    7.                 "ParamName=CorrelationParameter_2",
    8.                 "LB=order=",
    9.                 "RB=%3d%3d",
    10.                 SEARCH_FILTERS,
    11.                 "Scope=Body",
    12.                 "RequestUrl=*/BizApply.aspx*",
    13.                 LAST);

    14.         lr_start_transaction("确认缴费");




    15.         web_submit_data("BizApply.aspx_3",
    16.                 "Action=http://192.168.200.249/eir/trailer/BizApply.aspx",
    17.                 "Method=POST",
    18.                 "RecContentType=text/html",
    19.                 "Referer=http://192.168.200.249/eir/trailer/BizApply.aspx",
    20.                 "Snapshot=t36.inf",
    21.                 "Mode=HTTP",
    22.                 ITEMDATA,
    23.                 "Name=__VIEWSTATE", "Value={Siebel_Analytic_ViewState7}", ENDITEM,
    24.                 "Name=__SCROLLPOSITIONX", "Value=0", ENDITEM,
    25.                 "Name=__SCROLLPOSITIONY", "Value=0", ENDITEM,
    26.                 "Name=__EVENTTARGET", "Value=", ENDITEM,
    27.                 "Name=__EVENTARGUMENT", "Value=", ENDITEM,
    28.                 "Name=__EVENTVALIDATION", "Value={CorrelationParameter_1}", ENDITEM,
    29.                 "Name=ddlCarrier$DropDownList1", "Value=37", ENDITEM,
    30.                 "Name=txtBookingNo", "Value=", ENDITEM,
    31.                 "Name=hfCheckCode", "Value=0", ENDITEM,
    32.                 "Name=TextBoxValidateCode", "Value=", ENDITEM,
    33.                 "Name=gvBooking$ctl01$chkSelectAll", "Value=on", ENDITEM,
    34.                 "Name=gvBooking$ctl02$chkSelect", "Value=on", ENDITEM,
    35.                 "Name=gvBooking$ctl02$hidEIR_DETAIL_SEQ", "Value={EIR_DETAIL_SEQ}", ENDITEM,
    36.                 "Name=gvBooking$ctl02$hidOWNER_SEQ", "Value=37", ENDITEM,
    37.                 "Name=gvBooking$ctl02$hidOWNER_CODE", "Value=China Shipping", ENDITEM,
    38.                 "Name=gvBooking$ctl02$hidMODIFY_DATETIME", "Value=2011-08-18 14:08:09.196562", ENDITEM,
    39.                 "Name=btnBatchConfirm", "Value=确认缴费", ENDITEM,
    40.                 LAST);
    41.         lr_think_time(50);

    42. /* Registering parameter(s) from source task id 78
    43.         // {Siebel_Analytic_ViewState10} = "/wEPDwUJODE5MjA0MjQ0D2QWAgIBD2QWAgIBDzwrAA0BAA8WBB4LXyFEYXRhQm91bmRnHgtfIUl0ZW1Db3VudAIBZBYCZg9kFgQCAQ9kFg5mDw8WAh4EVGV4dAUFMTE5MDdkZAIBDw8WAh8CBRMyMDExLzEwLzExIDEzOjQxOjQzZGQCAg9kFgICAQ8PFgIfAgUG5LuY5qy+ZGQCAw8PFgIfAgUOQ2hpbmEgU2hpcHBpbmdkZAIEDw8WAh8CBRLorr7lpIfkuqTmjqXljZXotLlkZAIFDw8WAh8CBQUzMC4wMGRkAgYPDxYCHwIFBiZuYnNwO2RkAgIPDxYCHgdWaXNpYmxlaGRkGAIFHl9fQ29udHJvbHNSZXF1aXJlUG9zdEJhY2tLZXlfXxYCBQdidG5OZXh0BQlidG5DYW5jZWwFB2d2UXVlcnkPPCsACgEIAgFks1bK51E9YLJLa++RataORXBBbnU="
    44.         // */

    45.         web_reg_save_param("Siebel_Analytic_ViewState10",
    46.                 "LB/IC=ViewState\" value=\"",
    47.                 "RB/IC=\"",
    48.                 "Ord=1",
    49.                 "RelFrameId=1",
    50.                 "Search=Body",
    51.                 LAST);

    52. //Correlation comment - Do not change!Original value='I//mND' Name ='CorrelationParameter_3'

    53.         web_reg_save_param_ex(
    54.                 "ParamName=CorrelationParameter_3",
    55.                 "LB=\"__EVENTVALIDATION\" value=\"",
    56.                 "RB=\"",
    57.                 SEARCH_FILTERS,
    58.                 "Scope=Body",
    59.                 "RequestUrl=*/OrderPay.aspx*",
    60.                 LAST);

    61.         web_url("OrderPay.aspx",
    62.                 "URL=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
    63.                 "Resource=0",
    64.                 "RecContentType=text/html",
    65.                 "Referer=",
    66.                 "Snapshot=t38.inf",
    67.                 "Mode=HTTP",
    68.                 LAST);

    69.         web_concurrent_start(NULL);

    70.         web_url("base.css_2",
    71.                 "URL=http://192.168.200.249/EPay/css/base.css",
    72.                 "Resource=1",
    73.                 "RecContentType=text/css",
    74.                 "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
    75.                 "Snapshot=t39.inf",
    76.                 LAST);

    77.         web_url("usercenter.css_2",
    78.                 "URL=http://192.168.200.249/EPay/css/usercenter.css",
    79.                 "Resource=1",
    80.                 "RecContentType=text/css",
    81.                 "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
    82.                 "Snapshot=t40.inf",
    83.                 LAST);

    84.         web_url("15.gif",
    85.                 "URL=http://192.168.200.249/EPay/images/15.gif",
    86.                 "Resource=1",
    87.                 "RecContentType=image/gif",
    88.                 "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
    89.                 "Snapshot=t42.inf",
    90.                 LAST);

    91.         web_url("16.gif",
    92.                 "URL=http://192.168.200.249/EPay/images/16.gif",
    93.                 "Resource=1",
    94.                 "RecContentType=image/gif",
    95.                 "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
    96.                 "Snapshot=t47.inf",
    97.                 LAST);

    98.         web_concurrent_end(NULL);

    99.         web_url("WebResource.axd_2",
    100.                 "URL=http://192.168.200.249/epay/WebResource.axd?d=JbgjsqIYckRSs8Wxm7pDtA2&t=633802920069218315",
    101.                 "Resource=1",
    102.                 "RecContentType=application/x-javascript",
    103.                 "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
    104.                 "Snapshot=t41.inf",
    105.                 LAST);

    106.         web_concurrent_start(NULL);

    107.         web_url("ucdot7.gif",
    108.                 "URL=http://192.168.200.249/EPay/images/ucdot7.gif",
    109.                 "Resource=1",
    110.                 "RecContentType=image/gif",
    111.                 "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
    112.                 "Snapshot=t43.inf",
    113.                 LAST);

    114.         web_url("mywork_bg.png_2",
    115.                 "URL=http://192.168.200.249/EPay/images/mywork_bg.png",
    116.                 "Resource=1",
    117.                 "RecContentType=image/png",
    118.                 "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
    119.                 "Snapshot=t44.inf",
    120.                 LAST);

    121.         web_url("htlogo.jpg",
    122.                 "URL=http://192.168.200.249/EPay/images/htlogo.jpg",
    123.                 "Resource=1",
    124.                 "RecContentType=image/jpeg",
    125.                 "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
    126.                 "Snapshot=t45.inf",
    127.                 LAST);

    128.         web_url("ucdot10.gif",
    129.                 "URL=http://192.168.200.249/EPay/images/ucdot10.gif",
    130.                 "Resource=1",
    131.                 "RecContentType=image/gif",
    132.                 "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
    133.                 "Snapshot=t46.inf",
    134.                 LAST);

    135.         web_concurrent_end(NULL);

    136. /* Request with GET method to URL "http://192.168.200.249/favicon.ico" failed during recording. Server response : 404*/

    137. /* Request with GET method to URL "http://192.168.200.249/EPay/images/new_header_bg2.gif;" failed during recording. Server response : 404*/

    138.         web_concurrent_start(NULL);

    139.         web_url("ucdot8.gif",
    140.                 "URL=http://192.168.200.249/EPay/images/ucdot8.gif",
    141.                 "Resource=1",
    142.                 "RecContentType=image/gif",
    143.                 "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
    144.                 "Snapshot=t48.inf",
    145.                 LAST);

    146.         web_url("ucdot9.gif",
    147.                 "URL=http://192.168.200.249/EPay/images/ucdot9.gif",
    148.                 "Resource=1",
    149.                 "RecContentType=image/gif",
    150.                 "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
    151.                 "Snapshot=t49.inf",
    152.                 LAST);

    153.         web_concurrent_end(NULL);

    154.         lr_end_transaction("确认缴费", LR_AUTO);

    155. return 0;
    156. }
    复制代码
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    17#
     楼主| 发表于 2011-10-16 16:11:41 | 只看该作者
    1. Action3()
    2. {
    3.         lr_think_time(30);

    4.         web_set_max_html_param_len("152800");

    5. //Correlation comment - Do not change!Original value='Bd8hBExQXBO3cYxOFiyhnKbGdev9OotVZMzOZY7INHPWjuQkZLjnSW1y2bsD%2f0HONh21nhEZu%2bkyr47ZdoHr%2b%2fLnYgxCVy6AL3rIC1mJQo%2bFaeAEurigyWaoODQHdzpmkro0bDbMIXzsqPVkkvlL9l3M1uekJjefXjqx6NR4zVdQuHPscyttOmRcvxxberJNLOZn7Ks0%2bbcJaTILyPcv3r6IyKWRdYEN5jaYnI%2fGjgoUtRkn4GCqYMgTlivx47%2bcc0q8Zr%2fYZbI%2bVjlfRPQwv%2fikd3RLN%2f42w1%2fSKDJBSOJ62TtLQ0d3xOZ8uk6YsI21tib0ESsfLpWkSElMyajAXX%2fHpSVxNPFPSI7%2fP3GFG98hTE5xgZRh7yXwYsup2%2f9SgmOYyTlob6Bv4%2b3EDgVEGe0%2bWbXAbtFCIjY0J20Bzy3zVKyA0FRTgREOVYgmUSCXNMVLDZgOkanJclb62tGphWZbqpbMkk3TZtGCWsHdfKmfLV2u8r9Faas9Vjjv0W1TDQao9FkM8qAkTyakLHxjUxOh%2bx3GMJxJkonOoPbTaKkRxU4MuWKBjgc9mP0%2fdybhClKGRNaAzyOHusX4egL2vedYh8WXgWSC%2b0BalK31LaYXhHJKwXY3CcB8WUM%2fLb60%2bXEHdFVVFBVxZtxtr7LKmiNi3KTYtoggNd0GprGzdQB3EuOc49NATs%2b3iA7Qj6c2%2fF0nK3fWyBn0VcvZO%2bLrCB81mE824Rizi9x0gzKEr%2fVbupIxNiJQItyIIvn%2f2Wl8P%2bYPlG6gwBz73Frq13ORNXxTJJbXQATSkmdmEj9dM5Je7zg5%2fGc5QbD9cNqkXgdGhXSeOzZL%2bkuNNDXLlMBQY' Name ='CorrelationParameter_2'

    6.         web_reg_save_param_ex(
    7.                 "ParamName=CorrelationParameter_2",
    8.                 "LB=order=",
    9.                 "RB=%3d%3d",
    10.                 SEARCH_FILTERS,
    11.                 "Scope=Body",
    12.                 "RequestUrl=*/BizApply.aspx*",
    13.                 LAST);

    14.         lr_start_transaction("确认缴费");




    15.         web_submit_data("BizApply.aspx_3",
    16.                 "Action=http://192.168.200.249/eir/trailer/BizApply.aspx",
    17.                 "Method=POST",
    18.                 "RecContentType=text/html",
    19.                 "Referer=http://192.168.200.249/eir/trailer/BizApply.aspx",
    20.                 "Snapshot=t36.inf",
    21.                 "Mode=HTTP",
    22.                 ITEMDATA,
    23.                 "Name=__VIEWSTATE", "Value={Siebel_Analytic_ViewState7}", ENDITEM,
    24.                 "Name=__SCROLLPOSITIONX", "Value=0", ENDITEM,
    25.                 "Name=__SCROLLPOSITIONY", "Value=0", ENDITEM,
    26.                 "Name=__EVENTTARGET", "Value=", ENDITEM,
    27.                 "Name=__EVENTARGUMENT", "Value=", ENDITEM,
    28.                 "Name=__EVENTVALIDATION", "Value={CorrelationParameter_1}", ENDITEM,
    29.                 "Name=ddlCarrier$DropDownList1", "Value=37", ENDITEM,
    30.                 "Name=txtBookingNo", "Value=", ENDITEM,
    31.                 "Name=hfCheckCode", "Value=0", ENDITEM,
    32.                 "Name=TextBoxValidateCode", "Value=", ENDITEM,
    33.                 "Name=gvBooking$ctl01$chkSelectAll", "Value=on", ENDITEM,
    34.                 "Name=gvBooking$ctl02$chkSelect", "Value=on", ENDITEM,
    35.                 "Name=gvBooking$ctl02$hidEIR_DETAIL_SEQ", "Value={EIR_DETAIL_SEQ}", ENDITEM,
    36.                 "Name=gvBooking$ctl02$hidOWNER_SEQ", "Value=37", ENDITEM,
    37.                 "Name=gvBooking$ctl02$hidOWNER_CODE", "Value=China Shipping", ENDITEM,
    38.                 "Name=gvBooking$ctl02$hidMODIFY_DATETIME", "Value=2011-08-18 14:08:09.196562", ENDITEM,
    39.                 "Name=btnBatchConfirm", "Value=确认缴费", ENDITEM,
    40.                 LAST);
    41.         lr_think_time(50);

    42. /* Registering parameter(s) from source task id 78
    43.         // {Siebel_Analytic_ViewState10} = "/wEPDwUJODE5MjA0MjQ0D2QWAgIBD2QWAgIBDzwrAA0BAA8WBB4LXyFEYXRhQm91bmRnHgtfIUl0ZW1Db3VudAIBZBYCZg9kFgQCAQ9kFg5mDw8WAh4EVGV4dAUFMTE5MDdkZAIBDw8WAh8CBRMyMDExLzEwLzExIDEzOjQxOjQzZGQCAg9kFgICAQ8PFgIfAgUG5LuY5qy+ZGQCAw8PFgIfAgUOQ2hpbmEgU2hpcHBpbmdkZAIEDw8WAh8CBRLorr7lpIfkuqTmjqXljZXotLlkZAIFDw8WAh8CBQUzMC4wMGRkAgYPDxYCHwIFBiZuYnNwO2RkAgIPDxYCHgdWaXNpYmxlaGRkGAIFHl9fQ29udHJvbHNSZXF1aXJlUG9zdEJhY2tLZXlfXxYCBQdidG5OZXh0BQlidG5DYW5jZWwFB2d2UXVlcnkPPCsACgEIAgFks1bK51E9YLJLa++RataORXBBbnU="
    44.         // */

    45.         web_reg_save_param("Siebel_Analytic_ViewState10",
    46.                 "LB/IC=ViewState\" value=\"",
    47.                 "RB/IC=\"",
    48.                 "Ord=1",
    49.                 "RelFrameId=1",
    50.                 "Search=Body",
    51.                 LAST);

    52. //Correlation comment - Do not change!Original value='I//mND' Name ='CorrelationParameter_3'

    53.         web_reg_save_param_ex(
    54.                 "ParamName=CorrelationParameter_3",
    55.                 "LB=\"__EVENTVALIDATION\" value=\"",
    56.                 "RB=\"",
    57.                 SEARCH_FILTERS,
    58.                 "Scope=Body",
    59.                 "RequestUrl=*/OrderPay.aspx*",
    60.                 LAST);

    61.         web_url("OrderPay.aspx",
    62.                 "URL=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
    63.                 "Resource=0",
    64.                 "RecContentType=text/html",
    65.                 "Referer=",
    66.                 "Snapshot=t38.inf",
    67.                 "Mode=HTTP",
    68.                 LAST);

    69.         web_concurrent_start(NULL);

    70.         web_url("base.css_2",
    71.                 "URL=http://192.168.200.249/EPay/css/base.css",
    72.                 "Resource=1",
    73.                 "RecContentType=text/css",
    74.                 "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
    75.                 "Snapshot=t39.inf",
    76.                 LAST);

    77.         web_url("usercenter.css_2",
    78.                 "URL=http://192.168.200.249/EPay/css/usercenter.css",
    79.                 "Resource=1",
    80.                 "RecContentType=text/css",
    81.                 "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
    82.                 "Snapshot=t40.inf",
    83.                 LAST);

    84.         web_url("15.gif",
    85.                 "URL=http://192.168.200.249/EPay/images/15.gif",
    86.                 "Resource=1",
    87.                 "RecContentType=image/gif",
    88.                 "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
    89.                 "Snapshot=t42.inf",
    90.                 LAST);

    91.         web_url("16.gif",
    92.                 "URL=http://192.168.200.249/EPay/images/16.gif",
    93.                 "Resource=1",
    94.                 "RecContentType=image/gif",
    95.                 "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
    96.                 "Snapshot=t47.inf",
    97.                 LAST);

    98.         web_concurrent_end(NULL);

    99.         web_url("WebResource.axd_2",
    100.                 "URL=http://192.168.200.249/epay/WebResource.axd?d=JbgjsqIYckRSs8Wxm7pDtA2&t=633802920069218315",
    101.                 "Resource=1",
    102.                 "RecContentType=application/x-javascript",
    103.                 "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
    104.                 "Snapshot=t41.inf",
    105.                 LAST);

    106.         web_concurrent_start(NULL);

    107.         web_url("ucdot7.gif",
    108.                 "URL=http://192.168.200.249/EPay/images/ucdot7.gif",
    109.                 "Resource=1",
    110.                 "RecContentType=image/gif",
    111.                 "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
    112.                 "Snapshot=t43.inf",
    113.                 LAST);

    114.         web_url("mywork_bg.png_2",
    115.                 "URL=http://192.168.200.249/EPay/images/mywork_bg.png",
    116.                 "Resource=1",
    117.                 "RecContentType=image/png",
    118.                 "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
    119.                 "Snapshot=t44.inf",
    120.                 LAST);

    121.         web_url("htlogo.jpg",
    122.                 "URL=http://192.168.200.249/EPay/images/htlogo.jpg",
    123.                 "Resource=1",
    124.                 "RecContentType=image/jpeg",
    125.                 "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
    126.                 "Snapshot=t45.inf",
    127.                 LAST);

    128.         web_url("ucdot10.gif",
    129.                 "URL=http://192.168.200.249/EPay/images/ucdot10.gif",
    130.                 "Resource=1",
    131.                 "RecContentType=image/gif",
    132.                 "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
    133.                 "Snapshot=t46.inf",
    134.                 LAST);

    135.         web_concurrent_end(NULL);

    136. /* Request with GET method to URL "http://192.168.200.249/favicon.ico" failed during recording. Server response : 404*/

    137. /* Request with GET method to URL "http://192.168.200.249/EPay/images/new_header_bg2.gif;" failed during recording. Server response : 404*/

    138.         web_concurrent_start(NULL);

    139.         web_url("ucdot8.gif",
    140.                 "URL=http://192.168.200.249/EPay/images/ucdot8.gif",
    141.                 "Resource=1",
    142.                 "RecContentType=image/gif",
    143.                 "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
    144.                 "Snapshot=t48.inf",
    145.                 LAST);

    146.         web_url("ucdot9.gif",
    147.                 "URL=http://192.168.200.249/EPay/images/ucdot9.gif",
    148.                 "Resource=1",
    149.                 "RecContentType=image/gif",
    150.                 "Referer=http://192.168.200.249/EPay/OrderPay/OrderPay.aspx?mark=&order={CorrelationParameter_2}%3d%3d",
    151.                 "Snapshot=t49.inf",
    152.                 LAST);

    153.         web_concurrent_end(NULL);

    154.         lr_end_transaction("确认缴费", LR_AUTO);

    155. return 0;
    156. }
    复制代码
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    18#
     楼主| 发表于 2011-10-16 16:16:48 | 只看该作者
    回复 10# ljj149850508


        是这样的,我前面有做参数化。想问下,是不是在controller中执行场景时,是不是每个Vuger都会取不同的参数,如果取不同的参数值,就会产生不同的定单,在取CorrelationParameter_2这个值的时候也会能取到不同的值
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    19#
     楼主| 发表于 2011-10-16 16:19:18 | 只看该作者
    回复 18# lingyun1104


        我的测试业务中不同的用户取的业务数据是不同的,如果采用不同的用户登录,就会与录制的数据有很大的不同。所以想采用同一个用户对不同的单进行缴费。
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    20#
     楼主| 发表于 2011-10-16 23:01:13 | 只看该作者
    回复 10# ljj149850508


       多谢这个朋友回答:

    这里不可以帖出来代码,因此我在博客中描述了一下,你给看下:

    链接 是:
    http://www.51testing.com/?uid-40 ... space-itemid-247190
    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

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

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

    GMT+8, 2024-11-16 07:40 , Processed in 0.083456 second(s), 29 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

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