-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathloadtest-example.html
90 lines (89 loc) · 3.67 KB
/
loadtest-example.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!DOCTYPE html>
<html lang="en">
<head>
<title>WebRTC Reference Client</title>
<meta charset="UTF-8">
<link rel="icon" type="image/png" href="favicon.png">
<link rel="stylesheet" type="text/css" href="index.css">
<link rel="stylesheet" type="text/css" href="webaudio.css">
<script type="module" src="dist/loadtest-example-bundle.js"></script>
</head>
<body>
<main>
<h1>
VIER Cognitive Voice Gateway<br>
WebRTC Reference Client
</h1>
<section>
<div class="form-field">
<div>
<label for="environment">Environment</label>
</div>
<div>
<input id="environment" type="text" readonly disabled>
</div>
</div>
<div class="form-field">
<div>
<label for="reseller-token">Reseller Token</label>
</div>
<div>
<input id="reseller-token" name="reseller-token" type="text">
</div>
</div>
<div class="form-field">
<div>
<label for="destination">Destination</label>
</div>
<div>
<input id="destination" name="destination" type="tel">
</div>
</div>
<div>
<div>
<label for="number-of-calls">Number of calls:</label>
<input type="number" name="number-of-calls" id="number-of-calls" value="100" min="1">
</div>
<div>
<label for="concurrency">Concurrency:</label>
<input type="number" name="concurrency" id="concurrency" value="2" min="1">
</div>
<div>
<label for="delay-before-drop">Delay before drop:</label>
<input type="number" name ="delay-before-drop" id="delay-before-drop" value="5000" min="1">
</div>
<div>
<label for="delay-after-drop">Delay after drop:</label>
<input type="number" name="delay-after-drop" id="delay-after-drop" value="2000" min="1">
</div>
</div>
<div>
<button id="start-calls">Start calls!</button>
</div>
<div id="progress" style="display: none">
<div>
Calls with no greeting: <span id="calls-no-greeting"></span>
</div>
<div>
Calls with a single greeting: <span id="calls-single-greetings"></span>
</div>
<div>
Calls with multiple greetings: <span id="calls-multiple-greetings"></span>
</div>
<div>
Failed calls: <span id="calls-failed"></span>
</div>
<div>
Completed calls: <span id="calls-completed"></span>
</div>
<div>
Remaining calls: <span id="calls-remaining"></span>
</div>
<div>
Calls in progress: <span id="calls-in-progress"></span>
</div>
</div>
</section>
</main>
</body>
</html>