浏览代码

debug script issue_1

RockyJin 5 年之前
父节点
当前提交
f647e6c2ac
共有 1 个文件被更改,包括 12 次插入1 次删除
  1. 12 1
      fvt_scripts/select_edgex_another_bus_rule.jmx

+ 12 - 1
fvt_scripts/select_edgex_another_bus_rule.jmx

@@ -234,7 +234,18 @@
             </elementProp>
             <stringProp name="SystemSampler.directory">${__property(fvt,,)}</stringProp>
           </SystemSampler>
-          <hashTree/>
+          <hashTree>
+            <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="响应断言" enabled="true">
+              <collectionProp name="Asserion.test_strings">
+                <stringProp name="1017088747">kkkkkkkkk</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_GetRuleStatus" enabled="true">
             <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
             <elementProp name="HTTPsampler.Arguments" elementType="Arguments">