Jmeter performance test (demand / index analysis and definition)

1. Generally speaking, the performance requirements of the measured object will be given in the user requirements specification, such as how much access needs to be achieved per unit time? What is the business response time? What is the business success rate? The consumption of hardware resources should be within a reasonable range.

  • The following performance indicators are very clear

  •  If the requirements are not clear, you need to extract performance requirements
    •  From the perspective of user application, if there is a bottleneck in the common business performance of the measured object, it is easy to cause users to be disgusted; such as the login function, enter the account password, and click to log in to the successful login process. If it takes 1 minute, such a speed is absolute. Unbearable; but uncommon features, such as summary reports, are used less than a few times a year, and it does n’t matter if the time is longer  
    • Different application frequencies determine the user's feelings and test requirements; for e-commerce, the functions commonly used by mall users, and the services that a large number of users use are registration, login, merchandise browsing and purchase business, etc.

 2. Normally, performance testing focuses on the time and resource utilization characteristics and stability of the measured object; time characteristics, that is, the processing time required by the measured object to realize the business transaction process, from the user's perspective, the shorter the better ; Resource utilization characteristics, that is, the system resource occupancy of the object under test. Generally, the web end does not pay attention to the resource occupancy of the client, only the server, usually the CPU, memory, network bandwidth, disk, etc.

  • Concurrent number
    • Concurrency means starting at the same time. From the perspective of application system architecture, concurrency means the number of requests received by the server per unit time. A specific business behavior of the client includes several requests, so the concurrent number is abstractly understood as the request sent by the client to the server in unit time, and the business request of the client is generally a user operation behavior, so the concurrent number can also be understood as concurrent The number of users, and these users are virtual, also known as virtual users  

 

Guess you like

Origin www.cnblogs.com/ZhengYing0813/p/12711807.html