diff --git a/config.yml b/config.yml
index 793c51a..c91c95b 100644
--- a/config.yml
+++ b/config.yml
@@ -1,5 +1,5 @@
config:
- target: "http://ekko-ekkos-T56QXUWSORKN-964893551.us-east-2.elb.amazonaws.com"
+ target: "http://ekko-ekkos-YK9SB7GQBXVU-1280264013.us-east-2.elb.amazonaws.com"
phases:
- duration: 10
arrivalRate: 1
@@ -8,7 +8,7 @@ config:
socketio:
transports: ["websocket"]
auth:
- jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhZG1pbiI6ZmFsc2UsImFwcE5hbWUiOiJsb2FkdGVzdCIsImlhdCI6MTYyMTQ4MDE0Mn0.E6zZGs0Xw7s-MhfmFg1F73RHDvbXoZ5E4xoTANASu1s"
+ jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhZG1pbiI6dHJ1ZSwiYXBwTmFtZSI6ImxvYWR0ZXN0IiwiaWF0IjoxNjIxNTU2MTM2fQ.TFcvBGww4qgg04snU59En9pJEESD2otToqkdASn-FZg"
scenarios:
- name: ekko Test
engine: socketio-v3
diff --git a/config_loop.yml b/config_loop.yml
new file mode 100644
index 0000000..05943bb
--- /dev/null
+++ b/config_loop.yml
@@ -0,0 +1,32 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+config:
+ target: "http://ekko-ekkos-1QZ0F5RQERLFR-1436539638.us-east-1.elb.amazonaws.com/loadtest"
+ engines:
+ socketio-v3: {}
+ socketio:
+ transports: ["websocket"]
+ auth:
+ jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhZG1pbiI6ZmFsc2UsImFwcE5hbWUiOiJsb2FkdGVzdCIsImlhdCI6MTYyMTYzNDIwNX0.B-Uv1ETUw3xvYF74PPrvfUTFcHoktfpHerGefniOaqQ"
+ uuid: "hi"
+ phases:
+ - duration: 100
+ arrivalRate: 25
+
+scenarios:
+ - name: An IoT Device
+ engine: socketio-v3
+ flow:
+ - emit: ["subscribe", { channels: ["greeting"], uuid: "nobody" }]
+ # - think: 1000
+ # - loop:
+ # - emit:
+ # [
+ # "publish",
+ # { channel: "greeting", message: { text: "my message" } },
+ # ]
+ # - think: 60
+ # count: 10
+ - think: 150
diff --git a/config_pub.yml b/config_pub.yml
index dc892f7..fb9b9fa 100644
--- a/config_pub.yml
+++ b/config_pub.yml
@@ -1,22 +1,27 @@
config:
- target: "http://ekko-ekkos-T56QXUWSORKN-964893551.us-east-2.elb.amazonaws.com/loadtest"
+ target: "http://ekko-ekkos-1QZ0F5RQERLFR-1436539638.us-east-1.elb.amazonaws.com/loadtest"
phases:
- - duration: 10
+ - duration: 1
arrivalRate: 1
engines:
socketio-v3: {}
socketio:
transports: ["websocket"]
auth:
- jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhZG1pbiI6ZmFsc2UsImFwcE5hbWUiOiJsb2FkdGVzdCIsImlhdCI6MTYyMTQ4MDE0Mn0.E6zZGs0Xw7s-MhfmFg1F73RHDvbXoZ5E4xoTANASu1s"
+ jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhZG1pbiI6ZmFsc2UsImFwcE5hbWUiOiJsb2FkdGVzdCIsImlhdCI6MTYyMTYzNDIwNX0.B-Uv1ETUw3xvYF74PPrvfUTFcHoktfpHerGefniOaqQ"
uuid: "hi"
scenarios:
- - name: ekko Test
+ - name: An IoT Device
engine: socketio-v3
flow:
- - emit:
- [
- "publish",
- { channel: "greeting", message: { text: "hi" }, uuid: "none" },
- ]
- - think: 10
+ # - emit: ["subscribe", { channels: ["greeting"], uuid: "nobody" }]
+ - think: 120
+ - loop:
+ - emit:
+ [
+ "publish",
+ { channel: "greeting", message: { text: "my message" } },
+ ]
+ - think: 1
+ count: 100
+ - think: 1
diff --git a/functions.js b/functions.js
new file mode 100644
index 0000000..e69de29
diff --git a/monitor.html b/monitor.html
index 7ed54b5..d0759da 100644
--- a/monitor.html
+++ b/monitor.html
@@ -3,8 +3,10 @@