脚本回访报错 Action.c(108): Error -27979: Requested form not found [MsgId: MERR-27979] Action.c 报错脚本

Action()

{

/*Correlation comment: Automatic rules - Do not change!  

Original value='127590.379505873zfzcQDApVtfiDDDDDQDHHpfiAiHf' 

Name ='userSession' 

Type ='Rule' 

AppName ='AribaBuyer' 

RuleName ='AutoGeneratedRuleName'*/

web_reg_save_param_regexp(

"ParamName=userSession",

"RegExp=name=\"userSession\"\\ value=\"(.*?)\"/>\\\n

"Ordinal=1",

SEARCH_FILTERS,

"Scope=Body",

"RequestUrl=*/nav.pl*",

LAST);

web_url("index.htm",

"URL=http://127.0.0.1:1080/WebTours/index.htm",

"Resource=0",

"RecContentType=text/html",

"Referer=",

"Snapshot=t5.inf",

"Mode=HTML",

LAST);

lr_start_transaction("1_login");

web_submit_data("login.pl",

"Action=http://127.0.0.1:1080/cgi-bin/login.pl",

"Method=POST",

"RecContentType=text/html",

"Referer=http://127.0.0.1:1080/cgi-bin/nav.pl?in=home",

"Snapshot=t6.inf",

"Mode=HTML",

ITEMDATA,

"Name=userSession","Value={userSession}",ENDITEM,

"Name=username","Value=jojo",ENDITEM,

"Name=password","Value=bean",ENDITEM,

"Name=JSFormSubmit","Value=on",ENDITEM,

"Name=login.x","Value=45",ENDITEM,

"Name=login.y","Value=0",ENDITEM,

LAST);

lr_end_transaction("1_login",LR_AUTO);

web_add_cookie("SRCHUID=V=2&GUID=92D9D74E58B647FA8575C56A516A7ECE&dmnchg=1; DOMAIN=ieonline.microsoft.com");

web_add_cookie("SRCHD=AF=NOFORM; DOMAIN=ieonline.microsoft.com");

web_add_cookie("SRCHUSR=DOB=20191120; DOMAIN=ieonline.microsoft.com");

lr_think_time(20);

web_image("Search Flights Button",

"Alt=Search Flights Button",

"Snapshot=t7.inf",

EXTRARES,

"Url=https://ieonline.microsoft.com/iedomainsuggestions/ie11/suggestions.zh-CN","Referer=",ENDITEM,

LAST);

web_set_sockets_option("SSL_VERSION","TLS1.1");

lr_think_time(26);

lr_start_transaction("1_Findflight");

/*Correlation comment - Do not change!  Original value='242;193;12/01/2019' Name ='outboundFlight' Type ='ResponseBased'*/

web_reg_save_param_regexp(

"ParamName=outboundFlight",

"RegExp=name=\"outboundFlight\"\\ value=\"(.*?)\">Blue\\ Sky\\ Air\\ 242",

SEARCH_FILTERS,

"Scope=Body",

"IgnoreRedirections=No",

LAST);

web_submit_form("reservations.pl",

"Snapshot=t8.inf",

ITEMDATA,

"Name=depart","Value=London",ENDITEM,

"Name=departDate","Value=12/01/2019",ENDITEM,

"Name=arrive","Value=Paris",ENDITEM,

"Name=returnDate","Value=12/02/2019",ENDITEM,

"Name=numPassengers","Value=1",ENDITEM,

"Name=roundtrip","Value=",ENDITEM,

"Name=seatPref","Value=Window",ENDITEM,

"Name=seatType","Value=First",ENDITEM,

"Name=findFlights.x","Value=57",ENDITEM,

"Name=findFlights.y","Value=7",ENDITEM,

LAST);

lr_end_transaction("1_Findflight",LR_AUTO);

lr_think_time(59);

lr_start_transaction("1_selectflight");

/*Correlation comment - Do not change!  Original value='123456789' Name ='creditCard' Type ='ResponseBased'*/

web_reg_save_param_regexp(

"ParamName=creditCard",

"RegExp=name=\"creditCard\"\\ value=\"(.*?)\"\\ size",

SEARCH_FILTERS,

"Scope=Body",

"IgnoreRedirections=No",

LAST);

web_submit_form("reservations.pl_2",

"Snapshot=t9.inf",

ITEMDATA,

"Name=outboundFlight","Value={outboundFlight}",ENDITEM,

"Name=reserveFlights.x","Value=77",ENDITEM,

"Name=reserveFlights.y","Value=10",ENDITEM,

LAST);

lr_end_transaction("1_selectflight",LR_AUTO);

lr_think_time(27);

lr_start_transaction("1_payment");

web_submit_form("reservations.pl_3",

"Snapshot=t10.inf",

ITEMDATA,

"Name=firstName","Value=Jojo",ENDITEM,

"Name=lastName","Value=Bean",ENDITEM,

"Name=address1","Value=changan",ENDITEM,

"Name=address2","Value=bengjiang",ENDITEM,

"Name=pass1","Value=Jojo Bean",ENDITEM,

"Name=creditCard","Value={creditCard}",ENDITEM,

"Name=expDate","Value=123",ENDITEM,

"Name=saveCC","Value=",ENDITEM,

"Name=buyFlights.x","Value=52",ENDITEM,

"Name=buyFlights.y","Value=11",ENDITEM,

LAST);

lr_end_transaction("1_payment",LR_AUTO);

lr_think_time(17);

web_image("Itinerary Button",

"Alt=Itinerary Button",

"Ordinal=1",

"Snapshot=t11.inf",

LAST);

lr_think_time(22);

lr_start_transaction("1_signoff");

web_image("SignOff Button",

"Alt=SignOff Button",

"Ordinal=1",

"Snapshot=t12.inf",

LAST);

lr_end_transaction("1_signoff",LR_AUTO);

return0;

}

你可能感兴趣的:(脚本回访报错 Action.c(108): Error -27979: Requested form not found [MsgId: MERR-27979] Action.c 报错脚本)