简体   繁体   中英

How can I upload video file while recording in jmeter?

I am using Jmeter2.12 in Linux fedora OS and recording using firefox37 browser.

In this environment setting, How can I Upload video file while recording in Jmeter?

Thanks, Vairamuthu.

JMeter proxy is capable of recording file upload events, all you need is to put your video file under /bin folder of your JMeter installation.

See the relevant chapter of the HTTP(S) Test Script Recorder (was: HTTP Proxy Server ) User Manual entry

Uploading files

Some browsers (eg Firefox and Opera) don't include the full name of a file when uploading files. This can cause the JMeter proxy server to fail. One solution is to ensure that any files to be uploaded are in the JMeter working directory, either by copying the files there or by starting JMeter in the directory containing the files.

For more information on simulating file upload and download events in your JMeter test check out Performance testing: Upload and Download Scenarios with Apache JMeter article.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM