Skip to content

Krizaldiw/K6_LoadTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Load Testing with K6

This application you can run on NODE JS

Step by step

  • Install Node JS
  • Create directory your-jest-automation
mkdir my-test-project
  • Install k6, k6-html-reporters
npm install k6 k6-html-reporter --save-dev
  • Run Test
k6 run test test/endpointLoadTest.js
  • NPM Install on terminal
  • Corret k6 and k6-html-reporter after NPM Install has successfully install

NOTE

  1. Create a Test file in the ./test folder
  2. Create a function if the request is always reused
  3. Don't display the credentials in the test file, save them in the configuration
  4. Don't push your project direct to master(production) but we have stage development --> master
  5. Show Reporting load test at folder report
  6. Don't forget to pull

Contact

Name - @Krizaldiw - muhkhalifrizaldiw@gmail.com

About

Load Testing using k6 and Reporting using k6-html-reporters

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published