summaryrefslogtreecommitdiff
path: root/service/test/reactor
diff options
context:
space:
mode:
Diffstat (limited to 'service/test/reactor')
-rw-r--r--service/test/reactor/concurrent_logins.rb17
-rwxr-xr-xservice/test/reactor/concurrent_logins.sh16
-rwxr-xr-xservice/test/reactor/create_users.py16
-rwxr-xr-xservice/test/reactor/send_emails_batch.sh16
4 files changed, 65 insertions, 0 deletions
diff --git a/service/test/reactor/concurrent_logins.rb b/service/test/reactor/concurrent_logins.rb
index f256599f..679aefd0 100644
--- a/service/test/reactor/concurrent_logins.rb
+++ b/service/test/reactor/concurrent_logins.rb
@@ -1,3 +1,20 @@
+#
+# Copyright (c) 2015 ThoughtWorks, Inc.
+#
+# Pixelated is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# Pixelated is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with Pixelated. If not, see <http://www.gnu.org/licenses/>.
+
+
# We use this script to simulate the login of multiple concurrent users, with
# one login per second.
#
diff --git a/service/test/reactor/concurrent_logins.sh b/service/test/reactor/concurrent_logins.sh
index e42b7c44..9de9eba8 100755
--- a/service/test/reactor/concurrent_logins.sh
+++ b/service/test/reactor/concurrent_logins.sh
@@ -1,4 +1,20 @@
#!/bin/bash
+#
+# Copyright (c) 2015 ThoughtWorks, Inc.
+#
+# Pixelated is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# Pixelated is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with Pixelated. If not, see <http://www.gnu.org/licenses/>.
+
USER_PREFIX="loadtest"
PASSWORD_PREFIX="password_"
diff --git a/service/test/reactor/create_users.py b/service/test/reactor/create_users.py
index 18dc9dcf..c519e108 100755
--- a/service/test/reactor/create_users.py
+++ b/service/test/reactor/create_users.py
@@ -1,4 +1,20 @@
#!/usr/bin/env python
+#
+# Copyright (c) 2015 ThoughtWorks, Inc.
+#
+# Pixelated is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# Pixelated is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with Pixelated. If not, see <http://www.gnu.org/licenses/>.
+
# This script is used to mass register users
# ATTENTION: this script does not log
# the user in, so key creation will only
diff --git a/service/test/reactor/send_emails_batch.sh b/service/test/reactor/send_emails_batch.sh
index 80c28279..0df45177 100755
--- a/service/test/reactor/send_emails_batch.sh
+++ b/service/test/reactor/send_emails_batch.sh
@@ -1,4 +1,20 @@
#!/bin/bash
+#
+# Copyright (c) 2015 ThoughtWorks, Inc.
+#
+# Pixelated is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# Pixelated is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with Pixelated. If not, see <http://www.gnu.org/licenses/>.
+
for user in `seq $1`; do
echo "Sending $2 mails for user loadtest$user"
for email in `seq $2`; do