mu 5.7.8 → 5.7.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (198) hide show
  1. data/lib/mu.rb +1 -1
  2. data/lib/mu/command.rb +18 -2
  3. data/lib/mu/command/cmd_musl.rb +165 -0
  4. data/lib/mu/command/cmd_runscale.rb +12 -8
  5. data/lib/mu/command/help.rb +1 -0
  6. data/lib/mu/har.rb +449 -0
  7. data/lib/mu/libxml.rb +21 -0
  8. data/lib/mu/maker.rb +288 -0
  9. data/lib/mu/xmlizable.rb +559 -0
  10. metadata +78 -267
  11. data/rdoc/Gemfile.html +0 -194
  12. data/rdoc/LICENSE_txt.html +0 -201
  13. data/rdoc/Mu.html +0 -478
  14. data/rdoc/Mu/Client.html +0 -461
  15. data/rdoc/Mu/Command.html +0 -338
  16. data/rdoc/Mu/Command/API.html +0 -844
  17. data/rdoc/Mu/Command/Cmd_appid.html +0 -1341
  18. data/rdoc/Mu/Command/Cmd_cli.html +0 -800
  19. data/rdoc/Mu/Command/Cmd_ddt.html +0 -1612
  20. data/rdoc/Mu/Command/Cmd_homepage.html +0 -762
  21. data/rdoc/Mu/Command/Cmd_muapi.html +0 -1363
  22. data/rdoc/Mu/Command/Cmd_netconfig.html +0 -1077
  23. data/rdoc/Mu/Command/Cmd_runscale.html +0 -1441
  24. data/rdoc/Mu/Command/Cmd_runscenario.html +0 -787
  25. data/rdoc/Mu/Command/Cmd_runverify.html +0 -893
  26. data/rdoc/Mu/Command/Cmd_scale.html +0 -1323
  27. data/rdoc/Mu/Command/Cmd_system.html +0 -677
  28. data/rdoc/Mu/Command/Curl.html +0 -751
  29. data/rdoc/Mu/Command/Help.html +0 -305
  30. data/rdoc/Mu/Curl.html +0 -243
  31. data/rdoc/Mu/Curl/Error.html +0 -304
  32. data/rdoc/Mu/Curl/Error/Authorize.html +0 -355
  33. data/rdoc/Mu/Curl/Error/Connect.html +0 -286
  34. data/rdoc/Mu/Curl/Error/DNS.html +0 -236
  35. data/rdoc/Mu/Curl/Error/Region.html +0 -307
  36. data/rdoc/Mu/Curl/Error/Status.html +0 -286
  37. data/rdoc/Mu/Curl/Error/Timeout.html +0 -286
  38. data/rdoc/Mu/Curl/Verify.html +0 -472
  39. data/rdoc/Mu/Curl/Verify/Request.html +0 -424
  40. data/rdoc/Mu/Curl/Verify/Response.html +0 -372
  41. data/rdoc/Mu/Curl/Verify/Result.html +0 -373
  42. data/rdoc/Mu/Ddt.html +0 -1347
  43. data/rdoc/Mu/Helper.html +0 -517
  44. data/rdoc/Mu/Homepage.html +0 -719
  45. data/rdoc/Mu/HttpHelper.html +0 -890
  46. data/rdoc/Mu/Muapi.html +0 -1226
  47. data/rdoc/Mu/Netconfig.html +0 -1178
  48. data/rdoc/Mu/Scale.html +0 -1359
  49. data/rdoc/Mu/System.html +0 -504
  50. data/rdoc/Object.html +0 -285
  51. data/rdoc/README_rdoc.html +0 -892
  52. data/rdoc/Rakefile.html +0 -257
  53. data/rdoc/TCTestMu.html +0 -2583
  54. data/rdoc/Test.html +0 -235
  55. data/rdoc/Test/Unit.html +0 -235
  56. data/rdoc/Test/Unit/TestCase.html +0 -236
  57. data/rdoc/Test/helper_rb.html +0 -62
  58. data/rdoc/Test/tc_test_mu_rb.html +0 -60
  59. data/rdoc/VERSION.html +0 -179
  60. data/rdoc/bin/mu.html +0 -54
  61. data/rdoc/classes/Mu.html +0 -132
  62. data/rdoc/classes/Mu/Client.html +0 -214
  63. data/rdoc/classes/Mu/Command.html +0 -129
  64. data/rdoc/classes/Mu/Command/API.html +0 -362
  65. data/rdoc/classes/Mu/Command/Cmd_appid.html +0 -238
  66. data/rdoc/classes/Mu/Command/Cmd_cli.html +0 -273
  67. data/rdoc/classes/Mu/Command/Cmd_ddt.html +0 -639
  68. data/rdoc/classes/Mu/Command/Cmd_homepage.html +0 -276
  69. data/rdoc/classes/Mu/Command/Cmd_muapi.html +0 -527
  70. data/rdoc/classes/Mu/Command/Cmd_netconfig.html +0 -399
  71. data/rdoc/classes/Mu/Command/Cmd_runscale.html +0 -220
  72. data/rdoc/classes/Mu/Command/Cmd_runscenario.html +0 -197
  73. data/rdoc/classes/Mu/Command/Cmd_runverify.html +0 -196
  74. data/rdoc/classes/Mu/Command/Cmd_scale.html +0 -511
  75. data/rdoc/classes/Mu/Command/Cmd_system.html +0 -236
  76. data/rdoc/classes/Mu/Command/Curl.html +0 -182
  77. data/rdoc/classes/Mu/Command/Help.html +0 -137
  78. data/rdoc/classes/Mu/Curl.html +0 -116
  79. data/rdoc/classes/Mu/Curl/Error.html +0 -148
  80. data/rdoc/classes/Mu/Curl/Error/Authorize.html +0 -165
  81. data/rdoc/classes/Mu/Curl/Error/Connect.html +0 -139
  82. data/rdoc/classes/Mu/Curl/Error/DNS.html +0 -113
  83. data/rdoc/classes/Mu/Curl/Error/Region.html +0 -150
  84. data/rdoc/classes/Mu/Curl/Error/Status.html +0 -139
  85. data/rdoc/classes/Mu/Curl/Error/Timeout.html +0 -139
  86. data/rdoc/classes/Mu/Curl/Verify.html +0 -207
  87. data/rdoc/classes/Mu/Curl/Verify/Request.html +0 -187
  88. data/rdoc/classes/Mu/Curl/Verify/Response.html +0 -172
  89. data/rdoc/classes/Mu/Curl/Verify/Result.html +0 -172
  90. data/rdoc/classes/Mu/Ddt.html +0 -610
  91. data/rdoc/classes/Mu/Helper.html +0 -308
  92. data/rdoc/classes/Mu/Homepage.html +0 -306
  93. data/rdoc/classes/Mu/HttpHelper.html +0 -393
  94. data/rdoc/classes/Mu/Muapi.html +0 -549
  95. data/rdoc/classes/Mu/Netconfig.html +0 -478
  96. data/rdoc/classes/Mu/Scale.html +0 -580
  97. data/rdoc/classes/Mu/System.html +0 -232
  98. data/rdoc/classes/Object.html +0 -139
  99. data/rdoc/classes/TCTestMu.html +0 -948
  100. data/rdoc/classes/Test.html +0 -107
  101. data/rdoc/classes/Test/Unit.html +0 -107
  102. data/rdoc/classes/Test/Unit/TestCase.html +0 -113
  103. data/rdoc/created.rid +0 -36
  104. data/rdoc/files/lib/mu/api/ddt_rb.html +0 -101
  105. data/rdoc/files/lib/mu/api/homepage_rb.html +0 -101
  106. data/rdoc/files/lib/mu/api/muapi_rb.html +0 -101
  107. data/rdoc/files/lib/mu/api/netconfig_rb.html +0 -101
  108. data/rdoc/files/lib/mu/api/scale_rb.html +0 -101
  109. data/rdoc/files/lib/mu/api/system_rb.html +0 -101
  110. data/rdoc/files/lib/mu/client_rb.html +0 -101
  111. data/rdoc/files/lib/mu/command/api_rb.html +0 -101
  112. data/rdoc/files/lib/mu/command/cmd_appid_rb.html +0 -119
  113. data/rdoc/files/lib/mu/command/cmd_cli_rb.html +0 -108
  114. data/rdoc/files/lib/mu/command/cmd_ddt_rb.html +0 -116
  115. data/rdoc/files/lib/mu/command/cmd_homepage_rb.html +0 -115
  116. data/rdoc/files/lib/mu/command/cmd_muapi_rb.html +0 -115
  117. data/rdoc/files/lib/mu/command/cmd_netconfig_rb.html +0 -116
  118. data/rdoc/files/lib/mu/command/cmd_runscale_rb.html +0 -119
  119. data/rdoc/files/lib/mu/command/cmd_runscenario_rb.html +0 -115
  120. data/rdoc/files/lib/mu/command/cmd_runverify_rb.html +0 -118
  121. data/rdoc/files/lib/mu/command/cmd_scale_rb.html +0 -115
  122. data/rdoc/files/lib/mu/command/cmd_system_rb.html +0 -116
  123. data/rdoc/files/lib/mu/command/curl_rb.html +0 -101
  124. data/rdoc/files/lib/mu/command/help_rb.html +0 -101
  125. data/rdoc/files/lib/mu/command_rb.html +0 -107
  126. data/rdoc/files/lib/mu/curl/error_rb.html +0 -101
  127. data/rdoc/files/lib/mu/curl/verify_rb.html +0 -101
  128. data/rdoc/files/lib/mu/helper_rb.html +0 -101
  129. data/rdoc/files/lib/mu/http_helper_rb.html +0 -101
  130. data/rdoc/files/lib/mu_rb.html +0 -121
  131. data/rdoc/files/test/helper_rb.html +0 -112
  132. data/rdoc/files/test/tc_test_mu_rb.html +0 -111
  133. data/rdoc/fr_class_index.html +0 -34
  134. data/rdoc/fr_file_index.html +0 -31
  135. data/rdoc/fr_method_index.html +0 -112
  136. data/rdoc/images/brick.png +0 -0
  137. data/rdoc/images/brick_link.png +0 -0
  138. data/rdoc/images/bug.png +0 -0
  139. data/rdoc/images/bullet_black.png +0 -0
  140. data/rdoc/images/bullet_toggle_minus.png +0 -0
  141. data/rdoc/images/bullet_toggle_plus.png +0 -0
  142. data/rdoc/images/date.png +0 -0
  143. data/rdoc/images/find.png +0 -0
  144. data/rdoc/images/loadingAnimation.gif +0 -0
  145. data/rdoc/images/macFFBgHack.png +0 -0
  146. data/rdoc/images/package.png +0 -0
  147. data/rdoc/images/page_green.png +0 -0
  148. data/rdoc/images/page_white_text.png +0 -0
  149. data/rdoc/images/page_white_width.png +0 -0
  150. data/rdoc/images/plugin.png +0 -0
  151. data/rdoc/images/ruby.png +0 -0
  152. data/rdoc/images/tag_green.png +0 -0
  153. data/rdoc/images/wrench.png +0 -0
  154. data/rdoc/images/wrench_orange.png +0 -0
  155. data/rdoc/images/zoom.png +0 -0
  156. data/rdoc/index.html +0 -884
  157. data/rdoc/js/darkfish.js +0 -116
  158. data/rdoc/js/jquery.js +0 -32
  159. data/rdoc/js/quicksearch.js +0 -114
  160. data/rdoc/js/thickbox-compressed.js +0 -10
  161. data/rdoc/lib/mu/api/ddt_rb.html +0 -52
  162. data/rdoc/lib/mu/api/homepage_rb.html +0 -52
  163. data/rdoc/lib/mu/api/muapi_rb.html +0 -52
  164. data/rdoc/lib/mu/api/netconfig_rb.html +0 -52
  165. data/rdoc/lib/mu/api/scale_rb.html +0 -52
  166. data/rdoc/lib/mu/api/system_rb.html +0 -52
  167. data/rdoc/lib/mu/client_rb.html +0 -52
  168. data/rdoc/lib/mu/command/api_rb.html +0 -52
  169. data/rdoc/lib/mu/command/cmd_appid_rb.html +0 -62
  170. data/rdoc/lib/mu/command/cmd_cli_rb.html +0 -55
  171. data/rdoc/lib/mu/command/cmd_ddt_rb.html +0 -60
  172. data/rdoc/lib/mu/command/cmd_homepage_rb.html +0 -57
  173. data/rdoc/lib/mu/command/cmd_muapi_rb.html +0 -59
  174. data/rdoc/lib/mu/command/cmd_netconfig_rb.html +0 -58
  175. data/rdoc/lib/mu/command/cmd_runscale_rb.html +0 -62
  176. data/rdoc/lib/mu/command/cmd_runscenario_rb.html +0 -57
  177. data/rdoc/lib/mu/command/cmd_runverify_rb.html +0 -61
  178. data/rdoc/lib/mu/command/cmd_scale_rb.html +0 -58
  179. data/rdoc/lib/mu/command/cmd_system_rb.html +0 -59
  180. data/rdoc/lib/mu/command/curl_rb.html +0 -52
  181. data/rdoc/lib/mu/command/help_rb.html +0 -52
  182. data/rdoc/lib/mu/command_rb.html +0 -55
  183. data/rdoc/lib/mu/curl/error_rb.html +0 -52
  184. data/rdoc/lib/mu/curl/verify_rb.html +0 -52
  185. data/rdoc/lib/mu/helper_rb.html +0 -52
  186. data/rdoc/lib/mu/http_helper_rb.html +0 -52
  187. data/rdoc/lib/mu_rb.html +0 -80
  188. data/rdoc/rdoc-style.css +0 -208
  189. data/rdoc/rdoc.css +0 -706
  190. data/test/data/app_id_stats.csv +0 -1
  191. data/test/data/app_id_status.json +0 -156
  192. data/test/data/data_cgi.msl +0 -94
  193. data/test/data/data_cgi.xml +0 -322
  194. data/test/data/default_test.csv +0 -3
  195. data/test/data/ftp_with_channel.xml +0 -1643
  196. data/test/data/irc.xml +0 -3837
  197. data/test/data/scale.json +0 -25
  198. data/test/data/test_data_cgi_error.xml +0 -35
@@ -1,172 +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::Curl::Verify::Result</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::Curl::Verify::Result</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../../../../files/lib/mu/curl/verify_rb.html">
59
- lib/mu/curl/verify.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
- <a href="../../../Object.html">
69
- Object
70
- </a>
71
- </td>
72
- </tr>
73
- </table>
74
- </div>
75
- <!-- banner header -->
76
-
77
- <div id="bodyContent">
78
-
79
-
80
-
81
- <div id="contextContent">
82
-
83
-
84
-
85
- </div>
86
-
87
- <div id="method-list">
88
- <h3 class="section-bar">Methods</h3>
89
-
90
- <div class="name-list">
91
- <a href="#M000060">new</a>&nbsp;&nbsp;
92
- </div>
93
- </div>
94
-
95
- </div>
96
-
97
-
98
- <!-- if includes -->
99
-
100
- <div id="section">
101
-
102
-
103
-
104
-
105
-
106
- <div id="attribute-list">
107
- <h3 class="section-bar">Attributes</h3>
108
-
109
- <div class="name-list">
110
- <table>
111
- <tr class="top-aligned-row context-row">
112
- <td class="context-item-name">connect</td>
113
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
114
- <td class="context-item-desc"></td>
115
- </tr>
116
- <tr class="top-aligned-row context-row">
117
- <td class="context-item-name">duration</td>
118
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
119
- <td class="context-item-desc"></td>
120
- </tr>
121
- <tr class="top-aligned-row context-row">
122
- <td class="context-item-name">region</td>
123
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
124
- <td class="context-item-desc"></td>
125
- </tr>
126
- <tr class="top-aligned-row context-row">
127
- <td class="context-item-name">request</td>
128
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
129
- <td class="context-item-desc"></td>
130
- </tr>
131
- <tr class="top-aligned-row context-row">
132
- <td class="context-item-name">response</td>
133
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
134
- <td class="context-item-desc"></td>
135
- </tr>
136
- </table>
137
- </div>
138
- </div>
139
-
140
-
141
-
142
- <!-- if method_list -->
143
- <div id="methods">
144
- <h3 class="section-bar">Public Class methods</h3>
145
-
146
- <div id="method-M000060" class="method-detail">
147
- <a name="M000060"></a>
148
-
149
- <div class="method-heading">
150
- <a href="Result.src/M000060.html" target="Code" class="method-signature"
151
- onclick="popupCode('Result.src/M000060.html');return false;">
152
- <span class="method-name">new</span><span class="method-args">(json)</span>
153
- </a>
154
- </div>
155
-
156
- <div class="method-description">
157
- </div>
158
- </div>
159
-
160
-
161
- </div>
162
-
163
-
164
- </div>
165
-
166
-
167
- <div id="validator-badges">
168
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
169
- </div>
170
-
171
- </body>
172
- </html>
@@ -1,610 +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::Ddt</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::Ddt</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../../files/lib/mu/api/ddt_rb.html">
59
- lib/mu/api/ddt.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
- <a href="../Object.html">
69
- Object
70
- </a>
71
- </td>
72
- </tr>
73
- </table>
74
- </div>
75
- <!-- banner header -->
76
-
77
- <div id="bodyContent">
78
-
79
-
80
-
81
- <div id="contextContent">
82
-
83
-
84
-
85
- </div>
86
-
87
- <div id="method-list">
88
- <h3 class="section-bar">Methods</h3>
89
-
90
- <div class="name-list">
91
- <a href="#M000248">close_all_sessions</a>&nbsp;&nbsp;
92
- <a href="#M000246">close_session</a>&nbsp;&nbsp;
93
- <a href="#M000259">collect_results</a>&nbsp;&nbsp;
94
- <a href="#M000263">csv_export</a>&nbsp;&nbsp;
95
- <a href="#M000264">csv_import</a>&nbsp;&nbsp;
96
- <a href="#M000249">get_all_sessions</a>&nbsp;&nbsp;
97
- <a href="#M000255">get_channels</a>&nbsp;&nbsp;
98
- <a href="#M000253">get_hosts</a>&nbsp;&nbsp;
99
- <a href="#M000257">get_options</a>&nbsp;&nbsp;
100
- <a href="#M000247">get_sessions</a>&nbsp;&nbsp;
101
- <a href="#M000262">get_testset_results</a>&nbsp;&nbsp;
102
- <a href="#M000261">get_testset_status</a>&nbsp;&nbsp;
103
- <a href="#M000252">load_scenario</a>&nbsp;&nbsp;
104
- <a href="#M000242">new</a>&nbsp;&nbsp;
105
- <a href="#M000245">new_session</a>&nbsp;&nbsp;
106
- <a href="#M000243">run</a>&nbsp;&nbsp;
107
- <a href="#M000244">run_testset</a>&nbsp;&nbsp;
108
- <a href="#M000256">set_channels</a>&nbsp;&nbsp;
109
- <a href="#M000254">set_hosts</a>&nbsp;&nbsp;
110
- <a href="#M000258">set_options</a>&nbsp;&nbsp;
111
- <a href="#M000250">setup_test</a>&nbsp;&nbsp;
112
- <a href="#M000251">teardown_test</a>&nbsp;&nbsp;
113
- <a href="#M000260">wait_until_done</a>&nbsp;&nbsp;
114
- </div>
115
- </div>
116
-
117
- </div>
118
-
119
-
120
- <!-- if includes -->
121
- <div id="includes">
122
- <h3 class="section-bar">Included Modules</h3>
123
-
124
- <div id="includes-list">
125
- <span class="include-name">Helper</span>
126
- </div>
127
- </div>
128
-
129
- <div id="section">
130
-
131
-
132
-
133
-
134
-
135
- <div id="attribute-list">
136
- <h3 class="section-bar">Attributes</h3>
137
-
138
- <div class="name-list">
139
- <table>
140
- <tr class="top-aligned-row context-row">
141
- <td class="context-item-name">docroot</td>
142
- <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
143
- <td class="context-item-desc"></td>
144
- </tr>
145
- <tr class="top-aligned-row context-row">
146
- <td class="context-item-name">host</td>
147
- <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
148
- <td class="context-item-desc"></td>
149
- </tr>
150
- <tr class="top-aligned-row context-row">
151
- <td class="context-item-name">password</td>
152
- <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
153
- <td class="context-item-desc"></td>
154
- </tr>
155
- <tr class="top-aligned-row context-row">
156
- <td class="context-item-name">session_id</td>
157
- <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
158
- <td class="context-item-desc"></td>
159
- </tr>
160
- <tr class="top-aligned-row context-row">
161
- <td class="context-item-name">username</td>
162
- <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
163
- <td class="context-item-desc"></td>
164
- </tr>
165
- </table>
166
- </div>
167
- </div>
168
-
169
-
170
-
171
- <!-- if method_list -->
172
- <div id="methods">
173
- <h3 class="section-bar">Public Class methods</h3>
174
-
175
- <div id="method-M000242" class="method-detail">
176
- <a name="M000242"></a>
177
-
178
- <div class="method-heading">
179
- <a href="Ddt.src/M000242.html" target="Code" class="method-signature"
180
- onclick="popupCode('Ddt.src/M000242.html');return false;">
181
- <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>
182
- </a>
183
- </div>
184
-
185
- <div class="method-description">
186
- </div>
187
- </div>
188
-
189
- <h3 class="section-bar">Public Instance methods</h3>
190
-
191
- <div id="method-M000248" class="method-detail">
192
- <a name="M000248"></a>
193
-
194
- <div class="method-heading">
195
- <a href="Ddt.src/M000248.html" target="Code" class="method-signature"
196
- onclick="popupCode('Ddt.src/M000248.html');return false;">
197
- <span class="method-name">close_all_sessions</span><span class="method-args">()</span>
198
- </a>
199
- </div>
200
-
201
- <div class="method-description">
202
- <p>
203
- closes all Studio Verify sessions
204
- </p>
205
- </div>
206
- </div>
207
-
208
- <div id="method-M000246" class="method-detail">
209
- <a name="M000246"></a>
210
-
211
- <div class="method-heading">
212
- <a href="Ddt.src/M000246.html" target="Code" class="method-signature"
213
- onclick="popupCode('Ddt.src/M000246.html');return false;">
214
- <span class="method-name">close_session</span><span class="method-args">()</span>
215
- </a>
216
- </div>
217
-
218
- <div class="method-description">
219
- <p>
220
- closes the existing Studio Verify session
221
- </p>
222
- </div>
223
- </div>
224
-
225
- <div id="method-M000259" class="method-detail">
226
- <a name="M000259"></a>
227
-
228
- <div class="method-heading">
229
- <a href="Ddt.src/M000259.html" target="Code" class="method-signature"
230
- onclick="popupCode('Ddt.src/M000259.html');return false;">
231
- <span class="method-name">collect_results</span><span class="method-args">(timeout=120)</span>
232
- </a>
233
- </div>
234
-
235
- <div class="method-description">
236
- <p>
237
- collects results until the test is done or the timeout expires
238
- </p>
239
- <pre>
240
- * timeout = time in seconds to wait for the test to complete
241
- </pre>
242
- </div>
243
- </div>
244
-
245
- <div id="method-M000263" class="method-detail">
246
- <a name="M000263"></a>
247
-
248
- <div class="method-heading">
249
- <a href="Ddt.src/M000263.html" target="Code" class="method-signature"
250
- onclick="popupCode('Ddt.src/M000263.html');return false;">
251
- <span class="method-name">csv_export</span><span class="method-args">(uuid=@testset)</span>
252
- </a>
253
- </div>
254
-
255
- <div class="method-description">
256
- <p>
257
- exports a testset to a csv file
258
- </p>
259
- <pre>
260
- * uuid = the uuid of the testset to export
261
- </pre>
262
- </div>
263
- </div>
264
-
265
- <div id="method-M000264" class="method-detail">
266
- <a name="M000264"></a>
267
-
268
- <div class="method-heading">
269
- <a href="Ddt.src/M000264.html" target="Code" class="method-signature"
270
- onclick="popupCode('Ddt.src/M000264.html');return false;">
271
- <span class="method-name">csv_import</span><span class="method-args">(filepath)</span>
272
- </a>
273
- </div>
274
-
275
- <div class="method-description">
276
- <p>
277
- imports a csv file to the <a href="../Mu.html">Mu</a>
278
- </p>
279
- <pre>
280
- * filepath = the path to the csv file
281
- </pre>
282
- </div>
283
- </div>
284
-
285
- <div id="method-M000249" class="method-detail">
286
- <a name="M000249"></a>
287
-
288
- <div class="method-heading">
289
- <a href="Ddt.src/M000249.html" target="Code" class="method-signature"
290
- onclick="popupCode('Ddt.src/M000249.html');return false;">
291
- <span class="method-name">get_all_sessions</span><span class="method-args">()</span>
292
- </a>
293
- </div>
294
-
295
- <div class="method-description">
296
- <p>
297
- returns the session id&#8216;s of all existing Studio Verify sessions
298
- </p>
299
- </div>
300
- </div>
301
-
302
- <div id="method-M000255" class="method-detail">
303
- <a name="M000255"></a>
304
-
305
- <div class="method-heading">
306
- <a href="Ddt.src/M000255.html" target="Code" class="method-signature"
307
- onclick="popupCode('Ddt.src/M000255.html');return false;">
308
- <span class="method-name">get_channels</span><span class="method-args">()</span>
309
- </a>
310
- </div>
311
-
312
- <div class="method-description">
313
- <p>
314
- returns the channel elements of the loaded scenario
315
- </p>
316
- </div>
317
- </div>
318
-
319
- <div id="method-M000253" class="method-detail">
320
- <a name="M000253"></a>
321
-
322
- <div class="method-heading">
323
- <a href="Ddt.src/M000253.html" target="Code" class="method-signature"
324
- onclick="popupCode('Ddt.src/M000253.html');return false;">
325
- <span class="method-name">get_hosts</span><span class="method-args">()</span>
326
- </a>
327
- </div>
328
-
329
- <div class="method-description">
330
- <p>
331
- returns the hosts in the loaded scenario
332
- </p>
333
- </div>
334
- </div>
335
-
336
- <div id="method-M000257" class="method-detail">
337
- <a name="M000257"></a>
338
-
339
- <div class="method-heading">
340
- <a href="Ddt.src/M000257.html" target="Code" class="method-signature"
341
- onclick="popupCode('Ddt.src/M000257.html');return false;">
342
- <span class="method-name">get_options</span><span class="method-args">()</span>
343
- </a>
344
- </div>
345
-
346
- <div class="method-description">
347
- <p>
348
- returns the options from the loaded scenario
349
- </p>
350
- </div>
351
- </div>
352
-
353
- <div id="method-M000247" class="method-detail">
354
- <a name="M000247"></a>
355
-
356
- <div class="method-heading">
357
- <a href="Ddt.src/M000247.html" target="Code" class="method-signature"
358
- onclick="popupCode('Ddt.src/M000247.html');return false;">
359
- <span class="method-name">get_sessions</span><span class="method-args">()</span>
360
- </a>
361
- </div>
362
-
363
- <div class="method-description">
364
- <p>
365
- returns array of session_ids
366
- </p>
367
- </div>
368
- </div>
369
-
370
- <div id="method-M000262" class="method-detail">
371
- <a name="M000262"></a>
372
-
373
- <div class="method-heading">
374
- <a href="Ddt.src/M000262.html" target="Code" class="method-signature"
375
- onclick="popupCode('Ddt.src/M000262.html');return false;">
376
- <span class="method-name">get_testset_results</span><span class="method-args">()</span>
377
- </a>
378
- </div>
379
-
380
- <div class="method-description">
381
- <p>
382
- returns the results of a running test set. can be called repeatedly. the
383
- test is done when the results include the &#8216;END&#8217; keyword
384
- </p>
385
- </div>
386
- </div>
387
-
388
- <div id="method-M000261" class="method-detail">
389
- <a name="M000261"></a>
390
-
391
- <div class="method-heading">
392
- <a href="Ddt.src/M000261.html" target="Code" class="method-signature"
393
- onclick="popupCode('Ddt.src/M000261.html');return false;">
394
- <span class="method-name">get_testset_status</span><span class="method-args">()</span>
395
- </a>
396
- </div>
397
-
398
- <div class="method-description">
399
- <p>
400
- returns the status of a running test set
401
- </p>
402
- </div>
403
- </div>
404
-
405
- <div id="method-M000252" class="method-detail">
406
- <a name="M000252"></a>
407
-
408
- <div class="method-heading">
409
- <a href="Ddt.src/M000252.html" target="Code" class="method-signature"
410
- onclick="popupCode('Ddt.src/M000252.html');return false;">
411
- <span class="method-name">load_scenario</span><span class="method-args">(uuid)</span>
412
- </a>
413
- </div>
414
-
415
- <div class="method-description">
416
- <p>
417
- loads a scenario
418
- </p>
419
- <pre>
420
- * the uuid of a scenario present on the Mu
421
- </pre>
422
- </div>
423
- </div>
424
-
425
- <div id="method-M000245" class="method-detail">
426
- <a name="M000245"></a>
427
-
428
- <div class="method-heading">
429
- <a href="Ddt.src/M000245.html" target="Code" class="method-signature"
430
- onclick="popupCode('Ddt.src/M000245.html');return false;">
431
- <span class="method-name">new_session</span><span class="method-args">()</span>
432
- </a>
433
- </div>
434
-
435
- <div class="method-description">
436
- <p>
437
- must be called first to establish a <a href="Ddt.html#M000242">new</a>
438
- Studio Verify session
439
- </p>
440
- </div>
441
- </div>
442
-
443
- <div id="method-M000243" class="method-detail">
444
- <a name="M000243"></a>
445
-
446
- <div class="method-heading">
447
- <a href="Ddt.src/M000243.html" target="Code" class="method-signature"
448
- onclick="popupCode('Ddt.src/M000243.html');return false;">
449
- <span class="method-name">run</span><span class="method-args">()</span>
450
- </a>
451
- </div>
452
-
453
- <div class="method-description">
454
- <p>
455
- verifies the loaded scenario
456
- </p>
457
- </div>
458
- </div>
459
-
460
- <div id="method-M000244" class="method-detail">
461
- <a name="M000244"></a>
462
-
463
- <div class="method-heading">
464
- <a href="Ddt.src/M000244.html" target="Code" class="method-signature"
465
- onclick="popupCode('Ddt.src/M000244.html');return false;">
466
- <span class="method-name">run_testset</span><span class="method-args">(uuid)</span>
467
- </a>
468
- </div>
469
-
470
- <div class="method-description">
471
- <p>
472
- sets and executes test suite
473
- </p>
474
- <pre>
475
- * uuid = the uuid of a testset loaded on the Mu
476
- </pre>
477
- </div>
478
- </div>
479
-
480
- <div id="method-M000256" class="method-detail">
481
- <a name="M000256"></a>
482
-
483
- <div class="method-heading">
484
- <a href="Ddt.src/M000256.html" target="Code" class="method-signature"
485
- onclick="popupCode('Ddt.src/M000256.html');return false;">
486
- <span class="method-name">set_channels</span><span class="method-args">(roles=[], names=[])</span>
487
- </a>
488
- </div>
489
-
490
- <div class="method-description">
491
- <p>
492
- sets the channel elements of the loaded scenario
493
- </p>
494
- <pre>
495
- * roles = an array of the roles defined for the channels in the scenario ('channel')
496
- * names = an array of host names to be mapped to the roles
497
- </pre>
498
- </div>
499
- </div>
500
-
501
- <div id="method-M000254" class="method-detail">
502
- <a name="M000254"></a>
503
-
504
- <div class="method-heading">
505
- <a href="Ddt.src/M000254.html" target="Code" class="method-signature"
506
- onclick="popupCode('Ddt.src/M000254.html');return false;">
507
- <span class="method-name">set_hosts</span><span class="method-args">(roles=[], names=[], type=&quot;v4&quot;)</span>
508
- </a>
509
- </div>
510
-
511
- <div class="method-description">
512
- <p>
513
- sets the hosts in the loaded scenario
514
- </p>
515
- <pre>
516
- * roles = an array of the host roles defined in the scenario
517
- * names = an array of host names to be mapped to the roles
518
- * type = network layer type (v4, v6 or l2) matching the defined hosts
519
- </pre>
520
- </div>
521
- </div>
522
-
523
- <div id="method-M000258" class="method-detail">
524
- <a name="M000258"></a>
525
-
526
- <div class="method-heading">
527
- <a href="Ddt.src/M000258.html" target="Code" class="method-signature"
528
- onclick="popupCode('Ddt.src/M000258.html');return false;">
529
- <span class="method-name">set_options</span><span class="method-args">(names=[], values=[])</span>
530
- </a>
531
- </div>
532
-
533
- <div class="method-description">
534
- <p>
535
- sets the options for the loaded scenario
536
- </p>
537
- <pre>
538
- * an array of option names
539
- * an array of option values
540
- </pre>
541
- </div>
542
- </div>
543
-
544
- <div id="method-M000250" class="method-detail">
545
- <a name="M000250"></a>
546
-
547
- <div class="method-heading">
548
- <a href="Ddt.src/M000250.html" target="Code" class="method-signature"
549
- onclick="popupCode('Ddt.src/M000250.html');return false;">
550
- <span class="method-name">setup_test</span><span class="method-args">()</span>
551
- </a>
552
- </div>
553
-
554
- <div class="method-description">
555
- <p>
556
- sets up a test for <a href="Ddt.html#M000243">run</a>
557
- </p>
558
- </div>
559
- </div>
560
-
561
- <div id="method-M000251" class="method-detail">
562
- <a name="M000251"></a>
563
-
564
- <div class="method-heading">
565
- <a href="Ddt.src/M000251.html" target="Code" class="method-signature"
566
- onclick="popupCode('Ddt.src/M000251.html');return false;">
567
- <span class="method-name">teardown_test</span><span class="method-args">()</span>
568
- </a>
569
- </div>
570
-
571
- <div class="method-description">
572
- <p>
573
- tears down a test
574
- </p>
575
- </div>
576
- </div>
577
-
578
- <div id="method-M000260" class="method-detail">
579
- <a name="M000260"></a>
580
-
581
- <div class="method-heading">
582
- <a href="Ddt.src/M000260.html" target="Code" class="method-signature"
583
- onclick="popupCode('Ddt.src/M000260.html');return false;">
584
- <span class="method-name">wait_until_done</span><span class="method-args">(timeout=120)</span>
585
- </a>
586
- </div>
587
-
588
- <div class="method-description">
589
- <p>
590
- waits until the test is done or the timeout expires
591
- </p>
592
- <pre>
593
- * timeout = the time in seconds to wait for the test to complete
594
- </pre>
595
- </div>
596
- </div>
597
-
598
-
599
- </div>
600
-
601
-
602
- </div>
603
-
604
-
605
- <div id="validator-badges">
606
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
607
- </div>
608
-
609
- </body>
610
- </html>