I have Web Page which uses Ajax call for file upload using JSF primfaces component. I want to test this upload using Jmeter. Check this Link for Component https://www.primefaces.org/showcase/ui/file/upload/auto.xhtml how can I replicate this using jmeter help needed in creating .jmx
Asked
Active
Viewed 270 times
1 Answers
0
Just record it using HTTP(S) Test Script Recorder, it is smart enough to capture the request and convert it into the relevant HTTP Request sampler.
Make sure you copy the file, you are uploading to the "bin" folder of JMeter installation, otherwise you may face an issue during the recording as JMeter won't be able to locate the file. see Recording File Uploads with JMeter article for more details.

Dmitri T
- 159,985
- 5
- 83
- 133