Authenticated Route Tester
Tests protected API endpoints using cookie-based JWT authentication and automated test scripts.
The Route Tester skill simplifies the validation of authenticated API endpoints within complex projects. It provides standardized patterns for handling cookie-based JWT authentication via Keycloak, enabling developers to test GET, POST, PUT, and DELETE operations seamlessly. By integrating specialized test scripts, mock authentication for development, and manual curl commands, it helps identify and resolve 401, 403, and 500 errors. The skill also includes mapping for various microservices and checklists for verifying database state changes after successful route execution.
Key Features
01Centralized service port mapping and route prefix configuration
02Automated JWT cookie generation and signing via test-auth-route.js
030 GitHub stars
04Integrated database verification steps for end-to-end validation
05Comprehensive patterns for workflow steps, form submissions, and file uploads
06Mock authentication support for rapid development and role-based testing
Use Cases
01Debugging complex authentication and authorization issues in protected routes
02Verifying API endpoint functionality after major code changes or migrations
03Testing multi-service workflows and data persistence across microservices