mu 5.7.8 → 5.7.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mu.rb +1 -1
- data/lib/mu/command.rb +18 -2
- data/lib/mu/command/cmd_musl.rb +165 -0
- data/lib/mu/command/cmd_runscale.rb +12 -8
- data/lib/mu/command/help.rb +1 -0
- data/lib/mu/har.rb +449 -0
- data/lib/mu/libxml.rb +21 -0
- data/lib/mu/maker.rb +288 -0
- data/lib/mu/xmlizable.rb +559 -0
- metadata +78 -267
- data/rdoc/Gemfile.html +0 -194
- data/rdoc/LICENSE_txt.html +0 -201
- data/rdoc/Mu.html +0 -478
- data/rdoc/Mu/Client.html +0 -461
- data/rdoc/Mu/Command.html +0 -338
- data/rdoc/Mu/Command/API.html +0 -844
- data/rdoc/Mu/Command/Cmd_appid.html +0 -1341
- data/rdoc/Mu/Command/Cmd_cli.html +0 -800
- data/rdoc/Mu/Command/Cmd_ddt.html +0 -1612
- data/rdoc/Mu/Command/Cmd_homepage.html +0 -762
- data/rdoc/Mu/Command/Cmd_muapi.html +0 -1363
- data/rdoc/Mu/Command/Cmd_netconfig.html +0 -1077
- data/rdoc/Mu/Command/Cmd_runscale.html +0 -1441
- data/rdoc/Mu/Command/Cmd_runscenario.html +0 -787
- data/rdoc/Mu/Command/Cmd_runverify.html +0 -893
- data/rdoc/Mu/Command/Cmd_scale.html +0 -1323
- data/rdoc/Mu/Command/Cmd_system.html +0 -677
- data/rdoc/Mu/Command/Curl.html +0 -751
- data/rdoc/Mu/Command/Help.html +0 -305
- data/rdoc/Mu/Curl.html +0 -243
- data/rdoc/Mu/Curl/Error.html +0 -304
- data/rdoc/Mu/Curl/Error/Authorize.html +0 -355
- data/rdoc/Mu/Curl/Error/Connect.html +0 -286
- data/rdoc/Mu/Curl/Error/DNS.html +0 -236
- data/rdoc/Mu/Curl/Error/Region.html +0 -307
- data/rdoc/Mu/Curl/Error/Status.html +0 -286
- data/rdoc/Mu/Curl/Error/Timeout.html +0 -286
- data/rdoc/Mu/Curl/Verify.html +0 -472
- data/rdoc/Mu/Curl/Verify/Request.html +0 -424
- data/rdoc/Mu/Curl/Verify/Response.html +0 -372
- data/rdoc/Mu/Curl/Verify/Result.html +0 -373
- data/rdoc/Mu/Ddt.html +0 -1347
- data/rdoc/Mu/Helper.html +0 -517
- data/rdoc/Mu/Homepage.html +0 -719
- data/rdoc/Mu/HttpHelper.html +0 -890
- data/rdoc/Mu/Muapi.html +0 -1226
- data/rdoc/Mu/Netconfig.html +0 -1178
- data/rdoc/Mu/Scale.html +0 -1359
- data/rdoc/Mu/System.html +0 -504
- data/rdoc/Object.html +0 -285
- data/rdoc/README_rdoc.html +0 -892
- data/rdoc/Rakefile.html +0 -257
- data/rdoc/TCTestMu.html +0 -2583
- data/rdoc/Test.html +0 -235
- data/rdoc/Test/Unit.html +0 -235
- data/rdoc/Test/Unit/TestCase.html +0 -236
- data/rdoc/Test/helper_rb.html +0 -62
- data/rdoc/Test/tc_test_mu_rb.html +0 -60
- data/rdoc/VERSION.html +0 -179
- data/rdoc/bin/mu.html +0 -54
- data/rdoc/classes/Mu.html +0 -132
- data/rdoc/classes/Mu/Client.html +0 -214
- data/rdoc/classes/Mu/Command.html +0 -129
- data/rdoc/classes/Mu/Command/API.html +0 -362
- data/rdoc/classes/Mu/Command/Cmd_appid.html +0 -238
- data/rdoc/classes/Mu/Command/Cmd_cli.html +0 -273
- data/rdoc/classes/Mu/Command/Cmd_ddt.html +0 -639
- data/rdoc/classes/Mu/Command/Cmd_homepage.html +0 -276
- data/rdoc/classes/Mu/Command/Cmd_muapi.html +0 -527
- data/rdoc/classes/Mu/Command/Cmd_netconfig.html +0 -399
- data/rdoc/classes/Mu/Command/Cmd_runscale.html +0 -220
- data/rdoc/classes/Mu/Command/Cmd_runscenario.html +0 -197
- data/rdoc/classes/Mu/Command/Cmd_runverify.html +0 -196
- data/rdoc/classes/Mu/Command/Cmd_scale.html +0 -511
- data/rdoc/classes/Mu/Command/Cmd_system.html +0 -236
- data/rdoc/classes/Mu/Command/Curl.html +0 -182
- data/rdoc/classes/Mu/Command/Help.html +0 -137
- data/rdoc/classes/Mu/Curl.html +0 -116
- data/rdoc/classes/Mu/Curl/Error.html +0 -148
- data/rdoc/classes/Mu/Curl/Error/Authorize.html +0 -165
- data/rdoc/classes/Mu/Curl/Error/Connect.html +0 -139
- data/rdoc/classes/Mu/Curl/Error/DNS.html +0 -113
- data/rdoc/classes/Mu/Curl/Error/Region.html +0 -150
- data/rdoc/classes/Mu/Curl/Error/Status.html +0 -139
- data/rdoc/classes/Mu/Curl/Error/Timeout.html +0 -139
- data/rdoc/classes/Mu/Curl/Verify.html +0 -207
- data/rdoc/classes/Mu/Curl/Verify/Request.html +0 -187
- data/rdoc/classes/Mu/Curl/Verify/Response.html +0 -172
- data/rdoc/classes/Mu/Curl/Verify/Result.html +0 -172
- data/rdoc/classes/Mu/Ddt.html +0 -610
- data/rdoc/classes/Mu/Helper.html +0 -308
- data/rdoc/classes/Mu/Homepage.html +0 -306
- data/rdoc/classes/Mu/HttpHelper.html +0 -393
- data/rdoc/classes/Mu/Muapi.html +0 -549
- data/rdoc/classes/Mu/Netconfig.html +0 -478
- data/rdoc/classes/Mu/Scale.html +0 -580
- data/rdoc/classes/Mu/System.html +0 -232
- data/rdoc/classes/Object.html +0 -139
- data/rdoc/classes/TCTestMu.html +0 -948
- data/rdoc/classes/Test.html +0 -107
- data/rdoc/classes/Test/Unit.html +0 -107
- data/rdoc/classes/Test/Unit/TestCase.html +0 -113
- data/rdoc/created.rid +0 -36
- data/rdoc/files/lib/mu/api/ddt_rb.html +0 -101
- data/rdoc/files/lib/mu/api/homepage_rb.html +0 -101
- data/rdoc/files/lib/mu/api/muapi_rb.html +0 -101
- data/rdoc/files/lib/mu/api/netconfig_rb.html +0 -101
- data/rdoc/files/lib/mu/api/scale_rb.html +0 -101
- data/rdoc/files/lib/mu/api/system_rb.html +0 -101
- data/rdoc/files/lib/mu/client_rb.html +0 -101
- data/rdoc/files/lib/mu/command/api_rb.html +0 -101
- data/rdoc/files/lib/mu/command/cmd_appid_rb.html +0 -119
- data/rdoc/files/lib/mu/command/cmd_cli_rb.html +0 -108
- data/rdoc/files/lib/mu/command/cmd_ddt_rb.html +0 -116
- data/rdoc/files/lib/mu/command/cmd_homepage_rb.html +0 -115
- data/rdoc/files/lib/mu/command/cmd_muapi_rb.html +0 -115
- data/rdoc/files/lib/mu/command/cmd_netconfig_rb.html +0 -116
- data/rdoc/files/lib/mu/command/cmd_runscale_rb.html +0 -119
- data/rdoc/files/lib/mu/command/cmd_runscenario_rb.html +0 -115
- data/rdoc/files/lib/mu/command/cmd_runverify_rb.html +0 -118
- data/rdoc/files/lib/mu/command/cmd_scale_rb.html +0 -115
- data/rdoc/files/lib/mu/command/cmd_system_rb.html +0 -116
- data/rdoc/files/lib/mu/command/curl_rb.html +0 -101
- data/rdoc/files/lib/mu/command/help_rb.html +0 -101
- data/rdoc/files/lib/mu/command_rb.html +0 -107
- data/rdoc/files/lib/mu/curl/error_rb.html +0 -101
- data/rdoc/files/lib/mu/curl/verify_rb.html +0 -101
- data/rdoc/files/lib/mu/helper_rb.html +0 -101
- data/rdoc/files/lib/mu/http_helper_rb.html +0 -101
- data/rdoc/files/lib/mu_rb.html +0 -121
- data/rdoc/files/test/helper_rb.html +0 -112
- data/rdoc/files/test/tc_test_mu_rb.html +0 -111
- data/rdoc/fr_class_index.html +0 -34
- data/rdoc/fr_file_index.html +0 -31
- data/rdoc/fr_method_index.html +0 -112
- data/rdoc/images/brick.png +0 -0
- data/rdoc/images/brick_link.png +0 -0
- data/rdoc/images/bug.png +0 -0
- data/rdoc/images/bullet_black.png +0 -0
- data/rdoc/images/bullet_toggle_minus.png +0 -0
- data/rdoc/images/bullet_toggle_plus.png +0 -0
- data/rdoc/images/date.png +0 -0
- data/rdoc/images/find.png +0 -0
- data/rdoc/images/loadingAnimation.gif +0 -0
- data/rdoc/images/macFFBgHack.png +0 -0
- data/rdoc/images/package.png +0 -0
- data/rdoc/images/page_green.png +0 -0
- data/rdoc/images/page_white_text.png +0 -0
- data/rdoc/images/page_white_width.png +0 -0
- data/rdoc/images/plugin.png +0 -0
- data/rdoc/images/ruby.png +0 -0
- data/rdoc/images/tag_green.png +0 -0
- data/rdoc/images/wrench.png +0 -0
- data/rdoc/images/wrench_orange.png +0 -0
- data/rdoc/images/zoom.png +0 -0
- data/rdoc/index.html +0 -884
- data/rdoc/js/darkfish.js +0 -116
- data/rdoc/js/jquery.js +0 -32
- data/rdoc/js/quicksearch.js +0 -114
- data/rdoc/js/thickbox-compressed.js +0 -10
- data/rdoc/lib/mu/api/ddt_rb.html +0 -52
- data/rdoc/lib/mu/api/homepage_rb.html +0 -52
- data/rdoc/lib/mu/api/muapi_rb.html +0 -52
- data/rdoc/lib/mu/api/netconfig_rb.html +0 -52
- data/rdoc/lib/mu/api/scale_rb.html +0 -52
- data/rdoc/lib/mu/api/system_rb.html +0 -52
- data/rdoc/lib/mu/client_rb.html +0 -52
- data/rdoc/lib/mu/command/api_rb.html +0 -52
- data/rdoc/lib/mu/command/cmd_appid_rb.html +0 -62
- data/rdoc/lib/mu/command/cmd_cli_rb.html +0 -55
- data/rdoc/lib/mu/command/cmd_ddt_rb.html +0 -60
- data/rdoc/lib/mu/command/cmd_homepage_rb.html +0 -57
- data/rdoc/lib/mu/command/cmd_muapi_rb.html +0 -59
- data/rdoc/lib/mu/command/cmd_netconfig_rb.html +0 -58
- data/rdoc/lib/mu/command/cmd_runscale_rb.html +0 -62
- data/rdoc/lib/mu/command/cmd_runscenario_rb.html +0 -57
- data/rdoc/lib/mu/command/cmd_runverify_rb.html +0 -61
- data/rdoc/lib/mu/command/cmd_scale_rb.html +0 -58
- data/rdoc/lib/mu/command/cmd_system_rb.html +0 -59
- data/rdoc/lib/mu/command/curl_rb.html +0 -52
- data/rdoc/lib/mu/command/help_rb.html +0 -52
- data/rdoc/lib/mu/command_rb.html +0 -55
- data/rdoc/lib/mu/curl/error_rb.html +0 -52
- data/rdoc/lib/mu/curl/verify_rb.html +0 -52
- data/rdoc/lib/mu/helper_rb.html +0 -52
- data/rdoc/lib/mu/http_helper_rb.html +0 -52
- data/rdoc/lib/mu_rb.html +0 -80
- data/rdoc/rdoc-style.css +0 -208
- data/rdoc/rdoc.css +0 -706
- data/test/data/app_id_stats.csv +0 -1
- data/test/data/app_id_status.json +0 -156
- data/test/data/data_cgi.msl +0 -94
- data/test/data/data_cgi.xml +0 -322
- data/test/data/default_test.csv +0 -3
- data/test/data/ftp_with_channel.xml +0 -1643
- data/test/data/irc.xml +0 -3837
- data/test/data/scale.json +0 -25
- data/test/data/test_data_cgi_error.xml +0 -35
data/rdoc/classes/Mu/Scale.html
DELETED
@@ -1,580 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>Class: Mu::Scale</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="classHeader">
|
50
|
-
<table class="header-table">
|
51
|
-
<tr class="top-aligned-row">
|
52
|
-
<td><strong>Class</strong></td>
|
53
|
-
<td class="class-name-in-header">Mu::Scale</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../files/lib/mu/api/scale_rb.html">
|
59
|
-
lib/mu/api/scale.rb
|
60
|
-
</a>
|
61
|
-
<br />
|
62
|
-
</td>
|
63
|
-
</tr>
|
64
|
-
|
65
|
-
<tr class="top-aligned-row">
|
66
|
-
<td><strong>Parent:</strong></td>
|
67
|
-
<td>
|
68
|
-
Object
|
69
|
-
</td>
|
70
|
-
</tr>
|
71
|
-
</table>
|
72
|
-
</div>
|
73
|
-
<!-- banner header -->
|
74
|
-
|
75
|
-
<div id="bodyContent">
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
<div id="contextContent">
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
</div>
|
84
|
-
|
85
|
-
<div id="method-list">
|
86
|
-
<h3 class="section-bar">Methods</h3>
|
87
|
-
|
88
|
-
<div class="name-list">
|
89
|
-
<a href="#M000016">about</a>
|
90
|
-
<a href="#M000008">configure</a>
|
91
|
-
<a href="#M000019">data</a>
|
92
|
-
<a href="#M000025">delete_scale_engine</a>
|
93
|
-
<a href="#M000015">list</a>
|
94
|
-
<a href="#M000006">new</a>
|
95
|
-
<a href="#M000020">pattern</a>
|
96
|
-
<a href="#M000017">pcap</a>
|
97
|
-
<a href="#M000022">release</a>
|
98
|
-
<a href="#M000024">release_scale_engine</a>
|
99
|
-
<a href="#M000023">reserve_scale_engine</a>
|
100
|
-
<a href="#M000007">session</a>
|
101
|
-
<a href="#M000009">start</a>
|
102
|
-
<a href="#M000010">start_n</a>
|
103
|
-
<a href="#M000014">status</a>
|
104
|
-
<a href="#M000018">statuses</a>
|
105
|
-
<a href="#M000021">stop</a>
|
106
|
-
<a href="#M000013">update</a>
|
107
|
-
<a href="#M000011">verify</a>
|
108
|
-
<a href="#M000012">verify_n</a>
|
109
|
-
</div>
|
110
|
-
</div>
|
111
|
-
|
112
|
-
</div>
|
113
|
-
|
114
|
-
|
115
|
-
<!-- if includes -->
|
116
|
-
<div id="includes">
|
117
|
-
<h3 class="section-bar">Included Modules</h3>
|
118
|
-
|
119
|
-
<div id="includes-list">
|
120
|
-
<span class="include-name">Helper</span>
|
121
|
-
</div>
|
122
|
-
</div>
|
123
|
-
|
124
|
-
<div id="section">
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
<div id="attribute-list">
|
131
|
-
<h3 class="section-bar">Attributes</h3>
|
132
|
-
|
133
|
-
<div class="name-list">
|
134
|
-
<table>
|
135
|
-
<tr class="top-aligned-row context-row">
|
136
|
-
<td class="context-item-name">config_file</td>
|
137
|
-
<td class="context-item-value"> [RW] </td>
|
138
|
-
<td class="context-item-desc"></td>
|
139
|
-
</tr>
|
140
|
-
<tr class="top-aligned-row context-row">
|
141
|
-
<td class="context-item-name">configuration</td>
|
142
|
-
<td class="context-item-value"> [RW] </td>
|
143
|
-
<td class="context-item-desc"></td>
|
144
|
-
</tr>
|
145
|
-
<tr class="top-aligned-row context-row">
|
146
|
-
<td class="context-item-name">docroot</td>
|
147
|
-
<td class="context-item-value"> [RW] </td>
|
148
|
-
<td class="context-item-desc"></td>
|
149
|
-
</tr>
|
150
|
-
<tr class="top-aligned-row context-row">
|
151
|
-
<td class="context-item-name">host</td>
|
152
|
-
<td class="context-item-value"> [RW] </td>
|
153
|
-
<td class="context-item-desc"></td>
|
154
|
-
</tr>
|
155
|
-
<tr class="top-aligned-row context-row">
|
156
|
-
<td class="context-item-name">password</td>
|
157
|
-
<td class="context-item-value"> [RW] </td>
|
158
|
-
<td class="context-item-desc"></td>
|
159
|
-
</tr>
|
160
|
-
<tr class="top-aligned-row context-row">
|
161
|
-
<td class="context-item-name">tracks</td>
|
162
|
-
<td class="context-item-value"> [RW] </td>
|
163
|
-
<td class="context-item-desc"></td>
|
164
|
-
</tr>
|
165
|
-
<tr class="top-aligned-row context-row">
|
166
|
-
<td class="context-item-name">username</td>
|
167
|
-
<td class="context-item-value"> [RW] </td>
|
168
|
-
<td class="context-item-desc"></td>
|
169
|
-
</tr>
|
170
|
-
<tr class="top-aligned-row context-row">
|
171
|
-
<td class="context-item-name">uuid</td>
|
172
|
-
<td class="context-item-value"> [RW] </td>
|
173
|
-
<td class="context-item-desc"></td>
|
174
|
-
</tr>
|
175
|
-
</table>
|
176
|
-
</div>
|
177
|
-
</div>
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
<!-- if method_list -->
|
182
|
-
<div id="methods">
|
183
|
-
<h3 class="section-bar">Public Class methods</h3>
|
184
|
-
|
185
|
-
<div id="method-M000006" class="method-detail">
|
186
|
-
<a name="M000006"></a>
|
187
|
-
|
188
|
-
<div class="method-heading">
|
189
|
-
<a href="Scale.src/M000006.html" target="Code" class="method-signature"
|
190
|
-
onclick="popupCode('Scale.src/M000006.html');return false;">
|
191
|
-
<span class="method-name">new</span><span class="method-args">(host=ENV['MU_IP'], username=ENV['MU_ADMIN_USER'], password=ENV['MU_ADMIN_PASS'])</span>
|
192
|
-
</a>
|
193
|
-
</div>
|
194
|
-
|
195
|
-
<div class="method-description">
|
196
|
-
</div>
|
197
|
-
</div>
|
198
|
-
|
199
|
-
<h3 class="section-bar">Public Instance methods</h3>
|
200
|
-
|
201
|
-
<div id="method-M000016" class="method-detail">
|
202
|
-
<a name="M000016"></a>
|
203
|
-
|
204
|
-
<div class="method-heading">
|
205
|
-
<a href="Scale.src/M000016.html" target="Code" class="method-signature"
|
206
|
-
onclick="popupCode('Scale.src/M000016.html');return false;">
|
207
|
-
<span class="method-name">about</span><span class="method-args">()</span>
|
208
|
-
</a>
|
209
|
-
</div>
|
210
|
-
|
211
|
-
<div class="method-description">
|
212
|
-
<p>
|
213
|
-
lists information <a href="Scale.html#M000016">about</a> the the <a
|
214
|
-
href="Scale.html">Scale</a> Player and all active and inactive <a
|
215
|
-
href="Scale.html">Scale</a> Engines
|
216
|
-
</p>
|
217
|
-
</div>
|
218
|
-
</div>
|
219
|
-
|
220
|
-
<div id="method-M000008" class="method-detail">
|
221
|
-
<a name="M000008"></a>
|
222
|
-
|
223
|
-
<div class="method-heading">
|
224
|
-
<a href="Scale.src/M000008.html" target="Code" class="method-signature"
|
225
|
-
onclick="popupCode('Scale.src/M000008.html');return false;">
|
226
|
-
<span class="method-name">configure</span><span class="method-args">(param, value)</span>
|
227
|
-
</a>
|
228
|
-
</div>
|
229
|
-
|
230
|
-
<div class="method-description">
|
231
|
-
<p>
|
232
|
-
configures a parameter in the class @configuration object
|
233
|
-
</p>
|
234
|
-
<pre>
|
235
|
-
* param = the parameter to configure (e.g. volume)
|
236
|
-
* value = the parameter's value ( e.g. 100)
|
237
|
-
</pre>
|
238
|
-
</div>
|
239
|
-
</div>
|
240
|
-
|
241
|
-
<div id="method-M000019" class="method-detail">
|
242
|
-
<a name="M000019"></a>
|
243
|
-
|
244
|
-
<div class="method-heading">
|
245
|
-
<a href="Scale.src/M000019.html" target="Code" class="method-signature"
|
246
|
-
onclick="popupCode('Scale.src/M000019.html');return false;">
|
247
|
-
<span class="method-name">data</span><span class="method-args">(view='TIMELINE', zoom="0", position="0", bot_id="")</span>
|
248
|
-
</a>
|
249
|
-
</div>
|
250
|
-
|
251
|
-
<div class="method-description">
|
252
|
-
<p>
|
253
|
-
gets chart <a href="Scale.html#M000019">data</a> for the <a
|
254
|
-
href="Scale.html">Scale</a> test
|
255
|
-
</p>
|
256
|
-
<pre>
|
257
|
-
* view = the TIMELINE or CALLGRAPH chart.
|
258
|
-
* zoom = the zoom level (0 to 1). 1 returns data for 100% of the time range, 0.5 returns data for 50% of the time range, and 0 returns only the last minute of data
|
259
|
-
* position = 0.
|
260
|
-
* bot_id = the scale engine id
|
261
|
-
</pre>
|
262
|
-
</div>
|
263
|
-
</div>
|
264
|
-
|
265
|
-
<div id="method-M000025" class="method-detail">
|
266
|
-
<a name="M000025"></a>
|
267
|
-
|
268
|
-
<div class="method-heading">
|
269
|
-
<a href="Scale.src/M000025.html" target="Code" class="method-signature"
|
270
|
-
onclick="popupCode('Scale.src/M000025.html');return false;">
|
271
|
-
<span class="method-name">delete_scale_engine</span><span class="method-args">(bot_id)</span>
|
272
|
-
</a>
|
273
|
-
</div>
|
274
|
-
|
275
|
-
<div class="method-description">
|
276
|
-
<p>
|
277
|
-
removes a <a href="Scale.html">Scale</a> engine from the <a
|
278
|
-
href="Scale.html#M000015">list</a> of available engines
|
279
|
-
</p>
|
280
|
-
<pre>
|
281
|
-
* bot_id = the scale engine id
|
282
|
-
</pre>
|
283
|
-
</div>
|
284
|
-
</div>
|
285
|
-
|
286
|
-
<div id="method-M000015" class="method-detail">
|
287
|
-
<a name="M000015"></a>
|
288
|
-
|
289
|
-
<div class="method-heading">
|
290
|
-
<a href="Scale.src/M000015.html" target="Code" class="method-signature"
|
291
|
-
onclick="popupCode('Scale.src/M000015.html');return false;">
|
292
|
-
<span class="method-name">list</span><span class="method-args">()</span>
|
293
|
-
</a>
|
294
|
-
</div>
|
295
|
-
|
296
|
-
<div class="method-description">
|
297
|
-
<p>
|
298
|
-
returns the current <a href="Scale.html">Scale</a> Player‘s <a
|
299
|
-
href="Scale.html#M000007">session</a> id
|
300
|
-
</p>
|
301
|
-
</div>
|
302
|
-
</div>
|
303
|
-
|
304
|
-
<div id="method-M000020" class="method-detail">
|
305
|
-
<a name="M000020"></a>
|
306
|
-
|
307
|
-
<div class="method-heading">
|
308
|
-
<a href="Scale.src/M000020.html" target="Code" class="method-signature"
|
309
|
-
onclick="popupCode('Scale.src/M000020.html');return false;">
|
310
|
-
<span class="method-name">pattern</span><span class="method-args">(zoom="0", position="0")</span>
|
311
|
-
</a>
|
312
|
-
</div>
|
313
|
-
|
314
|
-
<div class="method-description">
|
315
|
-
<p>
|
316
|
-
returns scale test <a href="Scale.html#M000019">data</a> for charting
|
317
|
-
</p>
|
318
|
-
<pre>
|
319
|
-
* command-line args require a zoom level and position(0)
|
320
|
-
* zoom = the zoom level (0 to 1). 1 returns data for 100% of the time range, 0.5 returns data for 50% of the time range, and 0 returns only the last minute of data
|
321
|
-
* position = 0.
|
322
|
-
</pre>
|
323
|
-
</div>
|
324
|
-
</div>
|
325
|
-
|
326
|
-
<div id="method-M000017" class="method-detail">
|
327
|
-
<a name="M000017"></a>
|
328
|
-
|
329
|
-
<div class="method-heading">
|
330
|
-
<a href="Scale.src/M000017.html" target="Code" class="method-signature"
|
331
|
-
onclick="popupCode('Scale.src/M000017.html');return false;">
|
332
|
-
<span class="method-name">pcap</span><span class="method-args">(bot_id, file)</span>
|
333
|
-
</a>
|
334
|
-
</div>
|
335
|
-
|
336
|
-
<div class="method-description">
|
337
|
-
<p>
|
338
|
-
returns a packet capture file from scale <a
|
339
|
-
href="Scale.html#M000011">verify</a>
|
340
|
-
</p>
|
341
|
-
<pre>
|
342
|
-
* bot_id = the id of the scale engine
|
343
|
-
* file = the name of the pcap file to retrieve
|
344
|
-
</pre>
|
345
|
-
</div>
|
346
|
-
</div>
|
347
|
-
|
348
|
-
<div id="method-M000022" class="method-detail">
|
349
|
-
<a name="M000022"></a>
|
350
|
-
|
351
|
-
<div class="method-heading">
|
352
|
-
<a href="Scale.src/M000022.html" target="Code" class="method-signature"
|
353
|
-
onclick="popupCode('Scale.src/M000022.html');return false;">
|
354
|
-
<span class="method-name">release</span><span class="method-args">()</span>
|
355
|
-
</a>
|
356
|
-
</div>
|
357
|
-
|
358
|
-
<div class="method-description">
|
359
|
-
<p>
|
360
|
-
releases the scale player
|
361
|
-
</p>
|
362
|
-
</div>
|
363
|
-
</div>
|
364
|
-
|
365
|
-
<div id="method-M000024" class="method-detail">
|
366
|
-
<a name="M000024"></a>
|
367
|
-
|
368
|
-
<div class="method-heading">
|
369
|
-
<a href="Scale.src/M000024.html" target="Code" class="method-signature"
|
370
|
-
onclick="popupCode('Scale.src/M000024.html');return false;">
|
371
|
-
<span class="method-name">release_scale_engine</span><span class="method-args">(bot_id)</span>
|
372
|
-
</a>
|
373
|
-
</div>
|
374
|
-
|
375
|
-
<div class="method-description">
|
376
|
-
<p>
|
377
|
-
marks the specified <a href="Scale.html">Scale</a> Engine as inactive (will
|
378
|
-
not participate in a <a href="Scale.html">Scale</a> test)
|
379
|
-
</p>
|
380
|
-
<pre>
|
381
|
-
* bot_id = the scale engine id
|
382
|
-
</pre>
|
383
|
-
</div>
|
384
|
-
</div>
|
385
|
-
|
386
|
-
<div id="method-M000023" class="method-detail">
|
387
|
-
<a name="M000023"></a>
|
388
|
-
|
389
|
-
<div class="method-heading">
|
390
|
-
<a href="Scale.src/M000023.html" target="Code" class="method-signature"
|
391
|
-
onclick="popupCode('Scale.src/M000023.html');return false;">
|
392
|
-
<span class="method-name">reserve_scale_engine</span><span class="method-args">(bot_id)</span>
|
393
|
-
</a>
|
394
|
-
</div>
|
395
|
-
|
396
|
-
<div class="method-description">
|
397
|
-
<p>
|
398
|
-
marks the specified <a href="Scale.html">Scale</a> Engine as active (will
|
399
|
-
participate in a <a href="Scale.html">Scale</a> test
|
400
|
-
</p>
|
401
|
-
<pre>
|
402
|
-
* bot_id = the scale engine id
|
403
|
-
</pre>
|
404
|
-
</div>
|
405
|
-
</div>
|
406
|
-
|
407
|
-
<div id="method-M000007" class="method-detail">
|
408
|
-
<a name="M000007"></a>
|
409
|
-
|
410
|
-
<div class="method-heading">
|
411
|
-
<a href="Scale.src/M000007.html" target="Code" class="method-signature"
|
412
|
-
onclick="popupCode('Scale.src/M000007.html');return false;">
|
413
|
-
<span class="method-name">session</span><span class="method-args">()</span>
|
414
|
-
</a>
|
415
|
-
</div>
|
416
|
-
|
417
|
-
<div class="method-description">
|
418
|
-
<p>
|
419
|
-
creates a <a href="Scale.html#M000006">new</a> Studio <a
|
420
|
-
href="Scale.html">Scale</a> <a href="Scale.html#M000007">session</a>,
|
421
|
-
returning the <a href="Scale.html#M000007">session</a> id
|
422
|
-
</p>
|
423
|
-
</div>
|
424
|
-
</div>
|
425
|
-
|
426
|
-
<div id="method-M000009" class="method-detail">
|
427
|
-
<a name="M000009"></a>
|
428
|
-
|
429
|
-
<div class="method-heading">
|
430
|
-
<a href="Scale.src/M000009.html" target="Code" class="method-signature"
|
431
|
-
onclick="popupCode('Scale.src/M000009.html');return false;">
|
432
|
-
<span class="method-name">start</span><span class="method-args">()</span>
|
433
|
-
</a>
|
434
|
-
</div>
|
435
|
-
|
436
|
-
<div class="method-description">
|
437
|
-
<p>
|
438
|
-
starts a scale test with the class @configuration object
|
439
|
-
</p>
|
440
|
-
</div>
|
441
|
-
</div>
|
442
|
-
|
443
|
-
<div id="method-M000010" class="method-detail">
|
444
|
-
<a name="M000010"></a>
|
445
|
-
|
446
|
-
<div class="method-heading">
|
447
|
-
<a href="Scale.src/M000010.html" target="Code" class="method-signature"
|
448
|
-
onclick="popupCode('Scale.src/M000010.html');return false;">
|
449
|
-
<span class="method-name">start_n</span><span class="method-args">()</span>
|
450
|
-
</a>
|
451
|
-
</div>
|
452
|
-
|
453
|
-
<div class="method-description">
|
454
|
-
<p>
|
455
|
-
starts a multi-track scale test with the class @tracks object
|
456
|
-
</p>
|
457
|
-
</div>
|
458
|
-
</div>
|
459
|
-
|
460
|
-
<div id="method-M000014" class="method-detail">
|
461
|
-
<a name="M000014"></a>
|
462
|
-
|
463
|
-
<div class="method-heading">
|
464
|
-
<a href="Scale.src/M000014.html" target="Code" class="method-signature"
|
465
|
-
onclick="popupCode('Scale.src/M000014.html');return false;">
|
466
|
-
<span class="method-name">status</span><span class="method-args">()</span>
|
467
|
-
</a>
|
468
|
-
</div>
|
469
|
-
|
470
|
-
<div class="method-description">
|
471
|
-
<p>
|
472
|
-
gets information <a href="Scale.html#M000016">about</a> the currently
|
473
|
-
running <a href="Scale.html">Scale</a> test.
|
474
|
-
</p>
|
475
|
-
</div>
|
476
|
-
</div>
|
477
|
-
|
478
|
-
<div id="method-M000018" class="method-detail">
|
479
|
-
<a name="M000018"></a>
|
480
|
-
|
481
|
-
<div class="method-heading">
|
482
|
-
<a href="Scale.src/M000018.html" target="Code" class="method-signature"
|
483
|
-
onclick="popupCode('Scale.src/M000018.html');return false;">
|
484
|
-
<span class="method-name">statuses</span><span class="method-args">()</span>
|
485
|
-
</a>
|
486
|
-
</div>
|
487
|
-
|
488
|
-
<div class="method-description">
|
489
|
-
<p>
|
490
|
-
gets the <a href="Scale.html#M000014">status</a> of all active and inactive
|
491
|
-
<a href="Scale.html">Scale</a> engines
|
492
|
-
</p>
|
493
|
-
</div>
|
494
|
-
</div>
|
495
|
-
|
496
|
-
<div id="method-M000021" class="method-detail">
|
497
|
-
<a name="M000021"></a>
|
498
|
-
|
499
|
-
<div class="method-heading">
|
500
|
-
<a href="Scale.src/M000021.html" target="Code" class="method-signature"
|
501
|
-
onclick="popupCode('Scale.src/M000021.html');return false;">
|
502
|
-
<span class="method-name">stop</span><span class="method-args">()</span>
|
503
|
-
</a>
|
504
|
-
</div>
|
505
|
-
|
506
|
-
<div class="method-description">
|
507
|
-
<p>
|
508
|
-
stops a scale test
|
509
|
-
</p>
|
510
|
-
</div>
|
511
|
-
</div>
|
512
|
-
|
513
|
-
<div id="method-M000013" class="method-detail">
|
514
|
-
<a name="M000013"></a>
|
515
|
-
|
516
|
-
<div class="method-heading">
|
517
|
-
<a href="Scale.src/M000013.html" target="Code" class="method-signature"
|
518
|
-
onclick="popupCode('Scale.src/M000013.html');return false;">
|
519
|
-
<span class="method-name">update</span><span class="method-args">(params)</span>
|
520
|
-
</a>
|
521
|
-
</div>
|
522
|
-
|
523
|
-
<div class="method-description">
|
524
|
-
<p>
|
525
|
-
updates a running scale test, as long as the test <a
|
526
|
-
href="Scale.html#M000020">pattern</a> is ‘none‘
|
527
|
-
</p>
|
528
|
-
<pre>
|
529
|
-
* params = a json object containing the information to update, such as { "volume" : 100 }
|
530
|
-
</pre>
|
531
|
-
</div>
|
532
|
-
</div>
|
533
|
-
|
534
|
-
<div id="method-M000011" class="method-detail">
|
535
|
-
<a name="M000011"></a>
|
536
|
-
|
537
|
-
<div class="method-heading">
|
538
|
-
<a href="Scale.src/M000011.html" target="Code" class="method-signature"
|
539
|
-
onclick="popupCode('Scale.src/M000011.html');return false;">
|
540
|
-
<span class="method-name">verify</span><span class="method-args">()</span>
|
541
|
-
</a>
|
542
|
-
</div>
|
543
|
-
|
544
|
-
<div class="method-description">
|
545
|
-
<p>
|
546
|
-
verifies the class @configuration object
|
547
|
-
</p>
|
548
|
-
</div>
|
549
|
-
</div>
|
550
|
-
|
551
|
-
<div id="method-M000012" class="method-detail">
|
552
|
-
<a name="M000012"></a>
|
553
|
-
|
554
|
-
<div class="method-heading">
|
555
|
-
<a href="Scale.src/M000012.html" target="Code" class="method-signature"
|
556
|
-
onclick="popupCode('Scale.src/M000012.html');return false;">
|
557
|
-
<span class="method-name">verify_n</span><span class="method-args">()</span>
|
558
|
-
</a>
|
559
|
-
</div>
|
560
|
-
|
561
|
-
<div class="method-description">
|
562
|
-
<p>
|
563
|
-
verifies the multi-track class @tracks object
|
564
|
-
</p>
|
565
|
-
</div>
|
566
|
-
</div>
|
567
|
-
|
568
|
-
|
569
|
-
</div>
|
570
|
-
|
571
|
-
|
572
|
-
</div>
|
573
|
-
|
574
|
-
|
575
|
-
<div id="validator-badges">
|
576
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
577
|
-
</div>
|
578
|
-
|
579
|
-
</body>
|
580
|
-
</html>
|