performance-testing

Run API, web, and mobile performance tests with K6, Gatling, JMeter, and Playwright.

Updated Aug 31, 2026
One-click install
npx skills add https://github.com/ahuaracab/test-genesis --skill performance-testing-ahuaracab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performance-testing
Source: https://github.com/ahuaracab/test-genesis/tree/main/.agents/skills/performance-testing
Command: npx skills add https://github.com/ahuaracab/test-genesis --skill performance-testing-ahuaracab

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires k6, @playwright/test, allure-playwright, and includes references (resource) components.

What problem does it solve? Teams need to verify that APIs, web pages, and mobile apps meet latency, throughput, and stability targets under realistic load, but configuring load generators, web vitals assertions, and threshold gates across different tools is fragmented and error-prone. ## Core Features & Use Cases - API Performance Testing: Run load, stress, spike, endurance, and smoke scenarios with K6, Gatling, or JMeter, with percentile thresholds (p95/p99), throughput, and error-rate gates exported to Allure. - Web e2e Performance Testing: Measure Core Web Vitals (FCP, LCP, CLS), page load time, and interaction latency natively in Playwright across cold-load, warm-cache, and slow-network scenarios. - Mobile Performance Reference: Delegates mobile device performance testing to the independent mobile-testing skill without duplication. - Use Case: Before a product launch, run a K6 load test ramping to 100 virtual users against the login API, then execute a Playwright cold-load test asserting LCP under 2.5 seconds, and review both timing reports in Allure. ## Quick Start Ask the AI to run an API load test with K6 against your staging API using the performance-testing skill and report the p95 response time and error rate.

Frequently Asked Questions about performance-testing

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

FAQPage Schema
How do I run a load test with K6, Gatling, or JMeter?

Select a provider with the --provider flag and a scenario with --scenario, for example bun run perf:api --provider k6 --scenario load. Each provider runs independently and outputs results compatible with Allure reporting.

How to measure Core Web Vitals like LCP and CLS with Playwright?

Use Playwright's native PerformanceObserver API inside page.evaluate to capture FCP, LCP, and CLS entries, then assert them against thresholds. The web-e2e-performance example includes helper functions for each metric.

What is the difference between load, stress, spike, and endurance testing?

Load testing verifies behavior under expected traffic, stress testing pushes past limits to find breaking points, spike testing simulates sudden traffic surges, and endurance testing sustains load for hours to detect memory leaks.

Can web performance tests run without API load tests?

Yes, the web e2e module is fully independent and requires only Playwright. Use the --no-api flag to explicitly isolate browser performance tests from any API load testing framework.

Why does my K6 test fail with connection refused errors?

Connection refused means the target API is unreachable. Verify the base_url in performance-config.yaml, confirm the service is running, and check firewall or VPN access before rerunning the test.

Does this skill support mobile app performance testing?

Mobile performance is handled by the separate mobile-testing skill, which covers device metrics like frame rate, touch latency, and battery drain. This skill only references it and does not duplicate mobile content.