Getting an error from the application when recording a Jmeter test plan


When I am running the recorder through Jmeter and then start going through the application and try to upload a file, after the upload is done but not really loaded I am then prompted for the title and description of the media. But after I click submit I get the error from the application that the file type is not supported. However following those exact same steps manually I am able to upload successfully without any errors. Can someone let me know what I am missing?? I am just starting to play with Jmeter so this is all new to me. Thanks.

Here are some screen recordings: - recording application with Jmeter - uploading file without recording using Jmeter

Dmitri T

I believe you should put the file, you're trying to upload to the JMeter's "bin" folder, JMeter's proxy isn't able to locate it in the "Downloads" folder. Alternative possible location is your desktop, however it depends on how do you launch JMeter, I need to see the log file to tell for sure. See Recording File Uploads with JMeter article for more detailed explanation.

Few other advices:

  • If you add View Results Tree listener to your WorkBench/Test Plan you will get way more detailed information on what is going on
  • You can get JMeter ready for recording in a couple of clicks using Templates feature.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at


Login to comment