<?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: Kanishk Gupta</title>
    <description>The latest articles on DEV Community by Kanishk Gupta (@kanishk_gupta_bd1cf3858f4).</description>
    <link>https://dev.to/kanishk_gupta_bd1cf3858f4</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%2F3301337%2F0352171b-0ff1-46b2-9803-4b33f6a7c2a5.jpg</url>
      <title>DEV Community: Kanishk Gupta</title>
      <link>https://dev.to/kanishk_gupta_bd1cf3858f4</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kanishk_gupta_bd1cf3858f4"/>
    <language>en</language>
    <item>
      <title>[Boost]</title>
      <dc:creator>Kanishk Gupta</dc:creator>
      <pubDate>Fri, 27 Jun 2025 19:59:25 +0000</pubDate>
      <link>https://dev.to/kanishk_gupta_bd1cf3858f4/-3n97</link>
      <guid>https://dev.to/kanishk_gupta_bd1cf3858f4/-3n97</guid>
      <description>&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/kanishk_gupta_bd1cf3858f4/from-manual-grind-to-ai-power-my-journey-with-keploy-api-testing-1ign" class="crayons-story__hidden-navigation-link"&gt;From Manual Grind to AI Power: My Journey with Keploy API Testing&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/kanishk_gupta_bd1cf3858f4" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3301337%2F0352171b-0ff1-46b2-9803-4b33f6a7c2a5.jpg" alt="kanishk_gupta_bd1cf3858f4 profile" class="crayons-avatar__image"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/kanishk_gupta_bd1cf3858f4" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Kanishk Gupta
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Kanishk Gupta
                
              
              &lt;div id="story-author-preview-content-2631570" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/kanishk_gupta_bd1cf3858f4" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3301337%2F0352171b-0ff1-46b2-9803-4b33f6a7c2a5.jpg" class="crayons-avatar__image" alt=""&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Kanishk Gupta&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/kanishk_gupta_bd1cf3858f4/from-manual-grind-to-ai-power-my-journey-with-keploy-api-testing-1ign" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Jun 27 '25&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/kanishk_gupta_bd1cf3858f4/from-manual-grind-to-ai-power-my-journey-with-keploy-api-testing-1ign" id="article-link-2631570"&gt;
          From Manual Grind to AI Power: My Journey with Keploy API Testing
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/webdev"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;webdev&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/backend"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;backend&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/testing"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;testing&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/keploy"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;keploy&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
            &lt;a href="https://dev.to/kanishk_gupta_bd1cf3858f4/from-manual-grind-to-ai-power-my-journey-with-keploy-api-testing-1ign#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              &lt;span class="hidden s:inline"&gt;Add Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            5 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;


</description>
      <category>webdev</category>
      <category>backend</category>
      <category>testing</category>
      <category>keploy</category>
    </item>
    <item>
      <title>From Manual Grind to AI Power: My Journey with Keploy API Testing</title>
      <dc:creator>Kanishk Gupta</dc:creator>
      <pubDate>Fri, 27 Jun 2025 19:59:08 +0000</pubDate>
      <link>https://dev.to/kanishk_gupta_bd1cf3858f4/from-manual-grind-to-ai-power-my-journey-with-keploy-api-testing-1ign</link>
      <guid>https://dev.to/kanishk_gupta_bd1cf3858f4/from-manual-grind-to-ai-power-my-journey-with-keploy-api-testing-1ign</guid>
      <description>&lt;h2&gt;
  
  
  The Beginning of My Testing Journey
&lt;/h2&gt;

&lt;p&gt;When I first started building my Video Games API project, testing was a necessary evil. I'd spend hours crafting test cases, mocking database calls, setting up test environments, and debugging flaky tests. Like most developers, I knew testing was crucial, but it was also time-consuming and sometimes tedious.&lt;/p&gt;

&lt;p&gt;My Video Games API project had grown to include dozens of endpoints - everything from basic CRUD operations to specialized endpoints for retrieving game screenshots, system requirements, and DLC information. Writing comprehensive tests for each endpoint, each edge case, and each potential failure mode was becoming overwhelming.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Manual Testing Pain Points
&lt;/h2&gt;

&lt;p&gt;Let me walk you through what my typical testing workflow looked like:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Write a new API endpoint in my Express router&lt;/li&gt;
&lt;li&gt;Create a test file with Jest&lt;/li&gt;
&lt;li&gt;Set up mock data and database connections&lt;/li&gt;
&lt;li&gt;Write tests for successful cases&lt;/li&gt;
&lt;li&gt;Write more tests for failure cases&lt;/li&gt;
&lt;li&gt;Write even more tests for edge cases&lt;/li&gt;
&lt;li&gt;Run the tests, fix bugs, repeat&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;For each endpoint, this could take hours. And when requirements changed? Rinse and repeat. My &lt;code&gt;tests&lt;/code&gt; directory was growing faster than my actual codebase!&lt;/p&gt;

&lt;h2&gt;
  
  
  Enter Keploy: Testing with AI
&lt;/h2&gt;

&lt;p&gt;Everything changed when I discovered Keploy. At first, I was skeptical - could an AI-driven tool really understand the complexity of my API and generate meaningful tests? The answer was a resounding yes.&lt;/p&gt;

&lt;p&gt;With Keploy, my workflow transformed:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Write a new API endpoint&lt;/li&gt;
&lt;li&gt;Make a few manual API calls to test basic functionality&lt;/li&gt;
&lt;li&gt;Let Keploy observe the traffic and automatically generate test cases&lt;/li&gt;
&lt;li&gt;Review the generated tests and make minor adjustments if needed&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;What used to take hours now took minutes. The first time I saw my test coverage jump from patchy to comprehensive in a single afternoon, I was genuinely amazed.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Challenges: Not All Smooth Sailing
&lt;/h2&gt;

