jvm pressure measurement tool (jmeter)


jvm pressure measurement tool (jmeter)

 

Application: Performance testing and stress testing tools, can perform stress testing on http server, ftp server and database

Official website: https://jmeter.apache.org/download_jmeter.cgi

 

*****************************

Test application

 

*********************

controller layer

 

HelloController

@RestController
public class HelloController {

    @RequestMapping("/hello")
    public String hello(){
        return "hello world";
    }
}

 

 

*****************************

jemter used

 

Download the compressed package to decompress it and start the application

      

 

options ==》 choose languages ​​==》 Select simplified Chinese to switch to Chinese

      

 

Test plan ==》 Right-click to add a thread group

      

 

Thread group ==》 Right-click, add sampler, http request: configure protocol, domain name, port number and other information

      

 

Thread group ==》 Right click, add listener, aggregate report

      

 

Click on the running thread and the aggregate report shows the throughput: 4597.7 requests processed per second

      

 

 

Published 387 original articles · Like 98 · Visits 30,000+

Guess you like

Origin blog.csdn.net/weixin_43931625/article/details/105216433