https://bz.apache.org/bugzilla/show_bug.cgi?id=62785

            Bug ID: 62785
           Summary: HTTP Request throws java.io.FileNotFoundException when
                    upload file without param name and MIME type
           Product: JMeter
           Version: 5.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTTP
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: JMETER_5.1

Config  'Files Upload` tab for reproduce:

<elementProp name="${__TestPlanName}" elementType="HTTPFileArg">
   <stringProp name="File.path">${__TestPlanName}</stringProp>
   <stringProp name="File.paramname"></stringProp>
   <stringProp name="File.mimetype"></stringProp>
</elementProp>

Method: POST
Use multipart/form-data: UNchecked

-----

Solution:
- add missed FileServer.getResolvedFile()

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to