Ditto Stream
Ditto Stream

Reputation: 11

Can we upload a video file using jmeter?

I need to test load on video files uploaded using jmeter. Can we upload a video file in jmeter ? If so can any one guide me with actual steps.

Thanks, joe

Upvotes: 1

Views: 1229

Answers (1)

Dmitri T
Dmitri T

Reputation: 168157

You can mimic uploading of any file using JMeter, just mind the following:

  1. In the HTTP Request sampler switch to "Files Upload" tab and provide the following:

  2. Make sure you select "POST" from the "Method" dropdown and tick Use multipart/form-data for POST box

    JMeter Video Upload

The easiest way is just recording your file upload scenario with HTTP(S) Test Script Recorder, just remember to put the file you're trying to upload into JMeter's "bin" folder.

Upvotes: 1

Related Questions