当前位置:网站首页>Surpassing postman, the new generation of domestic debugging tool apifox is elegant enough to use
Surpassing postman, the new generation of domestic debugging tool apifox is elegant enough to use
2022-07-07 04:08:00 【nezha】

Catalog
One 、Apifox Introduce
Apifox yes API file 、API debugging 、API Mock、API Automated testing integrated collaboration platform , location Postman + Swagger + Mock + JMeter. Through a system 、 A piece of data , Solve the problem of data synchronization between multiple systems . Just define API file ,API debugging 、API data Mock、API Automated testing can be used directly , There is no need to redefine ;API Documentation and API Development and debugging use the same tool ,API After the commissioning, it can be guaranteed and API The document definition is exactly the same . Efficient 、 In time 、 accuracy !
1、Apifox location
Apifox = Postman + Swagger + Mock + JMeter
Apifox yes API file 、API debugging 、API Mock、API Automated testing integrated collaboration platform .
Through a system 、 A piece of data , Solve the problem of data synchronization between multiple systems . Just define the interface document , Interface debugging 、 data Mock、 Interface testing can be used directly , There is no need to redefine ; Interface documentation and interface development debugging use the same tool , After the interface debugging is completed, it can ensure that it is completely consistent with the interface document definition . Efficient 、 In time 、 accuracy !
2、Apifox function
- Interface design :
ApifoxInterface documentation followsOpenApi 3.0 ( primary Swagger)、JSON SchemaAt the same time , Provides a very easy to use visual document management function , Zero learning cost , Very efficient . And support online sharing of interface documents . - Data model : Reusable data structure , Define the interface return data structure and request parameter data structure ( only
JSONandXMLPattern ) You can directly reference . Support model direct nested reference , directJSON/XMLSmart import , SupportoneOf、allOfAnd other advanced combination modes . - Interface debugging :
PostmanSome functions , For example, environment variables 、 In front of / Post script 、Cookie/SessionGlobal Shared And so on ,ApifoxThere are , And ratioPostmanMore efficient and easy to use . After the interface runs, click the save as use case button , Interface use cases can be generated , Interface use cases can be run directly later , No more parameters need to be entered , Very convenient . Custom script 100% compatiblePostmangrammar , And support running javascript、java、python、php、js、BeanShell、go、shell、ruby、lua And other language codes . - Interface use cases : Usually, an interface has multiple use cases , For example, the parameters are correct, and the use case 、 Parameter error use case 、 Data is empty use case 、 Different data state use cases, etc . The correctness of data will be automatically verified when running the interface case , Using interface use cases to debug interfaces is very efficient .
- Interface data
Mock: built-inMock.jsRules engine , Very convenientmockAll kinds of data , And you can define the data structure and writemockThe rules . Support adding “ expect ”, According to the request parameters, differentmockdata . most important of allApifoxZero configuration that will doMockVery human data , The details are introduced later in this paper . - Database operation : Support reading database data , Used as an interface request parameter . Support reading database data , Used to verify ( Assertion ) Whether the interface request is successful .
- Interface automation testing : Provide interface set testing , You can choose the interface ( Or interface use cases ) Quickly create test sets . At present, more functions of interface automation test are still under development , Coming soon ! The goal is :
JMeterSome functions are basically , And use it better . - Quick request : similar
PostmanInterface debugging mode , The main purpose is to temporarily debug some interfaces that do not need to be documented , You can quickly debug without defining the interface in advance . - Code generation : Define according to the interface and data model , The system automatically generates the interface request code 、 Front end business code and back-end business code .
- Teamwork :
ApifoxBorn for teamwork , Interface cloud real-time synchronous update , A mature team / project / Member rights management , Meet the needs of various enterprises .
Two 、Apifox It's not just about getting through the data
If you think Apifox We just got the data through , To improve the efficiency of the R & D team , It would be wrong .Apifox And a lot of innovation , To improve the efficiency of developers .
Support export OpenApi (Swagger)、Markdown、Html And so on , Because you can export OpenApi Format data , So you can use OpenApi (Swagger) Rich ecological tools to complete a variety of interface related things .
Support import OpenApi(Swagger)、Postman、apiDoc、HAR、RAML、RAP2、YApi、Eolinker、NEI、DOClever、ApiPost 、Apizza、ShowDoc、API Blueprint、I/O Docs、WADL、Google Discovery And so on , Facilitate the migration of old projects .
Support timed automatic import OpenApi (Swagger)、apiDoc、Apifox Format data .
Here is a detailed introduction Apifox Data import .
3、 ... and 、 Manual import
open Project settings panel , Click on Manual import , You can choose file import or URL Import .

To import Apifox Format as an example , Import options include : Interface 、 Data model 、 Environmental Science 、 The test case 、 test suite .
- Import
OpenAPI/SwaggerFormat contains only Interface 、 Data model 、 Environmental Science ; - Import
PostmanThe format only contains interfaces ;

