Image for post
Image for post
Photo by Vincent Riszdorfer on Unsplash

Through this post we are going to explore one of the easiest ways to extend Postman functionalities by making your API testing easier and fun. The idea is running a basic Express server locally, that responds to Postman test scripts requests.

This idea allows you to:

  • Work around limitations, or missing features of Postman.
  • Avoid some repetitive tasks, thus saving time.
  • Have fun while testing APIs.

Some of the prerequisites to implement this, are :

  • Node.js
  • Some basic knowledge of JavaScript.

The setup

  1. Create a folder with any name you want. Navigate into it in the terminal, and run npm init, hit Enter each step of the way, to keep the default choices. A package.json

Image for post
Image for post
Remember: Sharing is caring

This is a basic example of uploading a newman HTML report to Azure Blob storage. It might help you if you are running your API tests programmatically and would like to share the report within your organisation.

I assume you already have:

  • An Azure account
  • Sufficient privileges in your organization to read/update an Azure Blob Storage
  • Basic knowledge of Postman and newman to run your API tests

Azure Credentials

When an application makes a request to Azure Storage, it must be authorized. To authorize a request, add your storage account credentials to the application as a connection string. …

Following my previous post about generating reports using Postman. Here I am again, writing about Postman and its amazing tips to help deliver working software more efficiently. Welcome to this step-by-step guide to demonstrate integration of Postman automated tests in a Microsoft Azure Pipeline using the Postman API to #MakeItSimple

Image for post
Image for post
Continuous Integration flow

The biggest advantage of using the Postman API is the automatic synchronization of the Collections edited in the Postman GUI with the Postman Cloud (which is completely free). This avoids using Source Code Management tools (Git, SVN, etc.) to host your collections. Nevertheless, this is not the only option. …

Postman is a tool for API development. Postman’s features simplify each step of building an API and testing it. It offers possibility to automate manual tests and integrate them into your CI/CD pipeline to ensure that any code changes won’t introduce regressions in Production.

Image for post
Image for post
Super Postman to the rescue!

Requests in Postman are organised in collections and folders. Postman contains a collection runner that is useful when you want to automate API testing. When you run a collection, you send all requests in your collection one after another.

It’s a powerful tool when developing automated tests, it helps visualize details of each iteration and test results. Still, it presents limitations such as the inability to share test results, or occasional crashes linked to memory issues. …



QA Engineer @ Younited Credit

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store