Using JMeter little experience

Using JMeter little experience


After a period of use, we decided to use the Recorder to do JMeter Test Plan is the most convenient.
As a low-tech, you do not need to add yourself to find out all the Parameters.
Coupled with the use Recorder can guarantee (in most cases) Request feasible and successful.
Recording Controller related to teaching

In the following JMeter (4.0), whichever:
First Create new Thread Group In Test Plan, which is set Number of Threads (the number of User Request performed under this Thread Group), Ramp-Up Period (in seconds) ( required How long time to achieve the above number / amount of connection User), Loop Count (most of the time is 1, if you want to do in order to carry out the above User request loop many times, do not set here, a detailed description (English))

Then I personally will add 3 Element Config:
1. HTTP Cookie Manager
2. HTTP Cache Manager
3. the User Defined the Variables
above three are in when HTTP Request will make reference to the Resource, we need to build these three Element in order to use more resources. I did not set them to learn more about, but also the basic set up for use.

Establishing Listener:
commonly used
1. View Results Tree (see Request transmitted data in each the Data and the Response)
2. View Results in the Table (see Request Start Time of each data, etc., such as to confirm Request the transmission time can use this consistent Listener)

to establish the Timer:
1. synchronizing the Timer (set to sync users send request): number of Simulated users to Group by :( Note that there must be less than or equal to the number of user Thread Group, otherwise they will be stuck )
2. Constant Timer (Think time Request match usually use to simulate user input case), entered in milliseconds to wait for time units
in addition to see some of Timer setting another article

If your site Login function in each Thread Group Please Login join the POST Request, otherwise it will all Request Redirect to login page.

Original: Large column  using a small experience of JMeter


Guess you like

Origin www.cnblogs.com/petewell/p/11489690.html