A. Jmeter

1. Performance Testing Overview

1.1 the main direction of load test system under a certain pressure, response time, throughput scalability, stability, and other system performance.

Combined with the application architecture and implementation details to identify the problem, and the final confirmation of the problem-solving process.

purpose: 

   1. Basic Purpose: To verify whether the user's performance, identify performance bottlenecks and optimize existing software

   2. The ability to assess the system: load and response time test data obtained is used to verify the ability of the plan to help make decisions

   3. Identify the system's weaknesses: a controlled load can be increased to an extreme level, and to break it, fix system bottlenecks or weak place

   4. Tuning system: to repeat the tests, the activity to verify whether the system for adjusting the expected results, improved performance. Such as: test execution time can cause a memory leak

   5. Verify Stability: Evaluation test is performed at a certain time to generate a certain load meets the requirements of stability and reliability

1.2 Software performance is a non-feature software, concern is how well the software under certain conditions, the system can do

1.3 Perspective:

   1. User angle: wait long (response time), the stability of

   2. The administrator perspective: resource utilization (server, database whether to use reasonable), scalability, system capacity (the maximum number of users and traffic handling capacity), stability.

   3. Development Perspective: architecture design, database design, code,

   4. Test personnel perspective: Performance should be comprehensive, including the performance of each user perspective, development, and other administrators, response time, attention to nature

4. Matters related to performance testing

   1. Feasibility Assessment System

   2. Performance Evaluation System

   3. Configuration performance characteristics when comparing different systems or a plurality of different systems

   4. Locate the system performance problems and determine root cause

   5. do performance tuning system

   6. identify the different levels of system throughput

 

2. Performance testing and project

Successful performance tests do not, their background and project associated test methods and test have a relationship

It involves knowledge:

   1. To master a programming language

   2. grasp the principles of computer operating system knowledge +

   3. Good network infrastructure

   4. The master database knowledge

   The tundish (tomcat Apache)

   6. capture tool

   7. Performance testing tools

Guess you like

Origin www.cnblogs.com/huiguizhe/p/12046276.html