route-tester

Automate testing of authenticated API routes using cookie-based JWT authentication.

Updated Nov 14, 2025
One-click install
npx skills add https://github.com/Donaldshen27/xtrend-vanilla --skill route-tester-donaldshen27
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: route-tester
Source: https://github.com/Donaldshen27/xtrend-vanilla/tree/main/.claude/skills/route-tester
Command: npx skills add https://github.com/Donaldshen27/xtrend-vanilla --skill route-tester-donaldshen27

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Streamlined verification of protected API endpoints by automatically handling cookie-based JWT authentication, reducing manual login steps during development and QA.

Core Features & Use Cases

  • Automated authenticated route testing that signs cookies and executes requests against secured endpoints.
  • Supports common testing patterns (test-auth-route.js) and optional mock authentication for development.
  • Useful for validating GET/POST/PUT/DELETE routes, as well as multi-step workflows across services.

Quick Start

Run the test-auth-route.js script against a protected endpoint to automatically authenticate, execute the request, and display the resulting curl command.

Frequently Asked Questions about route-tester

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test protected API routes with cookie-based JWT authentication?

To test protected API routes with cookie-based JWT authentication, you run an automated script that signs cookies and executes requests against secured endpoints to verify access control and route behavior.

Can I use mock authentication for development testing of secured Node.js endpoints?

Yes, you can use optional mock authentication for development testing of secured Node.js endpoints, allowing you to validate GET, POST, PUT, and DELETE routes without requiring manual login steps.

Does this API testing approach support Keycloak integration for cookie-based auth?

Yes, this API testing approach supports Keycloak integration for cookie-based auth, satisfying requirements for handling cookie-based JWTs within your QA, developer testing, and CI workflows.

What is the best way to automate authenticated route testing in CI workflows?

The best way to automate authenticated route testing in CI workflows is using a script that automatically handles cookie-based JWT authentication, reducing manual login steps during development and QA validation.

How do I validate multi-step workflows across services with cookie-based auth?

You validate multi-step workflows across services with cookie-based auth by executing automated authenticated route testing that signs cookies and sequentially verifies access control across multiple secured endpoints.