Home  >  Article  >  Backend Development  >  DOClever is probably the best free and open source interface management platform I have ever used. It is worth recommending.

DOClever is probably the best free and open source interface management platform I have ever used. It is worth recommending.

ㄟ瘦客@.寶
ㄟ瘦客@.寶Original
2017-10-17 13:24:311347browse

Last year our company developed an e-commerce product, which is a b2b2c e-commerce platform that integrates the app and the web side. When we developed the web side, we also adopted the development model of separating the front and back ends. So the web side The app side generates a large number of interfaces, which require management and maintenance and document editing. The most troublesome thing is that because our business is relatively complex, there are many business scenarios that require joint debugging of several interfaces, but there is no suitable interface automation. Tools, so bugs appeared frequently, and front-end and back-end developers also had a lot of disputes about this. As the team leader, I decided to change this situation.

After referring to many similar products, we decided to use DOClever as our interface management platform. It not only integrates document writing, team collaboration, interface running, mock data and other functions, but also has two functions This allows our team to greatly improve work efficiency. One is the automated generation of interfaces, which can automatically generate document information based on interface data, and the other is automated testing of interfaces! Traditional interface testing often involves running the interfaces one by one, observing whether the returned data is displayed correctly, and then using the output parameters of this interface to manually fill in the input parameters of the next interface. Such a test process is not only cumbersome and inefficient, but also encounters If the business scenario is more complex, errors may easily occur. So we need an automated testing solution that can do the most efficient thing at the least cost.

DOClever Features
• You can edit and manage interface information, support five methods: get, post, put, delete, patch, support https and https protocols, and support query, body, json, raw, Rest, visual editing of parameters of formdata. At the same time, unlimited levels of visual editing can be performed on json. Moreover, additional functions such as status codes, code injection, markdown documents, etc. are available.

• Interface debugging and running, parameters can be encrypted, ranging from md5 to aes, real-time analysis and comparison of returned parameters and models are given, inconsistencies are given, and possible problems in the interface can be found. If you don't want to handwrite documents, then try the data generation function of the interface, which can generate document information with one click from the data run by the interface.

• Seamless integration of mocks, DOClever itself is a mock server. When you set the development status of the interface to Completed, the local mock will automatically request the real interface data, otherwise it will return the pre-defined mock data .

• Supports the import of postman, rap, and swagger to facilitate seamless migration, and also supports the export of html files to facilitate your offline browsing!

• The project version and interface snapshot functions work in parallel. You can define versions 1.0, 1.1, and 1.2 for a project, and you can freely switch and rollback between different versions. You are no longer afraid of losing interface information. At the same time, the interface There is also a snapshot function. When you are halfway through the development of the interface or the interface requirements change, you can view the previously edited interface information at any time.

• Automated testing function. Currently, most of the interface automated tests on similar platforms on the market are pseudo-automated. For a complex scenario, such as obtaining verification codes, logging in, obtaining order lists, and obtaining details of a specific order. There is nothing that can be done about such a context-sensitive series of operations. DOClever's original automated testing function only requires you to write a very small amount of javascript code to complete such a series of operations on the web page. At the same time, DOClever also provides the function of executing test cases in batches in the background at regular intervals and sending the results to the email addresses of team members. , you can obtain the running status of the interface in time.

• Team collaboration function, many similar platforms have paid functions, but DOClever feels that good things need to be shared. You can create a new team, bring in all the members of the team, and group them. , assign them relevant projects and permissions, publish team announcements, etc.

DOClever is open source and free, and supports intranet deployment. Many companies consider data security and are unwilling to put the interface on the public network. It doesn’t matter. DOClever provides a convenient and fast solution. You can put the platform If you put it on your own intranet, you don’t need to connect to the external network at all. At the same time, it has many functions. Even for product upgrades, DOClever also provides a very convenient upgrade solution!

Official website: http://doclever.cn
Github: https://github.com/sx1989827/DOClever
Code Cloud: https://git.oschina.net/sx1989827/SBDoc
Documentation: http://doclever.cn/help/help.html
QQ Group: 611940610

The above is the detailed content of DOClever is probably the best free and open source interface management platform I have ever used. It is worth recommending.. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn