Git Product home page Git Product logo

jmeter-k8s-cluster's Introduction

Jmeter Cluster in Kubernetes

Prerequisits

  • Kubernetes Cluster version 1.27+
  • Kubectl access

Setup Guide

  • Create jmeter cluster. Script inputs are namespace (for default press enter) & Slave count (Default count depends on worker nodes).

    ./jmeter_cluster_create.sh
  • Create grafana, reporter & Influxdb for dashboard (optional)

    ./dashboard.sh
    
  • To access the Grafana dashboard use LB url from grafana service. Or use Kube port-forward to access.

    kubectl port-forward svc/jmeter-grafana 3000
  • To generate Grafana-reporter add reporter endpoint http://<GRAFANA_LB_URL>:8686/api/v5/report/ltaas as dashboard link. Visual guide. Or use port-forward both to access.

    kubectl port-forward svc/jmeter-grafana 3000 8686
  • To Start jmeter load test

    ./start_test.sh <jmx_file_path>

Start load-test with csv

  • To run the load test

    ./start_csv_copy.sh <jmx_dir>
    ./start_csv_test.sh <jmx_dir>
  • To copy the results file as tar.gz

    ./copy_results.sh
  • To stop the load test during the execution

    ./jmetet_stop.sh

Changelog

  • Edited namespace as default
  • Added grafana-reporter as a sidecar container in grafana's k8s deployment
  • Grafana datasource (influxdb) & dashboard provisioning automated
  • Added LB support to grafana service
  • Move kube manifest separate directory
  • Separated csv copy & load test function
  • Added support to generate native jmeter report & copy back to local

Reference

jmeter-k8s-cluster's People

Contributors

ragul28 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

jmeter-k8s-cluster's Issues

Unable to download the report

As per the below URL, I have updated the Grafana dashboard link.
http://:8686/api/v5/report/ltaas

I am not able to download the report. I have tried to update the cluster IP of the reporter service as well as the load balancer IP of jmeter-grafana service. Can you please help us with this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.