autorenew

Updated: 2026-03-25

performance-test-gatling

Basic Information

Skill Name
performance-test-gatling
Author
naodeng
Use Scenario
You need data-backed answers for latency, throughput, and bottleneck risk.
Target Users
Performance engineers and QAs handling capacity validation.
Summary
Who should use: Performance engineers and QAs handling capacity validation. Best used when: You need data-backed answers for latency, throughput, and bottleneck risk. How to use: Define SLO and workload model, execute phased load tests, then report bottlenecks and capacity thresholds.

Full Skill Guide

When

  • Traffic is expected to grow and capacity limits are unknown.
  • Latency, error rate, or saturation symptoms appear in production-like traffic.
  • Team needs data-backed scaling and optimization decisions.

What

  • Measure system behavior through Gatling simulation and throughput profiling.
  • Identify bottlenecks across application, database, and dependency layers.
  • Deliver capacity baseline and optimization priorities.

How

  1. Define SLO targets and workload model (normal, peak, spike).
  2. Prepare realistic traffic mix and representative test data.
  3. Run baseline, ramp-up, and steady-state test phases.
  4. Correlate response metrics with infrastructure signals.
  5. Isolate bottleneck component and validate hypothesis.
  6. Report capacity threshold, failure mode, and remediation plan.

Reference

Positive Example (Input -> Output)

Input:

  • SLO: P95 < 300ms, peak 1200 RPS, checkout + search path

Output:

  • At 1050 RPS DB pool saturation starts; P95 reaches 340ms
  • CPU stable, DB wait time spikes
  • Recommendation: increase pool + optimize hot query before release

Negative Example (Input -> Output)

Input:

  • "Run a stress test"

Output (problem):

  • No SLO target, no workload shape, no bottleneck evidence
  • Results cannot support scale decision

Limits

  • Do not run synthetic tests that ignore real traffic pattern.
  • Do not conclude from average latency only.
  • Do not skip dependency-level diagnostics.
  • Do not compare runs with inconsistent environment baselines.
  • Do not approve capacity without threshold evidence.

Usage Guide

  1. Install and enable performance-test-gatling first (use the install commands in this page).
  2. In your request, provide required context: scope, environment, timeline, and expected output format.
  3. Trigger with load targets, for example: "Use performance-test-gatling with p95<300ms and peak 1200 RPS."
  4. Require outputs: workload model, thresholds, bottleneck analysis, and tuning recommendations.
  5. Repeat after tuning and ask for before/after comparison summary.

Installation

Platform

AI Tool

Quick install (one line)

Generating command...

Full script

Loading script...
Share