table of Contents
Performance Testing & Load Testing & Stress Test
- Performance test performance test
- By tools, get performance index value of the system in different conditions
- Such as: How long do you run 100 meters?
- Load testing load testing
- By gradually pressurized to observe the operation of the service
- Such as: to see you have a few two kilograms
- Pressure test pressure test
- Under certain workloads, continued to run a relatively long time, view system stability
- Such as: the recent big working pressure
Strength test & Capacity Test
- Strength test
- In particular, low system resources system operation, where the purpose is to find the first failure
- Bucket short board
- Capacity Test
- Under certain resources, different data of the order, the values of certain indicators of the value of the performance of the system
System users & Online user & concurrent user & Threads
- System users
- The number of registered users of the system: narrow
- Broadly: the number of users since the history of all the visited system
- Online users
- Narrow: user currently logged on
- Broadly: the user is currently accessing the system
- Number of concurrent users
- The number of users the same time point, requests execution of the same
- The number of threads (a Virtual User)
- The number of virtual user performance testing tool for simulating user
TPS & QPS
- TPS (TransactionsPerSecond) by the number of transactions per second
- Services: refers to a client sends a request to the server and then the server process to respond
- To complete the second transmission request response to the request is received, the total quantity, is the value of the TPS
- QPS (Queries Per Second) queries per second rate, or rate request
- The number of requests per second inquiry initiated by the server
- difference
- Transactions may have a more Queries, such as accessing a web page
Throughput Throughput &
- Throughput transaction / s
- The number of users the system requests processed per unit time.
- Such as: port throughput, we often say that the total port handling operations 1 year
- Throughput Kb / s
- Average rate data per unit time
- 90% 95%
- difference
- Parallel average throughput per unit time
Response time = t1 + t2 + t3 + t4 = t2
- Network server to initiate t1
- Processing server response time t2 + t3
- The server returned the initiator network t4
Note: The performance tests do not consider rendering time.
pv uv iv
- pv
- page view Page Views
- uv
- Unique Visitor Unique visitors
- iv
- Independent ip visitors