Git Product home page Git Product logo

gatling-dse-simcatalog's Introduction

Gatling DSE Stress Simulation Catalog

The goal of the repo is to provide a sample of the Gatling DSE Stress Framework's usage. Feel free to submit a pull request with example simulations.

Using the Examples

Building

To build a jar run sbt clean assembly. The compiled jar will be found in gatling-dse-simcatalog_2.12-1.2.3-SNAPSHOT.jar and the executable app will be at target/scala-2.12/gatling-dse-sims

Running a Simulation

First build the executable app using sbt clean compile then run the app with the path or name of wanted sim name gatling-dse-sims run {SimName}.

Example: target/scala-2.12/gatling-dse-sims run WriteOrderSimulation

Configuration

Project configs can be found in the src/main/resources the application.conf is the file to set the Simulation and Cassandra settings.

During run you can override part or all of the application settings by using -Dconfig.file={filePath}. If you want to override a single setting only just use the path of the config ie -Dcassandra.hosts=127.0.0.1. This single setting can be used for any value in the gatling.conf file as well.

To change configurations on the fly with excutable use the following format: JAVA_OPTS="-Dcassandra.hosts=127.0.0.1" gatling-dse-sims run WriteOrderSimulation

To view all loaded and overridden configurations run the follow: gatling-dse-sims showConf <all, general, cassandra, simulations, gatling>

See: Gatling DSE Stress Wiki for more specific docs for usage.

Listing Available Sims in Jar

Run target/scala-2.12/gatling-dse-sims listSims or `build/libs/gat

Showing Default Configurations

Run target/scala-2.12/gatling-dse-sims showConf <all, general, cassandra, simulations, gatling>

Requirements

  • Java 1.8+
  • SBT

Running sbt assembly will download all of the needed libraries including Scala to your local machine.

Questions or Requests

Please use the Issues section to add any questions on usage or requests

Use #gatling-dse Slack channel to ask questions.

Contributing

The easiest way to contribute is to:

  1. Clone this project
  2. Create a new branch w/ your name and simple desc. Example: username-oauth
  3. Push your branch to the repo
  4. Create a new pull request against master

The new pull request will be reviewed, tested and if verified will be merged with the master branch.

Requirements of New Contributions

Please include the table creation in the Actions class for your under createTables() or initGraphSchema to let other users ramp up quickly with using you simulations. A short description of the simlation in the doc comments is also welcomed.

Contributions

It has been developped by Brad Vernon (ibspoof) and improved by the following contributors:

gatling-dse-simcatalog's People

Contributors

bradfordcp avatar omnifroodle avatar sd95054 avatar ngaribay 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.