JMeter无法上传PDF文件求助:无报错但上传失败
JMeter PDF文件上传失败问题排查请求
- JMeter执行PDF上传请求后无报错,但文件未成功上传
- 已尝试的配置方案:将参数名设置为
fileNames[]、取消勾选multipart.form-data、使用Body Data,均未解决问题 - 手动操作应用可上传3个PDF文件,JMeter仅尝试上传1个
请求详情
- 请求地址:
POST https:xxxxxxxx/corewebservice/api/document/upload/bulk/presigned/validate - 无Cookie
- F12抓取的POST数据:
--XTPbMaSotokYaD6oRvN5X82gbhKnXSe Content-Disposition: form-data; name="Size" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 31045 --XTPbMaSotokYaD6oRvN5X82gbhKnXSe Content-Disposition: form-data; name="documentTypeId" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1 --XTPbMaSotokYaD6oRvN5X82gbhKnXSe Content-Disposition: form-data; name="objectType" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 3 --XTPbMaSotokYaD6oRvN5X82gbhKnXSe Content-Disposition: form-data; name="objectTypeKeyType" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit intake --XTPbMaSotokYaD6oRvN5X82gbhKnXSe Content-Disposition: form-data; name="tagTextCsv" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --XTPbMaSotokYaD6oRvN5X82gbhKnXSe Content-Disposition: form-data; name="fileNames[]" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit BLANK_TestChart.pdf --XTPbMaSotokYaD6oRvN5X82gbhKnXSe Content-Disposition: form-data; name="pdfDocument"; filename="BLANK_TestChart.pdf" Content-Type: multipart/form-data Content-Transfer-Encoding: binary <actual file content, not shown here> --XTPbMaSotokYaD6oRvN5X82gbhKnXSe--
相关截图








恳请技术人员协助排查并解决该问题。
内容的提问来源于stack exchange,提问作者Chinni
相关产品推荐
相关产品推荐

