Sign inSign up

divistant/k6-runner

By divistant

•Updated almost 4 years ago

Divistant Open Source Platform introduce automate performance test generator for k6

Image
0

500K+

divistant/k6-runner repository overview

⁠Run Locally

  1. Complete .env file. example:
K6_MYSQL_USERNAME=root
K6_MYSQL_PASSWORD=mariadb
K6_MYSQL_HOST=127.0.0.1
K6_MYSQL_DATABASE=k6_runner
K6_MYSQL_PORT=3307
K6_PROMETHEUS_REMOTE_URL=http://prometheus.monitoring.svc.cluster.local:9090/api/v1/write
SERVICE_URL=k6-runner.performance.svc.cluster.local
  1. Make sure migrate database from the latest file with
make migrate-setup
make migrate-up
  1. Run the service using command below
make run

⁠Run Docker

WIP

⁠Example

curl --request POST \
  --url http://127.0.0.1:80/session \
  --header 'Content-Type: application/json' \
  --data '{
  "payload": {
    "URL": "http://google.com"
  },
  "serviceName": "user",
  "testType": "LOADTEST",
  "methodType": "GET"
}'

Tag summary

Content type

Image

Digest

sha256:423a7a91e…

Size

25.5 MB

Last updated

almost 4 years ago

docker pull divistant/k6-runner