RSS DEV Community

Building Scalable API Test Automation with Postman + Newman — My Gradific API Testing Project

The author, a QA Engineer transitioning from customer support, successfully completed an automated API testing project for the Gradific Learning Platform. The project aimed to automate CRUD API testing, validate security and error responses, and enable dynamic test data generation. Key goals also included reusing variables for maintainability, generating CLI execution reports, and creating bug logs with documentation. The team tested APIs for Authentication, Workspaces, Tracks, and Assignments. Postman was used to build test collections, Faker.js for dynamic payloads, and Newman for command-line automation. HTML/JSON Newman reports served as execution documentation, and Google Sheets was used for bug reporting. Testing techniques encompassed positive and negative scenarios, CRUD operations, security, performance, data integrity, and script assertions. The final deliverables were an automated test collection, Newman reports, bug reports, execution logs, and professional documentation. The author highlighted key learnings, emphasizing the importance of validating API behavior against documentation, the significance of performance, the benefit of dynamic test data, and the scalability unlocked by automation.
favicon
dev.to
dev.to
Image for the article: Building Scalable API Test Automation with Postman + Newman — My Gradific API Testing Project
Create attached notes ...