Skip to content

poponuts/k6-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

k6 performance tests - boilerplate / template

k6 integration with Bitbucket pipeline 💪 🧪 🤖

https://k6.io/docs/

Pre-requisites / Assumptions

  • You have installed k6 on your local machine
  • You have installed your favourite IDE which is no other than VS Code
  • Internet is accessible (no proxy!)

Usage

Running locally

  • Open IDE (VS Code is highly recommended!) then open the forked / cloned repository
  • Navigate to Terminal then go to root directory
  • Type k6 run -e HOST=test --address localhost:0 single-request.js and check results

Running on Bitbucket Pipeline CI

  • Navigate to Pipelines then select Run pipeline
  • From the modal, set the Branch and set Pipeline to default then hit Run

Sample:

k6-bitbucket-pipeline

TODO

  • Include junit report to display no. of tests in CI

About

k6 integration with Bitbucket pipeline

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published