loadrunner常见错误解决方法
2013-07-09 11:28
309 查看
1.错误代码27226
提示:
Action.c(36): Rendezvous 获取新闻列表
Action.c(38): Error -27226: The "action=newsAction&method=getNewsList&categoryId=1&allinfo=1&top=0×tamp=" argument (number 5) is unrecognized or misplaced
[MsgId: MERR-27226]
Action.c(38): web_custom_request("api1") highest severity level was "ERROR", 0 body bytes, 0 header bytes
[MsgId: MMSG-26388]
源码:char str[1000];
lr_rendezvous("获取新闻列表");
strcpy(str,"action=newsAction&method=getNewsList&categoryId=1&allinfo=1&top=0×tamp=");
web_custom_request("api1",
"url=http://223.4.131.48:8080/newsmobiapi/api",
"Method=POST",
"Referer=",
// "Referer= http://10.240.248.103:7006/Comment/{IID}",
//"Mode=http",
str,
LAST);
return 0;
解决方法,strcpy(str,"action=newsAction&method=getNewsList&categoryId=1&allinfo=1&top=0×tamp=");改为strcpy(str,"body=action=newsAction&method=getNewsList&categoryId=1&allinfo=1&top=0×tamp=");在参数前面加个body=即可
提示:
Action.c(36): Rendezvous 获取新闻列表
Action.c(38): Error -27226: The "action=newsAction&method=getNewsList&categoryId=1&allinfo=1&top=0×tamp=" argument (number 5) is unrecognized or misplaced
[MsgId: MERR-27226]
Action.c(38): web_custom_request("api1") highest severity level was "ERROR", 0 body bytes, 0 header bytes
[MsgId: MMSG-26388]
源码:char str[1000];
lr_rendezvous("获取新闻列表");
strcpy(str,"action=newsAction&method=getNewsList&categoryId=1&allinfo=1&top=0×tamp=");
web_custom_request("api1",
"url=http://223.4.131.48:8080/newsmobiapi/api",
"Method=POST",
"Referer=",
// "Referer= http://10.240.248.103:7006/Comment/{IID}",
//"Mode=http",
str,
LAST);
return 0;
解决方法,strcpy(str,"action=newsAction&method=getNewsList&categoryId=1&allinfo=1&top=0×tamp=");改为strcpy(str,"body=action=newsAction&method=getNewsList&categoryId=1&allinfo=1&top=0×tamp=");在参数前面加个body=即可
相关文章推荐
- loadrunner运行场景时,常见错误及解决方法
- LoadRunner压测脚本执行时的常见错误及解决方法(持续更新...)
- LoadRunner在运行时常见的提示错误和解决方法
- loadrunner运行场景时,常见错误及解决方法
- loadrunner常见错误解决方法
- LoadRunner 录制常见错误解决方法
- C语言中常见的内存错误与解决方法
- 常见的数据库错误的解决方法!必看!(含安装插件常见错误)
- Linux PC和ARM版的QT环境设置及到ARM移植&常见错误解决方法
- 普元EOS开发积累第二篇(常见错误解决方法) 持续更新
- ios开发常见错误及解决方法
- link2005 错误的常见解决的方法
- Android开发中的9个常见错误和解决方法
- 普元EOS开发积累第一篇(常见错误解决方法) 持续更新
- mysql常见错误提示及解决方法
- Xcode常见编译错误以及解决方法汇总(持续更新)
- mysql ab常见错误,和解决方法
- VS2012常见错误及解决方法
- Oracle 常见错误及解决方法
- 浅谈汽车车载导航仪GPS地图安装配置常见错误的解决方法(如提示缺少Style.ini等)