load-test-generator

Generate k6 load testing scripts for API endpoints with test stages and thresholds.

Updated Feb 3, 2026
One-click install
npx skills add https://github.com/mouayadakel/flixCamFinal --skill load-test-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: load-test-generator
Source: https://github.com/mouayadakel/flixCamFinal/tree/main/.cursor/skills/load-test-generator
Command: npx skills add https://github.com/mouayadakel/flixCamFinal --skill load-test-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation of performance tests for API endpoints, ensuring they can handle expected user loads and meet performance targets before deployment.

Core Features & Use Cases

  • Automated Script Generation: Creates load testing scripts (e.g., k6) for API endpoints.
  • Performance Testing: Defines test stages (ramp-up, hold, ramp-down) and success thresholds.
  • Use Case: After developing a new set of API endpoints for user authentication, use this Skill to generate a k6 script that simulates 100 concurrent users accessing the login endpoint for 5 minutes, with a requirement that 95% of requests complete within 500ms.

Quick Start

Use the load-test-generator skill to create a k6 script for testing the /api/v1/users endpoint.

Frequently Asked Questions about load-test-generator

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

FAQPage Schema
How do I generate k6 load testing scripts for API endpoints?

To generate k6 load testing scripts for API endpoints, you provide the base URL, authentication tokens, and performance metrics like latency and error rates, and the tool outputs a script defining test stages and success thresholds.

What is API load testing and when do I need to define success thresholds?

API load testing simulates concurrent users accessing endpoints to verify they handle expected loads. You need to define success thresholds, like 95% of requests completing within 500ms, during pre-production validation to ensure performance targets are met.

Can I use this for performance testing on APIs requiring authentication tokens?

Yes, you can use this for performance testing on APIs requiring authentication tokens, as it requires you to configure authentication tokens alongside base URLs and specific performance metrics like latency and error rates to generate the script.

How do I configure test stages like ramp-up and ramp-down for API performance testing?

You configure test stages like ramp-up, hold, and ramp-down by specifying these parameters when generating the load testing script, allowing the performance test to simulate 100 concurrent users accessing an endpoint for a set duration.

What is the best way to automate script generation for API performance validation?

The best way to automate script generation for API performance validation is to use a generator that creates k6 scripts by defining test stages and success thresholds based on your configured base URLs and performance metrics.

Do I need to provide specific performance metrics to generate a load testing script?

Yes, you need to provide specific performance metrics like latency and error rates to generate a load testing script, because the script uses these metrics to define the success thresholds required for your API performance testing.