summaryrefslogtreecommitdiff
path: root/service/test/reactor/send_emails_batch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'service/test/reactor/send_emails_batch.sh')
-rwxr-xr-xservice/test/reactor/send_emails_batch.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/service/test/reactor/send_emails_batch.sh b/service/test/reactor/send_emails_batch.sh
new file mode 100755
index 00000000..80c28279
--- /dev/null
+++ b/service/test/reactor/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