A, Jmeter basis - a simple script with your body heat

Minimum unit is Jmeter script components, the complexity of different scripts, mainly using different types of components, the links between the components, are interdependent. This article is intended to warm up, and therefore introduces its most basic.


The easiest script

 

Navigation tree, right-click Add Component: Thread Group, the Http request, the result tree view, report the polymerization.

Disposed about the Http request, Baidu do take object to be measured, as shown in FIG set parameters

After setting Save the script, run directly, and then view the polymerization report and view the results tree

View Results Tree: shows the request header, text request and response headers, response text (left side of the green for pass, because no increase assertion, by not reported here only shows 4xx, 5xx)

Aggregate Report: the collected response time, error rate, throughput and the like. Specifically refers to the meaning of each field will be explained in detail later in the article components Tour.


Summarize
this section, we wrote a fairly basic Jmeter script, use the thread group, Http request, view the results tree, polymerization report .

I believe you use Jmeter have a preliminary understanding, here you can take yourself to try another site.

Guess you like

Origin www.cnblogs.com/easy-test/p/12173764.html