Jonathan Cobb d58e91a688 | 3年前 | |
---|---|---|
ansible | 3年前 | |
bin | 3年前 | |
examples | 3年前 | |
src/main | 3年前 | |
.gitignore | 3年前 | |
README.md | 3年前 | |
pom.xml | 3年前 |
A load-testing tool for Bubble. Crawls URLs to put a lot of traffic through a Bubble.
For Ubuntu, you can run:
apt install openjdk-11-jdk maven
To build from source:
mvn -Puberjar clean package
Before running, you need to install one or both of:
If you are running a desktop, you can probably just install Chrome or Firefox normally, if you haven’t already.
apt install firefox
apt install software-properties-common -y
add-apt-repository ppa:canonical-chromium-builds/stage -y
apt-get update -y
apt install chromium-browser -y
./bin/update_firefox_driver.sh
./bin/update_chrome_driver.sh
Look at the files in examples
for sample configurations.
Run a simple crawl with default settings:
./bin/crunch.sh -c ./examples/crawl_sites.txt
Same as the above, but uses a full configuration:
./bin/crunch.sh -c ./examples/crawl_config.json