51Testing软件测试论坛

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

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 1503|回复: 0
打印 上一主题 下一主题

LR回放脚本时报 Error -26627这个错,如何获取rbasDate的日期值

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2011-9-7 10:28:49 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
web_submit_data("bespeakRegisterHospital!insert.action",
                "Action=http://10.1.4.42:18083/12580/hospital/bespeakRegisterHospital!insert.action?ticket={time_a}",
                "Method=POST",
                "RecContentType=application/json",
                "Referer=http://10.1.4.42:18083/12580/pages/registerList.jsp?type=1&TELNO=13551030001&SERIALNO=36552000&CCID=32&AGENTNO=32&DATE=2011-08-30&ACCESSCITY=2&GLOBALID=3&MAREAID=3&USERNAME=rrr&oldocxcode=333#",
                "Snapshot=t14.inf",
                "Mode=HTML",
                ITEMDATA,
                "Name=bespeakRegisterHospital.mobile", "Value={mobile1}", ENDITEM,
                "Name=bespeakRegisterHospital.cardId", "Value=444555555555555555", ENDITEM,
                "Name=radio", "Value=", ENDITEM,
                "Name=bespeakRegisterHospital.sex", "Value=1", ENDITEM,
                "Name=bespeakRegisterHospital.seeNumber", "Value=", ENDITEM,
                "Name=bespeakRegisterHospital.age", "Value=44", ENDITEM,
                "Name=bespeakRegisterHospital.userName", "Value=444444444", ENDITEM,
                "Name=bespeakRegisterHospital.address", "Value=4444", ENDITEM,
                "Name=bespeakRegisterHospital.rbasDate", "Value=2011-09-07", ENDITEM,
                "Name=dept", "Value=妇产科", ENDITEM,


----上述直接回放时,报如下错:
Action.c(57): Error -26627: HTTP Status-Code=404 (/12580/portal/404.jsp) for "http://10.1.4.42:18083/12580/hospital/bespeakRegisterHospital!insert.action?ticket={time_a}"          [MsgId: MERR-26627]
Action.c(57): Warning -26200: At least one of the resources specified by EXTRARES has not been downloaded due to the above error(s)          [MsgId: MWAR-26200]
Action.c(57): web_submit_data("bespeakRegisterHospital!insert.action") highest severity level was "ERROR", 0 body bytes, 130 header bytes, 5 chunking overhead bytes          [MsgId: MMSG-26387]


但是把脚本中下面这行的2011-09-07日期值去掉,脚本就回放成功了..但是测试过程中又需要此日期数据值,请高手指点下,这个日期值怎么获取到???
"Name=bespeakRegisterHospital.rbasDate", "Value=2011-09-07", ENDITEM,
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

本版积分规则

关闭

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

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

GMT+8, 2024-9-21 05:43 , Processed in 0.063860 second(s), 25 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

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