jmeter 没有capturing/recording windows 认证凭证window
jmeter not capturing/recording windows authentication credential window
jmeter https 测试脚本记录器不是 capturing/recording windows 身份验证凭据 window(可能是 NTLM),它总是绕过 window.. 我需要 record/capture 用户名和密码。请让我知道如何解决这个问题?
Windows security authentication
JMeter 将无法捕获此 window,因为它不会真正生成 HTTP Request. When you enter your credentials the browser creates Authorization header 并且取决于服务器的 header 值提供程序让你进还是不进。
JMeter 提供HTTP Authorization Manager to deal with external authentication types which may cause these modal pop-ups most probably in your case it is NTLM or Kerberos。
因此,将 HTTP 授权管理器添加到您的测试计划中,并在那里提供您的凭据、域、领域等 - 如果一切顺利,服务器会让您进入。
有关如何在 JMeter 测试中处理外部身份验证系统的详细信息,请参阅 Windows Authentication with Apache JMeter 文章。
根据 Jmeter 文档
"When looking for a match against a URL, JMeter checks each entry in turn, and stops when it finds the first match. Thus the most specific URLs should appear first in the list, followed by less specific ones. Duplicate URLs will be ignored. If you want to use different usernames/passwords for different threads, you can use variables. These can be set up using a CSV Data Set Config Element."
上面的解释清楚地说明了凭据可以参数化。
jmeter https 测试脚本记录器不是 capturing/recording windows 身份验证凭据 window(可能是 NTLM),它总是绕过 window.. 我需要 record/capture 用户名和密码。请让我知道如何解决这个问题?
Windows security authentication
JMeter 将无法捕获此 window,因为它不会真正生成 HTTP Request. When you enter your credentials the browser creates Authorization header 并且取决于服务器的 header 值提供程序让你进还是不进。
JMeter 提供HTTP Authorization Manager to deal with external authentication types which may cause these modal pop-ups most probably in your case it is NTLM or Kerberos。
因此,将 HTTP 授权管理器添加到您的测试计划中,并在那里提供您的凭据、域、领域等 - 如果一切顺利,服务器会让您进入。
有关如何在 JMeter 测试中处理外部身份验证系统的详细信息,请参阅 Windows Authentication with Apache JMeter 文章。
根据 Jmeter 文档 "When looking for a match against a URL, JMeter checks each entry in turn, and stops when it finds the first match. Thus the most specific URLs should appear first in the list, followed by less specific ones. Duplicate URLs will be ignored. If you want to use different usernames/passwords for different threads, you can use variables. These can be set up using a CSV Data Set Config Element."
上面的解释清楚地说明了凭据可以参数化。