简体   繁体   English

当应用程序托管在不同的服务器(Webs 服务器、应用程序服务器和网关服务器)上时,如何执行负载测试?

[英]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.

相关问题 如何在不同的数据库 sql 服务器,不同的应用服务器在 jmeter 的帮助下检查负载 - How to check the load when there is different Database sql server, different application server with the help of jmeter 是否可以使用 jmeter 对托管在 linux 服务器中的应用程序进行负载测试? - Is it possible to load test an application hosted in linux server using jmeter? 通过桌面应用程序加载测试Web服务器 - Load test web server through desktop application 如何使用 jmeter 或smashbox 加载测试nexcloud 服务器 - how to load test nexcloud server with jmeter or smashbox 如何在jmeter中添加服务器地址以执行负载测试? - How to add server address in jmeter to perform load testing? 如何对使用Cloud Server的Web应用程序执行性能测试 - How to perform performance testing against a web application that using Cloud Server Jenkins主服务器负载测试 - Jenkins master server load test 使用 Jmeter 从 Jenkins 服务器运行 Kafka 消息传递的负载测试时出现错误 - When running load test for Kafka messaging with Jmeter from Jenkins server getting an error 如何在JMeter中为具有多个应用程序服务器的不同租户执行分布式测试? - How to perform distributed testing in JMeter for different tenants with multiple app servers? 连接到Web服务器时,在jmeter测试中配置的每个请求/线程是否使用不同的端口? - is each request/thread configured in a jmeter test using a different port when connecting to a web server?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM