πŸš€ How to Use the Keploy Chrome Extension for API Testing: Step-by-Step Guide with Screenshots

Kumar PriyanshuKumar Priyanshu
3 min read

API testing can be tedious β€” but what if you could turn your normal web activity into ready-made test cases within minutes?

That’s exactly what the Keploy Chrome Extension helps you do.

In this guide, I’ll walk you through how to install, use, and generate tests with Keploy’s Chrome Extension, complete with screenshots and practical examples. By the end, you'll see how simple API testing can be with the help of AI.

πŸ›  What is the Keploy Chrome Extension?

The Keploy Chrome Extension helps developers and testers capture API calls made by a website while you interact with it. It listens to network activity in real-time, allowing you to:

βœ… Record API calls easily
βœ… Export API calls as cURL commands
βœ… Quickly generate test cases using Keploy Web App

No need to inspect the network tab manually or reverse engineer API requests β€” Keploy does the heavy lifting.

πŸ“¦ Step 1: Install the Keploy Chrome Extension

  1. Download the Extension
    Visit the official GitHub repository: https://github.com/keploy/extension
    Click on Code β†’ Download ZIP

    Image Placeholder: Screenshot of GitHub repo with 'Download ZIP' highlighted

  2. Extract the Files
    Unzip the downloaded folder to any convenient location.

🧩 Step 2: Load the Extension in Chrome

  1. Open chrome://extensions in your browser

  2. Enable Developer Mode (toggle on the top-right)

  3. Click Load unpacked

  4. Select the extracted Keploy extension folder

You should now see the Keploy extension active in your browser toolbar.

d

🎬 Step 3: Record API Calls

  1. Click the Keploy extension icon in the toolbar

  2. Press Start Recording

  3. Browse the website you want to test β€” interact with different pages, click buttons, fill forms, etc.

Keploy listens to all network calls in the background β€” including API requests made via XHR or Fetch.

πŸ›‘ Step 4: Stop Recording

Once you're done interacting with the website:

  1. Click the Keploy icon again

  2. Hit Stop Recording

Keploy will now display a summary of captured API calls.

πŸ§ͺ Step 5: Generate Tests

After stopping the recording, Keploy offers two key options:

βœ… Copy cURL Commands: Quickly export all captured API requests as ready-to-run cURL commands
βœ… Generate Tests: Redirects you to https://app.keploy.io where Keploy's AI auto-generates complete test cases based on your API activity

Using Keploy Web App

  1. You'll be redirected to https://app.keploy.io

  2. Sign in (or sign up) if you haven't already

  3. The platform automatically begins processing the recorded API calls

  4. Within seconds, your test cases are ready to review and download

🌐 Example Websites to Try

You can test Keploy on any website making API calls. Here are two I tested:

βœ”οΈ https://www.github.com β€” GitHub's API calls during login or repo browsing
βœ”οΈ https://www.reddit.com β€” Reddit's API activity when browsing posts

πŸ’‘ Why Use Keploy for API Testing?

Manual API testing often requires inspecting the network tab, guessing request formats, writing test scripts, and maintaining them over time.

With Keploy:

βœ… API calls are automatically captured
βœ… Tests are generated within minutes
βœ… You reduce human error
βœ… It seamlessly integrates into your CI/CD workflow

It bridges the gap between manual API testing and full test automation β€” saving hours of repetitive work.

✨ My Experience & Final Thoughts

I was surprised by how easy Keploy made the API testing process. Instead of manually writing cURL commands or Postman tests, I simply interacted with the website as a normal user β€” and Keploy turned those actions into ready-made, production-quality test cases.

What excites me most is the potential for:

  • Improving test coverage without extra effort

  • Reducing reliance on manual test maintenance

  • Quickly onboarding QA and dev teams to robust API testing

If you're looking to simplify your API testing workflow, I highly recommend giving the Keploy Chrome Extension a try.

πŸ”— Useful Links:

Happy Testing! πŸŽ‰

0
Subscribe to my newsletter

Read articles from Kumar Priyanshu directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Kumar Priyanshu
Kumar Priyanshu

I am a developer from India, and I am always on a lookout for new and exciting technology.