plugin_end_2_end.jmx 29 KB

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