API Load Testing Generator

СреднийtestingМинимальный контекст: 32K

Generates comprehensive load testing scripts and configurations for APIs. Supports k6, Locust, Artillery, and JMeter formats. Creates realistic traffic patterns, ramp-up scenarios, and threshold definitions. Includes analysis templates for identifying bottlenecks and capacity planning.

Варианты использования

  • Generating k6 scripts for REST API load testing
  • Creating Locust scenarios with realistic user behavior patterns
  • Designing ramp-up and stress test profiles for capacity planning
  • Building CI-integrated performance regression tests
  • Analyzing API response time distribution and error rates

Пример промпта

Generate a k6 load testing script for our e-commerce API.

Endpoints to test:
- GET /api/products (list products with pagination)
- GET /api/products/:id (product detail)
- POST /api/cart/items (add to cart, requires auth)
- POST /api/orders (create order, requires auth)

Scenarios:
1. Smoke test: 5 VUs for 1 minute
2. Load test: ramp up to 100 VUs over 5 min, sustain 10 min, ramp down
3. Stress test: ramp to 500 VUs to find breaking point

Include:
- Realistic think times between requests
- Auth token handling
- Custom thresholds (p95 < 500ms, error rate < 1%)
- Custom metrics for business transactions
- HTML report generation

Рекомендуемые модели

Совместимые инструменты

claude-codecursorkiroany

Модальности

Вход: text, code
Выход: code, text

Похожие Skills

Автор

OpenModels Community

@openmodelsrun