File upload Jmeter代理服务器没有';捕获文件上传请求

File upload Jmeter代理服务器没有';捕获文件上传请求,file-upload,jmeter,File Upload,Jmeter,我试图从Jmeter的代理服务器捕获文件上载请求,但在上载文件时显示错误消息。我已经将proxy.binary.types属性配置为application/x-amf、application/x-java-serialized-object、application/octet流、application/vnd.ms excel 以下是UI上显示的错误消息: java.io.FileNotFoundException: employee_template.xls (The system canno

我试图从Jmeter的代理服务器捕获文件上载请求,但在上载文件时显示错误消息。我已经将
proxy.binary.types
属性配置为
application/x-amf、application/x-java-serialized-object、application/octet流、application/vnd.ms excel

以下是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)
java.io.FileNotFoundException:employee_template.xls(系统找不到指定的文件)
在java.io.FileInputStream.open(本机方法)
位于java.io.FileInputStream。(未知源)
位于java.io.FileInputStream。(未知源)
位于org.apache.jmeter.protocol.http.sampler.PostWriter.writeFileToStream(PostWriter.java:406)
在org.apache.jmeter.protocol.http.sampler.postwitter.sendPostData(postwitter.java:115)上
位于org.apache.jmeter.protocol.http.sampler.HTTPSampler.sendPostData(HTTPSampler.java:122)
位于org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:508)
位于org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:965)
位于org.apache.jmeter.protocol.http.proxy.proxy.run(proxy.java:242)

将要上载的文件复制到JMeter的bin文件夹中,请参阅: