DEV Community

Amidat Sule
Amidat Sule

Posted on

Stage 3 of the HNGi13 QA Track: API Automation

Stage 3 focused on increasing testing skills through comprehensive API testing on the Gradific platform. I explored four main resources: Auth, Users, Workspace, and Workspace Members, executing various requests across positive, negative, and edge case scenarios.

Using Postman and Newman CLI, I ran structured tests that validated core functionalities such as registration, login, password resets, workspace creation, member tracking, and role updates. Along the way, I encountered several issues, including unexpected status codes, delayed response times, inconsistent handling of invalid or missing inputs, and struggles with Newman report generation. Initially, only CLI outputs were generated, and I had to troubleshoot to export HTML and JSON reports correctly. I also faced challenges with environment variables, particularly with the id variable, which was sometimes not read correctly, causing endpoints to fail or return 404 errors. These challenges highlighted the importance of robust input validation, clear error messaging, and proper API setup.

Key Learnings

  • Proper setup of environment variables and authorization tokens is critical for smooth API testing.
  • Edge case testing reveals gaps that are often missed in standard flows.
  • Configuring Newman correctly is essential to generate usable reports for review and documentation.

API testing in Stage 3 reinforced that beyond just sending requests, it’s about understanding the communication between systems, predicting potential failures, and ensuring resilience of backend logic.

QA #SoftwareTesting #Postman #Newman #APITesting #HNGi13 #HNGInternship

Top comments (0)