Coder Social home page Coder Social logo

tor-jmeter's Introduction

tor-jmeter

About

tor-jmeter is a docker image to enabling jmeter making request to an onion service (tor's hidden service).

tor-jmeter is based on an excellent work (lazzurs/jmeter)[https://hub.docker.com/r/lazzurs/jmeter].

The drive for this tor-jmeter creation is for enabling cloud based continuous integration (CI) pipeline, while keeping data and services safely stays in local test developer's machine or their original machines.

tor-jmeter is can be retrieved by pulling it from dockerhub (indraginanjar/tor-jmeter)[https://hub.docker.com/r/indraginanjar/tor-jmeter]

docker pull indraginanjar/tor-jmeter:5.2

Warning

State

tor-jmeter is on early development, expect it to be not working or troublesome.

Please Avoid Abusive Testing On Tor Network

Please be kind, Tor network is provided by volunteers, so PLEASE AVOID ABUSIVE TESTING on tor network.

Please make sure these next things:

  1. Only use tor-jmeter for checking correctness of the test plan, not for real performance/load/stress testing.

  2. Keep loops count very low, '1' is an ideal number.

  3. Keep threads/users number very low, '1' is an ideal number.

  4. Keep request number very low, '1' is an ideal number.

  5. Keep transmitted data size low.

  6. Set delay between request, whenever feasible.

Usage

If you run tor-jmeter without parameter, the container will execute /container-init.sh script, who run jmeter http proxied through polipo and tor without GUI (parameter -n)

docker run --rm indraginanjar/tor-jmeter:5.2

Simple Example

This is an example how to run a JMeter's test plan with tor-jmeter

docker run --rm --name torjmeter -v $(pwd):/home/jmeter/apache-jmeter-5.2/plan indraginanjar/tor-jmeter:5.2 -n -t plan/test-plan.jmx

Report Generating Example

docker run --rm --name torjmeter -v $(pwd):/home/jmeter/apache-jmeter-5.2/plan indraginanjar/tor-jmeter:5.2 /container-init.sh -l result.csv -e -o plan/report -f -t plan/test-plan.jmx

Building Image from Dockerfile

./bin/docker_build.sh

Exploring Container Internals

./bin/docker_run_bash.sh

tor-jmeter's People

Contributors

indraginanjar avatar

Watchers

 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.