Skip to content

fajarhide/k6er

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

k6-custom

A custom k6 reporting html and png send to email

Requirement

Installation

Preparation

touch email.txt
touch url.txt

input email using format

input multi url

echo -e "URL_1\nURL_2\nURL_3" >> url.txt

Parameters environment:

Update .env file using parameter here :

Parameter Description Example
URL target website for load test https://www.detik.com or using path https://www.detik.com/redaksi
DURATION a string specifying the total duration of the test run 5s or 1m or 1h
CONCURRENT a number specifying the number to run concurrently 10 or 100
SENDER a email sender location in FROM: [email protected]
TITLE Subject email Load test using K6

Usage Mode Single

update file .env define parameters

sh exec.sh

Usage Mode Multi

Input list url to file url.txt and don't update param ENV_URL on .env.template. you can update DURATION , CONCURRENT , SENDER and TITLE

sh multi.sh

Maintainer

fajarhide (https://github.com/fajarhide)

Screen Shot 2022-06-06 at 21 59 10

About

Load test k6 multi url

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published