https://github.com/commonjava/indy-multibuild-tester
Load tester for Indy
https://github.com/commonjava/indy-multibuild-tester
Last synced: about 1 year ago
JSON representation
Load tester for Indy
- Host: GitHub
- URL: https://github.com/commonjava/indy-multibuild-tester
- Owner: Commonjava
- Created: 2019-02-19T23:19:59.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-10-29T20:23:48.000Z (over 6 years ago)
- Last Synced: 2025-02-01T18:36:28.828Z (over 1 year ago)
- Language: Python
- Size: 12.7 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Multibuild package for Maven Projects
This setup is intended to run multiple builds against a specific Indy instance.
## Installing
To install, you'll need to have virtualenv and python 3 installed:
```
$ ./setup.sh
$ source ./venv/bin/activate
```
## Test Setup
To run a test, the user must capture the build parameters in a YAML file. This file should be
in its own directory, since the output / logs / other data related to the build execution
will also be captured there. This allows the user to keep track of the circumstances under which
a particular type of build was run, and the result of that test.
The basic structure is:
```
./my-test-build
+- test.yaml
```
## YAML Format
You can find a sample of the build specification in `sample-testfile.yaml`. The build specification allows
the user to specify the following:
* HTTProx proxy port (if used)
* section for build, containing:
* number of build threads
* number of total builds
* project directory to use as a location for cloning build sources
* section for report verification, containing:
* number of threads for verifying folo tracking reports
## Building a Test Project
The user must provide the following arguments to the `multibuild` command:
* TESTFILE - A path to the YAML file, which is outlined above. This file's directory will collect the build results
* INDY_URL - An Indy URL, with everything setup to work with the `public` group