This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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: 14
See Upload and Download Scenarios with Apache JMeter guide for details on how to do file upload and download using JMeter.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: JMeter file upload problem.Please help