|
最新进展
经过与 Dennis.Duan的讨论以及其点拨,采用以下方法(左右边界为空)可以获取xml的完整内容,但是给定左右边界之后仍然是报 no match的错误。
//关联从XML文件中获取 jsessionid
web_reg_save_param("jsessionid",
"LB=",
"RB=",
"NotFound=ERROR",
"Ord=1",
"Search=body",
//"RelFrameId=1",
LAST);
web_custom_request("servlet",
"URL=http://172.16.37.11/scmserver/servlet?userid=dawee&password=F578EA9AC07F28AD77BD195780B92DF2",
"Method=POST",
"Resource=0",
"RecContentType=text/xml",
"Referer=",
"Snapshot=t4.inf",
"Mode=HTTP",
"EncType=application/xml",
LAST);
//输出获取的jsessionid
lr_output_message("the jsessionid is: %s", lr_eval_string("{jsessionid}")); |
|