求助:LR11关联jsessionid和400错误
录制完成回放时报错。已经关联了,为什么会报错?Action.c(51): Error -26631: HTTP Status-Code=400 (POST requires content-length) for "http://192.168.0.120/fifa/guide/step7;jsessionid=abcYCLW8jZog_dQvEI9Dt">here</a><?sid="
Action.c(51): web_submit_data("step7;jsessionid=abce-_WB48DIceN8788Dt") highest severity level was "ERROR", 179 body bytes, 191 header bytes, 13 chunking overhead bytes
Action()
{
web_set_max_html_param_len("1024");
/* Registering parameter(s) from source task id 11
// {PeopleSoftJSessionID2} = "abce-_WB48DIceN8788Dt"
// */
web_reg_save_param("PeopleSoftJSessionID2",
"LB/IC=jsessionid=",
"RB/IC=?",
"Ord=1",
"Search=Body",
LAST);
web_url("192.168.0.120",
"URL=http://192.168.0.120/",
"Resource=1",
"RecContentType=application/xhtml+xml",
"Referer=",
"Snapshot=t1.inf",
LAST);
lr_think_time(4);
web_url("signup_;jsessionid=abce-_WB48DIceN8788Dt",
"URL=http://192.168.0.120/fifa/sign/signup_;jsessionid={PeopleSoftJSessionID2}?sid=",
"Resource=1",
"RecContentType=application/xhtml+xml",
"Referer=http://192.168.0.120/fifa/sign/signin_;jsessionid={PeopleSoftJSessionID2}",
"Snapshot=t2.inf",
LAST);
web_url("signup;jsessionid=abce-_WB48DIceN8788Dt",
"URL=http://192.168.0.120/fifa/sign/signup;jsessionid={PeopleSoftJSessionID2}?name=6669&category=1",
"Resource=1",
"RecContentType=application/xhtml+xml",
"Referer=http://192.168.0.120/fifa/sign/signup_;jsessionid={PeopleSoftJSessionID2}?sid=",
"Snapshot=t3.inf",
LAST);
web_url("skip_guide;jsessionid=abce-_WB48DIceN8788Dt",
"URL=http://192.168.0.120/fifa/guide/skip_guide;jsessionid={PeopleSoftJSessionID2}?sid=",
"Resource=1",
"RecContentType=application/xhtml+xml",
"Referer=http://192.168.0.120/fifa/guide/index;jsessionid={PeopleSoftJSessionID2}?sid=",
"Snapshot=t4.inf",
LAST);
web_submit_data("step7;jsessionid=abce-_WB48DIceN8788Dt",
"Action=http://192.168.0.120/fifa/guide/step7;jsessionid={PeopleSoftJSessionID2}?sid=",
"Method=POST",
"RecContentType=application/xhtml+xml",
"Referer=http://192.168.0.120/fifa/guide/index;jsessionid={PeopleSoftJSessionID2}?sid=",
"Snapshot=t5.inf",
"Mode=HTTP",
ITEMDATA,
"Name=nick", "Value=6669", ENDITEM,
"Name=sex", "Value=0", ENDITEM,
LAST);
web_concurrent_start(NULL);
web_url("search.png",
"URL=http://192.168.0.120/images/logo/search.png",
"Resource=1",
"Referer=http://192.168.0.120/fifa/guide/step7;jsessionid={PeopleSoftJSessionID2}?sid=",
LAST);
web_url("skip_guide;jsessionid=abce-_WB48DIceN8788Dt_2",
"URL=http://192.168.0.120/fifa/guide/skip_guide;jsessionid={PeopleSoftJSessionID2}?sid=",
"Resource=1",
"RecContentType=application/xhtml+xml",
"Referer=http://192.168.0.120/fifa/guide/step7;jsessionid={PeopleSoftJSessionID2}?sid=",
"Snapshot=t6.inf",
LAST);
web_url("step14;jsessionid=abce-_WB48DIceN8788Dt",
"URL=http://192.168.0.120/fifa/guide/step14;jsessionid={PeopleSoftJSessionID2}?sid=",
"Resource=1",
"RecContentType=application/xhtml+xml",
"Referer=http://192.168.0.120/fifa/guide/index;jsessionid={PeopleSoftJSessionID2}?sid=",
"Snapshot=t7.inf",
LAST);
web_concurrent_end(NULL);
return 0;
} 自己顶下,求大侠帮下!! 来人看看 讨论下么,新人求帮助,自己看了下资料在Tools -> Recording Options -> Advanced tab中设置,点“headers”按钮,在列表中选择“Record Headers in the List”,然后选择“XXXXX”,因此它可确保在录制过程中录制自己。
我新人不清楚XXXX是什么IP么? 我加上没什么效果。
谁知到提醒下 问分感谢! 自己在顶下 求助贴还要购买?谁愿意? 不代表关联了就不出错,有些东西不需要关联的,关联多了也会出错,你这个错误还是客户端上的错误 我晕 我不会设置怎么还要收钱? 云层老师 这个要怎么决绝呢?
页:
[1]