Postman for API Automation Testing Ⅰ

一、Introduction of Postman

What is Postman?

Postman - The Best API tool to develop and test (Manual/Automation) API/Webservices Tests with very minial code in quick and easy way.

Postman comes with powerful JavaScript editor which help us to perform various assertions inside the tool to vaildate Tests.

Postman offers various READY-MADE features of Framework like Variables, Enviroments, Workflows, Data Driven components and PM Object which helps to quickly Setup Automation lab for Testing.

As mention, Postman supports various types of Services like Restful API, Soup Web Services, GraphQL, etc.

Also Postman comes to powerful integration of Newman tool to run the Automated Tests from CLI which can alos be Intergrated with Jenkins for CI/CD Intergration.

二、Installation and Startup

Installation

It's much easy to install the Postman, you can download the App from Postman offical website and double click to install it, Postman support MacOS and Windows. You can also work directly from the web browser. But the only the app got the best exprience,

Startup

Start the Postman, you can work and create your apis and test them without creating an account, you can skip it. But It's strongly recommend to create an account and start working beacuse you can explore a lot of opportunities, all kind of collaboration, sharing you code, putting comments on you code, everything you can do when you officially signed into Postman account.

Follow the steps input you email address and username password. Once you created an account and back to the app, you can see the blow welocme page. image.png

So first of all, We need to create new workspace, the workspace just like a new project you create at IDEA, you can create lots of workspace and switched them whenever you want.

Just click the Workspaces button and click Create Workspace. image.png

扫描二维码关注公众号,回复: 14304620 查看本文章

Postman gives four types of workspaces. You can choose a type depends on you situation。 image.png

After that we can create a collection.

猜你喜欢

转载自juejin.im/post/7111722677898838024
今日推荐