api-test-runner

Dev Tools

Automated API testing with integration to TestRail for test management and reporting

Install

openclaw skills install api-test-runner

API Test Runner

Automated REST API testing with test case management integration. Supports OpenAPI specs, generates test reports, and syncs results to TestRail.

Features

  • OpenAPI/Swagger spec import
  • Automated request generation
  • Assertion library with JSONPath support
  • TestRail result synchronization
  • CI/CD pipeline integration

Setup

pip install requests pyyaml
export TESTRAIL_URL=https://your.testrail.net
export TESTRAIL_USER=your_email
export TESTRAIL_API_KEY=your_api_key

Usage

python scripts/run.py test ./specs/openapi.yaml --testrail
python scripts/run.py report --run-id 123