Skip to content

adibkhaled/k6PerformanceTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

K6 Performance Testing

This project contains performance test scripts using K6, a modern load testing tool for developers.

Installation

1. Install K6

On macOS (using Homebrew)

brew install k6

On Windows (using Chocolatey)

choco install k6

On Linux (using apt)

sudo apt update
sudo apt install gnupg ca-certificates
curl -s https://dl.k6.io/key.gpg | sudo apt-key add -
echo "deb https://dl.k6.io/deb stable main" | sudo tee /etc/apt/sources.list.d/k6.list
sudo apt update
sudo apt install k6

For other installation methods, see the official documentation.

Running a K6 Test

  1. Open your terminal and navigate to the project directory:

    cd /path/to/your/project
  2. View the results in your terminal after the test completes.

    k6 run vimec.js
  3. Run a test script creating report:

    K6_WEB_DASHBOARD=true K6_WEB_DASHBOARD_EXPORT=report.html k6 run vimec.js

Resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors