mirror of
https://github.com/dockersamples/example-voting-app.git
synced 2026-02-14 18:29:51 +00:00
Just run "docker-compose -f docker-compose.seed.yml up" to seed (you need to "docker-compose up -d" first)
7 lines
304 B
Bash
Executable File
7 lines
304 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# create 3000 votes (2000 for option a, 1000 for option b)
|
|
ab -n 1000 -c 50 -p posta -T "application/x-www-form-urlencoded" http://vote/
|
|
ab -n 1000 -c 50 -p postb -T "application/x-www-form-urlencoded" http://vote/
|
|
ab -n 1000 -c 50 -p posta -T "application/x-www-form-urlencoded" http://vote/
|