Jmeter错误404 [英] Jmeter error 404
问题描述
我正在尝试对具有以下功能的Web应用进行负载测试
1.登录应用程序(设置一些Cookie变量)
2.为客户提供一些参数
3.获取特定客户的详细信息
4.从webapp注销
当我运行Jmeter时,我得到的状态码为404
任何参考或帮助都将适用.
谷歌搜索后,我发现4 **表示您发送了错误的请求. 为了检查已经发送了什么请求,我正在使用fiddler并捕获原始请求(正在通过浏览器运行)和Jmeter发送的请求,我正在比较 Headers Inspector 标签下的数据>在提琴手中,这是解决4 **问题的正确方法吗?我还可以做些什么来解决此问题?
I am trying to load test a webapp, which has following functonality
1. Login in app (setting some cookie variables )
2. Serach customer with some parameter
3. Get detail of particular customer
4. Logout from webapp
When i am running Jmeter i am getting status code 404
Any reference or help will be appriciated.
After googling i found 4** says you have sent bad request. To check what request has been sent i am using fiddler and capturing original request (which is working from browser ) and request sent by Jmeter , I am comparing data under Inspector tab in Headers in fiddler, Is this right way to resolve the issue of 4**. What else i can do to fix this issue ?
附有屏幕截图
推荐答案
我认为,必须在Recording Controller之前将HTTP标头管理器和HTTP cookie管理器上推.否则,将在没有这些标头或cookie信息的情况下发出请求.
I think, the HTTP header manager and HTTP cookie manager must be pushed up just before Recording Controller. Otherwise the requests are made without these header or cookie informations.
如果您进行本地测试,则应在cookie管理器的配置域中
本地主机:8080.
If you doing localhost testing should in the cookie manager config domain
localhost:8080.
这篇关于Jmeter错误404的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!