New tools, new upgrades, a good helper for testing

foreword

[Introduce the old and bring forth the new] is the correct development direction for us to engage in IT. We must look at the testing tools we use from a developmental perspective. How to upgrade the testing tools in your hands. Let's compare the five dimensions of Eoink's Apikit with the ones we used before. test tools?

I will explain according to the five dimensions : whether the basic functions are comprehensive or not, large-scale project management, monitoring, intelligent automated testing, and error checking .

Allow me to say a word here, now juniors are getting closer and closer to internships. Some students who choose [ development ] and [ testing ] positions, even those who choose [ implementation ] and [operation and maintenance ] positions, I recommend With Eolink's Apikit, children can be one step faster at work, and at least they can leave a good impression on the leaders.

With this Apikit, it is equivalent to having: API management tool + automatic mock + automatic test + interface monitoring + team collaboration tool , which is very convenient to use.

Table of contents

foreword

Dimension 1: Whether the basic functions are comprehensive or not

Dimension 2, large-scale project management

Dimension 3. Monitoring

Dimension 4: Intelligent automated testing

Dimension five, error checking

Summarize


Dimension 1: Whether the basic functions are comprehensive or not

Full support for document management and testing of mainstream protocols

This time we are mainly testing how to replace a bunch of products with one product. I am also an old programmer. Before, because I didn’t have a comprehensive tool, I downloaded several models in the computer and used them together. Now I have Apikit. Then you can clear some space for the C drive.

Functional module comparison:

Let's compare postman with Apikit, which you should have used more before.

First look at the function page of Apikit, all the functions are very clear, and the function switching is also very straightforward.

Let’s take a look at postman again. There is only a workspace on the home page of the post, and there are no other operations related to the current test.

After the comparison is completed, it is concluded that Apikit is superior in terms of UE.

In the theme color in the lower left corner, we can switch themes, and various themes can be switched.

Basic function comparison:

Apikit not only supports HTTP and HTTPS but also supports WS and gRPC, HSF, DUBBO, TCP, UDP, Rocket MQ support.

But postman supports HTTP, as well as WS and gRPC, and both of these are bate versions, and no other protocols are supported.

What we can see most directly is that Apikit is a second-level linkage menu, and postman's first-level menu is enough.

Here you can see that postman can create WS and gRPC but the others are gone.

Support one-click upload API interface

The development environment can be converted to the test environment with one click. This function is only available in Apikit. Other products have not found this function on the entire network. It has given us Java developers a great help.

After the installation is complete, let's take a look at what has been added to the right mouse button in the project? 

 

Tips for one-click upload success:

It not only supports online upload, but also directly imports data in other formats into Apikit projects, and we can see the commonly used ones.

For example, import the Swagger.json file.

In .NET development, we know that the latest version is using the stable 6.0 version of JDK, and this microservice supports swagger configuration by default.

At this point, whether it is Java interface development or .NET interface developers, they can quickly switch from the research and development environment to the testing environment with one click.

Dimension 2, large-scale project management

Multi-level large-scale team management

Here I took another product for comparison, and I took a screenshot of the entire panel. I downloaded the client, but the client does not support displaying team information.

Administrators are distinguished from members, and custom roles are added, so that large-scale team project management can be carried out at multiple levels.

This is a good helper for PMP.

Everyone in the team test will keep a log for every step of the operation, so you can feel more at ease.

 Project version management is equivalent to one and a half svn. I will use it for fixed-point restoration. This function does not exist in the entire network. The similar function is only the restoration of a single interface.

With this function, it is equivalent to having a perfect plan. When the exception is modified, we can quickly restore our test project.

Dimension 3. Monitoring

Timely notification of API changes · Webhook monitoring at any time

Eolink supports the API document change notification function at the beginning of its launch, and realizes the development change document, which can notify other relevant developers and testers to pay attention to the change. And further, it can quickly synchronize the changed content of the associated test cases and automated test cases with one click, and directly send real-time message notifications according to the corresponding Webhook configuration, so that you can know the project changes at the first time wherever you are.

