<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: ANUSHKA VERMA</title>
    <description>The latest articles on DEV Community by ANUSHKA VERMA (@anushka_verma_b98452a8d53).</description>
    <link>https://dev.to/anushka_verma_b98452a8d53</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3299540%2Fb6dbf80e-b298-4c9d-993a-f74d1c4e6daf.png</url>
      <title>DEV Community: ANUSHKA VERMA</title>
      <link>https://dev.to/anushka_verma_b98452a8d53</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/anushka_verma_b98452a8d53"/>
    <language>en</language>
    <item>
      <title>AI-Driven API Testing with Keploy: My Experience on a Personal Expense Tracker</title>
      <dc:creator>ANUSHKA VERMA</dc:creator>
      <pubDate>Fri, 27 Jun 2025 08:01:36 +0000</pubDate>
      <link>https://dev.to/anushka_verma_b98452a8d53/ai-driven-api-testing-with-keploy-my-experience-on-a-personal-expense-tracker-15og</link>
      <guid>https://dev.to/anushka_verma_b98452a8d53/ai-driven-api-testing-with-keploy-my-experience-on-a-personal-expense-tracker-15og</guid>
      <description>&lt;p&gt;As part of a recent assignment, I explored Keploy, an AI-powered API testing tool, to automate and validate the APIs for my Flask-based Personal Expense Tracker project. In this blog, I’ll share my experience, the challenges I faced (especially on Windows!), and how I leveraged Keploy’s Chrome Extension to complete the task.&lt;/p&gt;

&lt;p&gt;Project Overview&lt;br&gt;
My project is a simple Personal Expense Tracker built with:&lt;/p&gt;

&lt;p&gt;Flask (Python) for the backend API&lt;br&gt;
MongoDB for data storage&lt;br&gt;
Docker for containerization&lt;br&gt;
The API supports full CRUD operations for expenses, and I documented it with an OpenAPI schema.&lt;/p&gt;

&lt;p&gt;Why Keploy?&lt;br&gt;
Keploy enables:&lt;/p&gt;

&lt;p&gt;Automatic test generation from real API traffic&lt;br&gt;
AI-powered assertions for API responses&lt;br&gt;
Integration with CI/CD pipelines&lt;br&gt;
Browser extension for easy API call recording&lt;br&gt;
Setting Up Keploy&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Keploy CLI (Blocked on Windows Docker)
I initially tried running Keploy CLI in Docker to record and replay API traffic. However, I hit a known limitation:&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Keploy CLI requires eBPF, which isn’t supported on Docker Desktop for Windows/Mac.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Keploy Chrome Extension (The Workaround!)
To overcome this, I used the Keploy Chrome Extension:&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Installed the extension in Chrome&lt;br&gt;
Recorded API calls as I used my app and two public APIs&lt;br&gt;
Generated tests via &lt;a href="https://app.keploy.io" rel="noopener noreferrer"&gt;https://app.keploy.io&lt;/a&gt;&lt;br&gt;
API Testing Process&lt;br&gt;
Started my Flask API locally.&lt;br&gt;
Used Postman to verify all endpoints worked.&lt;br&gt;
Used the Keploy Chrome Extension to record API calls:&lt;br&gt;
For my own API (localhost)&lt;br&gt;
For two public APIs: Reqres.in and JSONPlaceholder&lt;br&gt;
Generated tests and saved the cURL commands and responses.&lt;br&gt;
Took screenshots of the process and results.&lt;br&gt;
CI/CD Integration&lt;br&gt;
While Keploy CLI couldn’t run in my Windows Docker environment, I demonstrated my understanding by adding a sample GitHub Actions workflow to my repo.&lt;/p&gt;

&lt;p&gt;Note: Full integration is possible on Linux or WSL2.&lt;/p&gt;

&lt;p&gt;Key Learnings &amp;amp; Challenges&lt;br&gt;
Keploy CLI is not fully supported on Docker Desktop for Windows/Mac due to kernel limitations.&lt;br&gt;
The Chrome Extension is a great workaround for API test generation and works on any site.&lt;br&gt;
Test evidence (screenshots, cURL, reports) is critical for documenting your process.&lt;br&gt;
Screenshots&lt;br&gt;
Keploy Test Report&lt;br&gt;
Postman Test Results&lt;br&gt;
Keploy Chrome Extension Test 1&lt;br&gt;
Keploy Chrome Extension Test 2&lt;br&gt;
Conclusion&lt;br&gt;
Keploy made it easy to generate and validate API tests, even with platform limitations.&lt;br&gt;
If you’re on Windows/Mac, try the Chrome Extension for API recording and test generation!&lt;/p&gt;

&lt;p&gt;Links&lt;br&gt;
Project GitHub Repo&lt;br&gt;
Keploy Chrome Extension&lt;br&gt;
Keploy Docs&lt;br&gt;
Social&lt;br&gt;
I’ve shared my experience on LinkedIn/Twitter.&lt;br&gt;
Feel free to connect and share your own API testing stories!&lt;/p&gt;

&lt;p&gt;Thanks for reading!&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
