portable_end_2_end.jmx 49 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ Copyright 2023 EMQ Technologies Co., Ltd.
  4. ~
  5. ~ Licensed under the Apache License, Version 2.0 (the "License");
  6. ~ you may not use this file except in compliance with the License.
  7. ~ You may obtain a copy of the License at
  8. ~
  9. ~ http://www.apache.org/licenses/LICENSE-2.0
  10. ~
  11. ~ Unless required by applicable law or agreed to in writing, software
  12. ~ distributed under the License is distributed on an "AS IS" BASIS,
  13. ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. ~ See the License for the specific language governing permissions and
  15. ~ limitations under the License.
  16. -->
  17. <jmeterTestPlan version="1.2" properties="5.0" jmeter="5.3">
  18. <hashTree>
  19. <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Test Plan" enabled="true">
  20. <stringProp name="TestPlan.comments"></stringProp>
  21. <boolProp name="TestPlan.functional_mode">false</boolProp>
  22. <boolProp name="TestPlan.tearDown_on_shutdown">true</boolProp>
  23. <boolProp name="TestPlan.serialize_threadgroups">false</boolProp>
  24. <elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  25. <collectionProp name="Arguments.arguments"/>
  26. </elementProp>
  27. <stringProp name="TestPlan.user_define_classpath"></stringProp>
  28. </TestPlan>
  29. <hashTree>
  30. <Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  31. <collectionProp name="Arguments.arguments">
  32. <elementProp name="srv" elementType="Argument">
  33. <stringProp name="Argument.name">srv</stringProp>
  34. <stringProp name="Argument.value">127.0.0.1</stringProp>
  35. <stringProp name="Argument.metadata">=</stringProp>
  36. </elementProp>
  37. <elementProp name="rest_port" elementType="Argument">
  38. <stringProp name="Argument.name">rest_port</stringProp>
  39. <stringProp name="Argument.value">9081</stringProp>
  40. <stringProp name="Argument.metadata">=</stringProp>
  41. </elementProp>
  42. </collectionProp>
  43. </Arguments>
  44. <hashTree/>
  45. <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Rules" enabled="true">
  46. <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
  47. <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
  48. <boolProp name="LoopController.continue_forever">false</boolProp>
  49. <stringProp name="LoopController.loops">1</stringProp>
  50. </elementProp>
  51. <stringProp name="ThreadGroup.num_threads">1</stringProp>
  52. <stringProp name="ThreadGroup.ramp_time">1</stringProp>
  53. <boolProp name="ThreadGroup.scheduler">false</boolProp>
  54. <stringProp name="ThreadGroup.duration"></stringProp>
  55. <stringProp name="ThreadGroup.delay"></stringProp>
  56. <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
  57. </ThreadGroup>
  58. <hashTree>
  59. <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
  60. <boolProp name="ResultCollector.error_logging">false</boolProp>
  61. <objProp>
  62. <name>saveConfig</name>
  63. <value class="SampleSaveConfiguration">
  64. <time>true</time>
  65. <latency>true</latency>
  66. <timestamp>true</timestamp>
  67. <success>true</success>
  68. <label>true</label>
  69. <code>true</code>
  70. <message>true</message>
  71. <threadName>true</threadName>
  72. <dataType>true</dataType>
  73. <encoding>false</encoding>
  74. <assertions>true</assertions>
  75. <subresults>true</subresults>
  76. <responseData>false</responseData>
  77. <samplerData>false</samplerData>
  78. <xml>false</xml>
  79. <fieldNames>true</fieldNames>
  80. <responseHeaders>false</responseHeaders>
  81. <requestHeaders>false</requestHeaders>
  82. <responseDataOnError>false</responseDataOnError>
  83. <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
  84. <assertionsResultsToSave>0</assertionsResultsToSave>
  85. <bytes>true</bytes>
  86. <sentBytes>true</sentBytes>
  87. <threadCounts>true</threadCounts>
  88. <idleTime>true</idleTime>
  89. <connectTime>true</connectTime>
  90. </value>
  91. </objProp>
  92. <stringProp name="filename"></stringProp>
  93. </ResultCollector>
  94. <hashTree/>
  95. <TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="Go" enabled="true">
  96. <boolProp name="TransactionController.includeTimers">false</boolProp>
  97. <boolProp name="TransactionController.parent">false</boolProp>
  98. </TransactionController>
  99. <hashTree>
  100. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API_AddPlugin" enabled="true">
  101. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  102. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  103. <collectionProp name="Arguments.arguments">
  104. <elementProp name="" elementType="HTTPArgument">
  105. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  106. <stringProp name="Argument.value">{&#xd;
  107. &quot;name&quot;:&quot;mirror&quot;,&#xd;
  108. &quot;file&quot;:&quot;http://127.0.0.1:9090/plugins/mirror.zip&quot;&#xd;
  109. }</stringProp>
  110. <stringProp name="Argument.metadata">=</stringProp>
  111. </elementProp>
  112. </collectionProp>
  113. </elementProp>
  114. <stringProp name="HTTPSampler.domain">${srv}</stringProp>
  115. <stringProp name="HTTPSampler.port">${rest_port}</stringProp>
  116. <stringProp name="HTTPSampler.protocol"></stringProp>
  117. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  118. <stringProp name="HTTPSampler.path">/plugins/portables</stringProp>
  119. <stringProp name="HTTPSampler.method">POST</stringProp>
  120. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  121. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  122. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  123. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  124. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  125. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  126. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  127. </HTTPSamplerProxy>
  128. <hashTree>
  129. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  130. <collectionProp name="Asserion.test_strings">
  131. <stringProp name="49587">201</stringProp>
  132. </collectionProp>
  133. <stringProp name="Assertion.custom_message"></stringProp>
  134. <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
  135. <boolProp name="Assertion.assume_success">true</boolProp>
  136. <intProp name="Assertion.test_type">16</intProp>
  137. </ResponseAssertion>
  138. <hashTree/>
  139. <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="true">
  140. <stringProp name="ConstantTimer.delay">500</stringProp>
  141. </ConstantTimer>
  142. <hashTree/>
  143. </hashTree>
  144. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API_DescPlugin" enabled="true">
  145. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  146. <collectionProp name="Arguments.arguments"/>
  147. </elementProp>
  148. <stringProp name="HTTPSampler.domain">${srv}</stringProp>
  149. <stringProp name="HTTPSampler.port">${rest_port}</stringProp>
  150. <stringProp name="HTTPSampler.protocol"></stringProp>
  151. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  152. <stringProp name="HTTPSampler.path">/plugins/portables/mirror</stringProp>
  153. <stringProp name="HTTPSampler.method">GET</stringProp>
  154. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  155. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  156. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  157. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  158. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  159. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  160. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  161. </HTTPSamplerProxy>
  162. <hashTree>
  163. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  164. <collectionProp name="Asserion.test_strings">
  165. <stringProp name="-1073910849">mirror</stringProp>
  166. </collectionProp>
  167. <stringProp name="Assertion.custom_message"></stringProp>
  168. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  169. <boolProp name="Assertion.assume_success">true</boolProp>
  170. <intProp name="Assertion.test_type">16</intProp>
  171. </ResponseAssertion>
  172. <hashTree/>
  173. </hashTree>
  174. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API_CreateStream" enabled="true">
  175. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  176. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  177. <collectionProp name="Arguments.arguments">
  178. <elementProp name="" elementType="HTTPArgument">
  179. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  180. <stringProp name="Argument.value">{&#xd;
  181. &quot;sql&quot; : &quot;CREATE STREAM ext (count bigint) WITH (DATASOURCE=\&quot;ext\&quot;, FORMAT=\&quot;JSON\&quot;, TYPE=\&quot;random\&quot;,CONF_KEY=\&quot;ext\&quot;)&quot;&#xd;
  182. }</stringProp>
  183. <stringProp name="Argument.metadata">=</stringProp>
  184. </elementProp>
  185. </collectionProp>
  186. </elementProp>
  187. <stringProp name="HTTPSampler.domain">${srv}</stringProp>
  188. <stringProp name="HTTPSampler.port">${rest_port}</stringProp>
  189. <stringProp name="HTTPSampler.protocol"></stringProp>
  190. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  191. <stringProp name="HTTPSampler.path">/streams</stringProp>
  192. <stringProp name="HTTPSampler.method">POST</stringProp>
  193. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  194. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  195. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  196. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  197. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  198. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  199. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  200. </HTTPSamplerProxy>
  201. <hashTree>
  202. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  203. <collectionProp name="Asserion.test_strings">
  204. <stringProp name="-1010817923">Stream ext is created.</stringProp>
  205. </collectionProp>
  206. <stringProp name="Assertion.custom_message"></stringProp>
  207. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  208. <boolProp name="Assertion.assume_success">true</boolProp>
  209. <intProp name="Assertion.test_type">16</intProp>
  210. </ResponseAssertion>
  211. <hashTree/>
  212. </hashTree>
  213. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API_CreateRule" enabled="true">
  214. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  215. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  216. <collectionProp name="Arguments.arguments">
  217. <elementProp name="" elementType="HTTPArgument">
  218. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  219. <stringProp name="Argument.value">{&#xd;
  220. &quot;id&quot;: &quot;ruleExtG&quot;,&#xd;
  221. &quot;sql&quot;: &quot;SELECT * FROM ext&quot;,&#xd;
  222. &quot;actions&quot;: [{&#xd;
  223. &quot;file&quot;: {&#xd;
  224. &quot;path&quot;: &quot;cache&quot;&#xd;
  225. }&#xd;
  226. }]&#xd;
  227. }</stringProp>
  228. <stringProp name="Argument.metadata">=</stringProp>
  229. </elementProp>
  230. </collectionProp>
  231. </elementProp>
  232. <stringProp name="HTTPSampler.domain">${srv}</stringProp>
  233. <stringProp name="HTTPSampler.port">${rest_port}</stringProp>
  234. <stringProp name="HTTPSampler.protocol"></stringProp>
  235. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  236. <stringProp name="HTTPSampler.path">/rules</stringProp>
  237. <stringProp name="HTTPSampler.method">POST</stringProp>
  238. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  239. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  240. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  241. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  242. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  243. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  244. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  245. </HTTPSamplerProxy>
  246. <hashTree>
  247. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  248. <collectionProp name="Asserion.test_strings">
  249. <stringProp name="1460104055">Rule ruleExtG was created</stringProp>
  250. </collectionProp>
  251. <stringProp name="Assertion.custom_message"></stringProp>
  252. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  253. <boolProp name="Assertion.assume_success">true</boolProp>
  254. <intProp name="Assertion.test_type">16</intProp>
  255. </ResponseAssertion>
  256. <hashTree/>
  257. <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="true">
  258. <stringProp name="ConstantTimer.delay">500</stringProp>
  259. </ConstantTimer>
  260. <hashTree/>
  261. </hashTree>
  262. <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="true">
  263. <stringProp name="ConstantTimer.delay">500</stringProp>
  264. </ConstantTimer>
  265. <hashTree/>
  266. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API_GetRuleStatus" enabled="true">
  267. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  268. <collectionProp name="Arguments.arguments"/>
  269. </elementProp>
  270. <stringProp name="HTTPSampler.domain">${srv}</stringProp>
  271. <stringProp name="HTTPSampler.port">${rest_port}</stringProp>
  272. <stringProp name="HTTPSampler.protocol"></stringProp>
  273. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  274. <stringProp name="HTTPSampler.path">/rules/ruleExtG/status</stringProp>
  275. <stringProp name="HTTPSampler.method">GET</stringProp>
  276. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  277. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  278. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  279. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  280. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  281. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  282. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  283. </HTTPSamplerProxy>
  284. <hashTree>
  285. <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="true">
  286. <stringProp name="ConstantTimer.delay">300</stringProp>
  287. </ConstantTimer>
  288. <hashTree/>
  289. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="JSON Extractor" enabled="true">
  290. <stringProp name="JSONPostProcessor.referenceNames">fileout</stringProp>
  291. <stringProp name="JSONPostProcessor.jsonPathExprs">$.sink_file_0_0_records_out_total</stringProp>
  292. <stringProp name="JSONPostProcessor.match_numbers"></stringProp>
  293. </JSONPostProcessor>
  294. <hashTree/>
  295. <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
  296. <stringProp name="cacheKey">true</stringProp>
  297. <stringProp name="filename"></stringProp>
  298. <stringProp name="parameters"></stringProp>
  299. <stringProp name="script">String jsonString = vars.get(&quot;fileout&quot;);
  300. int count = jsonString.toInteger()
  301. log.info (&quot;The file out metric &quot; + count);
  302. if (count&lt;=0)
  303. {
  304. AssertionResult.setFailureMessage(&quot;The sink output is 0&quot;);
  305. AssertionResult.setFailure(true);
  306. }</stringProp>
  307. <stringProp name="scriptLanguage">groovy</stringProp>
  308. </JSR223Assertion>
  309. <hashTree/>
  310. </hashTree>
  311. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API_DropRule" enabled="true">
  312. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  313. <collectionProp name="Arguments.arguments"/>
  314. </elementProp>
  315. <stringProp name="HTTPSampler.domain">${srv}</stringProp>
  316. <stringProp name="HTTPSampler.port">${rest_port}</stringProp>
  317. <stringProp name="HTTPSampler.protocol"></stringProp>
  318. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  319. <stringProp name="HTTPSampler.path">/rules/ruleExtG</stringProp>
  320. <stringProp name="HTTPSampler.method">DELETE</stringProp>
  321. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  322. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  323. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  324. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  325. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  326. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  327. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  328. </HTTPSamplerProxy>
  329. <hashTree>
  330. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  331. <collectionProp name="Asserion.test_strings">
  332. <stringProp name="-95415958">Rule ruleExtG is dropped.</stringProp>
  333. </collectionProp>
  334. <stringProp name="Assertion.custom_message"></stringProp>
  335. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  336. <boolProp name="Assertion.assume_success">false</boolProp>
  337. <intProp name="Assertion.test_type">16</intProp>
  338. </ResponseAssertion>
  339. <hashTree/>
  340. </hashTree>
  341. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API_Drop_Stream" enabled="true">
  342. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  343. <collectionProp name="Arguments.arguments"/>
  344. </elementProp>
  345. <stringProp name="HTTPSampler.domain">${srv}</stringProp>
  346. <stringProp name="HTTPSampler.port">${rest_port}</stringProp>
  347. <stringProp name="HTTPSampler.protocol"></stringProp>
  348. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  349. <stringProp name="HTTPSampler.path">/streams/ext</stringProp>
  350. <stringProp name="HTTPSampler.method">DELETE</stringProp>
  351. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  352. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  353. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  354. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  355. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  356. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  357. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  358. </HTTPSamplerProxy>
  359. <hashTree>
  360. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  361. <collectionProp name="Asserion.test_strings">
  362. <stringProp name="1032017573">Stream ext is dropped.</stringProp>
  363. </collectionProp>
  364. <stringProp name="Assertion.custom_message"></stringProp>
  365. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  366. <boolProp name="Assertion.assume_success">false</boolProp>
  367. <intProp name="Assertion.test_type">16</intProp>
  368. </ResponseAssertion>
  369. <hashTree/>
  370. </hashTree>
  371. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API_DropPlugin" enabled="true">
  372. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  373. <collectionProp name="Arguments.arguments"/>
  374. </elementProp>
  375. <stringProp name="HTTPSampler.domain">${srv}</stringProp>
  376. <stringProp name="HTTPSampler.port">${rest_port}</stringProp>
  377. <stringProp name="HTTPSampler.protocol"></stringProp>
  378. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  379. <stringProp name="HTTPSampler.path">/plugins/portables/mirror</stringProp>
  380. <stringProp name="HTTPSampler.method">DELETE</stringProp>
  381. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  382. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  383. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  384. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  385. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  386. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  387. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  388. </HTTPSamplerProxy>
  389. <hashTree>
  390. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  391. <collectionProp name="Asserion.test_strings">
  392. <stringProp name="471904668">portable plugin mirror is deleted</stringProp>
  393. </collectionProp>
  394. <stringProp name="Assertion.custom_message"></stringProp>
  395. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  396. <boolProp name="Assertion.assume_success">true</boolProp>
  397. <intProp name="Assertion.test_type">16</intProp>
  398. </ResponseAssertion>
  399. <hashTree/>
  400. </hashTree>
  401. </hashTree>
  402. <TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="Python" enabled="true">
  403. <boolProp name="TransactionController.includeTimers">false</boolProp>
  404. <boolProp name="TransactionController.parent">false</boolProp>
  405. </TransactionController>
  406. <hashTree>
  407. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API_AddPlugin" enabled="true">
  408. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  409. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  410. <collectionProp name="Arguments.arguments">
  411. <elementProp name="" elementType="HTTPArgument">
  412. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  413. <stringProp name="Argument.value">{&#xd;
  414. &quot;name&quot;:&quot;pysam&quot;,&#xd;
  415. &quot;file&quot;:&quot;http://127.0.0.1:9090/plugins/pysam.zip&quot;&#xd;
  416. }</stringProp>
  417. <stringProp name="Argument.metadata">=</stringProp>
  418. </elementProp>
  419. </collectionProp>
  420. </elementProp>
  421. <stringProp name="HTTPSampler.domain">${srv}</stringProp>
  422. <stringProp name="HTTPSampler.port">${rest_port}</stringProp>
  423. <stringProp name="HTTPSampler.protocol"></stringProp>
  424. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  425. <stringProp name="HTTPSampler.path">/plugins/portables</stringProp>
  426. <stringProp name="HTTPSampler.method">POST</stringProp>
  427. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  428. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  429. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  430. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  431. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  432. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  433. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  434. </HTTPSamplerProxy>
  435. <hashTree>
  436. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  437. <collectionProp name="Asserion.test_strings">
  438. <stringProp name="49587">201</stringProp>
  439. </collectionProp>
  440. <stringProp name="Assertion.custom_message"></stringProp>
  441. <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
  442. <boolProp name="Assertion.assume_success">true</boolProp>
  443. <intProp name="Assertion.test_type">16</intProp>
  444. </ResponseAssertion>
  445. <hashTree/>
  446. <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="true">
  447. <stringProp name="ConstantTimer.delay">500</stringProp>
  448. </ConstantTimer>
  449. <hashTree/>
  450. </hashTree>
  451. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API_DescPlugin" enabled="true">
  452. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  453. <collectionProp name="Arguments.arguments"/>
  454. </elementProp>
  455. <stringProp name="HTTPSampler.domain">${srv}</stringProp>
  456. <stringProp name="HTTPSampler.port">${rest_port}</stringProp>
  457. <stringProp name="HTTPSampler.protocol"></stringProp>
  458. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  459. <stringProp name="HTTPSampler.path">/plugins/portables/pysam</stringProp>
  460. <stringProp name="HTTPSampler.method">GET</stringProp>
  461. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  462. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  463. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  464. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  465. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  466. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  467. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  468. </HTTPSamplerProxy>
  469. <hashTree>
  470. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  471. <collectionProp name="Asserion.test_strings">
  472. <stringProp name="107152694">pysam</stringProp>
  473. </collectionProp>
  474. <stringProp name="Assertion.custom_message"></stringProp>
  475. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  476. <boolProp name="Assertion.assume_success">true</boolProp>
  477. <intProp name="Assertion.test_type">16</intProp>
  478. </ResponseAssertion>
  479. <hashTree/>
  480. </hashTree>
  481. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API_CreateStream" enabled="true">
  482. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  483. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  484. <collectionProp name="Arguments.arguments">
  485. <elementProp name="" elementType="HTTPArgument">
  486. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  487. <stringProp name="Argument.value">{&#xd;
  488. &quot;sql&quot; : &quot;CREATE STREAM ext2 () WITH (DATASOURCE=\&quot;ext2\&quot;, FORMAT=\&quot;JSON\&quot;, TYPE=\&quot;pyjson\&quot;)&quot;&#xd;
  489. }</stringProp>
  490. <stringProp name="Argument.metadata">=</stringProp>
  491. </elementProp>
  492. </collectionProp>
  493. </elementProp>
  494. <stringProp name="HTTPSampler.domain">${srv}</stringProp>
  495. <stringProp name="HTTPSampler.port">${rest_port}</stringProp>
  496. <stringProp name="HTTPSampler.protocol"></stringProp>
  497. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  498. <stringProp name="HTTPSampler.path">/streams</stringProp>
  499. <stringProp name="HTTPSampler.method">POST</stringProp>
  500. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  501. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  502. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  503. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  504. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  505. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  506. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  507. </HTTPSamplerProxy>
  508. <hashTree>
  509. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  510. <collectionProp name="Asserion.test_strings">
  511. <stringProp name="2081963405">Stream ext2 is created.</stringProp>
  512. </collectionProp>
  513. <stringProp name="Assertion.custom_message"></stringProp>
  514. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  515. <boolProp name="Assertion.assume_success">true</boolProp>
  516. <intProp name="Assertion.test_type">16</intProp>
  517. </ResponseAssertion>
  518. <hashTree/>
  519. </hashTree>
  520. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API_CreateRule" enabled="true">
  521. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  522. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  523. <collectionProp name="Arguments.arguments">
  524. <elementProp name="" elementType="HTTPArgument">
  525. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  526. <stringProp name="Argument.value">{&#xd;
  527. &quot;id&quot;: &quot;ruleExtP&quot;,&#xd;
  528. &quot;sql&quot;: &quot;SELECT revert(name) FROM ext2&quot;,&#xd;
  529. &quot;actions&quot;: [{&#xd;
  530. &quot;print&quot;: {&#xd;
  531. }&#xd;
  532. }]&#xd;
  533. }</stringProp>
  534. <stringProp name="Argument.metadata">=</stringProp>
  535. </elementProp>
  536. </collectionProp>
  537. </elementProp>
  538. <stringProp name="HTTPSampler.domain">${srv}</stringProp>
  539. <stringProp name="HTTPSampler.port">${rest_port}</stringProp>
  540. <stringProp name="HTTPSampler.protocol"></stringProp>
  541. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  542. <stringProp name="HTTPSampler.path">/rules</stringProp>
  543. <stringProp name="HTTPSampler.method">POST</stringProp>
  544. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  545. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  546. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  547. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  548. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  549. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  550. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  551. </HTTPSamplerProxy>
  552. <hashTree>
  553. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  554. <collectionProp name="Asserion.test_strings">
  555. <stringProp name="-1180523008">Rule ruleExtP was created</stringProp>
  556. </collectionProp>
  557. <stringProp name="Assertion.custom_message"></stringProp>
  558. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  559. <boolProp name="Assertion.assume_success">true</boolProp>
  560. <intProp name="Assertion.test_type">16</intProp>
  561. </ResponseAssertion>
  562. <hashTree/>
  563. <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="true">
  564. <stringProp name="ConstantTimer.delay">1000</stringProp>
  565. </ConstantTimer>
  566. <hashTree/>
  567. </hashTree>
  568. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API_GetRuleStatus" enabled="true">
  569. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  570. <collectionProp name="Arguments.arguments"/>
  571. </elementProp>
  572. <stringProp name="HTTPSampler.domain">${srv}</stringProp>
  573. <stringProp name="HTTPSampler.port">${rest_port}</stringProp>
  574. <stringProp name="HTTPSampler.protocol"></stringProp>
  575. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  576. <stringProp name="HTTPSampler.path">/rules/ruleExtP/status</stringProp>
  577. <stringProp name="HTTPSampler.method">GET</stringProp>
  578. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  579. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  580. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  581. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  582. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  583. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  584. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  585. </HTTPSamplerProxy>
  586. <hashTree>
  587. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="JSON Assertion" enabled="true">
  588. <stringProp name="JSON_PATH">$.op_2_project_0_records_out_total</stringProp>
  589. <stringProp name="EXPECTED_VALUE">0</stringProp>
  590. <boolProp name="JSONVALIDATION">true</boolProp>
  591. <boolProp name="EXPECT_NULL">false</boolProp>
  592. <boolProp name="INVERT">true</boolProp>
  593. <boolProp name="ISREGEX">true</boolProp>
  594. </JSONPathAssertion>
  595. <hashTree/>
  596. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="JSON Assertion" enabled="true">
  597. <stringProp name="JSON_PATH">$.op_2_project_0_exceptions_total</stringProp>
  598. <stringProp name="EXPECTED_VALUE">0</stringProp>
  599. <boolProp name="JSONVALIDATION">true</boolProp>
  600. <boolProp name="EXPECT_NULL">false</boolProp>
  601. <boolProp name="INVERT">false</boolProp>
  602. <boolProp name="ISREGEX">true</boolProp>
  603. </JSONPathAssertion>
  604. <hashTree/>
  605. </hashTree>
  606. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API_UpdatePlugin" enabled="true">
  607. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  608. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  609. <collectionProp name="Arguments.arguments">
  610. <elementProp name="" elementType="HTTPArgument">
  611. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  612. <stringProp name="Argument.value">{&#xd;
  613. &quot;name&quot;:&quot;pysam&quot;,&#xd;
  614. &quot;file&quot;:&quot;http://127.0.0.1:9090/plugins/pysam.zip&quot;&#xd;
  615. }</stringProp>
  616. <stringProp name="Argument.metadata">=</stringProp>
  617. </elementProp>
  618. </collectionProp>
  619. </elementProp>
  620. <stringProp name="HTTPSampler.domain">${srv}</stringProp>
  621. <stringProp name="HTTPSampler.port">${rest_port}</stringProp>
  622. <stringProp name="HTTPSampler.protocol"></stringProp>
  623. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  624. <stringProp name="HTTPSampler.path">/plugins/portables/pysam</stringProp>
  625. <stringProp name="HTTPSampler.method">PUT</stringProp>
  626. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  627. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  628. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  629. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  630. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  631. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  632. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  633. </HTTPSamplerProxy>
  634. <hashTree>
  635. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  636. <collectionProp name="Asserion.test_strings">
  637. <stringProp name="49586">200</stringProp>
  638. </collectionProp>
  639. <stringProp name="Assertion.custom_message"></stringProp>
  640. <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
  641. <boolProp name="Assertion.assume_success">true</boolProp>
  642. <intProp name="Assertion.test_type">16</intProp>
  643. </ResponseAssertion>
  644. <hashTree/>
  645. <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="true">
  646. <stringProp name="ConstantTimer.delay">1000</stringProp>
  647. </ConstantTimer>
  648. <hashTree/>
  649. </hashTree>
  650. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API_GetRuleStatus" enabled="true">
  651. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  652. <collectionProp name="Arguments.arguments"/>
  653. </elementProp>
  654. <stringProp name="HTTPSampler.domain">${srv}</stringProp>
  655. <stringProp name="HTTPSampler.port">${rest_port}</stringProp>
  656. <stringProp name="HTTPSampler.protocol"></stringProp>
  657. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  658. <stringProp name="HTTPSampler.path">/rules/ruleExtP/status</stringProp>
  659. <stringProp name="HTTPSampler.method">GET</stringProp>
  660. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  661. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  662. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  663. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  664. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  665. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  666. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  667. </HTTPSamplerProxy>
  668. <hashTree>
  669. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="JSON Assertion" enabled="true">
  670. <stringProp name="JSON_PATH">$.op_2_project_0_records_out_total</stringProp>
  671. <stringProp name="EXPECTED_VALUE">0</stringProp>
  672. <boolProp name="JSONVALIDATION">true</boolProp>
  673. <boolProp name="EXPECT_NULL">false</boolProp>
  674. <boolProp name="INVERT">true</boolProp>
  675. <boolProp name="ISREGEX">true</boolProp>
  676. </JSONPathAssertion>
  677. <hashTree/>
  678. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="JSON Assertion" enabled="true">
  679. <stringProp name="JSON_PATH">$.op_2_project_0_exceptions_total</stringProp>
  680. <stringProp name="EXPECTED_VALUE">0</stringProp>
  681. <boolProp name="JSONVALIDATION">true</boolProp>
  682. <boolProp name="EXPECT_NULL">false</boolProp>
  683. <boolProp name="INVERT">false</boolProp>
  684. <boolProp name="ISREGEX">true</boolProp>
  685. </JSONPathAssertion>
  686. <hashTree/>
  687. </hashTree>
  688. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API_DropRule" enabled="true">
  689. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  690. <collectionProp name="Arguments.arguments"/>
  691. </elementProp>
  692. <stringProp name="HTTPSampler.domain">${srv}</stringProp>
  693. <stringProp name="HTTPSampler.port">${rest_port}</stringProp>
  694. <stringProp name="HTTPSampler.protocol"></stringProp>
  695. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  696. <stringProp name="HTTPSampler.path">/rules/ruleExtP</stringProp>
  697. <stringProp name="HTTPSampler.method">DELETE</stringProp>
  698. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  699. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  700. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  701. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  702. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  703. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  704. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  705. </HTTPSamplerProxy>
  706. <hashTree>
  707. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  708. <collectionProp name="Asserion.test_strings">
  709. <stringProp name="1558924275">Rule ruleExtP is dropped.</stringProp>
  710. </collectionProp>
  711. <stringProp name="Assertion.custom_message"></stringProp>
  712. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  713. <boolProp name="Assertion.assume_success">false</boolProp>
  714. <intProp name="Assertion.test_type">16</intProp>
  715. </ResponseAssertion>
  716. <hashTree/>
  717. </hashTree>
  718. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API_Drop_Stream" enabled="true">
  719. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  720. <collectionProp name="Arguments.arguments"/>
  721. </elementProp>
  722. <stringProp name="HTTPSampler.domain">${srv}</stringProp>
  723. <stringProp name="HTTPSampler.port">${rest_port}</stringProp>
  724. <stringProp name="HTTPSampler.protocol"></stringProp>
  725. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  726. <stringProp name="HTTPSampler.path">/streams/ext2</stringProp>
  727. <stringProp name="HTTPSampler.method">DELETE</stringProp>
  728. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  729. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  730. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  731. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  732. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  733. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  734. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  735. </HTTPSamplerProxy>
  736. <hashTree>
  737. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  738. <collectionProp name="Asserion.test_strings">
  739. <stringProp name="-170168395">Stream ext2 is dropped.</stringProp>
  740. </collectionProp>
  741. <stringProp name="Assertion.custom_message"></stringProp>
  742. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  743. <boolProp name="Assertion.assume_success">false</boolProp>
  744. <intProp name="Assertion.test_type">16</intProp>
  745. </ResponseAssertion>
  746. <hashTree/>
  747. </hashTree>
  748. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API_DropPlugin" enabled="true">
  749. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  750. <collectionProp name="Arguments.arguments"/>
  751. </elementProp>
  752. <stringProp name="HTTPSampler.domain">${srv}</stringProp>
  753. <stringProp name="HTTPSampler.port">${rest_port}</stringProp>
  754. <stringProp name="HTTPSampler.protocol"></stringProp>
  755. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  756. <stringProp name="HTTPSampler.path">/plugins/portables/pysam</stringProp>
  757. <stringProp name="HTTPSampler.method">DELETE</stringProp>
  758. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  759. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  760. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  761. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  762. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  763. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  764. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  765. </HTTPSamplerProxy>
  766. <hashTree>
  767. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  768. <collectionProp name="Asserion.test_strings">
  769. <stringProp name="1655874005">portable plugin pysam is deleted</stringProp>
  770. </collectionProp>
  771. <stringProp name="Assertion.custom_message"></stringProp>
  772. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  773. <boolProp name="Assertion.assume_success">true</boolProp>
  774. <intProp name="Assertion.test_type">16</intProp>
  775. </ResponseAssertion>
  776. <hashTree/>
  777. </hashTree>
  778. <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="true">
  779. <stringProp name="ConstantTimer.delay">500</stringProp>
  780. </ConstantTimer>
  781. <hashTree/>
  782. </hashTree>
  783. </hashTree>
  784. </hashTree>
  785. </hashTree>
  786. </jmeterTestPlan>