Four 、 Manual import - Advanced settings
1、 Interface coverage mode
- Same as
URLCover : When two filesURL、methodPhase at the same time , The new file will overwrite the old file - Same as
URLAnd the same group can cover : When two filesURL、methodPhase at the same time , And under the same group , The new file will overwrite the old file - Same as
URLDo not import : When two filesURL、methodPhase at the same time , New files will not be imported - Same as
URLKeep both : When two filesURL、methodPhase at the same time , The new file will be imported , Old files will not be deleted
2、 file (markdown file 、 Data model 、 The test case 、 Interface use cases ) Overlay mode
- Cover with the same name : When two file names are the same , The new file will overwrite the old file
- Only with the same name and group can it be overwritten : When the names of two files are the same , And under the same group , The new file will overwrite the old file
- Do not import with the same name : When two file names are the same , New files will not be imported
- Keep both when you have the same name : When two file names are the same , The new file will be imported , Old files will not be deleted
3、 Import to group
It supports importing files into specific groups .
4、 Import interface use cases
Turn on the switch , The interface use cases under the selected interface are all selected by default , You can also select the corresponding interface use case in the import preview .
- When importing non
ApifoxFormat file , When the interface document is covered , With the same name Interface use cases Will not import , Different names of Interface use cases Will the new . - When importing
ApifoxFormat file , When the interface document is covered , With the same name Interface use cases Will be covered , Different names of Interface use cases Will the new .

5、 ... and 、 Automatic import
Open the project settings panel , Click auto import , Multiple data sources can be set , Regularly synchronize to specific groups .
Only the role is administrator , And when you open the client , According to the set import frequency Automatic import , Other roles will not trigger automatic import .


6、 ... and 、 Import different data sources
1、 Import OpenAPI (Swagger) data
Support import OpenAPI 3、Swagger1、2、3 Data format json or yaml file .

2、 Import Postman data
Support Postman Collection v2.1 Format .
Data export method : find Postman Left list Collections, Move the mouse to the collection to be exported , Click on ···, choice Export And then choose Collection v2.1 (recommended) You can export , As shown in the figure below :

3、 Import ShowDoc Format data
Data export method : Click on ShowDoc The expand button on the right side of the document , Find the Export button , Select after clicking markdown Compressed package export .
Will be taken from ShowDoc Derived Markdown Compressed package decompression , You will see a file named prefix_info.json Of json file .
Import Apifox When , choice ShowDoc Format , Then import the extracted prefix_info.json File can .
7、 ... and 、Apifox Download address
It introduces Apifox So many practical functions , Using it is the real benefit !
The software is completely free , It can be called conscience , Interested and needy partners , You can go to the official website :www.apifox.cn Learn more
边栏推荐
- Redis源码学习(30),字典学习,dict.h
- opencv第三方库
- EasyUI export excel cannot download the method that the box pops up
- Antd comment recursive loop comment
- termux设置电脑连接手机。(敲打命令贼快),手机termux端口8022
- 使用 Dumpling 备份 TiDB 集群数据到 GCS
- cuda编程
- 二进制、八进制、十六进制
- Mongo shell, the most complete mongodb in history
- The most complete deployment of mongodb in history
猜你喜欢

Arduino droplet detection

数据的存储

Collection of idea gradle Lombok errors

科兴与香港大学临床试验中心研究团队和香港港怡医院合作,在中国香港启动奥密克戎特异性灭活疫苗加强剂临床试验

链表面试常见题

【knife-4j 快速搭建swagger】

见到小叶栀子

Top 50 hit industry in the first half of 2022

1.19.11.SQL客户端、启动SQL客户端、执行SQL查询、环境配置文件、重启策略、自定义函数(User-defined Functions)、构造函数参数
![[development software] tilipa Developer Software](/img/b8/de2a1ea6474bb3f9b44e7ea01c441b.png)
[development software] tilipa Developer Software
随机推荐
Mongo shell, the most complete mongodb in history
机器人(自动化)课程的持续学习-2022-
你心目中的数据分析 Top 1 选 Pandas 还是选 SQL?
Do you choose pandas or SQL for the top 1 of data analysis in your mind?
DAB-DETR: DYNAMIC ANCHOR BOXES ARE BETTER QUERIES FOR DETR翻译
tflite模型转换和量化
On file uploading of network security
维护万星开源向量数据库是什么体验
CUDA Programming
ERROR: Could not build wheels for pycocotools which use PEP 517 and cannot be installed directly
How to detect whether the MySQL code runs deadlock +binlog view
cuda编程
The JSON format of the international area code of the mobile phone number is obtained with PHP
Kotlin Android environment construction
2022 electrician cup a question high proportion wind power system energy storage operation and configuration analysis ideas
golang 压缩和解压zip文件
数据的存储
Antd comment recursive loop comment
使用 Dumpling 备份 TiDB 集群数据到 GCS
Operational amplifier application summary 1