Step 1: Login to application and upload an image for Admin profile.
Application uploads image successfully without been recorded in Jmeter.
Step 2 : Start Jmeter, add a thread group.
Step 3 : Add HTTP(S) test script recorder, go to HTTP sampler settings and
select type as "Java".
Step 3: Select target controller as Thread Group, configure Firefox to port
8080 and start the test script recorder to upload the image.
Result: Application fails to upload image successfully when script is recorded
by Jmeter.
Error displayed is :"java.io.FileNotFoundException: My image.jpg (The system cannot find the file specified)"
How to upload image successfully with Jmeter?