打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
JMeter web login test returns 401 unauthorized

I am trying to use JMeter to load test a web login form running on a local VM, but I keep getting a 401 Unauthorized response. I setup a JMeter proxy to record the steps then added the HTTP Cookie Manager but it still will not authenticate.

The Cookie Manager gets used and adds the _auth_session to the request but the login still fails. The initial request is a POST method passing the username/password info. I can't seem to figure out why it's not actually authenticating. When I record the steps it works fine but playback fails. This appears to be a headless browser issue because recording the same steps in Selenium IDE plays it back perfectly and there is no 401 response. Any ideas would be much appreciated!

Running Windows 7/64

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
jmeter压测学习8-压测带token的接口
51Testing软件测试网:TD中Case的复用
jmeter学习指南之深入分析跨域传递cookie
3.8 检查点 - AJava
Web.py中的用户登录实现_IThao123 - IT行业第一站
PHP 单元测试工具
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服