当前位置:网站首页>Horizontal comparison of domestic API management platforms, which one is stronger?
Horizontal comparison of domestic API management platforms, which one is stronger?
2022-06-22 02:47:00 【Test plus】
background
With the popularity of front and rear end frame separation , agile development 、 Version iterations are more frequent .API The management of interface documents is becoming more and more necessary , And it's becoming more and more meaningful .
In the current industry , Yes postman、jmeter On behalf of the free open source tool faction , Can solve basic interface testing , But it can not solve all the problems on the interface link , It is difficult for a tool to support the whole process .
Domestic products that have appeared in the past six months API Management tool promotion , Include Apifox、Apipost、Eolink, At first glance, the product functions are similar , This article will make a complete horizontal comparison , Only for the presence or absence of functions , And describe the use process .
Tool is introduced
eolink
eolink It is a one-stop shop with professional positioning API Collaboration platform , It is also the first person in China to devote himself to API One of the platforms for tool development , The team was back in 2016 The first collection in China was released in Swagger+Postman+Mock+Jmeter Open source products with single point tools Eoapi, Can quickly solve API Document management 、 Quick test 、Mock、API Automated testing and other issues . And in 2017 In, it officially released the world's first online API Life cycle management platform , Help developers around the world develop more efficiently 、 Testing and operation and maintenance API,Eolink From this iteration .
You can click to view ,eolink official , See more details .
apipost
ApiPost It is a model that supports simulation POST、GET、PUT Etc HTTP request , Support teamwork , And can directly generate and export html、markdown Interface document in the same format API debugging 、 Management tools .
You can click to view ,apipost official
apifox
Apifox = Postman + Swagger + Mock+JMeter, Set interface documentation tool 、 Interface Mock Tools 、 Interface automation testing tools .
You can click to view ,apifox official , See more details .
Functional comparison
In practice ,eolink、apifox、apipost Three tools , I personally use . Next , I will compare the three functions , So I drew up a list of function comparison .
In particular : The following comparison , Don't blow not black , Column only function , Pure objective comparison , It doesn't have any commercial significance .
eolink、aifox、apipost The three tools have many functional modules , This time, only three commonly used function modules are selected , The interface test 、Mock data 、 Online document .
The following is the interface test 、Mock data 、 Comparison of several sub functions such as online documents .
We will select several common functions for actual use comparison , Show us the similarities and differences of the three tools .
Interface test comparison
http/https Protocol testing
http/https Protocol testing is the most commonly used function in daily work ,eolink、aifox、apipost All three tools support this function , We mainly compare UI Interface and functional ease of use .
Use here get Request the interface for demonstration : https://suggest.taobao.com/sug?code=utf-8&q=%E6%B5%8B%E8%AF%95&callback=cb
eolink
Click Create interface , At the top tab Show in , Include : file 、 edit 、 test 、mock、 Monitoring and other five functions .
Click test tab You can see , contain : Request header 、 Request body 、Query Parameters 、REST Parameters 、 Permission to check 、 Pre script 、 Post script 、 Advanced settings and other functions .
Click the send button to receive the request , Display the interface data in the return result section . Show the time analysis function in the return results section , The entire network request process from interface request to interface return data can be analyzed .
apifox
Click Create interface , Show the document at the top 、 Modify the document 、 function 、 senior Mock And other four functions .
Click test tab You can see , contain :Params、Body、Headers、Cookies、 Front operation 、 Post operation and other functions .
Click the send button to request the interface , Back in Body Show the returned data in .
apipost
apipost Create interface page of , and eolink、apifox The layout is different , It feels more like postman Page layout for .mock Data needs to be switched at the bottom .
Click the send button to send the interface test , View the returned data in the real-time response section , Display the response header status code 、 Interface response time and other data .
Summary : stay http/https Protocol testing ,eolink、aifox、apipost The three tools can well support the utility of functions , The difference is the layout difference on the page and the user experience difference .
WebSocket Protocol testing
When we do interface testing , In addition to the usual http Interface , There is another kind that is more common , Namely WebSocket Interface .
WebSocket Protocol test function , stay eolink and apipost Support , But in apifox China does not support it. .
eolink
Select... On the edit page ws agreement , Input ip+ Port information .
Click the create link button , First set up WebSocket Connect .
If the connection is established successfully and the send button appears , This indicates that the connection was established successfully . Enter... In the parameter name and parameter value name:1234, Click Send button .
Click after sending , In the message content section, you can see {"name":"1234"}, explain WebSocket The protocol message was sent successfully .
apipost
On the create interface page , choice Raw Protocol and enter ip And port , Click the connect button , If the connection is successful , explain ws Successful connection .
In the send content area , Input name:1111, After clicking send message , You can see the message just sent in the message list .
Summary : eolink、apipost All support WebSocket Protocol testing , In the process of use, it can be carried out very well WebSocket test .
The timing test is at eolink The use of
The timing test function is very practical in work , For example, an online interface needs to determine whether the health service status code and the returned data are normal , In the past, it was used jenkins Or a third-party tool to implement the timing test function , It is hoped that the interface testing tool can support this function .
contrast eolink、aifox、apipost Three functions , Only eolink It has this function , Next, I will briefly introduce the timing test in eolink Use .
First , Select... At the top API Monitor Space , solve 7 * 24 Hourly timing monitoring , Prevent and reduce because API Business loss caused by abnormality .
Select an interface to be monitored , Select the monitoring frequency 10 Minutes at a time , The monitoring frequency can be adjusted according to business needs .
eolink Monitoring implemented , It is not monitored locally , Instead, use cloud monitoring solutions , Adopt monitoring nodes all over the country , The advantage of this is , Some interfaces may have problems in some area networks , Use monitoring nodes all over the country to monitor , Cover a wider range .
Click start monitoring , Will follow 10 Minute frequency monitoring , If something goes wrong, it will be displayed in the market , At the bottom, request the line chart of the interface according to the sequence .
Summary : stay eolink The function of using timing test in , On the whole, it is relatively simple and has rich functions . in addition , With the powerful chart function, the effectiveness of monitoring can be more intuitively reflected .
Interface document sharing
After we have written the interface document , It will provide development docking for other teams or cooperative companies . In the past, it has provided word Document or table view , If there are parameter changes , Unable to view the latest interface documents . We hope to provide each other with an online interface document that is updated in real time , It can improve the cooperation efficiency in work .
The interface document sharing function only has eolink and apipost Yes , We will use these two tools to compare .
eolink
choice API And click the share project button . Click to start sharing , Share address will be generated automatically , You can set visible page permissions and set passwords .
Copy the generated link address to the browser , You can look at 、 Execute interface use cases . If in eolink The interface parameter changes on the client , Refresh the access address of the browser .
apipost
Choose to share tab And create a new custom share , Then check the interface to be shared . Will generate an online browsing address , Put it in the browser to access .
But on the web , You can only view interface documents and cannot perform interface tests .
Summary : On interface document sharing ,eolink、aifox、apipost All three tools support the most basic function of viewing interface protocol , however eolink Can be in PC More complex operations are performed on the page and the experience is also very good .
Conclusion
That's all eolink、aifox、apipost Basic use and comparison of the three tools . In short , The three tools can meet the daily requirements for interface documents 、 Requirements for interface testing . But in practice , We will use several tools related to connection , It is hoped that eventually there will be a tool that can manage the entire life cycle of the interface , Reduce the cost of our switching tools , Currently in eolink It is the best tool for me to experience , Powerful support , The timing test mentioned in this article 、 Project monitoring 、 Ability to collaborate , If you think it's good , You can experience ~.
边栏推荐
- The latest official product of domestic brand oppo! This ppt report! It really refreshes my understanding of it
- Global exception handling
- Markdown advanced syntax, marktext compatible
- How to select the appropriate version of neo4j (version 2022)
- Zhixiang Jintai rushes to the scientific innovation board: the annual revenue is 39.19 million, the loss is more than 300million, and the proposed fund-raising is 4billion
- OpenJudge NOI 1.13 46:八进制到十进制
- Relative references must start with either “/“, “./“, or “../“.
- Creating and extending XFS file system based on LVM
- An article thoroughly learns to draw data flow diagrams
- EMC rectification tips
猜你喜欢

