51Testing软件测试论坛
标题:
关于 loadrunner测试dwr,spring,开发的ajax程序
[打印本页]
作者:
llama51
时间:
2007-11-22 09:16
标题:
关于 loadrunner测试dwr,spring,开发的ajax程序
各位师哥,师姐,小弟遇到了一个难题,就是loadrunner,测试dwr,spring的问题:
这是其中一段脚本代码;看了以后我就直接晕了,请问这种情况怎么处理,dwr需要特殊处理吗,如何参数化,在线等
web_custom_request("ProjectTypeService.getProjectType.dwr",
"URL=http://localhost:8080/ccpms/dwr/projectType/call/plaincall/ProjectTypeService.getProjectType.dwr",
"Method=POST",
"Resource=0",
"RecContentType=text/javascript",
"Referer=http://localhost:8080/ccpms/project/projecttypebeta.html",
"Snapshot=t2.inf",
"Mode=HTML",
"EncType=text/plain",
"Body=callCount=\npage=/ccpms/project/projecttypebeta.html\nhttpSessionId=B679CC14C97793A8708F593995E06A A7\nscriptSessionId=D7127F6CA83E494CFEBA146172699F2360 \nc0scriptName=ProjectTypeService\nc0-methodName=getProjectType\nc0-id=0\nbatchId=0\n",
LAST);
web_custom_request("ProjectTypeService.getNextProjectTypeCode.dwr",
"URL=http://localhost:8080/ccpms/dwr/projectType/call/plaincall/ProjectTypeService.getNextProjectTypeCo.dwr", "Method=POST",
"Resource=0",
"RecContentType=text/javascript",
"Referer=http://localhost:8080/ccpms/project/projecttypebeta.html",
"Snapshot=t3.inf",
"Mode=HTML",
"EncType=text/plain",
"Body=callCount=\npage=/ccpms/project/projecttypebeta.html\nhttpSessionId=B679CC14C97793A8708F593995E06AA7\nscriptSessionId=D7127F6CA83E494CFEBA146172699F23600\nc0-scriptName=ProjectTypeService\nc0-methodName=getNextProjectTypeCode\nc0-id=0\nbatchId=1\n",
LAST);
lr_think_time(9);
web_custom_request("ProjectTypeService.saveOrUpdateProjectType.dwr",
"URL=http://localhost:8080/ccpms/dwr/projectType/call/plaincall/ProjectTypeService.saveOrUpdateProjectType.dwr",
"Method=POST",
"Resource=0",
"RecContentType=text/javascript",
"Referer=http://localhost:8080/ccpms/project/projecttypebeta.html",
"Snapshot=t4.inf",
"Mode=HTML",
"EncType=text/plain",
"Body=callCount=1\npage=/ccpms/project/projecttypebeta.html\nhttpSessionId=B679CC14C97793A8708F593995E06AA7\nscriptSessionId=D7127F6CA83E494CFEBA146172699F23600\nc0-scriptName=ProjectTypeService\nc0-methodName=saveOrUpdateProjectType\nc0-id=0\nc0-e1=string:000\nc0-e2=string:12\nc0-e3=string:1212\nc0-param0=Object_Object:{code:reference:c0-e1, name:reference:c0-e2, note:reference:c0-e3}\nbatchId=2\n",
LAST);
麻烦各位了
作者:
hand_smile
时间:
2008-1-8 11:25
顶一下,我也在录制DWR的东西,我也看不明白。。
高手来分析分析
谢了
作者:
cocayang
时间:
2011-3-8 19:26
参数化
nhttpsessionID
作者:
violet0214
时间:
2011-8-5 13:06
不明白。。。详细点就好了
作者:
kksinging
时间:
2013-5-24 15:36
挖坟了啊
这个问题谁能解决啊
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2