generate-votes.sh 304 B

123456
  1. #!/bin/sh
  2. # create 3000 votes (2000 for option a, 1000 for option b)
  3. ab -n 1000 -c 50 -p posta -T "application/x-www-form-urlencoded" http://vote/
  4. ab -n 1000 -c 50 -p postb -T "application/x-www-form-urlencoded" http://vote/
  5. ab -n 1000 -c 50 -p posta -T "application/x-www-form-urlencoded" http://vote/