A hands-on guide to building API-driven workflows in Postman. Or, how you can combine APIs from Slack, AWS, GitHub, Dropbox and the likes to get things done.

Image for post
Image for post
Photo by Barn Images on Unsplash

Good APIs encapsulate domain knowledge. You may use Twilio to embed multi-channel in-app communications, Stripe to process payments and AWS to host your applications. When you use an API, you let domain experts take care of the nitty-gritties while you get your work done. Much of our daily tasks today depend on calling multiple endpoints across different services in a single workflow.

In this article we will look at what involves APIOps and how you can do it with Postman. I will cover some of the lesser known features of Postman that will upgrade your APIOps game.

API-first Ops is for everyone

APIOps is a nice little term for performing tasks that involve APIs. It becomes significant in API-first organisations. DevOps teams need to spend more time and effort working with APIs to keep systems up and running. Testers need to work with API testing tools to ensure their APIs behave as expected. APIOps is not limited to engineering functions. It can span the entirety of an organisation — in sales, marketing, devrel, success, support. You name it. …

A strategy to ensure all of your APIs are tested, all the time.

Image for post
Image for post
If APIs were cupcakes, how would you test them continuously? You can eat them only once. Photo by Brooke Lark on Unsplash

Software composition is increasingly moving towards an API-driven world. If you follow what we write and talk about at Postman, you have probably come across this statement multiple times. We cannot emphasize this enough.

APIs are the building blocks of large software systems that are being built today. More and more companies are moving towards an API-first approach. Building systems as APIs is becoming a business decision, instead of only a technology decision. Ensuring stability, security, performance, and availability are high priorities in this scenario. These shifts have made API testing a first-class objective when building and shipping APIs.

At Postman, we have a unique view of this evolving landscape, thanks to our lovely community. We see API testing strategy becoming a necessary part of the API design lifecycle. Just as designing the interface for a service or product’s API is not an afterthought for an API-first organization like us, so is the need to design a resilient testing system for those APIs. My colleague, Joyce, and I have been talking about this topic since January of 2019 and it is high time that we actually write about it. …

Implementing consumer-driven contract testing is a great way to maintain growing microservices stacks. It frees teams from getting blocked on API discrepancies when done regularly. Here is how Postman can help you do it better.

Image for post
Image for post
Contract tests ensure sanity and uniformity of interactions between services.

API behavior is typically described in documentation pages which list available endpoints, request data structures and expected response data structures, along with sample query and responses. These documentation are then used by people building systems that consume those APIs.

But, documentation written separately do not shield the consumers of the APIs from changes in the API. API producers may need to change the response data structure or rename an endpoint altogether to keep up with business requirements.

The onus of incorporating these changes then falls on the consumers of those APIs who have to keep checking the documentation for any changes. This model does not scale well. …

Is that who we are?

Image for post
Image for post
“lit matchstick” by Yaoqi LAI on Unsplash

Do languages, religions and traditions separate us?
Or is it the mindset of hating the others?

Dislike of the unlike.
Polarization. Us against them.
Bread less valuable than cakes.
Economy burning up nature,
Not giving what it takes.

Are we not the real Daleks of this world?

API developers and testers often take the manual testing route when it comes to debugging and testing their services. What are the challenges that they face in automating their API test suite? How can they begin their journey towards automation?

In my previous article, I talked about practices that can be implemented to build sustainable processes for integration testing of APIs and microservices. I had mentioned transitioning from manual to automated testing as one of the items on the checklist in that article. That journey requires more of a transformation than a transition.

Image for post
Image for post
Goals — Short term: Automation. Longer term: More Automation. Idea courtesy Kunal Nagpal.

We have been talking to engineers about how they build and consume services, both internal and external to their organization. We talked to system engineers, QA engineers, test automation experts, backend developers and full-stack developers. …

How the concept of integration testing changes and evolves with the ever-increasing complexity of a services and API driven software development landscape and how you can deal with it — a high level introduction

If you are responsible for shipping software that are built using multiple components, you would want to ensure that all these pieces work as expected when a user is using them in real life. In any such distributed systems context, the complexities and challenges of how you would test your stack grow exponentially with the number of components your entire stack is built of.

Image for post
Image for post
Complexity of a microservices stack is multiple times higher than a monolith architecture.

There can be multiple databases, multiple services talking to each other, 3rd party APIs that your applications integrate with and so on. …

Image for post
Image for post
Photo by Gaurav K on Unsplash

Have you seen the fogs roll up
Spread among the mountains,
Glistening, sparkly, wispy,
On the way to Chamoli?

Do you know the life of a fog?
Oh, how stuffy and trapped it feels!
The claustrophobia of clustered mists
Hanging on Chamoli’s peaks.

Do you know how much I want to tower?
Oh, how I wanna cut off the sun!
How I would be more than a fleeting mist
And make Chamoli’s days go dark.

Oh, Chamoli!
You shall see a different me!
Oh, Chamoli!
I’m going to break free!

I envy the cars that
Crawl over the mountains
Rising higher and higher on the roads
(The mountains’ scars)
Twisting and turning, every bend a-rising,
Till they reach Chamoli’s coves. …

Image for post
Image for post
Photo by Matthieu Joannon on Unsplash

The world of rhyme makes no sense.
Time has itself stopped running.
It’s trotting up the hill. Slow. Calm.
Relaxed. Its gait upright charming.
It is time, for a slow descent into madness.
The world I have, it makes no sense.
Watch. Clap. Move on. Forget.
The Show is over. No Replays.
There were no rehearsals either.
Everyone an improvising actor on this stage,
Imposed to punch their next line,
Kick the dust off the red velvet of Life.

Of Earth. Rain. That smell. Of wet grass.
Of Earthen pots. The natural perfume.

Juice the Apple. Stop the shriek!
Hither us no money keep!
Shine the boot! Tie the tie!
Need be perfect for bigsee da-’i!
Ice frolics in rolling cream

And melts like a shallow team.

Image for post
Image for post
Photo by meriç tuna on Unsplash

Allow me this one last ode before I fade.
I can feel the trembling in the ground.
A storm has already uprooted some trees.
The warmth of this fireplace is the only thing
That I feel in this cold nether world.

Allow me to soak in all that is done and said,
Let me take one last stroll around.
Let me prepare while the world idles.
I have neither time nor luxury
To afford a shelter in this cold nether world.

But what ode shall you play
When the mind loses its way?

To Joy, I leave all of my mind’s glade.
(Salutes to the Maestro who crafted bliss.)
The Ode to Joy has been my lights,
My way out of dissociative miseries.
It brightens this cold nether world. …

Image for post
Image for post
Photo by Marcus Neto on Unsplash

The strange outcome of madness,
Is just as predictable as the path of a lightning.
You may see it as it descends.
But, until a while, you shall not hear it sing.

Moments pass.
All that remains to see is the darkness.
Silence engulfs us
Like the arousing battle cry of madness.

Did it strike you?
Did you vaporize?
Or did I?
I presume it had to be either way.
Nothing is here forever to stay.


Kaustav Das Modak

Looking for patterns in chaos.

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