JMeter 与 Windows 身份验证?

发布于 2024-08-12 11:25:47 字数 178 浏览 5 评论 0原文

我正在使用 JMeter 来加载测试 SharePoint 2007 站点中的一些页面。包含页面的场与运行测试的计算机驻留在不同的域中,并使用 Windows 身份验证。与服务器的连接是通过未加密(非 SSL)连接进行的。因此,我需要将登录凭据传递到服务器。

如何配置 JMeter 使用 Windows 身份验证登录服务器?

I am using JMeter to load test some pages that reside in a SharePoint 2007 Site. The farm that contains the pages resides in a different domain than the machine running the test, and uses Windows Authenticiation. The connection to the server is over an unencrypted (non-SSL) connection. Because of this, I need to pass login credentials to the server.

How do I configure JMeter to login to the server using windows authentication?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

窗影残 2024-08-19 11:25:47

确保使用 http Sampler=JAVA

make sure to use http sampler=JAVA

救赎№ 2024-08-19 11:25:47

尝试 this

根据回复进行编辑:新链接
向下滚动到参数部分,

  • 用户名要授权的用户名。
  • 密码 用户的密码。
  • 用于 NTLM 的域。
  • 领域 用于 NTLM 的领域。

Try this

Edit based on the reply: new link
Scroll down to the Parameters section,

  • Username The username to authorize.
  • Password The password for the user.
  • Domain The domain to use for NTLM.
  • Realm The realm to use for NTLM.
小ぇ时光︴ 2024-08-19 11:25:47

将 HTTP 授权管理器添加到线程组。

使用 [domain]username[@realm] 作为 Windows 登录示例。

基本 URL:[yourdomainurl]

用户名:[域\用户名] <- 仅大写

密码:[密码]

这适用于我的情况。

Add HTTP Authorization Manager to the Thread Group.

Using [domain]username[@realm] as your Windows login example.

BASE URL: [yourdomainurl]

USERNAME: [domain\username] <- UPPERCASE ONLY

PASSOWORD: [password]

This work for my case.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文