wood burning stoves 2.0
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


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "JMeter file upload problem.Please help" Watch "JMeter file upload problem.Please help" New topic
Author

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
Greenhorn

Joined: Oct 13, 2013
Posts: 18
See Upload and Download Scenarios with Apache JMeter guide for details on how to do file upload and download using JMeter.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JMeter file upload problem.Please help