/k6-example

学んだ k6 の Tips 集

Primary LanguageShellMIT LicenseMIT

k6-example

学んだ k6 の Tips 集

$ k6 version
k6 v0.33.0 ((devel), go1.16.5, darwin/amd64)

Examples(k6 official)

Installation

macOS

brew install k6

Test Types

Each test type is designed to give you different insights about your system.

  • Smoke Test
  • Load Test
  • Stress Test and Spike testing
  • Soak Test

The important thing to understand is that each test can be performed with the same test script. You can write one script and perform all the above tests with it. The only thing that changes is the test configuration, the logic stays the same.