File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Testing and the fly likes JMeter file upload problem.Please help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Testing
Bookmark "JMeter file upload problem.Please help" Watch "JMeter file upload problem.Please help" New topic

JMeter file upload problem.Please help

shawn kennedy
Ranch Hand

Joined: Oct 31, 2002
Posts: 67
I have a code which uploads file when i run it through a broswer.But when i perform same file upload process through Jmeter it does not work.Throws a NullPointer Exception when i tried uploading an xml file.Is it because Jmeter does not allow file upload or some other problem.Coz i am not using https and i am also supplying the mime type file name and the file param when passing the filename as a request in jMeter for uploading the file.Can anyone help please
Dmitri Tikhanski
Ranch Hand

Joined: Oct 13, 2013
Posts: 36
See Upload and Download Scenarios with Apache JMeter guide for details on how to do file upload and download using JMeter.
I agree. Here's the link:
subject: JMeter file upload problem.Please help
It's not a secret anymore!