Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/excel/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Mule 运行MUnit时出现错误,属性名称无效:`maskedRequestPath`_Mule_Munit - Fatal编程技术网

Mule 运行MUnit时出现错误,属性名称无效:`maskedRequestPath`

Mule 运行MUnit时出现错误,属性名称无效:`maskedRequestPath`,mule,munit,Mule,Munit,我有一个使用http:listener和apiket-soap:router的流。我记录了流的MUnit测试,通过SoapUI执行流。当我运行生成的MUnit时,它会失败,并出现以下错误: "Invalid property name: `maskedRequestPath` on class `org.mule.extension.http.api.HttpRequestAttributesBuilder`. Validate that the correct setters is

我有一个使用http:listener和apiket-soap:router的流。我记录了流的MUnit测试,通过SoapUI执行流。当我运行生成的MUnit时,它会失败,并出现以下错误:

"Invalid property name: `maskedRequestPath` on class `org.mule.extension.http.api.HttpRequestAttributesBuilder`. Validate that the correct setters is present.
有问题的属性位于生成的
set-event\u attributes.dwl
文件中:

{
  "headers": {
    "connection": "close",
    "accept-encoding": "gzip,deflate",
    "content-type": "text/xml;charset=UTF-8",
    "soapaction": "\"XXXXX\"",
    "authorization": "Basic XXXXXXXXXXXXXXXXXXXXXXX",
    "content-length": "218",
    "host": "localhost:88",
    "user-agent": "Apache-HttpClient/4.1.1 (java 1.5)"
  },
  "clientCertificate": null,
  "method": "POST",
  "scheme": "http",
  "queryParams": {},
  "requestUri": "/XXXXX",
  "queryString": "",
  "version": "HTTP/1.1",
  "maskedRequestPath": null,        <----- HERE
  "listenerPath": "/XXXXX",
  "relativePath": "/XXXXX",
  "localAddress": "/127.0.0.1:88",
  "uriParams": {},
  "rawRequestUri": "/XXXXX",
  "rawRequestPath": "/XXXXX",
  "remoteAddress": "/127.0.0.1:62993",
  "requestPath": "/XXXXX"
}
{
“标题”:{
“连接”:“关闭”,
“接受编码”:“gzip,deflate”,
“内容类型”:“text/xml;charset=UTF-8”,
“soapaction”:“XXXXX\”,
“授权”:“基本XXXXXXXXXXXXXXXXXXXX”,
“内容长度”:“218”,
“主机”:“本地主机:88”,
“用户代理”:“Apache HttpClient/4.1.1(java 1.5)”
},
“客户端证书”:空,
“方法”:“发布”,
“方案”:“http”,
“queryParams”:{},
“请求URI”:“/XXXXX”,
“查询字符串”:“,
“版本”:“HTTP/1.1”,

“maskedRequestPath”:null,能否从pom.xml和munit版本中确认http连接器依赖项版本?munit为2.2.5,http连接器为1.5.19。@RyanCarter