In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Under the background of frequent iterations of Internet products, the time of regression testing is getting less and less, so it is difficult to do a complete regression test of all functions in each iteration cycle. Even if there is a relatively complete UI automation (version iteration brings UI changes, high maintenance costs, limited output rate), it is very time-consuming, the product has a variety of functions, and the whole UI automation will take several hours to run. However, interface automation testing is more and more recognized by the majority of companies because of its simple implementation, relatively low maintenance cost, easy to improve coverage and so on.
The development model has changed a lot since 2015. on the one hand, it is the requirement of the development of technology, on the other hand, the personnel is more specialized and the division of labor is clearer, and the other is the rapid iteration of the product, which requires agility. So one of the biggest features of the development model is the separation of front and rear, so what does this mean?
From a testing point of view, a problem is clearly known. Whether it is a front-end problem or a background problem, front-end separation means rich service client, light client, a large number of algorithms, business, and interaction are handed over to the server, and the front-end only does user experience and user interaction. All such complex logic is handled by the server, which only needs to be uniformly output through API, one server to multiple front-ends (web, H5, android, iOS, Wechat Enterprise number, etc.). This API directly affects whether all clients work properly.
Core: ensuring the stability of the system
As a part of quality management, interface testing ensures the correctness and stability of the system. The closer a system service is to the bottom, the greater the impact on the system. A defect in the server may cause the collapse of the whole client, and the loss is inestimable.
Objective: to improve testing efficiency, enhance user experience and reduce the cost of product research and development
Interface testing strengthens the confidence of development and testing, exposes implicit bug in advance, makes functional testing easier, reduces the occurrence of underlying bug, makes front-end research and development more smooth, shortens development cycle, and improves development quality.
The significance of Interface testing
Interface testing is not the same as unit testing. The value of interface testing lies in less input than unit testing, less technical difficulty than unit testing, testing granularity coarser than unit testing, and interface level testing based on subsystems or sub-modules.
The interface to be tested in the interface test is much less than the cost of the unit test, so the maintenance cost of the interface test code is lower than that of the unit test, the input is small, but the output is considerable.
With the help of interface testing, the correctness of interface calls in various application scenarios can be ensured, and the quality of subsystems or sub-modules can be fully guaranteed. The various scenarios here are:
1. Rapid implementation and maintenance of business scenarios
two。 The running environment can be switched quickly, and a set of API scripts can be modified slightly, which can be quickly verified in the test environment, pre-release environment, or even production environment, which can not be compared with functional testing.
Finally, interface testing can be automated and sustainable integration, which is the source of low cost and high benefit of interface testing.
Today's recommended reading articles are recommended
JMeter database operation
Jmeter Interface Test-regular expression
JMeter returns garbled code in Chinese
Jmeter interface testing-parameterization
JMeter Interface testing-Basics
Test-impression
Add Wechat to the consulting work
scan a QR code
Welcome self-recommendation and recommendation, need Wechat to push resume!
Please poke the QR code below to learn more.
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.