DEV Community

SHIVANGI SARAF
SHIVANGI SARAF

Posted on

πŸ€– How I Went from Writing Tests Manually to AI-Driven API Testing with Keploy

As a student learning backend development, testing APIs manually was always time-consuming. This week, I tried Keploy, and it made the process so much easier!

βœ… Task 1: Testing APIs with AI + CI/CD
I created an OpenAPI schema for my backend project.

Used the Keploy CLI to record real API calls and auto-generate test cases β€” no need to write them manually!

Then I added the Keploy test command to GitHub Actions, so the tests run automatically on every push or pull request.

yaml-
run: |
export KEPLOY_API_KEY=${{ secrets.KEPLOY_API_KEY }} && \
keploy test-suite \
--app= \
--base-path= \
--cloud
βœ… The pipeline ran successfully, and I added a screenshot of the test report in my README.
GithubReadme

πŸ§ͺ Task 2: Using Keploy Chrome Extension
I used the Keploy Chrome Extension to test APIs on Amazon.

It automatically detected the API calls I made while browsing and converted them into test cases.

Super easy and very beginner-friendly β€” no coding required!

πŸ’¬ Final Thoughts
Using Keploy as a student helped me:

βœ… Save time on writing and maintaining tests

πŸ” Learn how real-world CI/CD workflows operate

πŸ’‘ Gain confidence in the quality of my code

Top comments (0)