본문으로 건너뛰기
Skillpedia
테스트48k · #5002

k6-load-testing

하는 일

이 도구는 많은 사람이 동시에 사용할 때 웹사이트나 애플리케이션이 얼마나 빠르고 안정적인지 테스트하도록 돕습니다. 많은 사용자가 시스템에 접속하는 상황을 시뮬레이션해 성능 문제를 찾아냅니다.

사용하는 경우

  • ✓웹사이트가 동시 접속을 많이 처리할 수 있는지 알고 싶을 때.
  • ✓업데이트 후 성능이 나빠졌는지 확인하는 자동 테스트를 설정할 때.
  • ✓다른 트래픽 수준에서 시스템이 어떻게 반응하는지 이해하는 경우.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/k6-load-testing/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/k6-load-testing/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“100명의 사용자가 제 홈페이지에 5분 동안 접속하는 상황을 시뮬레이션하고, 시스템이 다운되는지 알려 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 실제 사용자의 행동을 흉내 낸 시나리오를 만듭니다. 응답 시간과 오류율을 측정해 보고서로 보여 줍니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

k6 Load Testing

Detailed Guide

Read the detailed guide before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.

When to Use This Skill

  • Use when you need to load test HTTP APIs, WebSocket endpoints, or browser scenarios
  • Use when setting up performance regression tests in CI/CD
  • Use when analyzing system behavior under various load conditions
  • Use when comparing performance between code changes
  • Use when validating SLA requirements and performance budgets

Examples

Example 1: Basic API Load Test

import http from 'k6/http';
import { check, sleep } from 'k6';

export const options = {
  vus: 50,
  duration: '2m',
  thresholds: {
    http_req_duration: ['p(95)<500'],
    http_req_failed: ['rate<0.01'],
  },
};

export default function () {
  const res = http.get('https://api.example.com/users');
  
  check(res, {
    'status is 200': (r) => r.status === 200,
    'response time < 500ms': (r) => r.timings.duration < 500,
  });
  
  sleep(1);
}

Example 2: Test with Authentication and Data Parameterization

import http from 'k6/http';
import { check } from 'k6';
import { SharedArray } from 'k6/data';

const users = new SharedArray('users', function () {
  return JSON.parse(open('./users.json'));
});

export default function () {
  const user = users[__VU % users.length];
  
  const loginRes = http.post('https://api.example.com/login',
    JSON.stringify({ email: user.email, password: user.password })
  );
  
  const token = loginRes.json('access_token');
  
  const headers = { 'Authorization': `Bearer ${token}` };
  const res = http.get('https://api.example.com/profile', { headers });
  
  check(res, { 'profile loaded': (r) => r.status === 200 });
}

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
자주 묻는 질문

'부하 테스트(load testing)'란 무엇인가요?

많은 사람이 동시에 사용할 때 시스템(예: 웹사이트)이 얼마나 잘 작동하는지 보는 테스트입니다.

k6는 무엇에 쓰나요?

이런 부하 테스트를 효율적이고 자동으로 수행하기 위한 특정 도구입니다.

사용하려면 코딩을 알아야 하나요?

테스트를 설정하려면 기본적인 프로그래밍 지식이 도움이 되지만, 도구가 간단한 스크립트 생성을 도울 수 있습니다.

상세 정보

작성자의 원본 설명

Comprehensive k6 load testing skill for API, browser, and scalability testing. Write realistic load scenarios, analyze results, and integrate with CI/CD.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#5002
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