我试图在JMeter的帮助下监控我的Web服务器的性能。我按照给出的规则来配置JMeter以测试给定here的Web服务器。
即使按照以下步骤操作,我收到401 Unauthorized错误:
You are not authorized to view this page. If you have not changed any configuration files, please examine the file conf/tomcat-users.xml in your installation. That file must contain the credentials to let you use this webapp
我编辑了tomcat-users.xml以添加以下行:
<role rolename="manager-status"/>
<user username="tomcat" password="s3cret" roles="manager-status"/>
请建议。