Recommend an open source alternative to Postman: Postwoman

Click on "Test Development Technology" above and select "Set as Star"

High-quality articles, delivered as soon as possible!

Recent recommendations:

Say goodbye to wild ways, this article will take you to learn: performance testing practice: testing + analysis + tuning!

Python 3+Django 3 combined with Vue.js framework to build front-end and back-end separation Web development platform actual combat

It takes about 6 minutes to read the text.

1 Introduction

As we all know, Postman is a very popular API interface debugging tool, providing Chrome extension version and independent APP, but many of its advanced functions need to be paid to use.

If you haven't even used Postman, you might as well try it out first.

Postman official website:

https://www.getpostman.com/

PS : Since Chrome stopped supporting Chrome applications at the beginning of 2018, your Postman plug-in may not work properly . It is recommended that you download its application directly for use.

Although Postman is an excellent interface debugging tool, when it comes to paying for advanced functions, some people can't sit still. They decide to build a wheel for everyone to use for free, so as to benefit people who are unwilling to pay.

And so, Postwoman was born!   It was written by a guy named Liyas Thomas. From the name, you can tell that it is for Postman. If you dare to charge, I dare to open source for free. (There are still many contributors involved)

2. Introduction to Postwoman

Simply put, Postwoman is a free, fast and beautiful alternative to Postman, designed to help developers create requests faster, saving valuable development time and increasing productivity. And Postwoman is an open source product with a beautiful interface and easier to use!

PS: The following two pictures are taken from Postwoman's official website.

The operation is basically the same as Postman. If you migrate from Postman, there is basically no learning cost.

GitHub project official website:

https://github.com/liyasthomas/postwoman

3. Related Features

Postwoman is written based on NodeJs, and its main features not only support mainstream Restful interface debugging, but also support GraphQL and WebSocket.

As an open source Postman alternative, the main features are as follows:

  • Lightweight and directly accessible online;

  • Simple, carefully crafted with a simple UI design;

  • Support GET, HEAD, POST, PUT, DELETE, OPTIONS, PATCH methods;

  • support verification;

  • In real-time, send a request to get a response.

In addition to these, you can customize the background, foreground and accent color combinations.

1. Custom options:

  • Select themes: Kinda Dark (default), Clearly White, Just Black and System themes

  • Choose an accent color: green (default), yellow, pink, red, purple, orange, cyan and blue

2 、 PWA :

It can be installed via PWA.

PS: The full name of PWA is Progressive Web App, which is a progressive WEB application.

characteristic:

  • Loaded concurrently with Service Workers

  • Offline support

  • Low RAM/Memory and CPU usage

  • Add to home screen (button in footer)

  • Desktop PWA support (button in footer)

3、WebSocket:

A full-duplex communication channel is established over a single TCP connection. send and receive data

4、GraphQL

GraphQL is the query language for APIs.

In addition to the above, there are other features that will not be introduced one by one, and readers will know after using it.

4. Custom development

Compared with its alternative to Postman, the author actually cares more about its implementation. Postwoman is a web project based on Vue and can be built into a PWA application. The following three local development and operation methods are provided.

Method 1: npm local build and run:

git clone https://github.com/liyasthomas/postwoman.git
npm install cypress --save-dev  (可选)
npm install
npm run dev

PS: The official website directly recommends `npm install`, but when the author tried to install `npm install` or `cnpm install`, the installation of the dependent `cypress` would fail. If the reader also has this problem, you can Install `cypress` separately first.

Method 2: docker-compose (docerk-compose needs to be installed locally):

git clone https://github.com/liyasthomas/postwoman.git
docker-compose up

Method 3: docker (need to install the docker environment locally):

#pull
docker pull liyasthomas/postwoman
#run
docker run -p 3000:3000 liyasthomas/postwoman:latest
#build
docker build -t postwoman:latest

Three ways, any one, after the local operation is successful, open the browser and visit `http://localhost:3000`. Take mode 1 as an example, run locally through `npm run dev`, as shown in the following figure.

After the local service is started, you can modify it according to your own custom development needs. If you are familiar with Vue, you can play freely. For example, here, the author modified the title of Postwoman.

5. Summary

From the introduction of this article, you may not be able to experience such a beautiful API client. If you think Postman is not easy to use or really want a good-looking interface, then Postwoman will be your best choice!

Hope this article helps you! For more dry goods articles, please follow us.

Finally, the public account "Test Development Technology" replied to Python in the background, and received free data analysis and development tutorials.

If you are interested in performance test practice, analysis, and tuning, you can click " Read the original text "!

Disclaimer: The pictures on the cover or the text are from the Internet. If there is any infringement, please contact to delete it.

END

All original articles

Published to this public account "Testing and Development Technology" for the first time

Long press the QR code/Wechat scan code Follow

After following, reply "me" to try

Recommended reading

Say goodbye to wild ways, this article will take you to learn: performance testing practice: testing + analysis + tuning!

Python 3+Django 3 combined with Vue.js framework to build front-end and back-end separation Web development platform actual combat

Detailed Guide to CI/CD Practice in DevOps R&D Mode

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326877581&siteId=291194637