plugin_end_2_end.jmx 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ Copyright 2021 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="4.0" jmeter="4.0 r1823414">
  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. </ThreadGroup>
  57. <hashTree>
  58. <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
  59. <boolProp name="ResultCollector.error_logging">false</boolProp>
  60. <objProp>
  61. <name>saveConfig</name>
  62. <value class="SampleSaveConfiguration">
  63. <time>true</time>
  64. <latency>true</latency>
  65. <timestamp>true</timestamp>
  66. <success>true</success>
  67. <label>true</label>
  68. <code>true</code>
  69. <message>true</message>
  70. <threadName>true</threadName>
  71. <dataType>true</dataType>
  72. <encoding>false</encoding>
  73. <assertions>true</assertions>
  74. <subresults>true</subresults>
  75. <responseData>false</responseData>
  76. <samplerData>false</samplerData>
  77. <xml>false</xml>
  78. <fieldNames>true</fieldNames>
  79. <responseHeaders>false</responseHeaders>
  80. <requestHeaders>false</requestHeaders>
  81. <responseDataOnError>false</responseDataOnError>
  82. <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
  83. <assertionsResultsToSave>0</assertionsResultsToSave>
  84. <bytes>true</bytes>
  85. <sentBytes>true</sentBytes>
  86. <threadCounts>true</threadCounts>
  87. <idleTime>true</idleTime>
  88. <connectTime>true</connectTime>
  89. </value>
  90. </objProp>
  91. <stringProp name="filename"></stringProp>
  92. </ResultCollector>
  93. <hashTree/>
  94. <TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="API" enabled="true">
  95. <boolProp name="TransactionController.includeTimers">false</boolProp>
  96. <boolProp name="TransactionController.parent">false</boolProp>
  97. </TransactionController>
  98. <hashTree>
  99. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API_AddPlugin" enabled="true">
  100. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  101. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  102. <collectionProp name="Arguments.arguments">
  103. <elementProp name="" elementType="HTTPArgument">
  104. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  105. <stringProp name="Argument.value">{&#xd;
  106. &quot;name&quot;:&quot;zmq&quot;,&#xd;
  107. &quot;file&quot;:&quot;http://127.0.0.1:9090/plugins/zmq.zip&quot;&#xd;
  108. }</stringProp>
  109. <stringProp name="Argument.metadata">=</stringProp>
  110. </elementProp>
  111. </collectionProp>
  112. </elementProp>
  113. <stringProp name="HTTPSampler.domain">${srv}</stringProp>
  114. <stringProp name="HTTPSampler.port">${rest_port}</stringProp>
  115. <stringProp name="HTTPSampler.protocol"></stringProp>
  116. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  117. <stringProp name="HTTPSampler.path">/plugins/sources</stringProp>
  118. <stringProp name="HTTPSampler.method">POST</stringProp>
  119. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  120. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  121. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  122. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  123. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  124. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  125. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  126. </HTTPSamplerProxy>
  127. <hashTree>
  128. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  129. <collectionProp name="Asserion.test_strings">
  130. <stringProp name="49587">201</stringProp>
  131. </collectionProp>
  132. <stringProp name="Assertion.custom_message"></stringProp>
  133. <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
  134. <boolProp name="Assertion.assume_success">true</boolProp>
  135. <intProp name="Assertion.test_type">16</intProp>
  136. </ResponseAssertion>
  137. <hashTree/>
  138. <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="true">
  139. <stringProp name="ConstantTimer.delay">500</stringProp>
  140. </ConstantTimer>
  141. <hashTree/>
  142. </hashTree>
  143. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API_DescPlugin" enabled="true">
  144. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  145. <collectionProp name="Arguments.arguments"/>
  146. </elementProp>
  147. <stringProp name="HTTPSampler.domain">${srv}</stringProp>
  148. <stringProp name="HTTPSampler.port">${rest_port}</stringProp>
  149. <stringProp name="HTTPSampler.protocol"></stringProp>
  150. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  151. <stringProp name="HTTPSampler.path">/plugins/sources/zmq</stringProp>
  152. <stringProp name="HTTPSampler.method">GET</stringProp>
  153. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  154. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  155. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  156. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  157. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  158. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  159. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  160. </HTTPSamplerProxy>
  161. <hashTree>
  162. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  163. <collectionProp name="Asserion.test_strings">
  164. <stringProp name="120734">zmq</stringProp>
  165. </collectionProp>
  166. <stringProp name="Assertion.custom_message"></stringProp>
  167. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  168. <boolProp name="Assertion.assume_success">true</boolProp>
  169. <intProp name="Assertion.test_type">16</intProp>
  170. </ResponseAssertion>
  171. <hashTree/>
  172. </hashTree>
  173. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API_CreateStream" enabled="true">
  174. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  175. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  176. <collectionProp name="Arguments.arguments">
  177. <elementProp name="" elementType="HTTPArgument">
  178. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  179. <stringProp name="Argument.value">{&#xd;
  180. &quot;sql&quot; : &quot;create stream demo (humidity bigint, temperature bigint) WITH (DATASOURCE=\&quot;events\&quot;, FORMAT=\&quot;JSON\&quot;, TYPE=\&quot;zmq\&quot;)&quot;&#xd;
  181. }</stringProp>
  182. <stringProp name="Argument.metadata">=</stringProp>
  183. </elementProp>
  184. </collectionProp>
  185. </elementProp>
  186. <stringProp name="HTTPSampler.domain">${srv}</stringProp>
  187. <stringProp name="HTTPSampler.port">${rest_port}</stringProp>
  188. <stringProp name="HTTPSampler.protocol"></stringProp>
  189. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  190. <stringProp name="HTTPSampler.path">/streams</stringProp>
  191. <stringProp name="HTTPSampler.method">POST</stringProp>
  192. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  193. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  194. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  195. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  196. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  197. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  198. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  199. </HTTPSamplerProxy>
  200. <hashTree>
  201. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  202. <collectionProp name="Asserion.test_strings">
  203. <stringProp name="-1754954177">Stream demo is created.</stringProp>
  204. </collectionProp>
  205. <stringProp name="Assertion.custom_message"></stringProp>
  206. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  207. <boolProp name="Assertion.assume_success">true</boolProp>
  208. <intProp name="Assertion.test_type">16</intProp>
  209. </ResponseAssertion>
  210. <hashTree/>
  211. </hashTree>
  212. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API_CreateRule" enabled="true">
  213. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  214. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  215. <collectionProp name="Arguments.arguments">
  216. <elementProp name="" elementType="HTTPArgument">
  217. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  218. <stringProp name="Argument.value">{&#xd;
  219. &quot;id&quot;: &quot;rule1&quot;,&#xd;
  220. &quot;sql&quot;: &quot;SELECT * FROM demo WHERE humidity = 55&quot;,&#xd;
  221. &quot;actions&quot;: [&#xd;
  222. {&#xd;
  223. &quot;rest&quot;: {&#xd;
  224. &quot;url&quot;: &quot;http://127.0.0.1:9090/alert&quot;,&#xd;
  225. &quot;method&quot;: &quot;post&quot;,&#xd;
  226. &quot;dataTemplate&quot;: &quot;{\&quot;content\&quot;:{{json .}}}&quot;,&#xd;
  227. &quot;sendSingle&quot;: true&#xd;
  228. }&#xd;
  229. }&#xd;
  230. ]&#xd;
  231. }</stringProp>
  232. <stringProp name="Argument.metadata">=</stringProp>
  233. </elementProp>
  234. </collectionProp>
  235. </elementProp>
  236. <stringProp name="HTTPSampler.domain">${srv}</stringProp>
  237. <stringProp name="HTTPSampler.port">${rest_port}</stringProp>
  238. <stringProp name="HTTPSampler.protocol"></stringProp>
  239. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  240. <stringProp name="HTTPSampler.path">/rules</stringProp>
  241. <stringProp name="HTTPSampler.method">POST</stringProp>
  242. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  243. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  244. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  245. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  246. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  247. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  248. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  249. </HTTPSamplerProxy>
  250. <hashTree>
  251. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  252. <collectionProp name="Asserion.test_strings">
  253. <stringProp name="-2022196798">Rule rule1 was created</stringProp>
  254. </collectionProp>
  255. <stringProp name="Assertion.custom_message"></stringProp>
  256. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  257. <boolProp name="Assertion.assume_success">true</boolProp>
  258. <intProp name="Assertion.test_type">16</intProp>
  259. </ResponseAssertion>
  260. <hashTree/>
  261. </hashTree>
  262. <SystemSampler guiclass="SystemSamplerGui" testclass="SystemSampler" testname="Send_Data" enabled="true">
  263. <boolProp name="SystemSampler.checkReturnCode">false</boolProp>
  264. <stringProp name="SystemSampler.expectedReturnCode">0</stringProp>
  265. <stringProp name="SystemSampler.command">test/plugins/pub/zmq_pub</stringProp>
  266. <elementProp name="SystemSampler.arguments" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  267. <collectionProp name="Arguments.arguments"/>
  268. </elementProp>
  269. <elementProp name="SystemSampler.environment" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  270. <collectionProp name="Arguments.arguments"/>
  271. </elementProp>
  272. <stringProp name="SystemSampler.directory">${__property(fvt,,)}</stringProp>
  273. </SystemSampler>
  274. <hashTree>
  275. <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="true">
  276. <stringProp name="ConstantTimer.delay">500</stringProp>
  277. </ConstantTimer>
  278. <hashTree/>
  279. </hashTree>
  280. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API_GetRuleStatus" enabled="true">
  281. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  282. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  283. <collectionProp name="Arguments.arguments">
  284. <elementProp name="" elementType="HTTPArgument">
  285. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  286. <stringProp name="Argument.value"></stringProp>
  287. <stringProp name="Argument.metadata">=</stringProp>
  288. </elementProp>
  289. </collectionProp>
  290. </elementProp>
  291. <stringProp name="HTTPSampler.domain">${srv}</stringProp>
  292. <stringProp name="HTTPSampler.port">${rest_port}</stringProp>
  293. <stringProp name="HTTPSampler.protocol"></stringProp>
  294. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  295. <stringProp name="HTTPSampler.path">/rules/rule1/status</stringProp>
  296. <stringProp name="HTTPSampler.method">GET</stringProp>
  297. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  298. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  299. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  300. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  301. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  302. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  303. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  304. </HTTPSamplerProxy>
  305. <hashTree>
  306. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="JSON Assertion" enabled="true">
  307. <stringProp name="JSON_PATH">$.sink_rest_0_0_records_in_total</stringProp>
  308. <stringProp name="EXPECTED_VALUE">2</stringProp>
  309. <boolProp name="JSONVALIDATION">true</boolProp>
  310. <boolProp name="EXPECT_NULL">false</boolProp>
  311. <boolProp name="INVERT">false</boolProp>
  312. <boolProp name="ISREGEX">false</boolProp>
  313. </JSONPathAssertion>
  314. <hashTree/>
  315. <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="true">
  316. <stringProp name="ConstantTimer.delay">1000</stringProp>
  317. </ConstantTimer>
  318. <hashTree/>
  319. </hashTree>
  320. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API_DropRule" enabled="true">
  321. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  322. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  323. <collectionProp name="Arguments.arguments">
  324. <elementProp name="" elementType="HTTPArgument">
  325. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  326. <stringProp name="Argument.value"></stringProp>
  327. <stringProp name="Argument.metadata">=</stringProp>
  328. </elementProp>
  329. </collectionProp>
  330. </elementProp>
  331. <stringProp name="HTTPSampler.domain">${srv}</stringProp>
  332. <stringProp name="HTTPSampler.port">${rest_port}</stringProp>
  333. <stringProp name="HTTPSampler.protocol"></stringProp>
  334. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  335. <stringProp name="HTTPSampler.path">/rules/rule1</stringProp>
  336. <stringProp name="HTTPSampler.method">DELETE</stringProp>
  337. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  338. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  339. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  340. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  341. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  342. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  343. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  344. </HTTPSamplerProxy>
  345. <hashTree>
  346. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  347. <collectionProp name="Asserion.test_strings">
  348. <stringProp name="717250485">Rule rule1 is dropped.</stringProp>
  349. </collectionProp>
  350. <stringProp name="Assertion.custom_message"></stringProp>
  351. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  352. <boolProp name="Assertion.assume_success">false</boolProp>
  353. <intProp name="Assertion.test_type">16</intProp>
  354. </ResponseAssertion>
  355. <hashTree/>
  356. </hashTree>
  357. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API_Drop_Stream" enabled="true">
  358. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  359. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  360. <collectionProp name="Arguments.arguments">
  361. <elementProp name="" elementType="HTTPArgument">
  362. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  363. <stringProp name="Argument.value"></stringProp>
  364. <stringProp name="Argument.metadata">=</stringProp>
  365. </elementProp>
  366. </collectionProp>
  367. </elementProp>
  368. <stringProp name="HTTPSampler.domain">${srv}</stringProp>
  369. <stringProp name="HTTPSampler.port">${rest_port}</stringProp>
  370. <stringProp name="HTTPSampler.protocol"></stringProp>
  371. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  372. <stringProp name="HTTPSampler.path">/streams/demo</stringProp>
  373. <stringProp name="HTTPSampler.method">DELETE</stringProp>
  374. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  375. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  376. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  377. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  378. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  379. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  380. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  381. </HTTPSamplerProxy>
  382. <hashTree>
  383. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  384. <collectionProp name="Asserion.test_strings">
  385. <stringProp name="287881319">Stream demo is dropped.</stringProp>
  386. </collectionProp>
  387. <stringProp name="Assertion.custom_message"></stringProp>
  388. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  389. <boolProp name="Assertion.assume_success">false</boolProp>
  390. <intProp name="Assertion.test_type">16</intProp>
  391. </ResponseAssertion>
  392. <hashTree/>
  393. </hashTree>
  394. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API_DropPlugin" enabled="true">
  395. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  396. <collectionProp name="Arguments.arguments"/>
  397. </elementProp>
  398. <stringProp name="HTTPSampler.domain">${srv}</stringProp>
  399. <stringProp name="HTTPSampler.port">${rest_port}</stringProp>
  400. <stringProp name="HTTPSampler.protocol"></stringProp>
  401. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  402. <stringProp name="HTTPSampler.path">/plugins/sources/zmq</stringProp>
  403. <stringProp name="HTTPSampler.method">DELETE</stringProp>
  404. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  405. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  406. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  407. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  408. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  409. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  410. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  411. </HTTPSamplerProxy>
  412. <hashTree>
  413. <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
  414. <collectionProp name="Asserion.test_strings">
  415. <stringProp name="-1776925942">sources plugin zmq is deleted</stringProp>
  416. </collectionProp>
  417. <stringProp name="Assertion.custom_message"></stringProp>
  418. <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  419. <boolProp name="Assertion.assume_success">true</boolProp>
  420. <intProp name="Assertion.test_type">16</intProp>
  421. </ResponseAssertion>
  422. <hashTree/>
  423. </hashTree>
  424. <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="true">
  425. <stringProp name="ConstantTimer.delay">500</stringProp>
  426. </ConstantTimer>
  427. <hashTree/>
  428. </hashTree>
  429. </hashTree>
  430. <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Result" enabled="false">
  431. <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
  432. <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
  433. <boolProp name="LoopController.continue_forever">false</boolProp>
  434. <stringProp name="LoopController.loops">1</stringProp>
  435. </elementProp>
  436. <stringProp name="ThreadGroup.num_threads">1</stringProp>
  437. <stringProp name="ThreadGroup.ramp_time">0</stringProp>
  438. <boolProp name="ThreadGroup.scheduler">false</boolProp>
  439. <stringProp name="ThreadGroup.duration"></stringProp>
  440. <stringProp name="ThreadGroup.delay"></stringProp>
  441. </ThreadGroup>
  442. <hashTree>
  443. <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
  444. <boolProp name="ResultCollector.error_logging">false</boolProp>
  445. <objProp>
  446. <name>saveConfig</name>
  447. <value class="SampleSaveConfiguration">
  448. <time>true</time>
  449. <latency>true</latency>
  450. <timestamp>true</timestamp>
  451. <success>true</success>
  452. <label>true</label>
  453. <code>true</code>
  454. <message>true</message>
  455. <threadName>true</threadName>
  456. <dataType>true</dataType>
  457. <encoding>false</encoding>
  458. <assertions>true</assertions>
  459. <subresults>true</subresults>
  460. <responseData>false</responseData>
  461. <samplerData>false</samplerData>
  462. <xml>false</xml>
  463. <fieldNames>true</fieldNames>
  464. <responseHeaders>false</responseHeaders>
  465. <requestHeaders>false</requestHeaders>
  466. <responseDataOnError>false</responseDataOnError>
  467. <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
  468. <assertionsResultsToSave>0</assertionsResultsToSave>
  469. <bytes>true</bytes>
  470. <sentBytes>true</sentBytes>
  471. <threadCounts>true</threadCounts>
  472. <idleTime>true</idleTime>
  473. <connectTime>true</connectTime>
  474. </value>
  475. </objProp>
  476. <stringProp name="filename"></stringProp>
  477. </ResultCollector>
  478. <hashTree/>
  479. <SystemSampler guiclass="SystemSamplerGui" testclass="SystemSampler" testname="App_Service" enabled="true">
  480. <boolProp name="SystemSampler.checkReturnCode">false</boolProp>
  481. <stringProp name="SystemSampler.expectedReturnCode">0</stringProp>
  482. <stringProp name="SystemSampler.command">./server</stringProp>
  483. <elementProp name="SystemSampler.arguments" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  484. <collectionProp name="Arguments.arguments"/>
  485. </elementProp>
  486. <elementProp name="SystemSampler.environment" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  487. <collectionProp name="Arguments.arguments"/>
  488. </elementProp>
  489. <stringProp name="SystemSampler.directory">${__property(fvt,,)}/test/plugins/service/</stringProp>
  490. </SystemSampler>
  491. <hashTree/>
  492. </hashTree>
  493. </hashTree>
  494. </hashTree>
  495. </jmeterTestPlan>