使用Jmeter HTTP代理服务器时无法上传图像/文件 [英] Unable to upload image/file when using Jmeter HTTP Proxy server
本文介绍了使用Jmeter HTTP代理服务器时无法上传图像/文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个上载图片的场景,很完美.使用Jmeter进行了测试.
I have a Image Upload scenario to be perf. tested using Jmeter.
使用Jmeter
-
步骤:
Steps:
- 启动Jmeter2.9
- 已将HTTP服务器添加到工作台的端口8080
- 将IE网络设置设置为Proxy,端口8080和localhost
- 启动xyz.aspx网页
- 登录到应用程序
- 点击上传图片并选择图片
观察:
图片未上传
Observation:
The Image is not getting uploaded
不使用Jmeter
-
步骤:
Steps:
- 启动了xyz.aspx网页.
- 登录到应用程序.
- 点击上传图片,然后选择图片.
观察:
弹出警告消息,然后单击重试",图像被上传.
Observation:
An alert message popped up and when clicked on Retry, the image got uploaded.
警告消息显示To display the web message again, the web browser needs to resend the information you've previously submitted
.
有人可以帮我继续吗?
推荐答案
请在HTTP请求默认值中将类型更改为Java
Please change the type to Java in HTTP Request defaults
这篇关于使用Jmeter HTTP代理服务器时无法上传图像/文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文