[英]How to Perform Load test when When application is hosted on different servers(Webs Server, App server and Gateway Server)?
Application is hosted on different servers.应用程序托管在不同的服务器上。 Web Server App Server GateWay Server.
Web 服务器应用服务器网关服务器。 I connect to application via client(RDP).) I have to perform Load test and Performance Test.
我通过客户端(RDP)连接到应用程序。)我必须执行负载测试和性能测试。 On which Server I should install Jmeter?
我应该在哪个服务器上安装 Jmeter?
Nowhere.无处。 Or you will need to setup another "Server" which will be running only JMeter.
或者您将需要设置另一个“服务器”,它将仅运行 JMeter。
The reason is that when it comes to high loads both JMeter and your application will start struggling for OS resources (CPU, RAM, Network adapter, hard drive, etc.) so when you get high response times you won't be able to tell whether it is application bottleneck or just JMeter cannot send requests fast enough.原因是当涉及到高负载时 JMeter 和您的应用程序将开始为操作系统资源(CPU、RAM、网络适配器、硬盘驱动器等)而苦苦挣扎,因此当您获得高响应时间时,您将无法分辨无论是应用程序瓶颈还是只是 JMeter 都无法足够快地发送请求。
The main idea of well-behaved load test is that the test must represent real life application usage by real users so you can think of each JMeter thread (virtual user) as of the real user using the real browser with all the relevant stuff like cookies , header , cache , etc. So first of all I would recommend getting familiarized with How to make JMeter behave more like a real browser article.表现良好的负载测试的主要思想是测试必须代表真实用户在现实生活中的应用程序使用情况,因此您可以将每个 JMeter 线程(虚拟用户)视为使用真实浏览器的真实用户以及所有相关内容,例如cookies , header ,缓存等。所以首先我建议您熟悉如何使 JMeter 表现得更像一篇真正的浏览器文章。
The chance that real users will access the application from the server where the application is running is close to zero so you need to determine where geographically the majority of users will be located and set up your JMeter instance (or instances in case of Distributed Mode ) there真实用户从运行应用程序的服务器访问应用程序的机会接近于零,因此您需要确定大多数用户的地理位置并设置您的 JMeter 实例(或分布式模式下的实例)那里
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.