【问题标题】:jmeter shows "500 Internal Server Error" with UnmarshalException in viewresulttreejmeter 在 vi​​ewresulttree 中显示带有 UnmarshalException 的“500 Internal Server Error”
【发布时间】:2018-12-05 20:47:35
【问题描述】:

突然间,jmeter 对于我的正常 Web 服务请求开始 100% 失败。经进一步分析发现,在服务器端接收到空请求。附加 viewresultstree 侦听器,所有标志都打开,发现错误如下

http://schemas.xmlsoap.org/soap/envelope/&quot; xmlns:ns3="http://www.w3.org/2003/05/soap-envelope"><faultcode>ns2:Server</faultcode><faultstring>javax.xml.bind.UnmarshalException - 带有链接异常:[com.ctc.wstx.exc.WstxParsingException: Unexpected close tag </Client>;预期的 </EOF>。在 [row,col {unknown-source}]: [24,16]]

我可以说没有 XML 解析异常。有人可以帮我解决这个奇怪的 jmeter 行为吗?

【问题讨论】:

    标签: exception jmeter


    【解决方案1】:

    找到了问题,是输入文件。不知何故,输入文件变成了为输入参数提供 EOF 的空文件,因此当第一个 EOF 出现在服务器 HTTP 端点时,请求被视为已结束。

    修复此输入数据文件为我解决了这个问题。 :)

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2023-03-30
      • 1970-01-01
      • 2015-11-15
      • 1970-01-01
      • 2012-01-31
      • 1970-01-01
      • 2015-08-16
      • 2022-12-08
      相关资源
      最近更新 更多