k6-load-tests

Automate k6 load tests for HTTP endpoints and NATS messaging.

1|Updated Apr 17, 2026
One-click install
npx skills add https://github.com/PremModhaOfficial/motadata-ai-pipeline --skill k6-load-tests
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: k6-load-tests
Source: https://github.com/PremModhaOfficial/motadata-ai-pipeline/tree/main/.claude/skills/k6-load-tests
Command: npx skills add https://github.com/PremModhaOfficial/motadata-ai-pipeline --skill k6-load-tests

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates load testing for microservices HTTP endpoints and inter-service messaging using k6 to verify latency SLOs and error rates across deployments, tenants, and network paths.

Core Features & Use Cases

  • Provides reusable k6 script templates for HTTP and NATS load testing.
  • Supports ramping stages, per-endpoint thresholds, custom metrics, and per-tenant scenarios to validate isolation and performance under load.
  • Useful for API gateways, inter-service messaging, and end-to-end performance validation in multi-tenant environments.

Quick Start

Run a sample k6 script against your API to validate latency and per-tenant thresholds.

Frequently Asked Questions about k6-load-tests

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

FAQPage Schema
How do I automate k6 load testing for microservices HTTP endpoints?

You can automate k6 load testing for microservices by using reusable script templates that apply ramping stages, custom metrics, and per-endpoint thresholds to validate API gateway latency and error rates under varying traffic.

Can I test inter-service messaging throughput with k6 and NATS?

Yes, you can test inter-service messaging throughput with k6 and NATS by executing specialized scripts that measure network path performance and validate reliability under simulated traffic loads.

How does load testing validate tenant isolation in a multi-tenant environment?

Load testing validates tenant isolation by running per-tenant scenarios that apply specific thresholds and custom metrics, ensuring one tenant's workload does not degrade performance or reliability for others.

What's the best way to configure ramping stages and thresholds in k6 scripts?

The best way to configure ramping stages and thresholds in k6 is through standardized script templates that support environment-variable configuration, allowing you to dynamically define traffic ramps and per-endpoint SLOs.

Do I need environment variables to run per-tenant k6 load tests?

Yes, you need environment variables to run per-tenant k6 load tests, as they allow you to dynamically configure tenant-based scenarios, target endpoints, and custom metrics without modifying the core testing scripts.