急求,为什么获取不到返回值参数呢?
参数获取命令:web_reg_save_param("caseId",
"LB=6AE",
"RB=BA",
LAST);
Replay时提示 :Error -26377: No match found for the requested parameter "caseId".
脚本: web_custom_request("plugin_3",
"URL=http://10.26.6.156/navigator/jaxrs/plugin?repositoryId=icmnewos&caseTypeName=XMOA_case_shouwen&caseAction=new&plugin=ICMAPIPlugin&action=CaseService&desktop=dev",
"Method=POST",
"Resource=0",
"RecContentType=text/json",
"Referer=http://10.26.6.156/navigator/?desktop=dev",
"Snapshot=t26.inf",
"Mode=HTML",
"EncType=text/json; charset=UTF-8",
"Body={\"clientContext\":{}}",
LAST);
Generation Log:
****** Response Body For Transaction With Id 170 ******
{"properties":[{"symbolicName":"ClassDescription","displayName":"Class Description","value":{"ObjectStoreIdentity":"{6AE11055-A8D7-4202-B581-2CEE623A23BA}"…………太长了写不下…………
$$$$$$ Response Body For Transaction With Id 170 Ended $$$$$$
自顶一下,在线急等啊 原样提取response时,发现
“ Your session expired because of inactivity.”的提示
然后 使用Advaced Trace,发现与Chrome的请求记录间,似乎会差一个
security_token:1517203043802424154
其他的包括JessionID等都存在
是否是由于此处导致的session失效??? security_token:1517203043802424154 应该你每次请求都会变化的吧。。所以有可能是导致失败的原因 token就是防CSRF和表单重复提交的,这个东西在测试的时候可以写为一个定值,问问你们开发在哪设的这个。
页:
[1]