GB/T 39788-2021System and software engineering—Performance testing method (English PDF)
系统与软件工程 性能测试方法
This is a limited preview
Buy now to download the full PDF (48 pages)
Need quotation for your management?
Get a formal quotation for GB/T 39788-2021 in 30 minutes.
Issued by
SAMR; SAC
Level / Type
National · Recommended
Issue date
March 9, 2021
Implementation date
October 1, 2021
Scope
GB/T 39788-2021 is the English-translated version of 系统与软件工程 性能测试方法.
GB/T 39788-2021 fixes the performance testing method for systems and software. It sets the testing process, the model of the test requirements and the types of performance test - load, stress, endurance, concurrency and the rest.
It applies to the analysis, design and execution of performance testing. Software houses, test teams and the buyers who accept a system use it. Issued on 9 March 2021, it has applied since 1 October 2021.
Found what you need?
Document preview — GB/T 39788-2021
National Standard of the People's Republic of China
- ICS
- 35.080
- Classification
- L 77
Issued by: State Administration for Market Regulation; Standardization Administration of the PRC
Contents
- Foreword3
- 1 Scope4
- 2 Normative references4
- 3 Terms and definitions4
- 4 Overview of performance testing6
- 5 Performance test process6
- 6 Performance test demand model10
- 7 Types of performance tests14
- Appendix A (Informative) Quality measure of performance efficiency29
- Appendix B (Informative) Mobile application performance test case30
- Appendix C (Informative) Application case of performance test of large-scale information system37
- Appendix D (Informative) Test case of cloud application performance41
- Appendix E (Informative) Test case of embedded software performance48
1 Scope
This standard specifies the test process, test requirement model, test types for the performance of system and software.
This standard applies to the analysis, design, execution of performance testing for system and software.
2 Normative references
The following documents are essential to the application of this document. For the dated documents, only the versions with the dates indicated are applicable to this document; for the undated documents, only the latest version (including all the amendments) are applicable to this standard.
GB/T 25000.10-2016 Systems and software engineering - Systems and software quality requirements and evaluation (SQuaRE) - Part 10: System and software quality models
GB/T 25000.23-2019 Systems and software engineering - Systems and software quality requirements and evaluation (SQuaRE) - Part 23. Measurement of system and software product quality
3 Terms and definitions
The terms and definitions as defined in GB/T 38634.1-2020, AND the following terms and definitions apply to this document.
3.1 Load testing
It is used to evaluate the performance of the system and software, under the expected varying load. The load is usually between the low, typical and peak usage expectations.
3.2 Stress testing
It is used to evaluate the performance of the system and software, under the conditions of higher than expected or specified capacity load demand, OR lower than the minimum required resources.
3.3 Spike testing
It is used to evaluate the performance of the system and software, in a short period of time, when the load greatly exceeds the normal load.
3.4 Scalability testing
It is used to evaluate the performance of the system and software to adapt to changes in external performance requirements (such as user load support, number of transactions, data volume, etc.).
4 Overview of performance testing
Performance testing is used to evaluate the extent, to which the system and software under test complete its designated functions, within a given time and other resource constraints.
5 Performance test process
5.1 Overview
The performance test process includes four processes. demand analysis of performance test, design and implementation of performance test, execution of performance test, summary of performance test.
5.2 Demand analysis of performance test
The demand analysis of performance test includes the following activities.
5.3 Design and implementation of performance test
The design and implementation process of performance test is used to derive test cases and test procedures. Related activities include.
5.4 Execution of performance test
The execution process of performance test includes the following activities.
5.5 Summary of performance test
The summary of performance test includes the following activities.
6 Performance test demand model
6.1 Overview
The performance test demand model shall consider the following factors. environment, data, business processes, user distribution, request timing distribution, network status, etc.
6.3 Data requirements
The data required for performance testing includes the following requirements.
6.4 Business process
Performance test shall first consider testing the main or important business processes. Different business processes have different stress on the system.
The following factors shall be considered, based on risk assessment, when selecting business processes.
6.5 User distribution model
The user role distribution of the performance test shall obey the real environment distribution, which can be described by the user distribution model. Example: Figure 2 describes a user distribution model.
6.6 Request timing distribution model
The timing of sending performance test requests shall meet business
6.7 Network status requirements
The requirements for the network status shall be considered from the following aspects.
7 Types of performance tests
7.1 Load test
7.1.1 Building a model
The load test model is described by load volume, load business, running time.
Under the condition of specified business load and running time, it measures the load of the tested service.
7.1.3 Export test case
The load test case is exported, according to the following steps.
7.2 Stress test
7.2.1 Build a model
Stress test is used to evaluate whether the software is robust and usable, under extremely heavy loads. It means measuring the state of the system and software, under extreme load, by increasing the system load.
7.2.2 Export test coverage items
For stress testing, the stress test requirement of each tested business is a test coverage item.
7.2.3 Export test case
The stress test case is exported according to the following steps.
7.3 Peak test
7.3.1 Build a model
The peak test model is described by peak load business, peak load intensity, peak duration, monitoring indicators. For the specified load service, when the momentary peak value of the load business (exceeding the strength that the system can normally bears) comes, the system will undergo degraded operation;
7.4.2 Export test coverage items
For scalability test, the scalability test requirement of each tested business is a test coverage item.
7.4.3 Export test case
The scalability test case is exported according to the following steps.
7.6.2 Export test coverage items
For volume test, the throughput indicator and storage capacity indicator of the system and software to be tested are a test coverage item. According to different business requirements and system architectures, the following principles are generally followed when selecting volume indicators.
7.6.3 Export test case
The volume test case is exported according to the following steps.
......
This preview omits tables, figures, formulas and parts of the technical clauses. The complete document — 48 pages — is available in the English PDF.
Referenced standards
Normative references
- GB/T 25000.10-2016Systems and software engineering -- Systems and software Quality Requirements and Evaluation (SQuaRE) -- Part 10: System and software quality models
- GB/T 25000.23-2019Systems and software engineering -- Systems and software Quality Requirements and Evaluation (SQuaRE) -- Part 23: Measurement of system and software product quality
Similar standards
How to Download GB/T 39788-2021
- 1
Add to cart
Click "Download PDF" on this page and choose "Buy this standard". You can add more standards before checkout.
- 2
Checkout
Enter your email and billing details. Payment is processed securely by Stripe (cards or bank transfer). Prefer bank details? Request a quotation (min. order $300).
- 3
Instant delivery (0–9 sec)
Delivery is automatic: within seconds of payment you'll receive an email with a secure download link. The link stays valid for 72 hours.
- 4
Invoice included
A tax invoice is attached to the confirmation email. Need a custom invoice? Contact us.
Related Standards
GB/T 25000.10-2016 — Systems and software engineering -- Systems and software Quality Requirements and Evaluation (SQuaRE) -- Part 10: System and software quality models
GB/T 25000.23-2019 — Systems and software engineering -- Systems and software Quality Requirements and Evaluation (SQuaRE) -- Part 23: Measurement of system and software product quality
GB/T 7251.4-2026 — Low-voltage switchgear and controlgear assemblies - Part 4: Particular requirements for assemblies for construction sites (ACS)
Secure payment via Stripe
Payments accepted
GB/T 39788-2021
$530.00