Published by Tsinghua University! Detailed practical explanation of web performance testing!

Preface

This book mainly explains the characteristics and methods of Web performance testing in the context of big data, as well as the specific techniques and techniques for performance testing using LoadRunner 11, a tool widely used in the industry. This book combines theory with practice, explains with pictures and texts, and combines IT technology with life scenes, making it vivid and vivid.

Chapter 1 Software Testing Basics

This chapter mainly explains the basic structure of the technical department of the software company and the software testing caused by the software crisis.

Chapter 2 Software Testing Methods and Processes

Chapter 1 has given a brief introduction to the two important components of testing (software test engineers and test cases). This chapter explains the general methods for software testing engineers to write and use test cases. At the same time, it also introduces some relevant knowledge surrounding testing work, so that the newbie can enter the testing atmosphere as soon as possible and prepare for the formal learning of Web testing in Chapter 3. .

Chapter 3 Web Application Development and Web Testing

In the first two chapters of this book, the author has briefly introduced the two important components of testing: software test engineers, test cases, and their writing methods. Starting from Chapter 3, this book will enter the world of eb testing. First, Section 3.1 will explain some knowledge about We applications, and then introduce many categories of Web testing, such as functional testing, performance testing, compatibility testing, etc. Since in actual work, Web performance testing engineers often have to engage in functional testing at various stages of the project, so in addition to performance testing, which is the main content of this book, more Web functional testing is done compared to other tests. for a rich introduction.

After experiencing the above basic knowledge, Xiaobai will join us in Chapter 4 to learn specific performance testing knowledge.

Chapter 4 Basics of Web Performance Testing

Starting from this chapter, we will enter the world of performance testing. In order to make the learning process more vivid, let’s invite our old friend Xiaobai. After nearly a month of internship, he has become familiar with the company's internal testing process and mastered the basic use of some automatic testing tool software, but the real performance testing work has not yet been carried out. It turns out that this is the first time that the company plans to conduct performance testing of Web sites. According to the manager, this is because:

The company website was developed only in the past year. The size of the website was not large before, and there were not many registered users. Colleagues in the testing department are very responsible. From time to time, they ask their classmates on MSN, let them try to access the company website from all over the country, and summarize the results to the manager. So far, no users have complained about the slow speed.

Chapter 5 Web Performance Testing Methods

A good start is half the battle. The code for the website of Xiaobai's company has almost been written, and the computer room to house the server has been found. As long as the server purchased in Chapter 4 is officially in place, the rack can be installed and the test version of the website can be deployed for trial operation. There is still some time before the deployment of the beta version. Xiaobai has made the following arrangements for this short period of free time:

First, you must be familiar with several methods of performance testing0

On the basis of Chapter 4 CPU and Hard Disk, familiarize yourself with the performance counter features of common operating systems and use them in your own

Perform a manual performance test on your computer. Be familiar with several commonly used performance testing software. I heard that there is Load Runner, etc. Choosing a better one is, after all, one of the tasks assigned by the department manager at the beginning of Chapter 4. These three points will be discussed in Chapter 5, Chapter 6 and Chapter 7 starting from this chapter respectively. Now let's start introducing some methods of Web performance testing.

Chapter 6 Performance Test Counters

The three tasks that Xiaobai started in Chapter 5: familiarity with performance testing methods, understanding of performance testing counters, and familiarity with a performance testing tool software have already laid a certain foundation. Next, Xiaobai plans to spend a few days getting familiar with the software and hardware parts of the operating system, the performance counters of the Web application server and the database server. In this chapter, readers will learn the details of this aspect together with Xiaobai.

This book ends here. In this book, we know that both software and hardware may have an impact on the performance of Web applications, and they must be analyzed together. For hardware, initial server selection is very important, as it can enable a Web application to win at the starting line. As for the impact of software, you can use the powerful LoadRunner or other performance testing software, combined with the performance counters provided by the system and application servers, and the free or paid tools provided by various manufacturers to measure and test performance, and ultimately discover the performance problems. Only after the cause of the problem is discovered, further performance optimization will be targeted.

Due to my limited knowledge and limited space, this book only introduces the basics and intermediate parts of performance testing. As the saying goes: A journey of a thousand miles begins with a single step. Readers should continue to learn and explore in the practical application of performance testing, consult official documents when encountering difficulties, and seek advice from excellent testing communities. Moreover, as a performance testing engineer, you should pay special attention to learning more knowledge about operating systems, data structures, programming and other disciplines, and you will eventually become a master of performance testing.

If you need this information  ————》Click here to get it————

Guess you like

Origin blog.csdn.net/Cipher_Y/article/details/132192424