299 lines
15 KiB
Plaintext
299 lines
15 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.4.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>
|
||
|
<ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="三方—kitPortal—根据身份证获取最近一次有效的检测记录" 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>
|
||
|
<intProp name="LoopController.loops">-1</intProp>
|
||
|
</elementProp>
|
||
|
<stringProp name="ThreadGroup.num_threads">1</stringProp>
|
||
|
<stringProp name="ThreadGroup.ramp_time">0</stringProp>
|
||
|
<boolProp name="ThreadGroup.scheduler">true</boolProp>
|
||
|
<stringProp name="ThreadGroup.duration">2</stringProp>
|
||
|
<stringProp name="ThreadGroup.delay"></stringProp>
|
||
|
<boolProp name="ThreadGroup.same_user_on_next_iteration">false</boolProp>
|
||
|
</ThreadGroup>
|
||
|
<hashTree>
|
||
|
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="http请求" 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">{
|
||
|
"idCardNo":"${ids}"
|
||
|
}</stringProp>
|
||
|
<stringProp name="Argument.metadata">=</stringProp>
|
||
|
</elementProp>
|
||
|
</collectionProp>
|
||
|
</elementProp>
|
||
|
<stringProp name="HTTPSampler.domain">yace-kit-portal.lepudigital.com</stringProp>
|
||
|
<stringProp name="HTTPSampler.port"> </stringProp>
|
||
|
<stringProp name="HTTPSampler.protocol"></stringProp>
|
||
|
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
||
|
<stringProp name="HTTPSampler.path">/antigen/detect/query/v1.0</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>
|
||
|
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="BeanShell 预处理程序" enabled="true">
|
||
|
<stringProp name="filename"></stringProp>
|
||
|
<stringProp name="parameters"></stringProp>
|
||
|
<boolProp name="resetInterpreter">false</boolProp>
|
||
|
<stringProp name="script">import com.lepu.fw.base.utils.utils.AesUtil;
|
||
|
String a;
|
||
|
a =AesUtil.encryptToStr("0518${__Random( 2,99999 )}", "Rz7IwzMNWFWkW1Xq");
|
||
|
vars.put("ids",a);
|
||
|
</stringProp>
|
||
|
</BeanShellPreProcessor>
|
||
|
<hashTree/>
|
||
|
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP信息头管理器" enabled="true">
|
||
|
<collectionProp name="HeaderManager.headers">
|
||
|
<elementProp name="" elementType="Header">
|
||
|
<stringProp name="Header.name">Content-Type</stringProp>
|
||
|
<stringProp name="Header.value">application/json; charset=UTF-8</stringProp>
|
||
|
</elementProp>
|
||
|
<elementProp name="" elementType="Header">
|
||
|
<stringProp name="Header.name">Accept</stringProp>
|
||
|
<stringProp name="Header.value">application/json, text/plain, */*</stringProp>
|
||
|
</elementProp>
|
||
|
<elementProp name="" elementType="Header">
|
||
|
<stringProp name="Header.name">User-Agent</stringProp>
|
||
|
<stringProp name="Header.value">Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:88.0) Gecko/20100101 Firefox/88.0</stringProp>
|
||
|
</elementProp>
|
||
|
</collectionProp>
|
||
|
</HeaderManager>
|
||
|
<hashTree/>
|
||
|
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="响应断言" enabled="true">
|
||
|
<collectionProp name="Asserion.test_strings">
|
||
|
<stringProp name="1908232805">{"code":10000</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/>
|
||
|
<ResultCollector guiclass="StatVisualizer" testclass="ResultCollector" testname="聚合报告" enabled="false">
|
||
|
<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>
|
||
|
<url>true</url>
|
||
|
<threadCounts>true</threadCounts>
|
||
|
<idleTime>true</idleTime>
|
||
|
<connectTime>true</connectTime>
|
||
|
</value>
|
||
|
</objProp>
|
||
|
<stringProp name="filename"></stringProp>
|
||
|
</ResultCollector>
|
||
|
<hashTree/>
|
||
|
<ResultCollector guiclass="TableVisualizer" testclass="ResultCollector" testname="用表格察看结果" enabled="false">
|
||
|
<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>
|
||
|
<url>true</url>
|
||
|
<threadCounts>true</threadCounts>
|
||
|
<idleTime>true</idleTime>
|
||
|
<connectTime>true</connectTime>
|
||
|
</value>
|
||
|
</objProp>
|
||
|
<stringProp name="filename"></stringProp>
|
||
|
</ResultCollector>
|
||
|
<hashTree/>
|
||
|
<ResultCollector guiclass="StatGraphVisualizer" testclass="ResultCollector" testname="汇总图" enabled="false">
|
||
|
<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>true</encoding>
|
||
|
<assertions>true</assertions>
|
||
|
<subresults>true</subresults>
|
||
|
<responseData>true</responseData>
|
||
|
<samplerData>true</samplerData>
|
||
|
<xml>false</xml>
|
||
|
<fieldNames>true</fieldNames>
|
||
|
<responseHeaders>true</responseHeaders>
|
||
|
<requestHeaders>true</requestHeaders>
|
||
|
<responseDataOnError>true</responseDataOnError>
|
||
|
<saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
|
||
|
<assertionsResultsToSave>0</assertionsResultsToSave>
|
||
|
<bytes>true</bytes>
|
||
|
<sentBytes>true</sentBytes>
|
||
|
<url>true</url>
|
||
|
<fileName>true</fileName>
|
||
|
<hostname>true</hostname>
|
||
|
<threadCounts>true</threadCounts>
|
||
|
<sampleCount>true</sampleCount>
|
||
|
<idleTime>true</idleTime>
|
||
|
<connectTime>true</connectTime>
|
||
|
</value>
|
||
|
</objProp>
|
||
|
<stringProp name="filename"></stringProp>
|
||
|
</ResultCollector>
|
||
|
<hashTree/>
|
||
|
<ResultCollector guiclass="RespTimeGraphVisualizer" testclass="ResultCollector" testname="响应时间图" enabled="false">
|
||
|
<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>true</encoding>
|
||
|
<assertions>true</assertions>
|
||
|
<subresults>true</subresults>
|
||
|
<responseData>true</responseData>
|
||
|
<samplerData>true</samplerData>
|
||
|
<xml>false</xml>
|
||
|
<fieldNames>true</fieldNames>
|
||
|
<responseHeaders>true</responseHeaders>
|
||
|
<requestHeaders>true</requestHeaders>
|
||
|
<responseDataOnError>true</responseDataOnError>
|
||
|
<saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
|
||
|
<assertionsResultsToSave>0</assertionsResultsToSave>
|
||
|
<bytes>true</bytes>
|
||
|
<sentBytes>true</sentBytes>
|
||
|
<url>true</url>
|
||
|
<fileName>true</fileName>
|
||
|
<hostname>true</hostname>
|
||
|
<threadCounts>true</threadCounts>
|
||
|
<sampleCount>true</sampleCount>
|
||
|
<idleTime>true</idleTime>
|
||
|
<connectTime>true</connectTime>
|
||
|
</value>
|
||
|
</objProp>
|
||
|
<stringProp name="filename"></stringProp>
|
||
|
</ResultCollector>
|
||
|
<hashTree/>
|
||
|
<Summariser guiclass="SummariserGui" testclass="Summariser" testname="生成概要结果" enabled="false"/>
|
||
|
<hashTree/>
|
||
|
</hashTree>
|
||
|
<DebugSampler guiclass="TestBeanGUI" testclass="DebugSampler" testname="调试取样器" enabled="false">
|
||
|
<boolProp name="displayJMeterProperties">false</boolProp>
|
||
|
<boolProp name="displayJMeterVariables">true</boolProp>
|
||
|
<boolProp name="displaySystemProperties">false</boolProp>
|
||
|
</DebugSampler>
|
||
|
<hashTree/>
|
||
|
<ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="察看结果树" 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>
|
||
|
<url>true</url>
|
||
|
<threadCounts>true</threadCounts>
|
||
|
<idleTime>true</idleTime>
|
||
|
<connectTime>true</connectTime>
|
||
|
</value>
|
||
|
</objProp>
|
||
|
<stringProp name="filename"></stringProp>
|
||
|
</ResultCollector>
|
||
|
<hashTree/>
|
||
|
</hashTree>
|
||
|
</hashTree>
|
||
|
</hashTree>
|
||
|
</jmeterTestPlan>
|