Skip to main content

Featured

How to Visualize your JSON 🕵🏼?

A simple way to view and segregate the complex JSON Hello Peeps, Welcome back to another blog 😉. I hope everything is going well for you. Many people prefer the JSON format for APIs, databases, and other applications for a variety of reasons. Some JSON requests or responses are simple and only contain a few objects. On numerous occasions, you may be required to handle a complex response. I wrote a blog about parsing complex responses before using https://jsonpathfinder.com/ In most cases, however, you will need to further investigate your JSON payload or responses for various reasons and analytical purposes. Are you a visual learner or a fan of mind maps? Then you will undoubtedly fall in love with this tool ❤️ JSON Crack I recently came across this tool and found it’s worth sharing with the community 👓 Once you land on the home page, click “GO TO EDITOR” Now you will see a sample JSON beatified and visualized. To visualize it, clear the left side pane and paste your JSON. For in...

Importing Swagger files into Postman

 

Hello Peeps,

How are you doing?

I am back with a simple blog post this time. When I was running my internal Postman workshop, one of the attendees had a question if there’s an option to migrate from Swagger to Postman. She mentioned that they are using Swagger to hit the endpoints of the API. Seems like they are doing some manual work. Of course you can convert the API spec and JSON into the Postman collections. So, today I will explain in simple steps on how to do it.

Step 1:

Open Swagger and copy the JSON link of your endpoints.

Step 2:

Now launch Postman and login first. Now you need to create an workspace which is the basic step to import our Swagger endpoints.

Fill in the basic details, and create your workspace.

Step 3:

Click “Import” in the top left corner. And select the “Link” option under that. Paste the JSON link from Swagger.

Step 4:

Click “Continue” which lands up in a new page:

If you continue as “Documentation”,

Now you can see both the Collection and API.

Now you can start working with the API and the collection associated to it.

You will be able to see the variable values and also the examples.

If you click on the document icon in the right pane,

By clicking the bottom hyper link, you can view the complete documentation.

Tada, it’s really cool right?

And you get everything you want in few minutes.

When your developer or business provides you the Swagger endpoints you can easily migrate them into Postman and start writing assertions to it.

I hope the steps are simple and you can reiterate it. Wishing you the best!

Happie API Testing!!

See you soon in another post! Please drop me a feedback if you have something in your mind :-)

Comments