|
@@ -0,0 +1,401 @@
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
+<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.3">
|
|
|
+ <hashTree>
|
|
|
+ <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Test Plan" enabled="true">
|
|
|
+ <stringProp name="TestPlan.comments"></stringProp>
|
|
|
+ <boolProp name="TestPlan.functional_mode">false</boolProp>
|
|
|
+ <boolProp name="TestPlan.tearDown_on_shutdown">true</boolProp>
|
|
|
+ <boolProp name="TestPlan.serialize_threadgroups">false</boolProp>
|
|
|
+ <elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
|
|
|
+ <collectionProp name="Arguments.arguments"/>
|
|
|
+ </elementProp>
|
|
|
+ <stringProp name="TestPlan.user_define_classpath"></stringProp>
|
|
|
+ </TestPlan>
|
|
|
+ <hashTree>
|
|
|
+ <Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
|
|
|
+ <collectionProp name="Arguments.arguments">
|
|
|
+ <elementProp name="srv" elementType="Argument">
|
|
|
+ <stringProp name="Argument.name">srv</stringProp>
|
|
|
+ <stringProp name="Argument.value">127.0.0.1</stringProp>
|
|
|
+ <stringProp name="Argument.metadata">=</stringProp>
|
|
|
+ </elementProp>
|
|
|
+ <elementProp name="rest_port" elementType="Argument">
|
|
|
+ <stringProp name="Argument.name">rest_port</stringProp>
|
|
|
+ <stringProp name="Argument.value">9081</stringProp>
|
|
|
+ <stringProp name="Argument.metadata">=</stringProp>
|
|
|
+ </elementProp>
|
|
|
+ <elementProp name="k_home" elementType="Argument">
|
|
|
+ <stringProp name="Argument.name">k_home</stringProp>
|
|
|
+ <stringProp name="Argument.value">${__property(base,,)}</stringProp>
|
|
|
+ <stringProp name="Argument.metadata">=</stringProp>
|
|
|
+ </elementProp>
|
|
|
+ <elementProp name="fvt" elementType="Argument">
|
|
|
+ <stringProp name="Argument.name">fvt</stringProp>
|
|
|
+ <stringProp name="Argument.value">${__property(fvt,,)}</stringProp>
|
|
|
+ <stringProp name="Argument.metadata">=</stringProp>
|
|
|
+ </elementProp>
|
|
|
+ </collectionProp>
|
|
|
+ </Arguments>
|
|
|
+ <hashTree/>
|
|
|
+ <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="API" enabled="true">
|
|
|
+ <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
|
|
|
+ <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
|
|
|
+ <boolProp name="LoopController.continue_forever">false</boolProp>
|
|
|
+ <stringProp name="LoopController.loops">1</stringProp>
|
|
|
+ </elementProp>
|
|
|
+ <stringProp name="ThreadGroup.num_threads">1</stringProp>
|
|
|
+ <stringProp name="ThreadGroup.ramp_time">1</stringProp>
|
|
|
+ <boolProp name="ThreadGroup.scheduler">false</boolProp>
|
|
|
+ <stringProp name="ThreadGroup.duration"></stringProp>
|
|
|
+ <stringProp name="ThreadGroup.delay"></stringProp>
|
|
|
+ <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
|
|
|
+ </ThreadGroup>
|
|
|
+ <hashTree>
|
|
|
+ <TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="Metrics" enabled="true">
|
|
|
+ <boolProp name="TransactionController.includeTimers">false</boolProp>
|
|
|
+ <boolProp name="TransactionController.parent">false</boolProp>
|
|
|
+ </TransactionController>
|
|
|
+ <hashTree>
|
|
|
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API_CreateStream" enabled="true">
|
|
|
+ <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
|
|
|
+ <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
|
|
|
+ <collectionProp name="Arguments.arguments">
|
|
|
+ <elementProp name="" elementType="HTTPArgument">
|
|
|
+ <boolProp name="HTTPArgument.always_encode">false</boolProp>
|
|
|
+ <stringProp name="Argument.value">{
|
|
|
+"sql" : "create stream demo (temperature float, humidity bigint) WITH (FORMAT=\"JSON\", DATASOURCE=\"devices/+/messages\" )"
|
|
|
+}</stringProp>
|
|
|
+ <stringProp name="Argument.metadata">=</stringProp>
|
|
|
+ </elementProp>
|
|
|
+ </collectionProp>
|
|
|
+ </elementProp>
|
|
|
+ <stringProp name="HTTPSampler.domain">${srv}</stringProp>
|
|
|
+ <stringProp name="HTTPSampler.port">${rest_port}</stringProp>
|
|
|
+ <stringProp name="HTTPSampler.protocol"></stringProp>
|
|
|
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
|
|
+ <stringProp name="HTTPSampler.path">/streams</stringProp>
|
|
|
+ <stringProp name="HTTPSampler.method">POST</stringProp>
|
|
|
+ <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
|
|
|
+ <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
|
|
|
+ <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
|
|
|
+ <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
|
|
|
+ <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
|
|
+ <stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
|
|
+ <stringProp name="HTTPSampler.response_timeout"></stringProp>
|
|
|
+ </HTTPSamplerProxy>
|
|
|
+ <hashTree>
|
|
|
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
|
|
|
+ <collectionProp name="Asserion.test_strings">
|
|
|
+ <stringProp name="-1754954177">Stream demo is created.</stringProp>
|
|
|
+ </collectionProp>
|
|
|
+ <stringProp name="Assertion.custom_message"></stringProp>
|
|
|
+ <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
|
|
|
+ <boolProp name="Assertion.assume_success">true</boolProp>
|
|
|
+ <intProp name="Assertion.test_type">16</intProp>
|
|
|
+ </ResponseAssertion>
|
|
|
+ <hashTree/>
|
|
|
+ </hashTree>
|
|
|
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API_CreateRule" enabled="true">
|
|
|
+ <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
|
|
|
+ <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
|
|
|
+ <collectionProp name="Arguments.arguments">
|
|
|
+ <elementProp name="" elementType="HTTPArgument">
|
|
|
+ <boolProp name="HTTPArgument.always_encode">false</boolProp>
|
|
|
+ <stringProp name="Argument.value">{
|
|
|
+ "id": "rule1",
|
|
|
+ "sql": "SELECT * FROM demo",
|
|
|
+ "actions": [
|
|
|
+ {
|
|
|
+ "log": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "mqtt": {
|
|
|
+ "server": "tcp://127.0.0.1:1883",
|
|
|
+ "topic": "devices/result",
|
|
|
+ "qos": 1,
|
|
|
+ "clientId": "demo_001"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+}</stringProp>
|
|
|
+ <stringProp name="Argument.metadata">=</stringProp>
|
|
|
+ </elementProp>
|
|
|
+ </collectionProp>
|
|
|
+ </elementProp>
|
|
|
+ <stringProp name="HTTPSampler.domain">${srv}</stringProp>
|
|
|
+ <stringProp name="HTTPSampler.port">${rest_port}</stringProp>
|
|
|
+ <stringProp name="HTTPSampler.protocol"></stringProp>
|
|
|
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
|
|
+ <stringProp name="HTTPSampler.path">/rules</stringProp>
|
|
|
+ <stringProp name="HTTPSampler.method">POST</stringProp>
|
|
|
+ <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
|
|
|
+ <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
|
|
|
+ <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
|
|
|
+ <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
|
|
|
+ <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
|
|
+ <stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
|
|
+ <stringProp name="HTTPSampler.response_timeout"></stringProp>
|
|
|
+ </HTTPSamplerProxy>
|
|
|
+ <hashTree>
|
|
|
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
|
|
|
+ <collectionProp name="Asserion.test_strings">
|
|
|
+ <stringProp name="-2022196798">Rule rule1 was created</stringProp>
|
|
|
+ </collectionProp>
|
|
|
+ <stringProp name="Assertion.custom_message"></stringProp>
|
|
|
+ <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
|
|
|
+ <boolProp name="Assertion.assume_success">true</boolProp>
|
|
|
+ <intProp name="Assertion.test_type">16</intProp>
|
|
|
+ </ResponseAssertion>
|
|
|
+ <hashTree/>
|
|
|
+ </hashTree>
|
|
|
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API_GetMetrics" enabled="true">
|
|
|
+ <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
|
|
|
+ <collectionProp name="Arguments.arguments"/>
|
|
|
+ </elementProp>
|
|
|
+ <stringProp name="HTTPSampler.domain">${srv}</stringProp>
|
|
|
+ <stringProp name="HTTPSampler.port">${rest_port}</stringProp>
|
|
|
+ <stringProp name="HTTPSampler.protocol"></stringProp>
|
|
|
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
|
|
+ <stringProp name="HTTPSampler.path">/metrics</stringProp>
|
|
|
+ <stringProp name="HTTPSampler.method">GET</stringProp>
|
|
|
+ <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
|
|
|
+ <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
|
|
|
+ <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
|
|
|
+ <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
|
|
|
+ <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
|
|
+ <stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
|
|
+ <stringProp name="HTTPSampler.response_timeout"></stringProp>
|
|
|
+ </HTTPSamplerProxy>
|
|
|
+ <hashTree>
|
|
|
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
|
|
|
+ <collectionProp name="Asserion.test_strings">
|
|
|
+ <stringProp name="-1098543641"># HELP kuiper_op_exceptions_total Total number of user exceptions of kuiper_op
|
|
|
+# TYPE kuiper_op_exceptions_total counter
|
|
|
+kuiper_op_exceptions_total{instance="0",op="2_project",rule="rule1",type="op"} 0</stringProp>
|
|
|
+ </collectionProp>
|
|
|
+ <stringProp name="Assertion.custom_message"></stringProp>
|
|
|
+ <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
|
|
|
+ <boolProp name="Assertion.assume_success">true</boolProp>
|
|
|
+ <intProp name="Assertion.test_type">16</intProp>
|
|
|
+ </ResponseAssertion>
|
|
|
+ <hashTree/>
|
|
|
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
|
|
|
+ <collectionProp name="Asserion.test_strings">
|
|
|
+ <stringProp name="-347885706"># HELP kuiper_op_records_in_total Total number of messages received by the operation of kuiper_op
|
|
|
+# TYPE kuiper_op_records_in_total counter
|
|
|
+kuiper_op_records_in_total{instance="0",op="2_project",rule="rule1",type="op"} 0</stringProp>
|
|
|
+ </collectionProp>
|
|
|
+ <stringProp name="Assertion.custom_message"></stringProp>
|
|
|
+ <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
|
|
|
+ <boolProp name="Assertion.assume_success">true</boolProp>
|
|
|
+ <intProp name="Assertion.test_type">16</intProp>
|
|
|
+ </ResponseAssertion>
|
|
|
+ <hashTree/>
|
|
|
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
|
|
|
+ <collectionProp name="Asserion.test_strings">
|
|
|
+ <stringProp name="-1237524696"># HELP kuiper_op_records_out_total Total number of messages published by the operation of kuiper_op
|
|
|
+# TYPE kuiper_op_records_out_total counter
|
|
|
+kuiper_op_records_out_total{instance="0",op="2_project",rule="rule1",type="op"} 0</stringProp>
|
|
|
+ </collectionProp>
|
|
|
+ <stringProp name="Assertion.custom_message"></stringProp>
|
|
|
+ <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
|
|
|
+ <boolProp name="Assertion.assume_success">true</boolProp>
|
|
|
+ <intProp name="Assertion.test_type">16</intProp>
|
|
|
+ </ResponseAssertion>
|
|
|
+ <hashTree/>
|
|
|
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
|
|
|
+ <collectionProp name="Asserion.test_strings">
|
|
|
+ <stringProp name="-1138780130"># HELP kuiper_sink_exceptions_total Total number of user exceptions of kuiper_sink
|
|
|
+# TYPE kuiper_sink_exceptions_total counter
|
|
|
+kuiper_sink_exceptions_total{instance="0",op="log_0",rule="rule1",type="sink"} 0
|
|
|
+kuiper_sink_exceptions_total{instance="0",op="mqtt_1",rule="rule1",type="sink"} 0</stringProp>
|
|
|
+ </collectionProp>
|
|
|
+ <stringProp name="Assertion.custom_message"></stringProp>
|
|
|
+ <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
|
|
|
+ <boolProp name="Assertion.assume_success">true</boolProp>
|
|
|
+ <intProp name="Assertion.test_type">16</intProp>
|
|
|
+ </ResponseAssertion>
|
|
|
+ <hashTree/>
|
|
|
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
|
|
|
+ <collectionProp name="Asserion.test_strings">
|
|
|
+ <stringProp name="1610594550"># HELP kuiper_source_exceptions_total Total number of user exceptions of kuiper_source
|
|
|
+# TYPE kuiper_source_exceptions_total counter
|
|
|
+kuiper_source_exceptions_total{instance="0",op="demo",rule="rule1",type="source"} 0</stringProp>
|
|
|
+ </collectionProp>
|
|
|
+ <stringProp name="Assertion.custom_message"></stringProp>
|
|
|
+ <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
|
|
|
+ <boolProp name="Assertion.assume_success">true</boolProp>
|
|
|
+ <intProp name="Assertion.test_type">16</intProp>
|
|
|
+ </ResponseAssertion>
|
|
|
+ <hashTree/>
|
|
|
+ </hashTree>
|
|
|
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API_GetRuleStatus" enabled="true">
|
|
|
+ <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
|
|
|
+ <collectionProp name="Arguments.arguments"/>
|
|
|
+ </elementProp>
|
|
|
+ <stringProp name="HTTPSampler.domain">${srv}</stringProp>
|
|
|
+ <stringProp name="HTTPSampler.port">${rest_port}</stringProp>
|
|
|
+ <stringProp name="HTTPSampler.protocol"></stringProp>
|
|
|
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
|
|
+ <stringProp name="HTTPSampler.path">/rules/rule1/status</stringProp>
|
|
|
+ <stringProp name="HTTPSampler.method">GET</stringProp>
|
|
|
+ <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
|
|
|
+ <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
|
|
|
+ <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
|
|
|
+ <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
|
|
|
+ <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
|
|
+ <stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
|
|
+ <stringProp name="HTTPSampler.response_timeout"></stringProp>
|
|
|
+ </HTTPSamplerProxy>
|
|
|
+ <hashTree>
|
|
|
+ <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="JSON Assertion" enabled="true">
|
|
|
+ <stringProp name="JSON_PATH">$.source_demo_0_records_in_total</stringProp>
|
|
|
+ <stringProp name="EXPECTED_VALUE">0</stringProp>
|
|
|
+ <boolProp name="JSONVALIDATION">true</boolProp>
|
|
|
+ <boolProp name="EXPECT_NULL">false</boolProp>
|
|
|
+ <boolProp name="INVERT">false</boolProp>
|
|
|
+ <boolProp name="ISREGEX">false</boolProp>
|
|
|
+ </JSONPathAssertion>
|
|
|
+ <hashTree/>
|
|
|
+ </hashTree>
|
|
|
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API_DropRule" enabled="true">
|
|
|
+ <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
|
|
|
+ <collectionProp name="Arguments.arguments"/>
|
|
|
+ </elementProp>
|
|
|
+ <stringProp name="HTTPSampler.domain">${srv}</stringProp>
|
|
|
+ <stringProp name="HTTPSampler.port">${rest_port}</stringProp>
|
|
|
+ <stringProp name="HTTPSampler.protocol"></stringProp>
|
|
|
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
|
|
+ <stringProp name="HTTPSampler.path">/rules/rule1</stringProp>
|
|
|
+ <stringProp name="HTTPSampler.method">DELETE</stringProp>
|
|
|
+ <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
|
|
|
+ <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
|
|
|
+ <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
|
|
|
+ <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
|
|
|
+ <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
|
|
+ <stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
|
|
+ <stringProp name="HTTPSampler.response_timeout"></stringProp>
|
|
|
+ </HTTPSamplerProxy>
|
|
|
+ <hashTree>
|
|
|
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
|
|
|
+ <collectionProp name="Asserion.test_strings">
|
|
|
+ <stringProp name="717250485">Rule rule1 is dropped.</stringProp>
|
|
|
+ </collectionProp>
|
|
|
+ <stringProp name="Assertion.custom_message"></stringProp>
|
|
|
+ <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
|
|
|
+ <boolProp name="Assertion.assume_success">false</boolProp>
|
|
|
+ <intProp name="Assertion.test_type">16</intProp>
|
|
|
+ </ResponseAssertion>
|
|
|
+ <hashTree/>
|
|
|
+ </hashTree>
|
|
|
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API_Drop_Stream" enabled="true">
|
|
|
+ <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
|
|
|
+ <collectionProp name="Arguments.arguments"/>
|
|
|
+ </elementProp>
|
|
|
+ <stringProp name="HTTPSampler.domain">${srv}</stringProp>
|
|
|
+ <stringProp name="HTTPSampler.port">${rest_port}</stringProp>
|
|
|
+ <stringProp name="HTTPSampler.protocol"></stringProp>
|
|
|
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
|
|
+ <stringProp name="HTTPSampler.path">/streams/demo</stringProp>
|
|
|
+ <stringProp name="HTTPSampler.method">DELETE</stringProp>
|
|
|
+ <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
|
|
|
+ <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
|
|
|
+ <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
|
|
|
+ <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
|
|
|
+ <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
|
|
+ <stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
|
|
+ <stringProp name="HTTPSampler.response_timeout"></stringProp>
|
|
|
+ </HTTPSamplerProxy>
|
|
|
+ <hashTree>
|
|
|
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
|
|
|
+ <collectionProp name="Asserion.test_strings">
|
|
|
+ <stringProp name="287881319">Stream demo is dropped.</stringProp>
|
|
|
+ </collectionProp>
|
|
|
+ <stringProp name="Assertion.custom_message"></stringProp>
|
|
|
+ <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
|
|
|
+ <boolProp name="Assertion.assume_success">false</boolProp>
|
|
|
+ <intProp name="Assertion.test_type">16</intProp>
|
|
|
+ </ResponseAssertion>
|
|
|
+ <hashTree/>
|
|
|
+ </hashTree>
|
|
|
+ <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="true">
|
|
|
+ <stringProp name="ConstantTimer.delay">500</stringProp>
|
|
|
+ </ConstantTimer>
|
|
|
+ <hashTree/>
|
|
|
+ </hashTree>
|
|
|
+ <TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="Version" enabled="true">
|
|
|
+ <boolProp name="TransactionController.includeTimers">false</boolProp>
|
|
|
+ <boolProp name="TransactionController.parent">false</boolProp>
|
|
|
+ </TransactionController>
|
|
|
+ <hashTree>
|
|
|
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API_Ping" enabled="true">
|
|
|
+ <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
|
|
|
+ <collectionProp name="Arguments.arguments"/>
|
|
|
+ </elementProp>
|
|
|
+ <stringProp name="HTTPSampler.domain">${srv}</stringProp>
|
|
|
+ <stringProp name="HTTPSampler.port">${rest_port}</stringProp>
|
|
|
+ <stringProp name="HTTPSampler.protocol"></stringProp>
|
|
|
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
|
|
+ <stringProp name="HTTPSampler.path">/</stringProp>
|
|
|
+ <stringProp name="HTTPSampler.method">GET</stringProp>
|
|
|
+ <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
|
|
|
+ <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
|
|
|
+ <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
|
|
|
+ <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
|
|
|
+ <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
|
|
+ <stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
|
|
+ <stringProp name="HTTPSampler.response_timeout"></stringProp>
|
|
|
+ </HTTPSamplerProxy>
|
|
|
+ <hashTree>
|
|
|
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
|
|
|
+ <collectionProp name="Asserion.test_strings">
|
|
|
+ <stringProp name="977737208">"os":"linux","arch":"amd64"</stringProp>
|
|
|
+ </collectionProp>
|
|
|
+ <stringProp name="Assertion.custom_message"></stringProp>
|
|
|
+ <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
|
|
|
+ <boolProp name="Assertion.assume_success">true</boolProp>
|
|
|
+ <intProp name="Assertion.test_type">16</intProp>
|
|
|
+ </ResponseAssertion>
|
|
|
+ <hashTree/>
|
|
|
+ </hashTree>
|
|
|
+ </hashTree>
|
|
|
+ </hashTree>
|
|
|
+ <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
|
|
|
+ <boolProp name="ResultCollector.error_logging">false</boolProp>
|
|
|
+ <objProp>
|
|
|
+ <name>saveConfig</name>
|
|
|
+ <value class="SampleSaveConfiguration">
|
|
|
+ <time>true</time>
|
|
|
+ <latency>true</latency>
|
|
|
+ <timestamp>true</timestamp>
|
|
|
+ <success>true</success>
|
|
|
+ <label>true</label>
|
|
|
+ <code>true</code>
|
|
|
+ <message>true</message>
|
|
|
+ <threadName>true</threadName>
|
|
|
+ <dataType>true</dataType>
|
|
|
+ <encoding>false</encoding>
|
|
|
+ <assertions>true</assertions>
|
|
|
+ <subresults>true</subresults>
|
|
|
+ <responseData>false</responseData>
|
|
|
+ <samplerData>false</samplerData>
|
|
|
+ <xml>false</xml>
|
|
|
+ <fieldNames>true</fieldNames>
|
|
|
+ <responseHeaders>false</responseHeaders>
|
|
|
+ <requestHeaders>false</requestHeaders>
|
|
|
+ <responseDataOnError>false</responseDataOnError>
|
|
|
+ <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
|
|
|
+ <assertionsResultsToSave>0</assertionsResultsToSave>
|
|
|
+ <bytes>true</bytes>
|
|
|
+ <sentBytes>true</sentBytes>
|
|
|
+ <threadCounts>true</threadCounts>
|
|
|
+ <idleTime>true</idleTime>
|
|
|
+ <connectTime>true</connectTime>
|
|
|
+ </value>
|
|
|
+ </objProp>
|
|
|
+ <stringProp name="filename"></stringProp>
|
|
|
+ </ResultCollector>
|
|
|
+ <hashTree/>
|
|
|
+ </hashTree>
|
|
|
+ </hashTree>
|
|
|
+</jmeterTestPlan>
|