51Testing软件测试论坛
标题:
急急急,回放有 Error -27216错误,求大神解救
[打印本页]
作者:
Alina_
时间:
2016-3-10 14:04
标题:
急急急,回放有 Error -27216错误,求大神解救
本帖最后由 Alina_ 于 2016-3-10 14:05 编辑
脚本录制时没有问题,回放就出现了 Error -27216错误,求大神解救
web_submit_data("login",
"Action=http://198.198.198.168/mzjc/admin/user/login",
"Method=POST",
"RecContentType=application/json",
"Referer=http://198.198.198.168/mzjc/",
"Snapshot=t12.inf",
"Mode=HTML",
ITEMDATA,
"Name=usertype", "Value=2", ENDITEM,
"Name=username", "Value=testwa", ENDITEM,
"Name=password", "Value=0330705f970b099af3f305b3fc81089654a8fe9a55384414c910cbf860aba72503896e4fa324106c8b6adddbd2cc58af08257d819ab89dd38fad8c2c45f7eb75c64ff428639b1972d752645122ea414a30d2695dc45262bd7e8a2ccfcd401d277ae6a95cd54c0a9361017deecbb87655143775b5cbd31a944eebcf19511c5126", ENDITEM,
LAST);
Action.c(32): Error -26627: HTTP Status-Code=404 (Not Found) for "http://198.198.198.168/mzjc/admin/user/login" [MsgId: MERR-26627]
Action.c(32): web_submit_data("login") highest severity level was "ERROR", 303 body bytes, 262 header bytes, 12 chunking overhead bytes [MsgId: MMSG-26387]
作者:
远方的小企鹅
时间:
2016-3-10 14:41
手动 输入
http://198.198.198.168/mzjc/admin/user/login
这个能打开吗
作者:
prettyfool
时间:
2016-3-10 15:33
value的值一看就是动态的值,每次登录都不一样的,你需要用注册关联函数去关联参数化value
作者:
louy
时间:
2016-3-10 17:02
找出需要关联的值,安装一个winDiff工具,通过再录一份相同场景的脚本,找出不同的地方,就是需要关联的值,thinkTime忽略
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2