summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
Diffstat (limited to 'service')
-rwxr-xr-xservice/test/load/send_emails_batch.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/service/test/load/send_emails_batch.sh b/service/test/load/send_emails_batch.sh
new file mode 100755
index 00000000..80c28279
--- /dev/null
+++ b/service/test/load/send_emails_batch.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+for user in `seq $1`; do
+ echo "Sending $2 mails for user loadtest$user"
+ for email in `seq $2`; do
+ sendemail -f loadtest${user}@dev.pixelated-Project.org -t loadtest${user}@dev.pixelated-project.org -u Hello$email -m Ha$email
+ done
+done