# .___ __ _____ __ __ .__
# ______ __| _/_____/ |_ / _ \ __ ___/ |_ ____ _____ _____ _/ |_|__| ____ ____
# / ___// __ |/ __ \ __\/ /_\ \| | \ __\/ _ \ / \\__ \\ __\ |/ _ \ / \
# \___ \/ /_/ \ ___/| | / | \ | /| | ( <_> ) Y Y \/ __ \| | | ( <_> ) | \
# /____ >____ |\___ >__| \____|__ /____/ |__| \____/|__|_| (____ /__| |__|\____/|___| /
# \/ \/ \/ \/ \/ \/ \/
example of how to use k6 load testing framework & execute tests as part of your ci pipeline.
This project is made for anyone who is looking for a starting point for writing performance tests using k6. This solution also executes performance test as part of ci pipeline.
For more information regarding k6 please visit: https://www.k6.io
- examples: Contains test example written in JS.
These are the steps to set-up k6.
- brew tap loadimpact/k6
- brew install k6
http://services.groupkt.com/country/get/all
http://jsonplaceholder.typicode.com
cd into examples folder:
Execute command line: k6 run jsonplaceholder_example.js
A web hook has been setup with Travis CI for all Push and Pull Requests. All tests run on check in and daily.
Feel free to fork this repo, add to it, and create a pull request if you like to contribute.
If you have any questions, you can contact me via email: sdet.testautomation@gmail.com