Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Jmeter interface test

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

The purpose of interface testing (interface testing) is to test the external interfaces associated with the system. The focus of testing is to check the interaction of data, transfer and control the management process, provide test quality and test coverage, better re-locate software defects and locate errors.

Jmeter interface testing generally requires components: thread group, controller (http request, http default request, etc.), listener (aggregate report, view result tree, etc., depending on the need)

Thread group: the thread group is the starting point for any test plan, and all logic controllers and samplers must be placed under the thread group. Other test components, such as listeners, can be placed directly under the test plan, and these test components are valid for all thread groups. The thread group, as its name describes, is used to manage the JMeter threads needed to perform performance tests. Through the control panel of the thread group, users can set the number of threads, set the thread startup cycle, and set the number of cycles to execute the test script.

Controllers: there are two types of controllers: samplers and logic controllers work together to drive the test process, samplers are used by JMeter to send requests to the server, and requests can be customized by adding configuration elements to the sampler; logic controllers are used to control the test logic of JMeter

Listener: it is a series of components used to process and visually display test result data, not to listen to system resources. The aggregate report listener will show the minimum and maximum response time of the server, the response time value of 90% of the requests, the percentage of errors returned by the request and the number of requests processed by the server per unit time, and the throughput in the corresponding graphical report. The view result tree listener will show the details of the sampler request and response, as well as the basic parts of the system response in HTML and XML formats.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report