[英]Not able to record a simple login page test with Jmeter for a Tomcat 6 running on localhost but can for Jmeter Website
I am new to Jmeter and had a look at the apache user manual as well but not able to resolve my problem, which is not able to record my test. 我是Jmeter的新手,也看过apache用户手册,但无法解决我的问题,无法记录我的测试。 Basically i have a simple login app running on apache tomcat 6(HTTP port 8082).
基本上我有一个在apache tomcat 6(HTTP端口8082)上运行的简单登录应用程序。 I have created a thread group and and added an HTTP Default Request to it please find config below:
我创建了一个线程组并添加了一个HTTP默认请求,请在下面找到配置:
I have also created a Proxy Server please find config below: 我还创建了一个代理服务器,请在下面找到配置:
I have also updated the proxy for my firefox please find below: 我还更新了我的Firefox的代理,请在下面找到:
My login application is running on the Apache Tomcatv6.0 as i can view it on the browser. 我的登录应用程序在Apache Tomcatv6.0上运行,因为我可以在浏览器上查看它。 However with the above setting i am not able to record anything don't know what i am doing wrong?when i change the server name/ip to http://jmeter.apache.org/ then it works find.
但是有了上面的设置,我无法记录任何不知道我做错了什么?当我将服务器名称/ IP更改为http://jmeter.apache.org/然后它可以找到。 Any idea why it is not recording when i am running my application please?My login application displays an html login page.
当我运行我的应用程序时,知道为什么它不能录制吗?我的登录应用程序显示一个html登录页面。
This is because in your firefox settings you have set in No proxy for: 这是因为在您的firefox设置中,您已设置为无代理:
As below: 如下:
So to fix it, just remove from "No proxy for" the localhost or 127.0.0.1 所以要修复它,只需从“无代理”中删除localhost或127.0.0.1
Use a port number other than :8080
. 使用除以下之外的端口号
:8080
。 For example you can use :2020
例如,您可以使用
:2020
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.