Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
scripts
Dockerfile
README.md

README.md

Load Generation Project for TicketMonster

This project provides load generation scripts for TicketMonster. These scripts simulate real user actions by utilizing the PhantomJS and CasperJS framework. While PhantomJS is a headless web browser scriptable with JavaScript, CasperJS allows you to build full navigation scenarios.

You don't need to install PhantomJS or CapserJS, as long as you follow the instructions building a Docker container, which provides a running environment.

Prerequisites

  • You need Docker to create a Docker image

Scripts

click_through.js

This script navigates through TicketMonster by clicking the Event, Venue, and Booking link in the top menu. As browser the script uses

Instructions

0. Clone the repository and change directory

$ cd load-generation

1. Build Docker image

docker build -t <your dockerhub account>/loadgeneration:latest .
docker images

2. Run container and start script

usage: loadgeneration.sh <target URL> <duration in minutes> <[clients/minute] | [empty = random number of clients (1..10) / minute] >

docker run -d --rm <imageID> /bin/bash loadgeneration.sh https://ticket-monster.YOUR-SYSTEM-DOMAIN.com/#/ 10 15