diff --git a/labs/stress-testing/bbb-test b/labs/stress-testing/bbb-test index 7035782f3ec72419eba233c7629340f58c22441b..00df2792d3ad4da3f8141c6c806be3a65dc1079d 100755 --- a/labs/stress-testing/bbb-test +++ b/labs/stress-testing/bbb-test @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright (c) 2008-2011 by BigBlueButton Inc. +# Copyright (c) 2008-2017 by BigBlueButton Inc. # # Documentation: # http://code.google.com/p/bigbluebutton/wiki/Testing @@ -24,8 +24,9 @@ # # Changelog: # 2011-01-22 FFD Inital Version +# 2017-03-08 Mikhail Novosyolov, Dumalogiya online school <mikhailnov@dumalogiya.ru>, changed Firefox command line call for its new API -VERSION=0.1 +VERSION=0.2 IP=$(ifconfig | grep -v '127.0.0.1' | grep -E "[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*" | head -1 | cut -d: -f2 | awk '{ print $1}') @@ -76,7 +77,7 @@ sleep 3 i=0 while [ $i != "$NUMBER" ]; do echo "Connecting user $IP-$i" - firefox -a firefox -remote "openURL($HOST/demo/demo1.jsp?action=create&username=$IP-$i,new-tab)" & + firefox -new-tab -url "$HOST/demo/demo1.jsp?action=create&username=$IP-$i" & # We'll give BigBlueButton a moment to process the incoming request from this IP. # If we try to open 10 clients at the same time, the session IDs for each client will