java - How to send text file to a http request which shows error "request was rejected because no multipart boundary as found" -
i having issue in file uploading jmeter
i hav added parameter in http header manager , uploaded .txt file , hitting http request.
sampler request giving request code 200
response data shown below:
could not parse multipart servlet request; nested exception org.apache.commons.fileupload.fileuploadexception: request rejected because no multipart boundary founderror
- make sure provide full path file being uploaded under "files upload" tab of http request sampler
- make sure tick
use multipart/form-data post
box make sure "parameter name" matches "name" attribute of relevant file html input field.
in absolute majority of cases easier record file upload event using jmeter's http(s) test script recorder, make sure copy file(s) jmeter's "bin" folder prior recording request itself, see recording file uploads jmeter article more details.
Comments
Post a Comment