When developing automation and using APIs, Postman is a very welcome tool. I use it to test out API calls and to make sure I format the calls correctly, before translating it to the code of whatever I'm working on.

Postman Collections are a library of API calls and all their available options for easy and quick access to every call you often use.


I've been using a half-baked Postman Collection for the API calls I've been doing to Network Insight, in order to develop PowervRNI and other things. It wasn't complete by a long shot.

Earlier this week, I discovered a NodeJS library called swagger2-postman-generator. This does exactly as its name suggests; it takes Swagger specifications and converts them to Postman formats. Considering vRNI publishes a Swagger specification with all the available API calls, I ran the spec through the generator library and the output was amazing!

Generated Postman Collection

It pretty much generated a fully useable Postman Collection and it had every API call that vRNI has available. It also includes the documentation that is included in the vRNI Swagger spec, so you don't have to switch between the documentation and Postman.

Get it!

To update the Postman Collection easily when a new vRNI API comes out, I created a script to make it easy for myself. After that, I thought I might as well generate the collection and put that in the same place; GitHub.

You can find the collection for vRealize Network Insight 4.0 here: https://github.com/smitmartijn/vrni-api-postman-collection

This repository also includes brief instructions on how to import and use the collection.

Let me know if you find this useful, or if you have any issues with the collection, thanks!

Share the wealth!