A custom k6 reporting html and png send to email
touch email.txt
touch url.txtecho "[email protected],[email protected]" > email.txtecho -e "URL_1\nURL_2\nURL_3" >> url.txt
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 |
update file .env define parameters
sh exec.shInput 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.shfajarhide (https://github.com/fajarhide)