Performance testing serial - Requirements Analysis

The concept of performance testing & sense

The concept : By means of simulation technology a large number of users simultaneously access the application under test, observe, the process of recording and performance analysis system.

: Target maximum user load capacity bottlenecks in performance assessment system, prediction system

 

Performance testing of significance :

1) can effectively assess system performance index for the performance evaluation system 2) the system can identify performance bottlenecks, assist tuning 3) capable of directing the development of bursty traffic bearer scheme 4) can be used for system operation and maintenance costs budget

 

Performance Requirements Analysis

 

Demand Source

Test: proposed performance testing based on business to avoid risks

Development: think some slow page loads

O & M: assessment of the performance of the proposed service capabilities of a system

Product: Online feedback performance problems

User: raise certain mandatory performance requirements

 

Needs Assessment

Critical assessment: There are about a performance test will be carried out

Involving property, life safety systems. Such as: payment systems, electrical systems business, financial business systems, medical health assessment system

Large-scale production system for the first time, with a large number of users of the core business (such as: check tickets, rush tickets, paid)

System core database, business logic, hardware and software upgrades

There are significant non-functional defects or risky items not evaluated version history

After the upgrade, traffic, subscribers, an increase of 30% or more nodes

Scene significant changes in system architecture

After serious performance Bug fixes, whether formal environment would be adversely

 

General assessment: more than 60 points, it is necessary to conduct performance tests

Are there upgrades, and upgrades are included in the external docking interface system, payment interface, Web Service call interface with other systems and other associated interfaces (20 points)

Whether to increase a higher risk-adjusted performance (20 points)

The existence of customer requirements must test components or business processes (20 points)

Whether at the heart of the platform (15 points)

Whether there is a way to adjust or optimize the deployment (15 points)

Bug whether a plurality of functions involved in the repair of large changes and the flow (10 minutes)

 

requesting research

User Perspective:

1) frequently used, and there are a large number of the scene used by the user

High 2) the transaction accounted for, ≥80% of the daily accounting scenario

3) Special trade date or peak trading accounted for ≥80% of scene

4) poor performance and has been adjusted scenes

 

Project Team Perspective:

1) adjust the architecture of business

2) logic complexity, the more crucial business

3) may consume a lot of resources of business

The presence of interface calls 4) with external systems, and a large number of business data exchange

5) calling a third-party business components, complex business logic

 

Operations Perspective:

1) meet the future business development plan

2) system needs to meet future business needs

 

demand analysis

A demand: the number of user information

1) the number of users the system survey of current and future use

= The number of users the system the number of users currently registered in the system, the number of registered users does not mean he'll use every day and all the time.

= The number of users simultaneously online users operate the system online (corresponding mixed scenario)

= Number of concurrent users simultaneously online and simultaneously operate the same function (add single scene set point)

Current and future daily 2) survey system, the number of monthly active users

The current number of active users, that is, one day about how many users are using the system: then this part of the data is the current real pressure on the system configuration data

 

Demand II: Traffic Data

1) survey of current and future amount of background data

Because the check 10 from 100 data may soon, but in the future the amount of data becomes 100w. . .

2) investigation of the current and future business Total items of daily use

How much each user a single pen if possible every day, on average, how many times to perform this operation? So according to the number of users, we can determine the order of every day items. As 50 people, an average of 10 times a day, each 100 pens, the total items is 50 * 10 * 100 = 50000 pen. Note that this data is converted in accordance with the TPS, we can deal with in terms of whether the total amount of business out of the system can reach this data, it is also a very important indicator.

3) Total items investigations peak current and future business

 

Business scene investigation: three demands

1) system is the most critical, core business

Starting from the system to the main point of the first core business logic: these functions to the system or company often plays a decisive role, no matter what the priority must be to meet the performance tests of these functions

2) high-traffic function, often under pressure function point

System performance in critical systems, core business must go through in front of the place: for example, for Baidu search, its core business is the search function, but its high-traffic first to face the search input box is loaded home, Baidu Home to load that is high-traffic request

3) a high degree of business complexity

Often say the complexity of the business logic elements are equipped with 1,2 points, the number of their functions may use fewer but very serious impact on the system: the likelihood of these functions due to the complexity of its business logic has often wrong also relatively high, so these functions also have to be tested

 

Next: Performance Testing Program

Heavy welfare! Receive a free "jmeter Interface Automation and actual performance."

 

 

 

 

Guess you like

Origin www.cnblogs.com/Zfc-Cjk/p/11028493.html