Automating Real-Time API Tests with Keploy — A Hands-On Experience with Weather & Zomato API



This content originally appeared on DEV Community and was authored by Prakhar Singh

Testing APIs is a critical part of modern software development, but writing and maintaining API tests manually can be tedious and error-prone. Recently, I discovered Keploy, a powerful tool that captures your browser’s API calls in real-time and automatically generates test cases — making API testing seamless and efficient.

In this project, I used the Keploy Chrome Extension to record API requests while interacting with popular websites like Weather and Zomato. I then generated automated test scenarios and exported them to visualize on Keploy Cloud. This approach helped me:

Generate real-world API tests instantly without writing any test scripts

Reduce manual effort in documenting APIs

Easily integrate tests into CI/CD pipelines for continuous validation

Tech Stack & Tools Used
Keploy Extension for real-time API capturing

Node.js & Express for backend API development

MongoDB as the database

Postman (optional, for manual API testing)

How I Did It:
Installed the Keploy Chrome Extension

Browsed through Weather and Zomato websites to trigger their API calls

Started recording API traffic and stopped it after sufficient data was captured

Generated automated test cases from the recorded API calls

Exported tests and visualized them on Keploy’s cloud platform

This hands-on experience showed me how automation tools like Keploy can drastically improve API testing workflows by making them faster and more reliable.

Special Thanks
A huge shoutout to Amaan Bhati and Achanandhi for their incredible help in completing this project and the related assignments on time. Their support and collaboration were invaluable throughout this journey.

Why You Should Try Keploy
If you’re a developer, tester, or DevOps engineer looking to streamline API testing without wasting time on manual scripting, I highly recommend trying Keploy. The extension is super easy to use, and the ability to generate test cases automatically from real user interactions is a total game-changer.

🔗 Project GitHub Repository: https://github.com/prakharrrrrrsingh/Vehicle-flowapi/tree/main

Image description
Image description
Image description


This content originally appeared on DEV Community and was authored by Prakhar Singh