当前位置:网站首页>Comparison of jmeter/k6/locust pressure measuring tools (not completed yet)

Comparison of jmeter/k6/locust pressure measuring tools (not completed yet)

2022-06-24 16:20:00 Try something new for a long time

background :

Common pressure measuring tools are jmeter,locust,k6, The differences in the architecture and implementation of each tool lead to many differences in the use experience , Different tools have their own unique characteristics, advantages and disadvantages .

As a tester , Although we prefer clear answers , however , It's not smart to discuss which tool is better , We often need to select pressure measurement tools with better consistency according to business needs and team configuration .

This paper aims to compare the advantages, disadvantages and characteristics of commonly used pressure measuring tools as comprehensively as possible .

Comparison of tool selection :

jmeter

k6

locust

Implement language

jave

golang

python

External dependence

java

-

python

scripting

GUI edit

js code

python code

Concurrency model

Threads :vu=1:1

goroutine:vu=1:1

gevent:vu=1:1

Resource utilization

Bad

good

good

Plug in support

There are many plug-ins , Many functions are built on plug-ins

Few plug-ins , Native supports many plug-ins

I won't support it

Distributed capabilities

Support

Support

Support

Community

mature

More mature

nothing

Built in pressure test report

Yes

Yes

Yes

Native supported protocols

HTTP/HTTPS

SOAP

JDBC

LDAP

TCP

Java Objects

JMS

IMAP

gRPC

WebSockets

Shell

FTP

Secondary development ( subjective )

difficult

Simpler

Simple

jmeter

Tool introduction :

yes Apache The foundation is entirely based on java Open source load tools developed , Load test supporting multiple protocols , On 1998 Released in .

Tool features :

from GUI drive , The tool interface can be used to write scripts , With its rich plug-in library , For non developers , Groping for learning UI The cost of interface and plug-in selection is less than that of coding , In this regard ,jemter It is user-friendly .

Besides ,jmeter Command line execution is also supported , With the help of k8s It can quickly realize the distributed capability and the rapid expansion and contraction of the pressure measuring machine , You can also customize the appropriate pressure monitoring panel according to the needs of the project , Such as influxdb+grafana etc. .

Tool summary :

This is a fully functional GUI The pressure measuring tool of , Experienced the test of time and constant iteration , And the plug-in and community are relatively mature , The applicable group is the students who have little pressure test experience and weak coding ability , However, it is not suitable for private protocol pressure testing and projects with few pressure testing executor resources .

原网站

版权声明
本文为[Try something new for a long time]所创,转载请带上原文链接,感谢
https://yzsam.com/2021/04/20210428175240561T.html