In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Performance test definition:
Through certain tools combined with corresponding testing methods, the deployed system applications are tested, and it is found that there are code logic problems in the system applications, machine hardware resource bottlenecks in the application deployment and architecture errors in the application deployment architecture, such as the architecture problems built by the network side, the client side and the server side.
Load testing: is an analysis of software applications and supporting architectures to simulate the use of a real environment to determine the performance that can be received
Stress testing (Stress Testing): a test that obtains the maximum level of service that a system can provide by identifying a system's bottleneck or unacceptable performance point.
The purpose of the performance test:
The purpose of performance testing is mainly reflected in three aspects: based on the real business, select representative and key business operation design test cases to evaluate the current performance of the system; when the functionality of the extended application or a new application is about to be deployed, the load test will help determine whether the system can still handle the expected user load to predict the future performance of the system. By simulating hundreds of users and repeatedly executing and running tests, you can identify performance bottlenecks and optimize and adjust applications in order to find bottlenecks
Project development cycle: at the initial moment, the project pays more attention to functional implementation, when functional testing is particularly important. Early intervention of testing can predict risks in advance, reduce project development cycle and save development costs. After functional testing, I think it should be performance testing (imagine, if a project can not even achieve functions, let alone performance testing) After the completion of the function, the performance test is introduced to troubleshoot the potential problems of the development project through the performance test (functional test is only a simple test of the application function by a few or dozens of people. For a large number of users after the application is really online, the potential risks of the application can not be well predicted, especially under the current unprecedented competitive pressure, the failure after the application is launched. It is likely to lead to the failure of the whole project For example, the 12306 booking website is used so much that it may be unprecedented in the world, so it is certainly impossible to mobilize national manpower to test application performance problems. If you hastily go online without performance testing in advance, what will be the consequence of a system crash in the case of so many users? )
Case sharing: the editor once worked on a project, accompanied by the project from beginning to end. In the early stage, due to the early intervention of testing and the agile development approach adopted by the project development, the project was completed almost perfectly in less than half a year. For the sake of safety, the project manager introduced performance testing to assess the potential risks of the project, and then built a set of simulation environment, which was specially used for performance testing. 30 users ran concurrently, and the project did not have any problems. Further increase the number of concurrent users, a variety of problems follow; after system tuning (released application system parameters, etc.), some of the problems are solved In order to further test that there are problems in the actual situation, the performance test environment has been cut from the simulation environment to the production environment, where there is concurrency under a large number of users, and part of the business has no problem. but more problems are focused on some business scenarios involving workflow, and various error reports are reported in the background log. By grabbing the background log, locating and analyzing the problems, we quickly investigated and solved some logic problems existing in the code development; after the code was repaired, the problem basically disappeared; and the project ended quickly, which greatly shortened the project development cycle, saved the development success, and was better suitable for users.
Performance test notes:
The recording script simulates the actual user operation as far as possible, and when designing the scene, it should be consistent with the actual scene as far as possible. for the business that users use more, we should pay attention to it.
Performance testing is carried out in the actual production environment as much as possible, and the ordinary simulation environment can not really find the problems existing in the application in the actual production environment, but it is not to abandon the simulation environment.
Performance testing, for the application system deployment environment, it may be necessary to deploy some system performance monitoring software, in the selection of software, as far as possible to reduce the impact of software operation on system performance.
Performance testing, especially the business operations in which applications interact with the database, need to prefabricate data that meet the business requirements of performance testing. On this basis, the environmental testing environment can be reused many times as far as possible, which requires that data and applications can be restored.
Performance testing skill mastery requirements:
Test environment building is not only a skill required for performance testing, but also a basic skill for testers. Many tests, including the installation and uninstallation of applications, require testers to have this 1st Skill.
Understanding of application building protocols, in many cases, performance testers need to record test scripts, which requires testers to have a full understanding of the protocols used by the application
The understanding of the server architecture, the cluster architecture in the case of a single server and multiple servers, etc., and the understanding of the server architecture can help performance testers to tune their performance at the initial stage.
With the mastery of the function of the operating system, especially the understanding of the Linux operating system, at present, most applications are deployed on the Linux operating system. Performance testers need to master the basic skill of operating system knowledge.
Database knowledge, in the face of big data era, the mastery of database function can not only serve for performance testing, but also provide a good guarantee for your gorgeous transformation in the future, gorgeous DBA
Good coding consideration. Basic coding knowledge, for the understanding of coding, can provide a strong guarantee for you to impact senior performance test engineers in the future. A senior performance test engineer should have performance tuning. 1st Skill, coding is particularly important.
A pursuit and mastery of new technologies and ideas
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.