You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

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--

相关截图

JMeter配置界面
JMeter参数设置
F12请求内容
F12表单数据
上传结果页面
上传状态详情
文件参数配置
请求头信息

恳请技术人员协助排查并解决该问题。

内容的提问来源于stack exchange,提问作者Chinni

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.15 16:20:22