GithubHelp home page GithubHelp logo

dokku-jmeter's Introduction

JMeter Setup Guide for Dokku

This guide provides step-by-step instructions on how to set up JMeter on Dokku with all the necessary configurations.

Creating the Dokku App

  1. Create the JMeter app on Dokku:

    dokku apps:create jmeter
  2. Set the JMeter version and timezone:

    dokku config:set jmeter JMETER_VERSION=5.6.3 TZ="Europe/Moscow"
  3. Create directories for JMeter storage:

    mkdir -p /var/lib/dokku/data/storage/jmeter/tests
  4. Mount the storage directory to the Dokku app:

    dokku storage:mount jmeter /var/lib/dokku/data/storage/jmeter/tests:/tests
  5. Configure user, ramp-up, and duration settings:

    dokku config:set jmeter USERS=100 RAMPUP=1200 DURATION=1800

Setting Specific Configurations

For a specific setup, configure the following:

dokku config:set jmeter URL_HOST="testing" SCHEME="https" URL_CORE="coretest.testing.io" URL_AUTH="authtest.testing.io" URL_PRESENCE="presencetest.testing.io"

Preparing the Test Environment

Copy the test script to the storage directory:

Download and copy the test.sh script from the repository to /var/lib/dokku/data/storage/jmeter/tests. This script is essential for initializing test variables and other directory configurations.

Deploying to Dokku

Finally, push your configurations to Dokku. You can follow a workflow example for deployment.


By following these steps, you will have JMeter set up on Dokku with custom configurations tailored to your testing environment.


RESULTS WILL BE IN /var/lib/dokku/data/storage/jmeter/tests

dokku-jmeter's People

Watchers

Stepan Vladovskiy avatar

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.