|
脚本截取部分如下 为什么LOADRUNNER会调用这个函数web_custom_request而不是web_sumit_form 是不是和RecContentType=text/xml 而不是RecContentType=text/html有关系 ?怎么解决sdlkfj9 sdlkfj9
web_custom_request("dataengine",
"URL=http://10.232.18.163:8080/cqas/servlet/dataengine",
"Method=POST",
"Resource=0",
"RecContentType=text/xml",
"Referer=http://10.232.18.163:8080/cqas/",
"Snapshot=t2.inf",
"Mode=HTML",
"EncType=",
"Body=<?xml version=\"1.0\" encoding=\"UTF-8\"?><Request sessionKey=\"D~3a~5cServer~5cTomcat5~2e5~5cwebapps~5ccqas~5c~5cindex~2exml\"><Command id=\"Command_submit\" action=\"executeCheck\"><Datasets></Datasets><Records></Records><Input id=\"Editor_username\" value=\"usera2\" /><Input id=\"Editor_pwd\" value=\"1\" /><SubmitForm><Input id=\"Editor_username\" value=\"usera2\" /><Input id=\"Editor_pwd\" value=\"1\" /></SubmitForm></Command></Request>",
LAST);
web_custom_request("dataengine_2",
"URL=http://10.232.18.163:8080/cqas/servlet/dataengine",
"Method=POST",
"Resource=0",
"RecContentType=text/xml",
"Referer=http://10.232.18.163:8080/cqas/",
"Snapshot=t3.inf",
"Mode=HTML",
"EncType=",
"Body=<?xml version=\"1.0\" encoding=\"UTF-8\"?><Request sessionKey=\"D~3a~5cServer~5cTomcat5~2e5~5cwebapps~5ccqas~5c~5cindex~2exml\"><Command id=\"Command_submit\" action=\"executeCheck\"><Datasets></Datasets><Records></Records><Input id=\"Editor_username\" value=\"usera2\" /><Input id=\"Editor_pwd\" value=\"1\" /><SubmitForm><Input id=\"Editor_username\" value=\"usera2\" /><Input id=\"Editor_pwd\" value=\"1\" /></SubmitForm></Command></Request>",
LAST); |
|