Dimension 4: Intelligent automated testing

One-click intelligent generation of multi-case test cases

I remembered a sentence in [Kung Fu], "Who else~".

This is independently developed by Eolink. Through the algorithm, one-click generation of test cases for various input and matching conditions for API documents, automatic deduplication and coverage, and all test cases can be completed without coding.

There are not many interface analysis methods in the implementation stage. I took a job a while ago to analyze all the test case algorithms of a given interface according to the corresponding UML. It was written by a professor in China and can also be found on HowNet. , the difficulty is relatively not small, and the overall data verification took me nearly a month, and the benefits are still considerable. With this algorithm, it can be said that a large amount of expenses for enterprise testing has been directly reduced, because the test cases were written by people before, and the work of two people for a month, I ran out in 2 minutes after finishing it.

Although I can't see the underlying code independently developed by the platform, I have personally experienced this actual effect, which definitely saves a lot of labor costs for the enterprise.

Support timing automated test tasks

The timer function can be set in the automated test. This function is a variety of batch automation. With it, it can be said to be edited once and executed in real time. There is no need for card tables to operate, and time and energy can be saved. On other more important matters.

 

I also checked some other similar products for this function, but I didn’t find it. Some of them were hard to find by [Niaoyu], and some of them couldn’t be found after searching for a long time. For example, I really couldn’t find the following one. If you can't find it, it probably doesn't exist. 

 

Graphical automation settings

Drag and drop is very popular at the moment, because it is simple.

Let’s just talk about low-code development. It’s nothing more than arranging a database by yourself. All kinds of dragging and dropping~ This automation supports graphical settings, which is super convenient and super fast to get started. You don’t need to know how to write code, and you can operate it if you know the business logic . It saves the cost of brain power. The cost of brain power is the cost of wages. It is a must-have function for small and medium-sized entrepreneurs.

The sending result can be sent directly to the mailbox, which is very convenient.

Dimension five, error checking

Script error active troubleshooting and feedback

In complex scenarios, in the multi-level script steps, the specific level of problems can be fed back, [pre-script] [post-script] [assertion settings], you will always get the results you want.

 

Project status code management

The unique function can uniformly manage and control the status codes within the team to avoid repeated conflicts. It is also beneficial to quickly check the meaning of the retrieval error code when the system reports an error. In practice, we can use it like the blue screen code, and it can be configured arbitrarily by DIY.

 

Summarize

Through the comparative test of the five dimensions of basic functions, large-scale project management, monitoring, intelligent automated testing, and error troubleshooting, the advantages of Apikit are still obvious. The UE experience is also very good, and the panel functions are clear. , the location planning is reasonable.

The testing function of the full API life cycle is very comprehensive, basically including a variety of API full life cycle testing tools. The bright spot is obvious and practical. The function of uploading the API interface with one key is very convenient. It solves the problem of switching from the development environment to the test environment. It has a Webhook function that can receive project change notifications at any time, which is different from other products of the same type. I didn't see it. Intelligent automated testing allows idle time to run more meaningful tasks. The final error checking quickly locates the abnormality of the interface and solves the problem efficiently.

Through comparative testing, the leadership in five dimensions allows this product to bring more efficient results to our development and testing work.

Download registration address: Apikit_API collaboration management platform_API document management-Eolink APIKit is Eolink's one-stop API production platform that combines API interface management, API design, document management, automated testing, monitoring, R&D management and team collaboration, allowing users to Complete multi-person collaboration tasks of API management in a safe and controllable environment, helping enterprises improve development efficiency and reduce operation and maintenance costs. https://www.eolink.com/apikit?utm_source=lyy2301

Guess you like

Origin blog.csdn.net/weixin_39709134/article/details/130398246