【一起上水硕系列】Day Two

国产品牌OPPO官方最新出品!这份PPT报告!真刷新我对它认知了

The latest official product of domestic brand oppo! This ppt report! It really refreshes my understanding of it

ATM机模拟系统

Right and left vertical time axis with serial number

Introduction to Apache ActiveMQ Artemis

Ioerror: no translation files found for default language zh cn Solutions for

C++ primer Chapter 2 summary of variables and basic types
![[4. high precision addition]](/img/8c/1d07597b5ff3a573b453ac1ca19a5c.png)
[4. high precision addition]

fatal error: png++/png.hpp: 没有那个文件或目录
随机推荐
Anaconda historical version download
EMC Radiation Emission rectification - principle Case Analysis
Using OKR for HR digital transformation
June25,2022 PMP Exam clearance manual-4
With the acceleration of industry wide digital transformation, what kind of storage will be more popular?
智翔金泰冲刺科创板:年营收3919万亏损超3亿 拟募资40亿
Wechat applet film and television comment exchange platform system graduation design completion (6) opening defense ppt
In the era of industrial Internet, there is no real center
Try catch of Bash
Comprehensive interpretation by enterprise reviewers: enterprise growth of [State Grid] China Power Finance Co., Ltd
Brief analysis of application source code of neo4j intelligent supply chain
Graphconnect 2022 at a glance
Unicode decodeerror appears: 'ASCII' codec can't decode byte 0xe9 in position 0: ordinal not in range solution
Implementation differences between import and require in browser and node environments
最热门海量的阿里云盘资源分享
Fabric. JS iText set italics manually
【4. 高精度加法】
Select for i/0 multiplexing
Flash back when GoLand starts
Microblog closes publishing multiple part-time fraud information illegal accounts: how to crack down on data fraud