Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.

Build Status

Experiment Workloads utilizing Selenium

This project is meant to create different workloads for websites utilizing Selenium. Currently, this tool is tailored for the software systems PetStore which we use as case studies in iObserve.

This project is work in progress. Please report feature request, bugs etc. as issues in GitHub

Dependencies and Requirements

Our workload driver is considered to be used alongside the JPetStore in experiments. We usually set up our experiments with one experiment main directory (here experiment), a tools directory for all parts of software, and a workloads directory for the workloads.

Currently, we use the chrome driver for selenium. If you want to can use other drivers (e.g. phantomjs which we used previously).


Install the chrome driver for Selenium:

  • Download it from
  • Copy it into your tools directory

To use our workload driver directly from this git repository:

  1. Clone the repository git clone
  2. Switch to the repository cd selenium-workloads
  3. Build the repository with ./gradlew build
  4. After the build you find a completed package of the software in build/distributions/selenium-experiment-workloads-1.0.tar|zip
  5. Unzip or untar the package in your preferred location, e.g., experiment/tools, with tar or unzip


You find a in the root directory of selenium-workloads an example workload configuration. You can make of copy of it and start using this for your workloads. Before first execution, you have to set up the web driver parameters. They look like this:

  type: org.iobserve.selenium.behavior.ChromeDriverFactory
  driver: experiments/tools/chromedriver
  timeout: 60000
  1. The baseUrl is the URL of your JPetStore. The path jpetstore-frontend is the name used for the distributed variants of the JPetStore. The single service variants use jpetstore
  2. The type of webdriver should be ChromeDriverFactory if you want to go with the Chrome driver (recommended).
  3. The driver parameter must contain the path to the chromedriver executable.

In case you want to setup logging, use the following in your bash script or command line:


Two log4j configurations are provided in this repository.

Execution of Workloads

Execute the script with: experiment/tools/selenium-experiment-workloads-1.0/bin/selenium-workloads -c your-workload.yaml Or in Windows: experiment/tools/selenium-experiment-workloads-1.0/bin/selenium-workloads.bat -c your-workload.yaml


This project ist meant to create different workloads for the experiment with cocome utilizing Selenium







No releases published


No packages published