Tôi đang cố ghi lại phiên trong đó có chức năng tải lên.
Tôi đã sử dụng máy chủ proxy http để ghi, điều khiển ghi và trình quản lý cookie http.
Khi tôi cố gắng để tải lên một tập tin và bấm lưu nó cho thấy lỗi sau:Lỗi tải lên Jmeter khi ghi âm
java.io.FileNotFoundException: a12-13538_110q.htm (The system cannot find the file specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(Unknown Source) at java.io.FileInputStream.(Unknown Source) at org.apache.jmeter.protocol.http.sampler.PostWriter.writeFileToStream(PostWriter.java:408) at org.apache.jmeter.protocol.http.sampler.PostWriter.sendPostData(PostWriter.java:117) at org.apache.jmeter.protocol.http.sampler.HTTPJavaImpl.sendPostData(HTTPJavaImpl.java:115) at org.apache.jmeter.protocol.http.sampler.HTTPJavaImpl.sample(HTTPJavaImpl.java:510) at org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:62) at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1060) at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:238)
Chức năng này hoạt động tốt khi tôi không sử dụng ghi jmeter.
Vui lòng trợ giúp về điều này.
Có cách nào để tôi có thể thực hiện thử nghiệm này không?
Hãy cũng tham khảo để trả lời đề cập ở đây: http://stackoverflow.com/questions/14121551/jmeter-proxy-server-doesnt-capture-file-upload-request - bạn có thể chỉ cần đặt file tải lên trong thư mục bin của Jmeter, sau đó Jmeter sẽ tìm thấy chúng mà không gặp vấn đề gì – Yura