test-api

Automate testing Event Gateway API endpoints and MQTT command flow.

Updated Aug 6, 2025
One-click install
npx skills add https://github.com/EasyTek-Automation/EasyTek-Data --skill test-api-easytek-automation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-api
Source: https://github.com/EasyTek-Automation/EasyTek-Data/tree/main/.claude/skills/test-api
Command: npx skills add https://github.com/EasyTek-Automation/EasyTek-Data --skill test-api-easytek-automation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables rapid verification of the Event Gateway API endpoints and MQTT command flows to detect outages and misconfigurations before they impact users.

Core Features & Use Cases

  • Health Check: Validate that the Event Gateway API is up and reachable.
  • Broker Status: Verify MQTT broker connectivity and endpoint responsiveness.
  • Send Test Command: Publish a sample MQTT command to ensure messaging path works, and verify responses.

Quick Start

Launch the Event Gateway locally and run the provided test suite to verify health, broker status, and command publishing.

Frequently Asked Questions about test-api

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

FAQPage Schema
How do I test an Event Gateway API and MQTT command flow?

You can test an Event Gateway API and MQTT command flow by automating endpoint validation against /health, /, /api/command, and /api/broker/status to verify connectivity and message publishing.

What is the best way to verify MQTT broker connectivity through an API?

The best way to verify MQTT broker connectivity through an API is checking the /api/broker/status endpoint to ensure the broker is reachable and responsive within your local development or CI pipeline environment.

Do I need a running Event Gateway instance to test API health checks?

Yes, you need a running Event Gateway instance accessible at a configured URL, along with an available MQTT broker, to successfully test API health checks and command publishing across environments.

Can I automate MQTT command testing in a CI pipeline?

Yes, you can automate MQTT command testing in a CI pipeline by running a test suite that publishes sample commands to the /api/command endpoint and validates the messaging path and responses across environments.

Why does my Event Gateway health check fail during local development?

Your Event Gateway health check fails during local development if the gateway instance is not running or accessible at the configured URL, preventing the /health endpoint from responding correctly.