İçeriğe geç
TakoAPI
Becerilere dön

ub2-api-health-checker

underbench2-gif tarafından

Health & Fitness
431İndirme sayıları clawskills.sh tarafından bildirilir
0Görüntülenmeler
0 beğeniBu beceriyi beğenmek için giriş yapın
—Henüz değerlendirilmedi
Puanınız

Özet

A skill that enables Claw to test API endpoints, verify their responses, measure performance, and generate a health.

Açıklama

Bu Beceri Ne Yapar

Tests HTTP API endpoints by sending requests, validating status codes and response structure, and measuring response times. Generates a health report with pass/fail status, performance metrics, and recommendations for slow or failing endpoints. Supports GET, POST, PUT, and DELETE methods, plus authentication via API keys, Bearer tokens, or basic auth.

Replaces ad-hoc curl commands or custom test scripts with a structured workflow that produces a consolidated health report with performance statistics in one pass.

Ne Zaman Kullanılır

  • Checking if a newly deployed API is responding before going live
  • Monitoring which endpoints are slow across a set of microservices
  • Verifying a third-party API returns expected fields after a provider update
  • Testing authenticated endpoints without writing custom scripts
  • Running a pre-release check on all API routes to catch regressions

Örnek İş Akışı

GİRİŞ

User asks: 'Test these 3 endpoints and tell me which ones are failing: /users, /products, /orders'

AJAN
  1. 1

    Sends HTTP requests to each specified endpoint

  2. 2

    Records status codes and response times for each request

  3. 3

    Validates response body structure against expected fields

  4. 4

    Flags endpoints that time out or return unexpected status codes

  5. 5

    Generates a summary report with pass/fail results and performance metrics

ÇIKIŞ

Health report listing each endpoint's status code, response time, pass/fail result, and recommendations for any failing or slow endpoints

Kurulum

clawhub install underbench2-gif/ub2-api-health-checker

CLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.

Bağlantılar