badboy jmeter

Meter is a very popular and popular open source performance testing tool abroad. Like LoadRunner , it also provides a function of recording and generating test scripts using a local Proxy Server (proxy server), but this function is not easy to use. So this article introduces a more commonly used method - using Badboy to record and generate JMeter scripts.

 

1. Start recording.


2. After the recording is completed, click the "Stop Recording" button in the toolbar to complete the recording of the script;

3. Select the "File -> Export to JMeter" menu, fill in the file name "login_mantis.jmx", and export the recorded script as JMeter script format. You can also select the "File -> Save" menu to save as a Badboy script;

4. Start JMeter and open the test script you just generated.


If everyone is doing performance testing of Web applications, for example, there is only one login request, then in the Aggregate Report, a row of data will be displayed, with a total of 10 fields, and the meanings are as follows.

Label: Each JMeter element (such as HTTP Request) has a Name attribute, and the value of the Name attribute is displayed here.

#Samples: Indicates how many requests you have issued in this test. If you simulate 10 users, each The user iterates 10 times, then 100

Average is displayed here: Average response time - by default, it is the average response time of a single Request. When the Transaction Controller is used, the average response time can also be displayed in transaction units.

Median: median, That is, 50% of the user's response time

90% Line: 90% of the user's response time

Min: the minimum response time


Max : Maximum response time

Error% : The number of requests with errors in this test / the total number of requests

Throughput : Throughput - By default, it indicates the number of completed requests per second ( Request per Second ), when the Transaction Controller is used , it can also represent the number of Transaction per Second similar to LoadRunner

KB/Sec: the amount of data received from the server per second, which is equivalent to Throughput/Sec in LoadRunner

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326850723&siteId=291194637