apache jmeter use

 =======================

Plug

=======================

In JMeter in a lot of things are based on plug-in technology, so scalability is very good, these things are such as the following plug-ins:

1. Start Group TestGroup: set the startup mode, concurrency control strategy

2. Test Item Sampler: For example, there Sampler Http request

3. Test item configurator: Configurator for such Http header http request

4. Results listener Listener: counter such results, the results of the statistical type of listener, and can draw a statistical graph of the listener. 

JMeter comes with a lot of important plug-ins, general enough, but for some less common scenarios, such as testing kafka, or draw some additional charts, comes with plug-ins will not be able to meet thanks to excellent JMeter plugins architecture, open source community provides a lot of extra plug-ins. 

 

Open Source Plugin website https://jmeter-plugins.org/

In order to facilitate the installation of plug-ins, the project provides a plug-in manager, https://jmeter-plugins.org/install/Install/

 

Of course, we can also write your own plug-ins, such as writing a special sampler, then you can take full advantage of the benefits of JMeter, such as test cases to save, such as test results of statistical and visualization. 

 

=======================

Test case organization

=======================

TestGroup is considered a test of a scene, a scene will contain one or more sampler, the test results can be placed in the Listener TestGroup nodes, the nodes can be placed under Sampler.

If a Listener on TestGroup node, it will also monitor the results of all sampler. 

If a Listener Sampler on a node, it listens only to listen to the result of the sampler

 

+TestGroup

   +Sampler1

        + ListenerA - only concern sampler1

   +Sampler2 

   + ListenerB - while focusing sampler1 and sampler2 

 

 

=======================

Very good tutorial

=======================

https://www.guru99.com/jmeter-performance-testing.html

https://www.guru99.com/jmeter-tutorials.html

=======================

Very good tutorial

=======================

Guess you like

Origin www.cnblogs.com/harrychinese/p/jmeter.html