Skip to content

Repository files navigation

k6 Hello World

This repository contains a simple "Hello World" example using k6, a modern load testing tool.

Getting Started

Prerequisites

  • k6 installed

Running the Test

k6 run script.js

Replace script.js with your test script file.

Project Structure

.
├── readme.md
├── script.js
  • script.js: Main k6 test script.

Example Output

When you run the test, you should see output similar to:

          /\      |‾‾|  /‾‾/  /‾/
     /\  /  \     |  |_/  /  / /
    /  \/    \    |      |  /  ‾‾\
   /          \   |  |‾\  \ | (_) |
  / __________ \  |__|  \__\ \___/ .io

  execution: local
     script: script.js
     output: -

  scenarios: (100.00%) 1 scenario, 1 max VUs, 1m0s max duration (incl. graceful stop):
           * default: 1 looping VUs for 10s (gracefulStop: 30s)

...

Resources


Feel free to modify this README as your project evolves.

About

k6 basics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages