VS Enterprise 负载测试原始 IP 地址
VS Enterprise load test originating IP Address
如果我 运行 使用单个代理从 VS 企业进行负载测试,所有请求是否都来自单个 IP 地址,这实际上意味着单个用户?
编辑:
我无法检查 IIS 日志,因为站点是负载平衡的并且访问是通过网关控制的 - 所以 IIS 日志都显示网关的 IP 地址。到目前为止,我还没有找到网关的任何日志
回答你的问题:
IP Switching used to configure IP switching, it allows a test agent to send requests to a server by using a range of IP address, this simulates calls that come from different client computers.
To use the IP switching feature, the test agent service must be running as a user in the Administrators group for that agent computer.
To verify that IP switching is working correctly, enable IIS logging on the web server and check the log file.
Open your load test and select a scenario
In the Properties window, set IP switching to True.
Right click the a section and select Manage Test Controller
Select an test agent and click Properties
Check Enable IP Switching and configure NIC, Base Address …
Right click your solution and select Add=> New Item, select Test Settings and add a new test Settings
Configure test setting with Remote execution
Select TEST menu=>Test Settings=>Select Test Settings file, then select that test setting file
Run your load test.
答案引用自here。
如果您 运行 从单个代理进行负载测试,所有请求都来自该代理的单个 IP 地址,除非您启用 IP 切换。
但是不是的意思,是单用户!!
打开的并行用户会话和连接数与您指定的一样多。 (可以从代理打开数百个使用不同源端口的 TCP 连接)
如果我 运行 使用单个代理从 VS 企业进行负载测试,所有请求是否都来自单个 IP 地址,这实际上意味着单个用户?
编辑: 我无法检查 IIS 日志,因为站点是负载平衡的并且访问是通过网关控制的 - 所以 IIS 日志都显示网关的 IP 地址。到目前为止,我还没有找到网关的任何日志
回答你的问题:
IP Switching used to configure IP switching, it allows a test agent to send requests to a server by using a range of IP address, this simulates calls that come from different client computers.
To use the IP switching feature, the test agent service must be running as a user in the Administrators group for that agent computer.
To verify that IP switching is working correctly, enable IIS logging on the web server and check the log file.
Open your load test and select a scenario
In the Properties window, set IP switching to True.
Right click the a section and select Manage Test Controller
Select an test agent and click Properties
Check Enable IP Switching and configure NIC, Base Address …
Right click your solution and select Add=> New Item, select Test Settings and add a new test Settings
Configure test setting with Remote execution
Select TEST menu=>Test Settings=>Select Test Settings file, then select that test setting file
Run your load test.
答案引用自here。
如果您 运行 从单个代理进行负载测试,所有请求都来自该代理的单个 IP 地址,除非您启用 IP 切换。
但是不是的意思,是单用户!!
打开的并行用户会话和连接数与您指定的一样多。 (可以从代理打开数百个使用不同源端口的 TCP 连接)