Authenticated Route Tester

•
1
•

Automates the testing and validation of authenticated API routes using cookie-based JWT authentication and mock authentication patterns.

The Route Tester skill streamlines the process of verifying API endpoints within projects using the AIWF framework, specifically handling the complexities of cookie-based JWT authentication via Keycloak. It allows developers and AI agents to programmatically generate signed tokens, execute authenticated requests across GET, POST, PUT, and DELETE methods, and validate service responses across multiple microservices. By providing standardized patterns for script-based testing and development-only mock authentication, it ensures that security layers are correctly implemented without slowing down the development cycle.

Key Features

011 GitHub stars
02Standardized service port mapping and route prefix discovery for microservices
03Integrated database verification patterns to confirm the side effects of API calls
04Automated cookie-based JWT token generation and signing via Keycloak integration
05Development-only mock authentication patterns for bypassing Keycloak in local environments
06Support for complex HTTP operations including POST/PUT with JSON payloads and file uploads

Use Cases

01End-to-end testing of multi-service workflows such as form submissions and project approvals
02Validating new API endpoints and route functionality after architectural changes
03Debugging 401 Unauthorized or 403 Forbidden errors in local and staging environments