当前位置:网站首页>Precautions for using JMeter suite to build a pressure test environment

Precautions for using JMeter suite to build a pressure test environment

2022-06-24 15:35:00 User 2253532

Tencent's cloud TKE On , Use jmeter-suite Precautions for setting up pressure measuring environment , Avoid the impact of tools

Please refer to the developer documentation for installation and some problems :https://cloud.tencent.com/developer/article/1790175?from=10680

This article only describes some suggested deployment methods .

pod Count <= The number of machines is good

        Connection establishment will occupy port , However, no matter how many core ports a machine has, it is limited , So under the same budget , Buy several machines with medium configuration , Better than high configuration machines ( Less sets ),pod The number is adjusted as follows

jvm The heap memory setting of is sufficient

       Jmeter Is based on JVM Of , therefore JVM The heap memory is affected Jmeter Initiate request 、 One of the key factors in data processing , In extreme cases ,JVM Insufficient heap memory , Lead to Jmeter Can't handle the request , It will also lead to pressure measurement QPS Couldn't get on . So we are using image deployment TKE When , Reasonable configuration is required Heap Parameters :

After successful deployment, you can view :

The host's operating system needs to be consistent , The recommendations are all up-to-date ubuntu System

        This is the developer's suggestion , In practice, it is also configured in this way , Keep consistent. If something goes wrong, it's easy to fix it , Exclude system differences .

原网站

版权声明
本文为[User 2253532]所创,转载请带上原文链接,感谢
https://yzsam.com/2021/05/20210510225824770s.html