generating-tests-from-openapi

Community

Generate k6 tests from OpenAPI specs.

AuthorKimDoubleB
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the creation of k6 load testing scripts directly from OpenAPI specification files, significantly reducing the manual effort and time required to set up API performance tests.

Core Features & Use Cases

  • Automated Script Generation: Parses OpenAPI 3.0/3.1 specs (YAML/JSON) to generate k6 scripts.
  • Endpoint & Parameter Mapping: Extracts paths, operations, parameters, and request bodies.
  • Authentication Handling: Analyzes and maps various security schemes (Bearer, API Key, OAuth2) to k6 authentication setups.
  • Use Case: You have an OpenAPI v3.1 specification for your new REST API. Use this Skill to quickly generate a comprehensive k6 load test suite that covers all endpoints and handles the defined authentication methods.

Quick Start

Use the generating-tests-from-openapi skill to create a k6 test script from the provided OpenAPI specification file 'openapi.yaml'.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: generating-tests-from-openapi
Download link: https://github.com/KimDoubleB/grafana-k6-skills/archive/main.zip#generating-tests-from-openapi

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.