从应用程序下载JMeter zip文件 [英] JMeter zip file download from application

查看:226
本文介绍了从应用程序下载JMeter zip文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在我的应用程序中选择多个文件,并且需要在处理后下载zip文件.使用Jmeter,我无法下载该文件,但收到错误消息:

I have a requirement to select multiple files in my application and need to download the zip files after processsing. Using Jmeter I am unable to download the file , getting the error message:

{"exception_body":{"http_response_code":400,"message":由于语法格式错误,无法理解该请求.","debug_message":"HTTP 400错误请求","error_code":1000} }

{"exception_body":{"http_response_code":400,"message":"The request could not be understood due to malformed syntax.","debug_message":"HTTP 400 Bad Request","error_code":1000}}

预先感谢

推荐答案

根据您的错误屏幕截图:-

As per you error screenshot:-

1-请求的格式不正确.需要纠正这一点.完成后,它将显示状态200,但不会下载任何内容.考虑到这是下载zip的请求.

1-The request is not formatted correctly. Need to correct this. Once done, it will show status 200 but will not download anything. Considering this is the request to download the zip.

  1. 要下载zip,请使用"将响应保存到文件"在下载请求下的侦听器.这将下载zip文件.
  1. In order to download the zip, use "Save Response to a file" listener under the download request. This will download the zip file.

更新正则表达式,请检查以下内容:-

Update for regular expression, check below:-

这篇关于从应用程序下载JMeter zip文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