5
我試圖從Jmeter的代理服務器上捕獲文件上傳請求,但顯示上傳文件錯誤消息。我已經將proxy.binary.types
屬性配置爲application/x-amf,application/x-java-serialized-object,application/octet-stream,application/vnd.ms-excel
。Jmeter代理服務器不捕獲文件上傳請求
下面是對UI顯示錯誤消息:
java.io.FileNotFoundException: employee_template.xls (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at org.apache.jmeter.protocol.http.sampler.PostWriter.writeFileToStream(PostWriter.java:406)
at org.apache.jmeter.protocol.http.sampler.PostWriter.sendPostData(PostWriter.java:115)
at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sendPostData(HTTPSampler.java:122)
at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:508)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:965)
at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:242)
就像一個魅力 - 非常感謝! – Yura
已經upvoted - 無法接受,因爲我不是OP :) – Yura