Jmeter 错误 404 [英] Jmeter error 404
问题描述
我正在尝试对具有以下功能的网络应用程序进行负载测试
1.登录应用程序(设置一些cookie变量)
2.用一些参数搜索客户
3.获取特定客户的详细信息
4.从webapp注销
当我运行 Jmeter 时,我收到状态代码 404任何参考或帮助将被应用.
谷歌搜索后,我发现 4** 说你发送了错误的请求.要检查已发送的请求,我正在使用 fiddler 并捕获原始请求(从浏览器工作)和 Jmeter 发送的请求,我正在比较 Headers 中的 Inspector 选项卡下的数据> 在 fiddler 中,这是解决 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 ?
附上截图
推荐答案
我认为,HTTP 头管理器和 HTTP cookie 管理器必须在 Recording Controller 之前推送.否则,将在没有这些标头或 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屋!