home/roleplay/prompt-load-testing-2

Prompt Load Testing

GPTClaudeGemini··1,087 copies·updated 2026-07-14
prompt-load-testing-2.prompt
# Промт — Нагрузочное тестирование сервиса

> 🇷🇺 **Русский** · [🇬🇧 English](../en/prompt-load-testing.md)

[← Index](./README.md) · [Стандарты](./standards.md) · [Шаблон](./template.md)

tags: #prompt #performance #load-testing #qa #service #single-shot
**Статус:** `🟢 Ready`
**Owner:** Pandamy619
**Последняя правка:** 2026-05-20
**Версия:** v1
**Источник идеи:** [LogicBalls — Performance Test Script Generator](https://logicballs.com/ai-prompt/prompts/performance-test-script-generator)
**Дельта от оригинала:** добавлены требования к метрикам сервиса (а не только клиента), warm-up, частые ловушки ложноположительных выводов и канонический блок поведения при нехватке данных.

---

## Когда использовать

- Когда нужно быстро получить baseline для load/stress/spike/soak теста
- Когда сервис готовится к релизу и хочется проверить latency, throughput и saturation points
- Когда нужен стартовый скрипт для k6, Locust или Artillery

## Что подставить

- `{{target_system}}` — string, e.g. `payments-api в stage, https://stage.payments.example.com`
- `{{test_type}}` — enum: `load | stress | spike | soak | latency_benchmark`
- `{{language_or_framework}}` — enum: `k6 | locust | artillery | jmeter | gatling`
- `{{concurrency}}` — string, e.g. `ramp 0→500 VU за 5m, hold 30m`
- `{{duration}}` — string, e.g. `45m total (5m ramp + 30m hold + 10m ramp-down)`
- `{{success_criteria}}` — list, e.g. `p95 < 300ms; error rate < 0.5%; throughput ≥ 200 RPS`
- `{{auth_model}}` — enum: `jwt | oauth2 | api_key | none`
- `{{test_data_strategy}}` — string, e.g. `pre-seeded users 10k; round-robin по pool;  cleanup после прогона`

## Definition of done

Универсальный минимум — см. [Definition of done](./standards.md#2-definition-of-done).

Специфичные критерии:

- Скрипт включает warm-up фазу
- Указано, какие метрики смотреть в самом сервисе (CPU, memory, DB connections, GC), а не только в клиенте
- Критерии успеха количественные и привязаны к перцентилям, а не к среднему
- Есть раздел про частые ложноположительные выводы (например, «p95 хороший, но p99 в полку — значит хвост»)

## Промт

fill the variables

This prompt has 8 variables. Pro fills them into a ready-to-paste prompt for you — no manual find-and-replace.

{{target_system}{{test_type}{{language_or_framework}{{concurrency}{{duration}{{success_criteria}{{auth_model}{{test_data_strategy}
Unlock with Pro →

when to use it

Community prompt sourced from the open-source GitHub repo pandamy619/Promts (MIT). A "Prompt Load Testing" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

roleplaycommunitygeneral

source

pandamy619/Promts · MIT