Loadrunner无法捕获用于Worldpay付款的IntegrationID
我已经在代码生成中检查了正则表达式的值正确无误,并将其放置在正确的请求中
代码如下:
/*Correlation comment - Do not change! Original value='1560785768009' Name ='c_integrationID' Type ='Manual'*/
web_reg_save_param_regexp(
"ParamName=c_integrationID",
"RegExp=\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ data-iframe-integration-id=\"(.*?)\"\\\n\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ data-iframe-origin",
SEARCH_FILTERS,
"Scope=Body",
"IgnoreRedirections=No",
LAST);
web_url("corporate",
"URL=https://payments-test.worldpay.com/app/hpp-iframe/integration/wpg/corporate?OrderKey=DYSONUSDMOTO^{c_orderKey}&Ticket={c_ticket}&language=en&preferredPaymentMethod={preferredPaymentMethod}&iframeIntegrationId={c_integrationID}&iframeHelperURL=https%3A%2F%2Fuk-cr-ap1vpt1.dysonsap.sap%3A1443%2Fsap%2Fbc%2Fbsp%2Fsap%2Fzworldpay%2Fhelper.htm",
"Resource=0",
"RecContentType=text/html",
"Referer=https://uk-cr-sapvpt1.dysonsap.sap/sap(bD1lbiZjPTIwMA==)/bc/bsp/sap/zworldpay/worldpay.htm?wp_url=https%3a%2f%2fpayments-test.worldpay.com%2fapp%2fhpp%2fintegration%2fwpg%2fcorporate%3fOrderKey%3dDYSONUSDMOTO%255E{c_orderKey}%26amp%3bTicket%3d{c_ticket}%26language%3den%26preferredPaymentMethod%3d{preferredPaymentMethod}",
"Snapshot=t649.inf",
"Mode=HTTP",
LAST);
我希望它将使用上面的代码捕获,但是有错误 这是错误日志:
OrderPaymentUS.c(132): Error -26631: HTTP Status-Code=400 (Bad Request) for "https://payments-test.worldpay.com/app/hpp-iframe/integration/wpg/corporate?OrderKey=DYSONUSDMOTO^A002351833&Ticket=00156311234916702AMjvRLdQFlAbLxT6-rZh0g&language=en&preferredPaymentMethod=ECMC-SSL&iframeIntegrationId={c_integrationID}&iframeHelperURL=https%3A%2F%2Fuk-cr-ap1vpt1.dysonsap.sap%3A1443%2Fsap%2Fbc%2Fbsp%2Fsap%2Fzworldpay%2Fhelper.htm" [MsgId: MERR-26631]
OrderPaymentUS.c(132): Error -35049: No match found for the requested parameter "c_integrationID". Check whether the requested regular expression exists in the response data [MsgId: MERR-35049]