Performance testing (1)-Opening Remarks

Source: Internet
Author: User

Performance testing (1)-Opening Remarks

?

Self-study performance testing is very hard. So I want to record my 1.1 drops while studying. When you look at it in the future, you can give it to me in the east and west.

I was originally developed by the school, but it was hard to find a job. Who would need a specialist and an inexperienced college student to write code? Looking for a job is not easy and frustrated everywhere. In order to get the evil RMB to buy your favorite video card to play the game, I once went to the construction site and picked up the sledgehammer. Became a paladin (in fact, a migrant worker ). Shouting, "the mother of the earth is fooling you ~ ", Then throw a hammer, and then raise the hammer, shouting" to the glory of xindue ~ ", It's a hammer. I really don't want this kind of life, so I decided to "first start employment, then choose a job" and chose a low-threshold testing industry. I vowed to do it for two years. After I had the experience, I could switch to development. But the reality does not allow me. It is too difficult to look back at this wrong path. So, now that we have gone wrong. I found a lot of things on the way to the test, and found that the test is not as low as what people see. It is similar to my dream when I was young. "Hacker" who is engaged in Computer Science never dreamed of hacking? The testing industry is too close to hackers. It is like destroying the system before a hacker destroys the system. Estimate the possibility of this risk and fix it. So I started to face up to the testing industry,A truly happy person is the kind of person who does not forget to enjoy the scenery when taking a detour.O (distinct _ distinct) O ~

?

Theoretically, Performance Testing engineers must meet the following criteria:

    1. Can scripts be developed independently?
    2. Can you analyze performance requirements and obtain performance requirements?
    3. Can scripts and scenarios be developed to simulate user behavior?
    4. Can I find specific performance bottlenecks through performance tests?
    5. Can you provide an effective optimization solution based on performance bottlenecks?
    6. Ability to build a document compiling environment
    7. Team collaboration and communication skills

?

Skills required by performance testing engineers:

    1. C/C ++, because C with LoadRunner is a common performance tester's Strength
    2. LoadRunner can simulate a large number of users for stress testing. There are many tools, but LR is typical. The key is to know the operating principle and what you want. The reason why I use LR is that when I perform stress tests on games, a lot of gamers need to go online and move around. So many players, the company consumes a lot, therefore, you can use lr to simulate a gamer's message request. Make a lot of robots move around in the game.
    3. SQL, familiar with databases, can be used to create data. You said LR can be used to create data, but what about a large amount of data? Million pieces of player data, you may not be able to complete the flash with LR for one night. But with the database, it may take minutes or hours. In addition, according to the gods, 70% of Performance Tuning problems come from databases. Therefore, it is necessary to learn the database well.
    4. learn about the operating system in Linux/windows, so that you can better understand the system and where defects may occur. If you do not understand the operating system principles, the internal structure of the operating system, and many important database functions and system calls provided to users, you cannot effectively discover the defects of these software. I don't know how to maintain the problem.
    5. TCP/IP protocol. Whether it is used for attack or defense, it is a very interesting learning. We tested it. To put it bluntly, it was "destruction ". Like a hacker, the system security can be damaged and repaired first. It may be less troublesome to launch the system.
    6. if a computer is configured, the computer is sensitive to CPU metrics. What kind of voltage will cause system instability? What kind of memory will be incompatible. Therefore, a computer can be configured to improve performance testing.

      ?

      ?

Summary and Induction of Performance Testing

Performance testing accounts for 50% of the software testing content, such as load testing, stress testing, performance testing, and big data testing. And so on. We can imagine the importance of performance testing in testing.

?

In fact, the performance test is a white cleaning hacker. No one wants to be a hacker for every computer. The following is a summary of the hacker's learning direction. Hope to help interested friends.

?

?

Performance testing concept

Performance Testing)

Under certain load conditions, whether the system's response time and other features meet specific performance requirements, in some respects, performance is actually a function.

For system testing, as an excellent system testing engineer, you must have a "system" perspective to analyze the tested system.

    1. Function test: A Function
    2. Performance testing: the entire system includes software and hardware.

?

Software testing refers:

Under the specified conditions, the software product can provide the appropriate performance capability relative to the amount of resources used.

Resources may include other software products, system software, and hardware configuration. For user-operated systems, a combination of functionality, reliability, usability, and efficiency can be measured from the outside by the quality of use.

?

To measure the performance of a software, you need to consider three points of software efficiency.

    1. Time features

      --- Provide appropriate response and processing time and throughput for software products to execute their functions under specified conditions

    2. Resource Utilization

      --- Use the appropriate quantity and category of resources when a software product executes its functions under specified conditions.

    3. Efficiency compliance

      --- Ability of software products to comply with efficiency-related standards or conventions

      ?

In other words, we need to ensure that the software achieves certain performance under certain resources and complies with relevant standards or protocols. For example, we never expect that Ethernet 80386 computers can be started to complete the winodws system within one minute, because we know that such hardware violates product standards. However, if a mainstream advanced configuration computer cannot start Windows within one minute, you will start to wonder if there are some problems with your hardware. If it is a hardware problem, then you will feel that this operating system is slow and unusable.

As a performance testing engineer, the main goal is to ensure that the system can achieve certain performance indicators in a certain hardware and software environment.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.