&lt;p&gt;While the end results were amazing, I want to be honest about the challenges I faced. My journey with Keploy wasn't without its frustrations:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;CLI Issues with Request Logging&lt;/strong&gt;: One of the biggest headaches was getting the Keploy CLI to properly log API requests. Despite sending numerous requests through both WSL and PowerShell, the CLI wasn't capturing the traffic as expected. This was particularly frustrating because, without capturing the requests, Keploy couldn't generate test cases.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F201g6tvho1oqjdpg4aua.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F201g6tvho1oqjdpg4aua.png" alt="Image description" width="800" height="435"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;VS Code Extension Problems&lt;/strong&gt;: I also tried the VS Code extension for Keploy, hoping it would simplify the process. Unfortunately, it had issues with recording and saving test reports. The extension would sometimes fail to record API calls or wouldn't save the test reports properly, which meant starting over multiple times.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Documentation Gaps&lt;/strong&gt;: While the documentation was generally good, there were some gaps when it came to troubleshooting these specific issues. I spent at least three hours going around in circles trying different commands and configurations.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The solution finally came when I abandoned the local CLI approach and went directly to the Keploy website (&lt;a href="https://keploy.io/" rel="noopener noreferrer"&gt;https://keploy.io/&lt;/a&gt;). Using their web interface to generate and run test cases proved much more reliable and intuitive than the CLI or VS Code extension approaches.&lt;/p&gt;

&lt;h2&gt;
  
  
  Integrating Keploy into My Project
&lt;/h2&gt;

&lt;p&gt;After overcoming these initial hurdles, getting Keploy integrated into my CI/CD workflow was surprisingly straightforward. I added it to my GitHub Actions workflow with just a few lines:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Run Keploy Test Suite&lt;/span&gt;
  &lt;span class="na"&gt;run&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;|&lt;/span&gt;
    &lt;span class="s"&gt;# Start your application in the background&lt;/span&gt;
    &lt;span class="s"&gt;npm start &amp;amp;&lt;/span&gt;
    &lt;span class="s"&gt;# Wait for application to start&lt;/span&gt;
    &lt;span class="s"&gt;sleep 10&lt;/span&gt;
    &lt;span class="s"&gt;# Run Keploy tests&lt;/span&gt;
    &lt;span class="s"&gt;export KEPLOY_API_KEY=${{ secrets.KEPLOY_API_KEY }}&lt;/span&gt;
    &lt;span class="s"&gt;keploy test-suite --app=94cad786-1403-4d02-8860-f1c334ada9ee --base-path http://localhost:5000/api/games --cloud&lt;/span&gt;
    &lt;span class="s"&gt;# Kill the background process&lt;/span&gt;
    &lt;span class="s"&gt;kill $!&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Once properly configured, the magic happened. Keploy didn't just test the happy paths - it found edge cases I hadn't even considered. It validated response structures against my OpenAPI schema and ensured consistent behavior across different API calls.&lt;/p&gt;

&lt;h2&gt;
  
  
  Real Results: From 0 to 100% in Minutes
&lt;/h2&gt;

&lt;p&gt;The results were immediate and impressive. Before Keploy, my test coverage hovered around 70% - respectable, but with clear gaps. After implementing Keploy, my coverage shot up to over 95% within a day.&lt;/p&gt;

&lt;p&gt;More importantly, the quality of testing improved. Keploy caught subtle issues that my manual tests had missed:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Inconsistent error response formats&lt;/li&gt;
&lt;li&gt;Edge cases with pagination parameters&lt;/li&gt;
&lt;li&gt;Potential race conditions in concurrent requests&lt;/li&gt;
&lt;li&gt;Schema validation issues I hadn't anticipated&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The &lt;a href="https://app.keploy.io/api-testing/tr/bac4b4b9-8b4c-4a1d-8596-eca6a3ff4274?suiteId=4120e72e-5dae-4108-9661-69a0b3b0f806" rel="noopener noreferrer"&gt;test report&lt;/a&gt; showed dozens of passing tests that I never had to write manually.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj38b5l0vhpufr1vk5l6w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj38b5l0vhpufr1vk5l6w.png" alt="Image description" width="800" height="362"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Beyond Coverage: Better Development Experience
&lt;/h2&gt;

&lt;p&gt;The benefits extended far beyond just test coverage percentages. With Keploy handling the testing burden, I could:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Focus on features instead of tests&lt;/strong&gt;: I spent more time building new endpoints and less time writing test cases.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ship with confidence&lt;/strong&gt;: Every PR now had comprehensive test coverage automatically.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Catch regressions early&lt;/strong&gt;: If I accidentally broke an existing endpoint, Keploy would catch it immediately.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Better document my API&lt;/strong&gt;: The tests themselves became a form of living documentation for how my API behaves.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  The Developer Experience Transformation
&lt;/h2&gt;

&lt;p&gt;The most meaningful change wasn't technical - it was psychological. Testing went from being a chore I'd sometimes postpone to an effortless part of my workflow.&lt;/p&gt;

&lt;p&gt;Before Keploy, I'd often think: "I should write tests for this, but I'll do it later..." (and "later" sometimes never came).&lt;/p&gt;

&lt;p&gt;After Keploy: "Let me run the API and let Keploy generate tests while I work on the next feature."&lt;/p&gt;

&lt;h2&gt;
  
  
  Looking Forward: The Future of API Testing
&lt;/h2&gt;

&lt;p&gt;This experience has fundamentally changed how I think about testing. I'm excited about several aspects of this AI-driven testing approach:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Testing becomes proactive, not reactive&lt;/strong&gt;: Tests are generated as you build, not as an afterthought.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tests evolve with your API&lt;/strong&gt;: As your API changes, your tests automatically adapt.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Focus shifts to quality, not quantity&lt;/strong&gt;: Instead of worrying about writing enough tests, you can focus on making your API better.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Conclusion: A New Testing Paradigm
&lt;/h2&gt;

&lt;p&gt;If you're still writing all your API tests manually in 2025, it's time to reconsider your approach. Tools like Keploy represent a fundamental shift in how we think about testing - from a manual burden to an automated, AI-driven process that improves both code quality and developer happiness.&lt;/p&gt;

&lt;p&gt;Despite the initial setup challenges, the payoff was absolutely worth it. My advice to anyone starting with Keploy would be to go straight to their web interface rather than struggling with the CLI or extension if you encounter similar issues. The three hours I spent troubleshooting ended up saving me days of manual test writing.&lt;/p&gt;

&lt;p&gt;My Video Games API project is better for it, and my sanity as a developer is intact. That's a win-win in my book.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Want to see this in action? Check out my &lt;a href="https://github.com/Kanishk1420/Game-library-service" rel="noopener noreferrer"&gt;Video Games API repository&lt;/a&gt; and see how I've implemented Keploy alongside traditional Jest tests. The README includes comprehensive documentation of how everything fits together.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Have you tried AI-driven testing tools? I'd love to hear about your experiences in the comments!&lt;/em&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>backend</category>
      <category>testing</category>
      <category>keploy</category>
    </item>
  </channel>
</rss>
