3184 lines
196 KiB
XML
3184 lines
196 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.0 r1840935">
|
||
<hashTree>
|
||
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="省级平台性能测试 - 单场景" 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">true</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">E:\Jmeter\install_package\mysql-connector-java-5.1.18-bin.jar</stringProp>
|
||
</TestPlan>
|
||
<hashTree>
|
||
<ProxyControl guiclass="ProxyControlGui" testclass="ProxyControl" testname="HTTP代理服务器" enabled="false">
|
||
<stringProp name="ProxyControlGui.port">8888</stringProp>
|
||
<collectionProp name="ProxyControlGui.exclude_list">
|
||
<stringProp name="921625070">(?i).*\.(bmp|css|js|gif|ico|jpe?g|png|swf|woff|woff2).*</stringProp>
|
||
</collectionProp>
|
||
<collectionProp name="ProxyControlGui.include_list"/>
|
||
<boolProp name="ProxyControlGui.capture_http_headers">true</boolProp>
|
||
<intProp name="ProxyControlGui.grouping_mode">0</intProp>
|
||
<boolProp name="ProxyControlGui.add_assertion">false</boolProp>
|
||
<stringProp name="ProxyControlGui.sampler_type_name">Java</stringProp>
|
||
<boolProp name="ProxyControlGui.sampler_redirect_automatically">false</boolProp>
|
||
<boolProp name="ProxyControlGui.sampler_follow_redirects">true</boolProp>
|
||
<boolProp name="ProxyControlGui.use_keepalive">true</boolProp>
|
||
<boolProp name="ProxyControlGui.sampler_download_images">true</boolProp>
|
||
<intProp name="ProxyControlGui.proxy_http_sampler_naming_mode">0</intProp>
|
||
<stringProp name="ProxyControlGui.proxy_prefix_http_sampler_name">3</stringProp>
|
||
<stringProp name="ProxyControlGui.proxy_pause_http_sampler"></stringProp>
|
||
<boolProp name="ProxyControlGui.notify_child_sl_filtered">false</boolProp>
|
||
<boolProp name="ProxyControlGui.regex_match">false</boolProp>
|
||
<stringProp name="ProxyControlGui.content_type_include"></stringProp>
|
||
<stringProp name="ProxyControlGui.content_type_exclude"></stringProp>
|
||
</ProxyControl>
|
||
<hashTree/>
|
||
<ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="test" enabled="false">
|
||
<stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
|
||
<elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" 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>
|
||
</ThreadGroup>
|
||
<hashTree/>
|
||
<Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="我的变量" enabled="true">
|
||
<collectionProp name="Arguments.arguments">
|
||
<elementProp name="URL" elementType="Argument">
|
||
<stringProp name="Argument.name">URL</stringProp>
|
||
<stringProp name="Argument.value">10.2.1.35</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
<stringProp name="Argument.desc">服务地址</stringProp>
|
||
</elementProp>
|
||
<elementProp name="PORT" elementType="Argument">
|
||
<stringProp name="Argument.name">PORT</stringProp>
|
||
<stringProp name="Argument.value">ApiResult.CODE_OK80</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
<stringProp name="Argument.desc">服务端口</stringProp>
|
||
</elementProp>
|
||
<elementProp name="sameTime" elementType="Argument">
|
||
<stringProp name="Argument.name">sameTime</stringProp>
|
||
<stringProp name="Argument.value">1</stringProp>
|
||
<stringProp name="Argument.desc">并发数</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
<elementProp name="upThreadTime" elementType="Argument">
|
||
<stringProp name="Argument.name">upThreadTime</stringProp>
|
||
<stringProp name="Argument.value">1</stringProp>
|
||
<stringProp name="Argument.desc">启动线程的时间(秒)</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
<elementProp name="whistle" elementType="Argument">
|
||
<stringProp name="Argument.name">whistle</stringProp>
|
||
<stringProp name="Argument.value">1</stringProp>
|
||
<stringProp name="Argument.desc">集合点</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
<elementProp name="throughput" elementType="Argument">
|
||
<stringProp name="Argument.name">throughput</stringProp>
|
||
<stringProp name="Argument.value">60000</stringProp>
|
||
<stringProp name="Argument.desc">吞吐量(每60秒)</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
<elementProp name="ident_username" elementType="Argument">
|
||
<stringProp name="Argument.name">ident_username</stringProp>
|
||
<stringProp name="Argument.value">bj</stringProp>
|
||
<stringProp name="Argument.desc">用户名 - 登录一次</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
<elementProp name="ident_password" elementType="Argument">
|
||
<stringProp name="Argument.name">ident_password</stringProp>
|
||
<stringProp name="Argument.value">123qwe</stringProp>
|
||
<stringProp name="Argument.desc">密码 - 登录一次</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
<elementProp name="cookiePath" elementType="Argument">
|
||
<stringProp name="Argument.name">cookiePath</stringProp>
|
||
<stringProp name="Argument.value">cookie.txt</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
<stringProp name="Argument.desc">cookie存储路径</stringProp>
|
||
</elementProp>
|
||
<elementProp name="userPath" elementType="Argument">
|
||
<stringProp name="Argument.name">userPath</stringProp>
|
||
<stringProp name="Argument.value">user.csv</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
<stringProp name="Argument.desc">用户列表存储路径</stringProp>
|
||
</elementProp>
|
||
<elementProp name="login_responseAssert" elementType="Argument">
|
||
<stringProp name="Argument.name">login_responseAssert</stringProp>
|
||
<stringProp name="Argument.value">登录成功</stringProp>
|
||
<stringProp name="Argument.desc">登录 - 断言</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
<elementProp name="select_responseAssert" elementType="Argument">
|
||
<stringProp name="Argument.name">select_responseAssert</stringProp>
|
||
<stringProp name="Argument.value">成功</stringProp>
|
||
<stringProp name="Argument.desc">查询 - 断言</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
<elementProp name="select_loginAssert" elementType="Argument">
|
||
<stringProp name="Argument.name">select_loginAssert</stringProp>
|
||
<stringProp name="Argument.value">ApiResult.CODE_OK</stringProp>
|
||
<stringProp name="Argument.desc">日志查询 - 断言</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
<elementProp name="info_responseAssert" elementType="Argument">
|
||
<stringProp name="Argument.name">info_responseAssert</stringProp>
|
||
<stringProp name="Argument.value">获取数据成功</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
<stringProp name="Argument.desc">统计 - 断言</stringProp>
|
||
</elementProp>
|
||
<elementProp name="zhuce_responseAssert" elementType="Argument">
|
||
<stringProp name="Argument.name">zhuce_responseAssert</stringProp>
|
||
<stringProp name="Argument.value">成功</stringProp>
|
||
<stringProp name="Argument.desc">虹膜注册 - 断言</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
<elementProp name="shibie_responseAssert" elementType="Argument">
|
||
<stringProp name="Argument.name">shibie_responseAssert</stringProp>
|
||
<stringProp name="Argument.value">成功</stringProp>
|
||
<stringProp name="Argument.desc">虹膜识别 - 断言</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
<elementProp name="heyan_responseAssert" elementType="Argument">
|
||
<stringProp name="Argument.name">heyan_responseAssert</stringProp>
|
||
<stringProp name="Argument.value">成功</stringProp>
|
||
<stringProp name="Argument.desc">证件核验 - 断言</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
<elementProp name="defaultCookie" elementType="Argument">
|
||
<stringProp name="Argument.name">defaultCookie</stringProp>
|
||
<stringProp name="Argument.value">eyJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI5MDM1ZmQ2NTA5ZWE0ZmEwODg4NGJhNWFmOTliNTEzMSIsInN1YiI6InRva2VuIiwiaXNzIjoidXNlciIsImlhdCI6MTU3MTk5MDUxMywiZXhwIjoxNTcyMDc2OTEzfQ.vCI5L5gk3duwK-yh4jRZxHSOhzy1qtLnLUNlqXpVXw4</stringProp>
|
||
<stringProp name="Argument.desc">给一个默认的jsessionID</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
<elementProp name="userIdPath" elementType="Argument">
|
||
<stringProp name="Argument.name">userIdPath</stringProp>
|
||
<stringProp name="Argument.value">userId.text</stringProp>
|
||
<stringProp name="Argument.desc">存储userID</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
<elementProp name="jgxxGajgjgdm" elementType="Argument">
|
||
<stringProp name="Argument.name">jgxxGajgjgdm</stringProp>
|
||
<stringProp name="Argument.value">0</stringProp>
|
||
<stringProp name="Argument.desc">组织机构代码(海淀分局 110108000000)(北京市公安局110000000000)</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
<elementProp name="jgxxid" elementType="Argument">
|
||
<stringProp name="Argument.name">jgxxid</stringProp>
|
||
<stringProp name="Argument.value">234708741FF68468C333AC0172B22FCC</stringProp>
|
||
<stringProp name="Argument.desc">组织机构信息id</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
<elementProp name="login_userNum" elementType="Argument">
|
||
<stringProp name="Argument.name">login_userNum</stringProp>
|
||
<stringProp name="Argument.value">100</stringProp>
|
||
<stringProp name="Argument.desc">登录用户数量</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
<elementProp name="cycle_num" elementType="Argument">
|
||
<stringProp name="Argument.name">cycle_num</stringProp>
|
||
<stringProp name="Argument.value">22</stringProp>
|
||
<stringProp name="Argument.desc">循环次数</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
<elementProp name="zzyy" elementType="Argument">
|
||
<stringProp name="Argument.name">zzyy</stringProp>
|
||
<stringProp name="Argument.value">xxx</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
<elementProp name="select_username" elementType="Argument">
|
||
<stringProp name="Argument.name">select_username</stringProp>
|
||
<stringProp name="Argument.value">admin</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
<elementProp name="select_password" elementType="Argument">
|
||
<stringProp name="Argument.name">select_password</stringProp>
|
||
<stringProp name="Argument.value">admin1234</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
<elementProp name="username" elementType="Argument">
|
||
<stringProp name="Argument.name">username</stringProp>
|
||
<stringProp name="Argument.value">admin</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
<elementProp name="realname" elementType="Argument">
|
||
<stringProp name="Argument.name">realname</stringProp>
|
||
<stringProp name="Argument.value">超级管理员</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
<elementProp name="password" elementType="Argument">
|
||
<stringProp name="Argument.name">password</stringProp>
|
||
<stringProp name="Argument.value">admin1234</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</Arguments>
|
||
<hashTree/>
|
||
<BeanShellPostProcessor guiclass="TestBeanGUI" testclass="BeanShellPostProcessor" testname="响应乱码" enabled="false">
|
||
<stringProp name="filename"></stringProp>
|
||
<stringProp name="parameters"></stringProp>
|
||
<boolProp name="resetInterpreter">false</boolProp>
|
||
<stringProp name="script">prev.setDataEncoding("UTF-8");</stringProp>
|
||
</BeanShellPostProcessor>
|
||
<hashTree/>
|
||
<JDBCDataSource guiclass="TestBeanGUI" testclass="JDBCDataSource" testname="连接数据库" enabled="false">
|
||
<stringProp name="dataSource">mysql</stringProp>
|
||
<stringProp name="poolMax">500</stringProp>
|
||
<stringProp name="timeout">10000</stringProp>
|
||
<stringProp name="trimInterval">60000</stringProp>
|
||
<boolProp name="autocommit">true</boolProp>
|
||
<stringProp name="transactionIsolation">DEFAULT</stringProp>
|
||
<boolProp name="keepAlive">true</boolProp>
|
||
<stringProp name="connectionAge">5000</stringProp>
|
||
<stringProp name="checkQuery">select 1</stringProp>
|
||
<stringProp name="dbUrl">jdbc:mysql://10.2.1.96:3306/sunjian</stringProp>
|
||
<stringProp name="driver">com.mysql.jdbc.Driver</stringProp>
|
||
<stringProp name="username">root</stringProp>
|
||
<stringProp name="password">root</stringProp>
|
||
</JDBCDataSource>
|
||
<hashTree/>
|
||
<UserParameters guiclass="UserParametersGui" testclass="UserParameters" testname="db查询字段参数" enabled="false">
|
||
<collectionProp name="UserParameters.names">
|
||
<stringProp name="-690732718">zuoyan</stringProp>
|
||
<stringProp name="-724724249">youyan</stringProp>
|
||
<stringProp name="3515597">rybh</stringProp>
|
||
</collectionProp>
|
||
<collectionProp name="UserParameters.thread_values">
|
||
<collectionProp name="165957143">
|
||
<stringProp name="-690732718">zuoyan</stringProp>
|
||
<stringProp name="-724724249">youyan</stringProp>
|
||
<stringProp name="3515597">rybh</stringProp>
|
||
</collectionProp>
|
||
</collectionProp>
|
||
<boolProp name="UserParameters.per_iteration">false</boolProp>
|
||
</UserParameters>
|
||
<hashTree/>
|
||
<JDBCPreProcessor guiclass="TestBeanGUI" testclass="JDBCPreProcessor" testname="查询左眼虹膜" enabled="false">
|
||
<stringProp name="dataSource">mysql</stringProp>
|
||
<stringProp name="query">select ${zuoyan} from test</stringProp>
|
||
<stringProp name="queryArguments"></stringProp>
|
||
<stringProp name="queryArgumentsTypes"></stringProp>
|
||
<stringProp name="queryTimeout"></stringProp>
|
||
<stringProp name="queryType">Select Statement</stringProp>
|
||
<stringProp name="resultSetHandler">Store as String</stringProp>
|
||
<stringProp name="resultVariable"></stringProp>
|
||
<stringProp name="variableNames">zuoyan</stringProp>
|
||
</JDBCPreProcessor>
|
||
<hashTree/>
|
||
<JDBCPreProcessor guiclass="TestBeanGUI" testclass="JDBCPreProcessor" testname="查询右眼虹膜" enabled="false">
|
||
<stringProp name="dataSource">mysql</stringProp>
|
||
<stringProp name="query">select ${youyan} from test</stringProp>
|
||
<stringProp name="queryArguments"></stringProp>
|
||
<stringProp name="queryArgumentsTypes"></stringProp>
|
||
<stringProp name="queryTimeout"></stringProp>
|
||
<stringProp name="queryType">Select Statement</stringProp>
|
||
<stringProp name="resultSetHandler">Store as String</stringProp>
|
||
<stringProp name="resultVariable"></stringProp>
|
||
<stringProp name="variableNames">youyan</stringProp>
|
||
</JDBCPreProcessor>
|
||
<hashTree/>
|
||
<JDBCPreProcessor guiclass="TestBeanGUI" testclass="JDBCPreProcessor" testname="查询人员编号" enabled="false">
|
||
<stringProp name="dataSource">mysql</stringProp>
|
||
<stringProp name="query">select ${rybh} FROM person_info WHERE upload_status = '2' and is_deleted = '2' LIMIT 1;</stringProp>
|
||
<stringProp name="queryArguments"></stringProp>
|
||
<stringProp name="queryArgumentsTypes"></stringProp>
|
||
<stringProp name="queryTimeout"></stringProp>
|
||
<stringProp name="queryType">Select Statement</stringProp>
|
||
<stringProp name="resultSetHandler">Store as String</stringProp>
|
||
<stringProp name="resultVariable"></stringProp>
|
||
<stringProp name="variableNames">rybh</stringProp>
|
||
</JDBCPreProcessor>
|
||
<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>true</responseData>
|
||
<samplerData>true</samplerData>
|
||
<xml>true</xml>
|
||
<fieldNames>true</fieldNames>
|
||
<responseHeaders>true</responseHeaders>
|
||
<requestHeaders>true</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="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/>
|
||
<ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="登录" enabled="true">
|
||
<stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
|
||
<elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" 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>
|
||
</ThreadGroup>
|
||
<hashTree>
|
||
<TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="登录" enabled="true">
|
||
<boolProp name="TransactionController.parent">true</boolProp>
|
||
<boolProp name="TransactionController.includeTimers">false</boolProp>
|
||
</TransactionController>
|
||
<hashTree>
|
||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="1 /apis/common/desEncrypt" 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">{"apiVersion":"1.0.2","appVersion":"1.0.3","data":{"param":"${password}"},"platform":"1007"}</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</elementProp>
|
||
<stringProp name="HTTPSampler.domain">${URL}</stringProp>
|
||
<stringProp name="HTTPSampler.port">${PORT}</stringProp>
|
||
<stringProp name="HTTPSampler.protocol">http</stringProp>
|
||
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
||
<stringProp name="HTTPSampler.path">/apis/common/desEncrypt</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>
|
||
<boolProp name="HTTPSampler.image_parser">true</boolProp>
|
||
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
||
<stringProp name="HTTPSampler.implementation">Java</stringProp>
|
||
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
||
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
||
</HTTPSamplerProxy>
|
||
<hashTree>
|
||
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP信息头管理器" enabled="true">
|
||
<collectionProp name="HeaderManager.headers">
|
||
<elementProp name="Referer" elementType="Header">
|
||
<stringProp name="Header.name">Referer</stringProp>
|
||
<stringProp name="Header.value">http://${URL}:${PORT}/login.html</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Language" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Language</stringProp>
|
||
<stringProp name="Header.value">zh-CN</stringProp>
|
||
</elementProp>
|
||
<elementProp name="X-Requested-With" elementType="Header">
|
||
<stringProp name="Header.name">X-Requested-With</stringProp>
|
||
<stringProp name="Header.value">XMLHttpRequest</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Content-Type" elementType="Header">
|
||
<stringProp name="Header.name">Content-Type</stringProp>
|
||
<stringProp name="Header.value">application/json</stringProp>
|
||
</elementProp>
|
||
<elementProp name="DNT" elementType="Header">
|
||
<stringProp name="Header.name">DNT</stringProp>
|
||
<stringProp name="Header.value">1</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Encoding" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Encoding</stringProp>
|
||
<stringProp name="Header.value">gzip, deflate</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Pragma" elementType="Header">
|
||
<stringProp name="Header.name">Pragma</stringProp>
|
||
<stringProp name="Header.value">no-cache</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept" elementType="Header">
|
||
<stringProp name="Header.name">Accept</stringProp>
|
||
<stringProp name="Header.value">*/*</stringProp>
|
||
</elementProp>
|
||
<elementProp name="User-Agent" elementType="Header">
|
||
<stringProp name="Header.name">User-Agent</stringProp>
|
||
<stringProp name="Header.value">Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</HeaderManager>
|
||
<hashTree/>
|
||
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="提取加密后的密码" enabled="true">
|
||
<stringProp name="RegexExtractor.useHeaders">false</stringProp>
|
||
<stringProp name="RegexExtractor.refname">PASSWORD</stringProp>
|
||
<stringProp name="RegexExtractor.regex">"result":"(.*?)"</stringProp>
|
||
<stringProp name="RegexExtractor.template">$1$</stringProp>
|
||
<stringProp name="RegexExtractor.default"></stringProp>
|
||
<stringProp name="RegexExtractor.match_number">1</stringProp>
|
||
</RegexExtractor>
|
||
<hashTree/>
|
||
</hashTree>
|
||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="2 /apis/IriskingUser/login" 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">{"platform":"1007","appversion":"1.0.3","apiversion":"1.0.2","mac":"12345678","ip":"xxx.xxx.xx.xx","companyCode":"1001","data":{"userName":"${username}","password":"${PASSWORD}"}}</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</elementProp>
|
||
<stringProp name="HTTPSampler.domain">${URL}</stringProp>
|
||
<stringProp name="HTTPSampler.port">${PORT}</stringProp>
|
||
<stringProp name="HTTPSampler.protocol">http</stringProp>
|
||
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
||
<stringProp name="HTTPSampler.path">/apis/IriskingUser/login</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>
|
||
<boolProp name="HTTPSampler.image_parser">true</boolProp>
|
||
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
||
<stringProp name="HTTPSampler.implementation">Java</stringProp>
|
||
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
||
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
||
</HTTPSamplerProxy>
|
||
<hashTree>
|
||
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP信息头管理器" enabled="true">
|
||
<collectionProp name="HeaderManager.headers">
|
||
<elementProp name="Referer" elementType="Header">
|
||
<stringProp name="Header.name">Referer</stringProp>
|
||
<stringProp name="Header.value">http://${URL}:${PORT}/login.html</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Language" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Language</stringProp>
|
||
<stringProp name="Header.value">zh-CN</stringProp>
|
||
</elementProp>
|
||
<elementProp name="X-Requested-With" elementType="Header">
|
||
<stringProp name="Header.name">X-Requested-With</stringProp>
|
||
<stringProp name="Header.value">XMLHttpRequest</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Content-Type" elementType="Header">
|
||
<stringProp name="Header.name">Content-Type</stringProp>
|
||
<stringProp name="Header.value">application/json</stringProp>
|
||
</elementProp>
|
||
<elementProp name="DNT" elementType="Header">
|
||
<stringProp name="Header.name">DNT</stringProp>
|
||
<stringProp name="Header.value">1</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Encoding" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Encoding</stringProp>
|
||
<stringProp name="Header.value">gzip, deflate</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Pragma" elementType="Header">
|
||
<stringProp name="Header.name">Pragma</stringProp>
|
||
<stringProp name="Header.value">no-cache</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept" elementType="Header">
|
||
<stringProp name="Header.name">Accept</stringProp>
|
||
<stringProp name="Header.value">application/json, text/javascript, */*; q=0.01</stringProp>
|
||
</elementProp>
|
||
<elementProp name="User-Agent" elementType="Header">
|
||
<stringProp name="Header.name">User-Agent</stringProp>
|
||
<stringProp name="Header.value">Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</HeaderManager>
|
||
<hashTree/>
|
||
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="响应断言" enabled="true">
|
||
<collectionProp name="Asserion.test_strings">
|
||
<stringProp name="-2017662679">${login_responseAssert}</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/>
|
||
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="提取TOKEN" enabled="true">
|
||
<stringProp name="RegexExtractor.useHeaders">false</stringProp>
|
||
<stringProp name="RegexExtractor.refname">TOKEN</stringProp>
|
||
<stringProp name="RegexExtractor.regex">"token":"(.*?)"</stringProp>
|
||
<stringProp name="RegexExtractor.template">$1$</stringProp>
|
||
<stringProp name="RegexExtractor.default"></stringProp>
|
||
<stringProp name="RegexExtractor.match_number">1</stringProp>
|
||
</RegexExtractor>
|
||
<hashTree/>
|
||
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="提取USERID" enabled="true">
|
||
<stringProp name="RegexExtractor.useHeaders">false</stringProp>
|
||
<stringProp name="RegexExtractor.refname">USERID</stringProp>
|
||
<stringProp name="RegexExtractor.regex">"userId":"(.*?)"</stringProp>
|
||
<stringProp name="RegexExtractor.template">$1$</stringProp>
|
||
<stringProp name="RegexExtractor.default"></stringProp>
|
||
<stringProp name="RegexExtractor.match_number">1</stringProp>
|
||
</RegexExtractor>
|
||
<hashTree/>
|
||
<BeanShellPostProcessor guiclass="TestBeanGUI" testclass="BeanShellPostProcessor" testname="存储TOKEN" enabled="true">
|
||
<boolProp name="resetInterpreter">false</boolProp>
|
||
<stringProp name="parameters"></stringProp>
|
||
<stringProp name="filename"></stringProp>
|
||
<stringProp name="script">import java.io.*;
|
||
|
||
String filePath = "${cookiePath}";
|
||
String strData = "${TOKEN}";
|
||
|
||
// log.info("--------------------- "+strData.getClass().toString()+"-----------------");
|
||
|
||
// System.out.println("${cookiePath}");
|
||
|
||
try{
|
||
File file = new File(filePath);
|
||
if(!file.exists()){
|
||
file.createNewFile();
|
||
}
|
||
|
||
if(!"".equals(strData) || "" != strData){
|
||
FileOutputStream fos = new FileOutputStream(file, false);
|
||
fos.write(strData.getBytes());
|
||
fos.close();
|
||
}else{
|
||
FileOutputStream fos = new FileOutputStream(file, false);
|
||
fos.write("${defaultCookie}".getBytes());
|
||
fos.close();
|
||
}
|
||
}catch(Exception e){
|
||
log.error(e.toString());
|
||
System.out.println("sorry i am exception");
|
||
}</stringProp>
|
||
</BeanShellPostProcessor>
|
||
<hashTree/>
|
||
<BeanShellPostProcessor guiclass="TestBeanGUI" testclass="BeanShellPostProcessor" testname="存储USERID" enabled="true">
|
||
<boolProp name="resetInterpreter">false</boolProp>
|
||
<stringProp name="parameters"></stringProp>
|
||
<stringProp name="filename"></stringProp>
|
||
<stringProp name="script">import java.io.*;
|
||
|
||
String filePath = "${userIdPath}";
|
||
String strData = "${USERID}";
|
||
|
||
// log.info("--------------------- "+strData.getClass().toString()+"-----------------");
|
||
|
||
// System.out.println("${cookiePath}");
|
||
|
||
try{
|
||
File file = new File(filePath);
|
||
if(!file.exists()){
|
||
file.createNewFile();
|
||
}
|
||
|
||
if(!"".equals(strData) || "" != strData){
|
||
FileOutputStream fos = new FileOutputStream(file, false);
|
||
fos.write(strData.getBytes());
|
||
fos.close();
|
||
}else{
|
||
FileOutputStream fos = new FileOutputStream(file, false);
|
||
fos.write("${defaultUSERID}".getBytes());
|
||
fos.close();
|
||
}
|
||
}catch(Exception e){
|
||
log.error(e.toString());
|
||
System.out.println("sorry i am exception");
|
||
}</stringProp>
|
||
</BeanShellPostProcessor>
|
||
<hashTree/>
|
||
</hashTree>
|
||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="4 /apis/SysManage/DriveManage/getNewDrive" 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">{"platform":"1007","appVersion":"1.0.3","apiVersion":"1.0.2","token":"${TOKEN}","userJGDM":"${jgxxGajgjgdm}","data":{},"userId":"${USERID}","userName":"test"}</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</elementProp>
|
||
<stringProp name="HTTPSampler.domain">${URL}</stringProp>
|
||
<stringProp name="HTTPSampler.port">${PORT}</stringProp>
|
||
<stringProp name="HTTPSampler.protocol">http</stringProp>
|
||
<stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
|
||
<stringProp name="HTTPSampler.path">/apis/SysManage/DriveManage/getNewDrive</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>
|
||
<boolProp name="HTTPSampler.image_parser">true</boolProp>
|
||
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
||
<stringProp name="HTTPSampler.implementation">Java</stringProp>
|
||
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
||
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
||
</HTTPSamplerProxy>
|
||
<hashTree>
|
||
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP信息头管理器" enabled="true">
|
||
<collectionProp name="HeaderManager.headers">
|
||
<elementProp name="Referer" elementType="Header">
|
||
<stringProp name="Header.name">Referer</stringProp>
|
||
<stringProp name="Header.value">http://${URL}:${PORT}/index.html</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Language" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Language</stringProp>
|
||
<stringProp name="Header.value">zh-CN</stringProp>
|
||
</elementProp>
|
||
<elementProp name="X-Requested-With" elementType="Header">
|
||
<stringProp name="Header.name">X-Requested-With</stringProp>
|
||
<stringProp name="Header.value">XMLHttpRequest</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Content-Type" elementType="Header">
|
||
<stringProp name="Header.name">Content-Type</stringProp>
|
||
<stringProp name="Header.value">application/json;charset=UTF-8</stringProp>
|
||
</elementProp>
|
||
<elementProp name="DNT" elementType="Header">
|
||
<stringProp name="Header.name">DNT</stringProp>
|
||
<stringProp name="Header.value">1</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Encoding" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Encoding</stringProp>
|
||
<stringProp name="Header.value">gzip, deflate</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Pragma" elementType="Header">
|
||
<stringProp name="Header.name">Pragma</stringProp>
|
||
<stringProp name="Header.value">no-cache</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept" elementType="Header">
|
||
<stringProp name="Header.name">Accept</stringProp>
|
||
<stringProp name="Header.value">application/json, text/javascript, */*; q=0.01</stringProp>
|
||
</elementProp>
|
||
<elementProp name="User-Agent" elementType="Header">
|
||
<stringProp name="Header.name">User-Agent</stringProp>
|
||
<stringProp name="Header.value">Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</HeaderManager>
|
||
<hashTree/>
|
||
</hashTree>
|
||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="3 /apis/IriskingUser/downloadLicense" 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">{"platform":"1007","appversion":"1.0.3","apiversion":"1.0.2","mac":"12345678","ip":"xxx.xxx.xx.xx","token":"${TOKEN}","userId":"${USERID}","data":{"userId":"${USERID}"}}</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</elementProp>
|
||
<stringProp name="HTTPSampler.domain">${URL}</stringProp>
|
||
<stringProp name="HTTPSampler.port">${PORT}</stringProp>
|
||
<stringProp name="HTTPSampler.protocol">http</stringProp>
|
||
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
||
<stringProp name="HTTPSampler.path">/apis/IriskingUser/downloadLicense</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>
|
||
<boolProp name="HTTPSampler.image_parser">true</boolProp>
|
||
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
||
<stringProp name="HTTPSampler.implementation">Java</stringProp>
|
||
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
||
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
||
</HTTPSamplerProxy>
|
||
<hashTree>
|
||
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP信息头管理器" enabled="true">
|
||
<collectionProp name="HeaderManager.headers">
|
||
<elementProp name="Referer" elementType="Header">
|
||
<stringProp name="Header.name">Referer</stringProp>
|
||
<stringProp name="Header.value">http://${URL}:${PORT}/index.html</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Language" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Language</stringProp>
|
||
<stringProp name="Header.value">zh-CN</stringProp>
|
||
</elementProp>
|
||
<elementProp name="X-Requested-With" elementType="Header">
|
||
<stringProp name="Header.name">X-Requested-With</stringProp>
|
||
<stringProp name="Header.value">XMLHttpRequest</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Content-Type" elementType="Header">
|
||
<stringProp name="Header.name">Content-Type</stringProp>
|
||
<stringProp name="Header.value">application/json</stringProp>
|
||
</elementProp>
|
||
<elementProp name="DNT" elementType="Header">
|
||
<stringProp name="Header.name">DNT</stringProp>
|
||
<stringProp name="Header.value">1</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Encoding" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Encoding</stringProp>
|
||
<stringProp name="Header.value">gzip, deflate</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Pragma" elementType="Header">
|
||
<stringProp name="Header.name">Pragma</stringProp>
|
||
<stringProp name="Header.value">no-cache</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept" elementType="Header">
|
||
<stringProp name="Header.name">Accept</stringProp>
|
||
<stringProp name="Header.value">application/json, text/javascript, */*; q=0.01</stringProp>
|
||
</elementProp>
|
||
<elementProp name="User-Agent" elementType="Header">
|
||
<stringProp name="Header.name">User-Agent</stringProp>
|
||
<stringProp name="Header.value">Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</HeaderManager>
|
||
<hashTree/>
|
||
</hashTree>
|
||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="5 /apis/SysManage/getModelList" 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">{"platform":"1007","appversion":"1.0.3","apiversion":"1.0.2","mac":"12345678","ip":"xxx.xxx.xx.xx","companyCode ":"1001","token":"${TOKEN}","userId":"${USERID}","data":{}}</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</elementProp>
|
||
<stringProp name="HTTPSampler.domain">${URL}</stringProp>
|
||
<stringProp name="HTTPSampler.port">${PORT}</stringProp>
|
||
<stringProp name="HTTPSampler.protocol">http</stringProp>
|
||
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
||
<stringProp name="HTTPSampler.path">/apis/SysManage/getModelList</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>
|
||
<boolProp name="HTTPSampler.image_parser">true</boolProp>
|
||
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
||
<stringProp name="HTTPSampler.implementation">Java</stringProp>
|
||
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
||
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
||
</HTTPSamplerProxy>
|
||
<hashTree>
|
||
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP信息头管理器" enabled="true">
|
||
<collectionProp name="HeaderManager.headers">
|
||
<elementProp name="Referer" elementType="Header">
|
||
<stringProp name="Header.name">Referer</stringProp>
|
||
<stringProp name="Header.value">http://${URL}:${PORT}/index.html</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Language" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Language</stringProp>
|
||
<stringProp name="Header.value">zh-CN</stringProp>
|
||
</elementProp>
|
||
<elementProp name="X-Requested-With" elementType="Header">
|
||
<stringProp name="Header.name">X-Requested-With</stringProp>
|
||
<stringProp name="Header.value">XMLHttpRequest</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Content-Type" elementType="Header">
|
||
<stringProp name="Header.name">Content-Type</stringProp>
|
||
<stringProp name="Header.value">application/json</stringProp>
|
||
</elementProp>
|
||
<elementProp name="DNT" elementType="Header">
|
||
<stringProp name="Header.name">DNT</stringProp>
|
||
<stringProp name="Header.value">1</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Encoding" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Encoding</stringProp>
|
||
<stringProp name="Header.value">gzip, deflate</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Pragma" elementType="Header">
|
||
<stringProp name="Header.name">Pragma</stringProp>
|
||
<stringProp name="Header.value">no-cache</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept" elementType="Header">
|
||
<stringProp name="Header.name">Accept</stringProp>
|
||
<stringProp name="Header.value">application/json, text/javascript, */*; q=0.01</stringProp>
|
||
</elementProp>
|
||
<elementProp name="User-Agent" elementType="Header">
|
||
<stringProp name="Header.name">User-Agent</stringProp>
|
||
<stringProp name="Header.value">Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</HeaderManager>
|
||
<hashTree/>
|
||
</hashTree>
|
||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="6 /apis/SysManage/notice/display" 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">{"token":"${TOKEN}","data":{"userJGDM":"${jgxxGajgjgdm}"},"page":1,"limit":1,"platform":"1007","userId":"${USERID}","userName":"test","userJGDM":"${jgxxGajgjgdm}"}</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</elementProp>
|
||
<stringProp name="HTTPSampler.domain">${URL}</stringProp>
|
||
<stringProp name="HTTPSampler.port">${PORT}</stringProp>
|
||
<stringProp name="HTTPSampler.protocol">http</stringProp>
|
||
<stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
|
||
<stringProp name="HTTPSampler.path">/apis/SysManage/notice/display</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>
|
||
<boolProp name="HTTPSampler.image_parser">true</boolProp>
|
||
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
||
<stringProp name="HTTPSampler.implementation">Java</stringProp>
|
||
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
||
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
||
</HTTPSamplerProxy>
|
||
<hashTree>
|
||
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP信息头管理器" enabled="true">
|
||
<collectionProp name="HeaderManager.headers">
|
||
<elementProp name="Referer" elementType="Header">
|
||
<stringProp name="Header.name">Referer</stringProp>
|
||
<stringProp name="Header.value">http://${URL}:${PORT}/home.html</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Language" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Language</stringProp>
|
||
<stringProp name="Header.value">zh-CN</stringProp>
|
||
</elementProp>
|
||
<elementProp name="X-Requested-With" elementType="Header">
|
||
<stringProp name="Header.name">X-Requested-With</stringProp>
|
||
<stringProp name="Header.value">XMLHttpRequest</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Content-Type" elementType="Header">
|
||
<stringProp name="Header.name">Content-Type</stringProp>
|
||
<stringProp name="Header.value">application/json;charset=UTF-8</stringProp>
|
||
</elementProp>
|
||
<elementProp name="DNT" elementType="Header">
|
||
<stringProp name="Header.name">DNT</stringProp>
|
||
<stringProp name="Header.value">1</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Encoding" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Encoding</stringProp>
|
||
<stringProp name="Header.value">gzip, deflate</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Pragma" elementType="Header">
|
||
<stringProp name="Header.name">Pragma</stringProp>
|
||
<stringProp name="Header.value">no-cache</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept" elementType="Header">
|
||
<stringProp name="Header.name">Accept</stringProp>
|
||
<stringProp name="Header.value">application/json, text/javascript, */*; q=0.01</stringProp>
|
||
</elementProp>
|
||
<elementProp name="User-Agent" elementType="Header">
|
||
<stringProp name="Header.name">User-Agent</stringProp>
|
||
<stringProp name="Header.value">Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</HeaderManager>
|
||
<hashTree/>
|
||
</hashTree>
|
||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="7 /apis/statistics/collectionAmountList" 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">{"platform":"1007","appVersion":"1.0.3","apiVersion":"1.0.2","token":"${TOKEN}","userJGDM":"${jgxxGajgjgdm}","data":{"dateType":"week","typeCode":"1","dateBegin":"2019-09-30 00:00:00","dateEnd":"2019-10-31 23:59:59","userId":"${USERID}","queryType":"3"},"userId":"${USERID}","userName":"test"}</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</elementProp>
|
||
<stringProp name="HTTPSampler.domain">${URL}</stringProp>
|
||
<stringProp name="HTTPSampler.port">${PORT}</stringProp>
|
||
<stringProp name="HTTPSampler.protocol">http</stringProp>
|
||
<stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
|
||
<stringProp name="HTTPSampler.path">/apis/statistics/collectionAmountList</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>
|
||
<boolProp name="HTTPSampler.image_parser">true</boolProp>
|
||
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
||
<stringProp name="HTTPSampler.implementation">Java</stringProp>
|
||
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
||
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
||
</HTTPSamplerProxy>
|
||
<hashTree>
|
||
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP信息头管理器" enabled="true">
|
||
<collectionProp name="HeaderManager.headers">
|
||
<elementProp name="Referer" elementType="Header">
|
||
<stringProp name="Header.name">Referer</stringProp>
|
||
<stringProp name="Header.value">http://${URL}:${PORT}/home.html</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Language" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Language</stringProp>
|
||
<stringProp name="Header.value">zh-CN</stringProp>
|
||
</elementProp>
|
||
<elementProp name="X-Requested-With" elementType="Header">
|
||
<stringProp name="Header.name">X-Requested-With</stringProp>
|
||
<stringProp name="Header.value">XMLHttpRequest</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Content-Type" elementType="Header">
|
||
<stringProp name="Header.name">Content-Type</stringProp>
|
||
<stringProp name="Header.value">application/json;charset=UTF-8</stringProp>
|
||
</elementProp>
|
||
<elementProp name="DNT" elementType="Header">
|
||
<stringProp name="Header.name">DNT</stringProp>
|
||
<stringProp name="Header.value">1</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Encoding" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Encoding</stringProp>
|
||
<stringProp name="Header.value">gzip, deflate</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Pragma" elementType="Header">
|
||
<stringProp name="Header.name">Pragma</stringProp>
|
||
<stringProp name="Header.value">no-cache</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept" elementType="Header">
|
||
<stringProp name="Header.name">Accept</stringProp>
|
||
<stringProp name="Header.value">application/json, text/javascript, */*; q=0.01</stringProp>
|
||
</elementProp>
|
||
<elementProp name="User-Agent" elementType="Header">
|
||
<stringProp name="Header.name">User-Agent</stringProp>
|
||
<stringProp name="Header.value">Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</HeaderManager>
|
||
<hashTree/>
|
||
</hashTree>
|
||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="8 /apis/statistics/collectionAmountList" 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">{"platform":"1007","appVersion":"1.0.3","apiVersion":"1.0.2","token":"${TOKEN}","userJGDM":"${jgxxGajgjgdm}","data":{"dateType":"week","typeCode":"2","dateBegin":"2019-09-30 00:00:00","dateEnd":"2019-10-31 23:59:59","userId":"${USERID}","queryType":"3"},"userId":"${USERID}","userName":"test"}</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</elementProp>
|
||
<stringProp name="HTTPSampler.domain">${URL}</stringProp>
|
||
<stringProp name="HTTPSampler.port">${PORT}</stringProp>
|
||
<stringProp name="HTTPSampler.protocol">http</stringProp>
|
||
<stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
|
||
<stringProp name="HTTPSampler.path">/apis/statistics/collectionAmountList</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>
|
||
<boolProp name="HTTPSampler.image_parser">true</boolProp>
|
||
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
||
<stringProp name="HTTPSampler.implementation">Java</stringProp>
|
||
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
||
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
||
</HTTPSamplerProxy>
|
||
<hashTree>
|
||
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP信息头管理器" enabled="true">
|
||
<collectionProp name="HeaderManager.headers">
|
||
<elementProp name="Referer" elementType="Header">
|
||
<stringProp name="Header.name">Referer</stringProp>
|
||
<stringProp name="Header.value">http://${URL}:${PORT}/home.html</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Language" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Language</stringProp>
|
||
<stringProp name="Header.value">zh-CN</stringProp>
|
||
</elementProp>
|
||
<elementProp name="X-Requested-With" elementType="Header">
|
||
<stringProp name="Header.name">X-Requested-With</stringProp>
|
||
<stringProp name="Header.value">XMLHttpRequest</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Content-Type" elementType="Header">
|
||
<stringProp name="Header.name">Content-Type</stringProp>
|
||
<stringProp name="Header.value">application/json;charset=UTF-8</stringProp>
|
||
</elementProp>
|
||
<elementProp name="DNT" elementType="Header">
|
||
<stringProp name="Header.name">DNT</stringProp>
|
||
<stringProp name="Header.value">1</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Encoding" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Encoding</stringProp>
|
||
<stringProp name="Header.value">gzip, deflate</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Pragma" elementType="Header">
|
||
<stringProp name="Header.name">Pragma</stringProp>
|
||
<stringProp name="Header.value">no-cache</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept" elementType="Header">
|
||
<stringProp name="Header.name">Accept</stringProp>
|
||
<stringProp name="Header.value">application/json, text/javascript, */*; q=0.01</stringProp>
|
||
</elementProp>
|
||
<elementProp name="User-Agent" elementType="Header">
|
||
<stringProp name="Header.name">User-Agent</stringProp>
|
||
<stringProp name="Header.value">Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</HeaderManager>
|
||
<hashTree/>
|
||
</hashTree>
|
||
<ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="固定定时器" enabled="false">
|
||
<stringProp name="ConstantTimer.delay">500</stringProp>
|
||
</ConstantTimer>
|
||
<hashTree/>
|
||
</hashTree>
|
||
</hashTree>
|
||
<ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="虹膜采集" enabled="false">
|
||
<stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
|
||
<elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" enabled="true">
|
||
<boolProp name="LoopController.continue_forever">false</boolProp>
|
||
<stringProp name="LoopController.loops">1</stringProp>
|
||
</elementProp>
|
||
<stringProp name="ThreadGroup.num_threads">${sameTime}</stringProp>
|
||
<stringProp name="ThreadGroup.ramp_time">${upThreadTime}</stringProp>
|
||
<boolProp name="ThreadGroup.scheduler">false</boolProp>
|
||
<stringProp name="ThreadGroup.duration">300</stringProp>
|
||
<stringProp name="ThreadGroup.delay">0</stringProp>
|
||
</ThreadGroup>
|
||
<hashTree>
|
||
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="读取USERID" enabled="true">
|
||
<boolProp name="resetInterpreter">false</boolProp>
|
||
<stringProp name="parameters"></stringProp>
|
||
<stringProp name="filename"></stringProp>
|
||
<stringProp name="script">import java.io.*;
|
||
|
||
String filePath = "${userIdPath}";
|
||
|
||
try{
|
||
File file = new File(filePath);
|
||
if(!file.exists()){
|
||
file.createNewFile();
|
||
}
|
||
|
||
BufferedReader bufr = new BufferedReader(new InputStreamReader(new FileInputStream(file.getAbsolutePath()), "utf-8"));
|
||
String str = "";
|
||
|
||
while((str = bufr.readLine())!= null){
|
||
vars.put("USERID", str);
|
||
break;
|
||
}
|
||
bufr.close();
|
||
}catch(IOException e){
|
||
log.error(e.toString());
|
||
bufr.close();
|
||
System.out.println("sorry i am exception2");
|
||
}</stringProp>
|
||
</BeanShellPreProcessor>
|
||
<hashTree/>
|
||
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="读取TOKEN" enabled="true">
|
||
<boolProp name="resetInterpreter">false</boolProp>
|
||
<stringProp name="parameters"></stringProp>
|
||
<stringProp name="filename"></stringProp>
|
||
<stringProp name="script">import java.io.*;
|
||
|
||
String filePath = "${cookiePath}";
|
||
|
||
try{
|
||
File file = new File(filePath);
|
||
if(!file.exists()){
|
||
file.createNewFile();
|
||
}
|
||
|
||
BufferedReader bufr = new BufferedReader(new InputStreamReader(new FileInputStream(file.getAbsolutePath()), "utf-8"));
|
||
String str = "";
|
||
|
||
while((str = bufr.readLine())!= null){
|
||
vars.put("TOKEN", str);
|
||
break;
|
||
}
|
||
bufr.close();
|
||
}catch(IOException e){
|
||
log.error(e.toString());
|
||
bufr.close();
|
||
System.out.println("sorry i am exception2");
|
||
}</stringProp>
|
||
</BeanShellPreProcessor>
|
||
<hashTree/>
|
||
<SyncTimer guiclass="TestBeanGUI" testclass="SyncTimer" testname="兄弟们冲啊" enabled="true">
|
||
<stringProp name="groupSize">${whistle}</stringProp>
|
||
<longProp name="timeoutInMs">0</longProp>
|
||
</SyncTimer>
|
||
<hashTree/>
|
||
<TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="虹膜注册" enabled="true">
|
||
<boolProp name="TransactionController.parent">true</boolProp>
|
||
<boolProp name="TransactionController.includeTimers">false</boolProp>
|
||
</TransactionController>
|
||
<hashTree>
|
||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="9 /apis/collection/gather/checkDevice" 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">{"platform":"1007","appversion":"1.0.3","apiversion":"1.0.2","mac":"12345678","ip":"xxx.xxx.xx.xx","companyCode ":"1001","token":"${TOKEN}","userId":"${USERID}","data":{"deviceSn":"IKH1902094"}}</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</elementProp>
|
||
<stringProp name="HTTPSampler.domain">${URL}</stringProp>
|
||
<stringProp name="HTTPSampler.port">${PORT}</stringProp>
|
||
<stringProp name="HTTPSampler.protocol">http</stringProp>
|
||
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
||
<stringProp name="HTTPSampler.path">/apis/collection/gather/checkDevice</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>
|
||
<boolProp name="HTTPSampler.image_parser">true</boolProp>
|
||
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
||
<stringProp name="HTTPSampler.implementation">Java</stringProp>
|
||
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
||
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
||
</HTTPSamplerProxy>
|
||
<hashTree>
|
||
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP信息头管理器" enabled="true">
|
||
<collectionProp name="HeaderManager.headers">
|
||
<elementProp name="Referer" elementType="Header">
|
||
<stringProp name="Header.name">Referer</stringProp>
|
||
<stringProp name="Header.value">http://${URL}:${PORT}/html/gather/gather_iris.html</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Language" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Language</stringProp>
|
||
<stringProp name="Header.value">zh-CN</stringProp>
|
||
</elementProp>
|
||
<elementProp name="X-Requested-With" elementType="Header">
|
||
<stringProp name="Header.name">X-Requested-With</stringProp>
|
||
<stringProp name="Header.value">XMLHttpRequest</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Content-Type" elementType="Header">
|
||
<stringProp name="Header.name">Content-Type</stringProp>
|
||
<stringProp name="Header.value">application/json</stringProp>
|
||
</elementProp>
|
||
<elementProp name="DNT" elementType="Header">
|
||
<stringProp name="Header.name">DNT</stringProp>
|
||
<stringProp name="Header.value">1</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Encoding" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Encoding</stringProp>
|
||
<stringProp name="Header.value">gzip, deflate</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Pragma" elementType="Header">
|
||
<stringProp name="Header.name">Pragma</stringProp>
|
||
<stringProp name="Header.value">no-cache</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept" elementType="Header">
|
||
<stringProp name="Header.name">Accept</stringProp>
|
||
<stringProp name="Header.value">application/json, text/javascript, */*; q=0.01</stringProp>
|
||
</elementProp>
|
||
<elementProp name="User-Agent" elementType="Header">
|
||
<stringProp name="Header.name">User-Agent</stringProp>
|
||
<stringProp name="Header.value">Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</HeaderManager>
|
||
<hashTree/>
|
||
</hashTree>
|
||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="10 /apis/collection/gather/getDriveVersion" 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">{"platform":"1007","appversion":"1.0.3","apiversion":"1.0.2","mac":"12345678","ip":"xxx.xxx.xx.xx","companyCode ":"1001","token":"${TOKEN}","userId":"${USERID}","data":{"driveManufacturerCode":"91110108797597536U","deviceTypeId":"05","deviceSn":"IKH1902094"}}</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</elementProp>
|
||
<stringProp name="HTTPSampler.domain">${URL}</stringProp>
|
||
<stringProp name="HTTPSampler.port">${PORT}</stringProp>
|
||
<stringProp name="HTTPSampler.protocol">http</stringProp>
|
||
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
||
<stringProp name="HTTPSampler.path">/apis/collection/gather/getDriveVersion</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>
|
||
<boolProp name="HTTPSampler.image_parser">true</boolProp>
|
||
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
||
<stringProp name="HTTPSampler.implementation">Java</stringProp>
|
||
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
||
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
||
</HTTPSamplerProxy>
|
||
<hashTree>
|
||
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP信息头管理器" enabled="true">
|
||
<collectionProp name="HeaderManager.headers">
|
||
<elementProp name="Referer" elementType="Header">
|
||
<stringProp name="Header.name">Referer</stringProp>
|
||
<stringProp name="Header.value">http://${URL}:${PORT}/html/gather/gather_iris.html</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Language" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Language</stringProp>
|
||
<stringProp name="Header.value">zh-CN</stringProp>
|
||
</elementProp>
|
||
<elementProp name="X-Requested-With" elementType="Header">
|
||
<stringProp name="Header.name">X-Requested-With</stringProp>
|
||
<stringProp name="Header.value">XMLHttpRequest</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Content-Type" elementType="Header">
|
||
<stringProp name="Header.name">Content-Type</stringProp>
|
||
<stringProp name="Header.value">application/json</stringProp>
|
||
</elementProp>
|
||
<elementProp name="DNT" elementType="Header">
|
||
<stringProp name="Header.name">DNT</stringProp>
|
||
<stringProp name="Header.value">1</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Encoding" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Encoding</stringProp>
|
||
<stringProp name="Header.value">gzip, deflate</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Pragma" elementType="Header">
|
||
<stringProp name="Header.name">Pragma</stringProp>
|
||
<stringProp name="Header.value">no-cache</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept" elementType="Header">
|
||
<stringProp name="Header.name">Accept</stringProp>
|
||
<stringProp name="Header.value">application/json, text/javascript, */*; q=0.01</stringProp>
|
||
</elementProp>
|
||
<elementProp name="User-Agent" elementType="Header">
|
||
<stringProp name="Header.name">User-Agent</stringProp>
|
||
<stringProp name="Header.value">Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</HeaderManager>
|
||
<hashTree/>
|
||
</hashTree>
|
||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="11 /apis/collection/gather/checkDevice" 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">{"platform":"1007","appversion":"1.0.3","apiversion":"1.0.2","mac":"12345678","ip":"xxx.xxx.xx.xx","companyCode ":"1001","token":"${TOKEN}","userId":"${USERID}","data":{"deviceSn":"IKH1902094"}}</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</elementProp>
|
||
<stringProp name="HTTPSampler.domain">${URL}</stringProp>
|
||
<stringProp name="HTTPSampler.port">${PORT}</stringProp>
|
||
<stringProp name="HTTPSampler.protocol">http</stringProp>
|
||
<stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
|
||
<stringProp name="HTTPSampler.path">/apis/collection/gather/checkDevice</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>
|
||
<boolProp name="HTTPSampler.image_parser">true</boolProp>
|
||
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
||
<stringProp name="HTTPSampler.implementation">Java</stringProp>
|
||
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
||
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
||
</HTTPSamplerProxy>
|
||
<hashTree>
|
||
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP信息头管理器" enabled="true">
|
||
<collectionProp name="HeaderManager.headers">
|
||
<elementProp name="Referer" elementType="Header">
|
||
<stringProp name="Header.name">Referer</stringProp>
|
||
<stringProp name="Header.value">http://${URL}:${PORT}/html/gather/gather_iris.html</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Language" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Language</stringProp>
|
||
<stringProp name="Header.value">zh-CN</stringProp>
|
||
</elementProp>
|
||
<elementProp name="X-Requested-With" elementType="Header">
|
||
<stringProp name="Header.name">X-Requested-With</stringProp>
|
||
<stringProp name="Header.value">XMLHttpRequest</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Content-Type" elementType="Header">
|
||
<stringProp name="Header.name">Content-Type</stringProp>
|
||
<stringProp name="Header.value">application/json</stringProp>
|
||
</elementProp>
|
||
<elementProp name="DNT" elementType="Header">
|
||
<stringProp name="Header.name">DNT</stringProp>
|
||
<stringProp name="Header.value">1</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Encoding" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Encoding</stringProp>
|
||
<stringProp name="Header.value">gzip, deflate</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Pragma" elementType="Header">
|
||
<stringProp name="Header.name">Pragma</stringProp>
|
||
<stringProp name="Header.value">no-cache</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept" elementType="Header">
|
||
<stringProp name="Header.name">Accept</stringProp>
|
||
<stringProp name="Header.value">application/json, text/javascript, */*; q=0.01</stringProp>
|
||
</elementProp>
|
||
<elementProp name="User-Agent" elementType="Header">
|
||
<stringProp name="Header.name">User-Agent</stringProp>
|
||
<stringProp name="Header.value">Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</HeaderManager>
|
||
<hashTree/>
|
||
</hashTree>
|
||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="12 /apis/collection/gather/getDriveVersion" 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">{"platform":"1007","appversion":"1.0.3","apiversion":"1.0.2","mac":"12345678","ip":"xxx.xxx.xx.xx","companyCode ":"1001","token":"${TOKEN}","userId":"${USERID}","data":{"driveManufacturerCode":"91110108797597536U","deviceTypeId":"05","deviceSn":"IKH1902094"}}</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</elementProp>
|
||
<stringProp name="HTTPSampler.domain">${URL}</stringProp>
|
||
<stringProp name="HTTPSampler.port">${PORT}</stringProp>
|
||
<stringProp name="HTTPSampler.protocol">http</stringProp>
|
||
<stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
|
||
<stringProp name="HTTPSampler.path">/apis/collection/gather/getDriveVersion</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>
|
||
<boolProp name="HTTPSampler.image_parser">true</boolProp>
|
||
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
||
<stringProp name="HTTPSampler.implementation">Java</stringProp>
|
||
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
||
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
||
</HTTPSamplerProxy>
|
||
<hashTree>
|
||
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP信息头管理器" enabled="true">
|
||
<collectionProp name="HeaderManager.headers">
|
||
<elementProp name="Referer" elementType="Header">
|
||
<stringProp name="Header.name">Referer</stringProp>
|
||
<stringProp name="Header.value">http://${URL}:${PORT}/html/gather/gather_iris.html</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Language" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Language</stringProp>
|
||
<stringProp name="Header.value">zh-CN</stringProp>
|
||
</elementProp>
|
||
<elementProp name="X-Requested-With" elementType="Header">
|
||
<stringProp name="Header.name">X-Requested-With</stringProp>
|
||
<stringProp name="Header.value">XMLHttpRequest</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Content-Type" elementType="Header">
|
||
<stringProp name="Header.name">Content-Type</stringProp>
|
||
<stringProp name="Header.value">application/json</stringProp>
|
||
</elementProp>
|
||
<elementProp name="DNT" elementType="Header">
|
||
<stringProp name="Header.name">DNT</stringProp>
|
||
<stringProp name="Header.value">1</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Encoding" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Encoding</stringProp>
|
||
<stringProp name="Header.value">gzip, deflate</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Pragma" elementType="Header">
|
||
<stringProp name="Header.name">Pragma</stringProp>
|
||
<stringProp name="Header.value">no-cache</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept" elementType="Header">
|
||
<stringProp name="Header.name">Accept</stringProp>
|
||
<stringProp name="Header.value">application/json, text/javascript, */*; q=0.01</stringProp>
|
||
</elementProp>
|
||
<elementProp name="User-Agent" elementType="Header">
|
||
<stringProp name="Header.name">User-Agent</stringProp>
|
||
<stringProp name="Header.value">Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</HeaderManager>
|
||
<hashTree/>
|
||
</hashTree>
|
||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="13 /apis/collection/gather/irisRegister (zuoyan_1 / youyan_1)" 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">{
|
||
"platform":"1007",
|
||
"appversion":"1.0.3",
|
||
"apiversion":"1.0.2",
|
||
"mac":"12345678",
|
||
"ip":"xxx.xxx.xx.xx",
|
||
"companyCode ":"1001",
|
||
"userId":"${USERID}",
|
||
"token":"${TOKEN}",
|
||
"data":{
|
||
"sfxxcjXm":"韩兴源",
|
||
"sfxxcjXbdm":"1",
|
||
"sfxxcjGjdm":"156",
|
||
"sfxxcjMzdm":"01",
|
||
"sfxxcjCsrq":0,
|
||
"sfxxcjCsrqStr":"2020-04-01",
|
||
"sfxxcjCyzjCyzjdm":"111",
|
||
"sfxxcjCyzjZjhm":"231084198903214016",
|
||
"sfxxcjYxqx":"",
|
||
"hmcjSbbhCard":"",
|
||
"sfxxcjQfjg":"",
|
||
"sfxxcjHjdzDzmc":"",
|
||
"sfxxcjXzzDzmc":"",
|
||
"sfxxcjLxdh1":"",
|
||
"sfxxcjLxdh2":"",
|
||
"sfxxcjRyfl":"303",
|
||
"sfxxcjZjbz":0,
|
||
"sfxxcjCjbz":2,
|
||
"sfxxcjZpdz":"",
|
||
"hmcjSbcsdm":"91110108797597536U",
|
||
"hmcjSbxh":"05",
|
||
"hmcjSbbh":"IKH1902095",
|
||
"hmcjCjbh":"",
|
||
"hmcjZyydm":"3",
|
||
"hmcjQsqkdmZy":"0",
|
||
"hmcjQsqkdmYy":"0",
|
||
"hmcjQzcjbz":"0",
|
||
"hmcjCjhs":"2.964",
|
||
"hmcjZyzp":"${zzyy}",
|
||
"hmcjYyzp":"${yyyy}",
|
||
"hmcjZytxzl":"83",
|
||
"hmcjYytxzl":"83",
|
||
"hmcjWfcjbz":2,
|
||
"hmcjWfcjyydm":"",
|
||
"hmcjCjbz":"",
|
||
"imList":[
|
||

|
||
],
|
||
"userId":"${USERID}",
|
||
"userPoliceId":"",
|
||
"jgxxJgid":"${jgxxid}",
|
||
"jgxxGajgjgdm":"${jgxxGajgjgdm}",
|
||
"userName":"${username}",
|
||
"userRealname":"${realname}",
|
||
"userIdcard":"111111191101010101",
|
||
"userPlaceCode":"11",
|
||
"userPlaceName":"标采室"
|
||
}
|
||
}</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</elementProp>
|
||
<stringProp name="HTTPSampler.domain">${URL}</stringProp>
|
||
<stringProp name="HTTPSampler.port">${PORT}</stringProp>
|
||
<stringProp name="HTTPSampler.protocol">http</stringProp>
|
||
<stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
|
||
<stringProp name="HTTPSampler.path">/apis/collection/gather/irisRegister</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>
|
||
<boolProp name="HTTPSampler.image_parser">true</boolProp>
|
||
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
||
<stringProp name="HTTPSampler.implementation">Java</stringProp>
|
||
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
||
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
||
</HTTPSamplerProxy>
|
||
<hashTree>
|
||
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP信息头管理器" enabled="true">
|
||
<collectionProp name="HeaderManager.headers">
|
||
<elementProp name="Referer" elementType="Header">
|
||
<stringProp name="Header.name">Referer</stringProp>
|
||
<stringProp name="Header.value">http://${URL}:${PORT}/html/gather/gather_iris.html</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Language" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Language</stringProp>
|
||
<stringProp name="Header.value">zh-CN</stringProp>
|
||
</elementProp>
|
||
<elementProp name="X-Requested-With" elementType="Header">
|
||
<stringProp name="Header.name">X-Requested-With</stringProp>
|
||
<stringProp name="Header.value">XMLHttpRequest</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Content-Type" elementType="Header">
|
||
<stringProp name="Header.name">Content-Type</stringProp>
|
||
<stringProp name="Header.value">application/json</stringProp>
|
||
</elementProp>
|
||
<elementProp name="DNT" elementType="Header">
|
||
<stringProp name="Header.name">DNT</stringProp>
|
||
<stringProp name="Header.value">1</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Encoding" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Encoding</stringProp>
|
||
<stringProp name="Header.value">gzip, deflate</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Pragma" elementType="Header">
|
||
<stringProp name="Header.name">Pragma</stringProp>
|
||
<stringProp name="Header.value">no-cache</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept" elementType="Header">
|
||
<stringProp name="Header.name">Accept</stringProp>
|
||
<stringProp name="Header.value">application/json, text/javascript, */*; q=0.01</stringProp>
|
||
</elementProp>
|
||
<elementProp name="User-Agent" elementType="Header">
|
||
<stringProp name="Header.name">User-Agent</stringProp>
|
||
<stringProp name="Header.value">Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</HeaderManager>
|
||
<hashTree/>
|
||
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="响应断言" enabled="true">
|
||
<collectionProp name="Asserion.test_strings">
|
||
<stringProp name="-1332037783">${zhuce_responseAssert}</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="14 /apis/collection/gather/getCodeList" 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">{"platform":"1007","appversion":"1.0.3","apiversion":"1.0.2","mac":"12345678","ip":"xxx.xxx.xx.xx","companyCode ":"1001","userId":"${USERID}","token":"${TOKEN}"}</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</elementProp>
|
||
<stringProp name="HTTPSampler.domain">${URL}</stringProp>
|
||
<stringProp name="HTTPSampler.port">${PORT}</stringProp>
|
||
<stringProp name="HTTPSampler.protocol">http</stringProp>
|
||
<stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
|
||
<stringProp name="HTTPSampler.path">/apis/collection/gather/getCodeList</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>
|
||
<boolProp name="HTTPSampler.image_parser">true</boolProp>
|
||
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
||
<stringProp name="HTTPSampler.implementation">Java</stringProp>
|
||
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
||
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
||
</HTTPSamplerProxy>
|
||
<hashTree>
|
||
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP信息头管理器" enabled="true">
|
||
<collectionProp name="HeaderManager.headers">
|
||
<elementProp name="Referer" elementType="Header">
|
||
<stringProp name="Header.name">Referer</stringProp>
|
||
<stringProp name="Header.value">http://${URL}:${PORT}/html/gather/gather_iris.html</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Language" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Language</stringProp>
|
||
<stringProp name="Header.value">zh-CN</stringProp>
|
||
</elementProp>
|
||
<elementProp name="X-Requested-With" elementType="Header">
|
||
<stringProp name="Header.name">X-Requested-With</stringProp>
|
||
<stringProp name="Header.value">XMLHttpRequest</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Content-Type" elementType="Header">
|
||
<stringProp name="Header.name">Content-Type</stringProp>
|
||
<stringProp name="Header.value">application/json</stringProp>
|
||
</elementProp>
|
||
<elementProp name="DNT" elementType="Header">
|
||
<stringProp name="Header.name">DNT</stringProp>
|
||
<stringProp name="Header.value">1</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Encoding" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Encoding</stringProp>
|
||
<stringProp name="Header.value">gzip, deflate</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Pragma" elementType="Header">
|
||
<stringProp name="Header.name">Pragma</stringProp>
|
||
<stringProp name="Header.value">no-cache</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept" elementType="Header">
|
||
<stringProp name="Header.name">Accept</stringProp>
|
||
<stringProp name="Header.value">application/json, text/javascript, */*; q=0.01</stringProp>
|
||
</elementProp>
|
||
<elementProp name="User-Agent" elementType="Header">
|
||
<stringProp name="Header.name">User-Agent</stringProp>
|
||
<stringProp name="Header.value">Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</HeaderManager>
|
||
<hashTree/>
|
||
</hashTree>
|
||
</hashTree>
|
||
</hashTree>
|
||
<ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="虹膜核查" enabled="false">
|
||
<stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
|
||
<elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" enabled="true">
|
||
<boolProp name="LoopController.continue_forever">false</boolProp>
|
||
<stringProp name="LoopController.loops">1</stringProp>
|
||
</elementProp>
|
||
<stringProp name="ThreadGroup.num_threads">${sameTime}</stringProp>
|
||
<stringProp name="ThreadGroup.ramp_time">${upThreadTime}</stringProp>
|
||
<boolProp name="ThreadGroup.scheduler">false</boolProp>
|
||
<stringProp name="ThreadGroup.duration">300</stringProp>
|
||
<stringProp name="ThreadGroup.delay">0</stringProp>
|
||
</ThreadGroup>
|
||
<hashTree>
|
||
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="读取TOKEN" enabled="true">
|
||
<boolProp name="resetInterpreter">false</boolProp>
|
||
<stringProp name="parameters"></stringProp>
|
||
<stringProp name="filename"></stringProp>
|
||
<stringProp name="script">import java.io.*;
|
||
|
||
String filePath = "${cookiePath}";
|
||
|
||
try{
|
||
File file = new File(filePath);
|
||
if(!file.exists()){
|
||
file.createNewFile();
|
||
}
|
||
|
||
BufferedReader bufr = new BufferedReader(new InputStreamReader(new FileInputStream(file.getAbsolutePath()), "utf-8"));
|
||
String str = "";
|
||
|
||
while((str = bufr.readLine())!= null){
|
||
vars.put("TOKEN", str);
|
||
break;
|
||
}
|
||
bufr.close();
|
||
}catch(IOException e){
|
||
log.error(e.toString());
|
||
bufr.close();
|
||
System.out.println("sorry i am exception2");
|
||
}</stringProp>
|
||
</BeanShellPreProcessor>
|
||
<hashTree/>
|
||
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="读取USERID" enabled="true">
|
||
<boolProp name="resetInterpreter">false</boolProp>
|
||
<stringProp name="parameters"></stringProp>
|
||
<stringProp name="filename"></stringProp>
|
||
<stringProp name="script">import java.io.*;
|
||
|
||
String filePath = "${userIdPath}";
|
||
|
||
try{
|
||
File file = new File(filePath);
|
||
if(!file.exists()){
|
||
file.createNewFile();
|
||
}
|
||
|
||
BufferedReader bufr = new BufferedReader(new InputStreamReader(new FileInputStream(file.getAbsolutePath()), "utf-8"));
|
||
String str = "";
|
||
|
||
while((str = bufr.readLine())!= null){
|
||
vars.put("USERID", str);
|
||
break;
|
||
}
|
||
bufr.close();
|
||
}catch(IOException e){
|
||
log.error(e.toString());
|
||
bufr.close();
|
||
System.out.println("sorry i am exception2");
|
||
}</stringProp>
|
||
</BeanShellPreProcessor>
|
||
<hashTree/>
|
||
<SyncTimer guiclass="TestBeanGUI" testclass="SyncTimer" testname="兄弟们冲啊" enabled="true">
|
||
<stringProp name="groupSize">${whistle}</stringProp>
|
||
<longProp name="timeoutInMs">0</longProp>
|
||
</SyncTimer>
|
||
<hashTree/>
|
||
<TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="虹膜识别" enabled="true">
|
||
<boolProp name="TransactionController.parent">true</boolProp>
|
||
<boolProp name="TransactionController.includeTimers">false</boolProp>
|
||
</TransactionController>
|
||
<hashTree>
|
||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="1 /apis/collection/gather/getCodeList" 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">{"platform":"1007","appversion":"1.0.3","apiversion":"1.0.2","mac":"12345678","ip":"xxx.xxx.xx.xx","companyCode ":"1001","token":"${TOKEN}","userId":"${USERID}"}</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</elementProp>
|
||
<stringProp name="HTTPSampler.domain">${URL}</stringProp>
|
||
<stringProp name="HTTPSampler.port">${PORT}</stringProp>
|
||
<stringProp name="HTTPSampler.protocol">http</stringProp>
|
||
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
||
<stringProp name="HTTPSampler.path">/apis/collection/gather/getCodeList</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>
|
||
<boolProp name="HTTPSampler.image_parser">true</boolProp>
|
||
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
||
<stringProp name="HTTPSampler.implementation">Java</stringProp>
|
||
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
||
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
||
</HTTPSamplerProxy>
|
||
<hashTree>
|
||
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
|
||
<collectionProp name="HeaderManager.headers">
|
||
<elementProp name="Referer" elementType="Header">
|
||
<stringProp name="Header.name">Referer</stringProp>
|
||
<stringProp name="Header.value">http://${URL}:${PORT}/html/identify/identify.html</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Language" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Language</stringProp>
|
||
<stringProp name="Header.value">zh-CN</stringProp>
|
||
</elementProp>
|
||
<elementProp name="X-Requested-With" elementType="Header">
|
||
<stringProp name="Header.name">X-Requested-With</stringProp>
|
||
<stringProp name="Header.value">XMLHttpRequest</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Content-Type" elementType="Header">
|
||
<stringProp name="Header.name">Content-Type</stringProp>
|
||
<stringProp name="Header.value">application/json</stringProp>
|
||
</elementProp>
|
||
<elementProp name="DNT" elementType="Header">
|
||
<stringProp name="Header.name">DNT</stringProp>
|
||
<stringProp name="Header.value">1</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Encoding" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Encoding</stringProp>
|
||
<stringProp name="Header.value">gzip, deflate</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Pragma" elementType="Header">
|
||
<stringProp name="Header.name">Pragma</stringProp>
|
||
<stringProp name="Header.value">no-cache</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept" elementType="Header">
|
||
<stringProp name="Header.name">Accept</stringProp>
|
||
<stringProp name="Header.value">application/json, text/javascript, */*; q=0.01</stringProp>
|
||
</elementProp>
|
||
<elementProp name="User-Agent" elementType="Header">
|
||
<stringProp name="Header.name">User-Agent</stringProp>
|
||
<stringProp name="Header.value">Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</HeaderManager>
|
||
<hashTree/>
|
||
</hashTree>
|
||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="2 /apis/collection/gather/getCodeList" 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">{"platform":"1007","appversion":"1.0.3","apiversion":"1.0.2","mac":"12345678","ip":"xxx.xxx.xx.xx","companyCode ":"1001","token":"${TOKEN}"}</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</elementProp>
|
||
<stringProp name="HTTPSampler.domain">${URL}</stringProp>
|
||
<stringProp name="HTTPSampler.port">${PORT}</stringProp>
|
||
<stringProp name="HTTPSampler.protocol">http</stringProp>
|
||
<stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
|
||
<stringProp name="HTTPSampler.path">/apis/collection/gather/getCodeList</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>
|
||
<boolProp name="HTTPSampler.image_parser">true</boolProp>
|
||
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
||
<stringProp name="HTTPSampler.implementation">Java</stringProp>
|
||
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
||
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
||
</HTTPSamplerProxy>
|
||
<hashTree>
|
||
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
|
||
<collectionProp name="HeaderManager.headers">
|
||
<elementProp name="Referer" elementType="Header">
|
||
<stringProp name="Header.name">Referer</stringProp>
|
||
<stringProp name="Header.value">http://${URL}:${PORT}/html/identify/identify_iris.html</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Language" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Language</stringProp>
|
||
<stringProp name="Header.value">zh-CN</stringProp>
|
||
</elementProp>
|
||
<elementProp name="X-Requested-With" elementType="Header">
|
||
<stringProp name="Header.name">X-Requested-With</stringProp>
|
||
<stringProp name="Header.value">XMLHttpRequest</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Content-Type" elementType="Header">
|
||
<stringProp name="Header.name">Content-Type</stringProp>
|
||
<stringProp name="Header.value">application/json</stringProp>
|
||
</elementProp>
|
||
<elementProp name="DNT" elementType="Header">
|
||
<stringProp name="Header.name">DNT</stringProp>
|
||
<stringProp name="Header.value">1</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Encoding" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Encoding</stringProp>
|
||
<stringProp name="Header.value">gzip, deflate</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Pragma" elementType="Header">
|
||
<stringProp name="Header.name">Pragma</stringProp>
|
||
<stringProp name="Header.value">no-cache</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept" elementType="Header">
|
||
<stringProp name="Header.name">Accept</stringProp>
|
||
<stringProp name="Header.value">*/*</stringProp>
|
||
</elementProp>
|
||
<elementProp name="User-Agent" elementType="Header">
|
||
<stringProp name="Header.name">User-Agent</stringProp>
|
||
<stringProp name="Header.value">Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</HeaderManager>
|
||
<hashTree/>
|
||
</hashTree>
|
||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="3 /apis/collection/gather/checkDevice" 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">{"platform":"1007","appversion":"1.0.3","apiversion":"1.0.2","mac":"12345678","ip":"xxx.xxx.xx.xx","companyCode ":"1001","token":"${TOKEN}","data":{"deviceSn":"IKH1902094"}}</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</elementProp>
|
||
<stringProp name="HTTPSampler.domain">${URL}</stringProp>
|
||
<stringProp name="HTTPSampler.port">${PORT}</stringProp>
|
||
<stringProp name="HTTPSampler.protocol">http</stringProp>
|
||
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
||
<stringProp name="HTTPSampler.path">/apis/collection/gather/checkDevice</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>
|
||
<boolProp name="HTTPSampler.image_parser">true</boolProp>
|
||
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
||
<stringProp name="HTTPSampler.implementation">Java</stringProp>
|
||
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
||
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
||
</HTTPSamplerProxy>
|
||
<hashTree>
|
||
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
|
||
<collectionProp name="HeaderManager.headers">
|
||
<elementProp name="Referer" elementType="Header">
|
||
<stringProp name="Header.name">Referer</stringProp>
|
||
<stringProp name="Header.value">http://${URL}:${PORT}/html/identify/identify_iris.html</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Language" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Language</stringProp>
|
||
<stringProp name="Header.value">zh-CN</stringProp>
|
||
</elementProp>
|
||
<elementProp name="X-Requested-With" elementType="Header">
|
||
<stringProp name="Header.name">X-Requested-With</stringProp>
|
||
<stringProp name="Header.value">XMLHttpRequest</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Content-Type" elementType="Header">
|
||
<stringProp name="Header.name">Content-Type</stringProp>
|
||
<stringProp name="Header.value">application/json</stringProp>
|
||
</elementProp>
|
||
<elementProp name="DNT" elementType="Header">
|
||
<stringProp name="Header.name">DNT</stringProp>
|
||
<stringProp name="Header.value">1</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Encoding" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Encoding</stringProp>
|
||
<stringProp name="Header.value">gzip, deflate</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Pragma" elementType="Header">
|
||
<stringProp name="Header.name">Pragma</stringProp>
|
||
<stringProp name="Header.value">no-cache</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept" elementType="Header">
|
||
<stringProp name="Header.name">Accept</stringProp>
|
||
<stringProp name="Header.value">application/json, text/javascript, */*; q=0.01</stringProp>
|
||
</elementProp>
|
||
<elementProp name="User-Agent" elementType="Header">
|
||
<stringProp name="Header.name">User-Agent</stringProp>
|
||
<stringProp name="Header.value">Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</HeaderManager>
|
||
<hashTree/>
|
||
</hashTree>
|
||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="4 /apis/collection/gather/getDriveVersion" 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">{"platform":"1007","appversion":"1.0.3","apiversion":"1.0.2","mac":"12345678","ip":"xxx.xxx.xx.xx","companyCode ":"1001","token":"${TOKEN}","data":{"driveManufacturerCode":"91110108797597536U","deviceTypeId":"05","deviceSn":"IKH1902094"}}</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</elementProp>
|
||
<stringProp name="HTTPSampler.domain">${URL}</stringProp>
|
||
<stringProp name="HTTPSampler.port">${PORT}</stringProp>
|
||
<stringProp name="HTTPSampler.protocol">http</stringProp>
|
||
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
||
<stringProp name="HTTPSampler.path">/apis/collection/gather/getDriveVersion</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>
|
||
<boolProp name="HTTPSampler.image_parser">true</boolProp>
|
||
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
||
<stringProp name="HTTPSampler.implementation">Java</stringProp>
|
||
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
||
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
||
</HTTPSamplerProxy>
|
||
<hashTree>
|
||
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
|
||
<collectionProp name="HeaderManager.headers">
|
||
<elementProp name="Referer" elementType="Header">
|
||
<stringProp name="Header.name">Referer</stringProp>
|
||
<stringProp name="Header.value">http://${URL}:${PORT}/html/identify/identify_iris.html</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Language" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Language</stringProp>
|
||
<stringProp name="Header.value">zh-CN</stringProp>
|
||
</elementProp>
|
||
<elementProp name="X-Requested-With" elementType="Header">
|
||
<stringProp name="Header.name">X-Requested-With</stringProp>
|
||
<stringProp name="Header.value">XMLHttpRequest</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Content-Type" elementType="Header">
|
||
<stringProp name="Header.name">Content-Type</stringProp>
|
||
<stringProp name="Header.value">application/json</stringProp>
|
||
</elementProp>
|
||
<elementProp name="DNT" elementType="Header">
|
||
<stringProp name="Header.name">DNT</stringProp>
|
||
<stringProp name="Header.value">1</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Encoding" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Encoding</stringProp>
|
||
<stringProp name="Header.value">gzip, deflate</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Pragma" elementType="Header">
|
||
<stringProp name="Header.name">Pragma</stringProp>
|
||
<stringProp name="Header.value">no-cache</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept" elementType="Header">
|
||
<stringProp name="Header.name">Accept</stringProp>
|
||
<stringProp name="Header.value">application/json, text/javascript, */*; q=0.01</stringProp>
|
||
</elementProp>
|
||
<elementProp name="User-Agent" elementType="Header">
|
||
<stringProp name="Header.name">User-Agent</stringProp>
|
||
<stringProp name="Header.value">Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</HeaderManager>
|
||
<hashTree/>
|
||
</hashTree>
|
||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="5 /apis/collection/identify/identify (zuoyan_1 / youyan_1)" 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">{
|
||
"platform": "1007",
|
||
"appversion": "1.0.3",
|
||
"apiversion": "1.0.2",
|
||
"mac": "12345678",
|
||
"ip": "xxx.xxx.xx.xx",
|
||
"companyCode ": "1001",
|
||
"token": "${TOKEN}",
|
||
"userId": "${USERID}",
|
||
"data": {
|
||
"hmcjSbcsdm": "91110108797597536U",
|
||
"hmcjSbxh": "05",
|
||
"hmcjQzcjbz": "0",
|
||
"hmcjZyydm": 3,
|
||
"hmcjCjhs": "2.000",
|
||
"hmcjCjbh": "",
|
||
"hmcjQsqkdmZy": 0,
|
||
"hmcjQsqkdmYy": 0,
|
||
"hmcjSbbh": "IKH1902094",
|
||
"hmcjZyzp": "${zzyy}",
|
||
"hmcjYyzp": "${yyyy}",
|
||
"hmcjZytxzl": 81,
|
||
"hmcjYytxzl": 80,
|
||
"hmcjCjsbwzXzb": "",
|
||
"hmcjCjsbwzYzb": "",
|
||
"hmcjCjsbddDzmc": "",
|
||
"userId": "${USERID}",
|
||
"userPoliceId": "10007",
|
||
"jgxxJgid": "${jgxxid}",
|
||
"jgxxGajgjgdm": "${jgxxGajgjgdm}",
|
||
"userName": "${username}",
|
||
"userRealname": "测试员",
|
||
"userIdcard": "123456199910101212"
|
||
}
|
||
}</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</elementProp>
|
||
<stringProp name="HTTPSampler.domain">${URL}</stringProp>
|
||
<stringProp name="HTTPSampler.port">${PORT}</stringProp>
|
||
<stringProp name="HTTPSampler.protocol">http</stringProp>
|
||
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
||
<stringProp name="HTTPSampler.path">/apis/collection/identify/identify</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>
|
||
<boolProp name="HTTPSampler.image_parser">true</boolProp>
|
||
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
||
<stringProp name="HTTPSampler.implementation">Java</stringProp>
|
||
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
||
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
||
</HTTPSamplerProxy>
|
||
<hashTree>
|
||
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
|
||
<collectionProp name="HeaderManager.headers">
|
||
<elementProp name="Referer" elementType="Header">
|
||
<stringProp name="Header.name">Referer</stringProp>
|
||
<stringProp name="Header.value">http://${URL}:${PORT}/html/identify/identify_iris.html</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Language" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Language</stringProp>
|
||
<stringProp name="Header.value">zh-CN</stringProp>
|
||
</elementProp>
|
||
<elementProp name="X-Requested-With" elementType="Header">
|
||
<stringProp name="Header.name">X-Requested-With</stringProp>
|
||
<stringProp name="Header.value">XMLHttpRequest</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Content-Type" elementType="Header">
|
||
<stringProp name="Header.name">Content-Type</stringProp>
|
||
<stringProp name="Header.value">application/json</stringProp>
|
||
</elementProp>
|
||
<elementProp name="DNT" elementType="Header">
|
||
<stringProp name="Header.name">DNT</stringProp>
|
||
<stringProp name="Header.value">1</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Encoding" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Encoding</stringProp>
|
||
<stringProp name="Header.value">gzip, deflate</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Pragma" elementType="Header">
|
||
<stringProp name="Header.name">Pragma</stringProp>
|
||
<stringProp name="Header.value">no-cache</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept" elementType="Header">
|
||
<stringProp name="Header.name">Accept</stringProp>
|
||
<stringProp name="Header.value">application/json, text/javascript, */*; q=0.01</stringProp>
|
||
</elementProp>
|
||
<elementProp name="User-Agent" elementType="Header">
|
||
<stringProp name="Header.name">User-Agent</stringProp>
|
||
<stringProp name="Header.value">Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</HeaderManager>
|
||
<hashTree/>
|
||
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="响应断言" enabled="true">
|
||
<collectionProp name="Asserion.test_strings">
|
||
<stringProp name="-2144948840">${shibie_responseAssert}</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>
|
||
</hashTree>
|
||
</hashTree>
|
||
<ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="进入人员信息页面" enabled="false">
|
||
<stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
|
||
<elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" 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>
|
||
</ThreadGroup>
|
||
<hashTree>
|
||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="372 /html/information_manager/person/person.html" enabled="true">
|
||
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
|
||
<collectionProp name="Arguments.arguments">
|
||
<elementProp name="version" elementType="HTTPArgument">
|
||
<boolProp name="HTTPArgument.always_encode">false</boolProp>
|
||
<stringProp name="Argument.name">version</stringProp>
|
||
<stringProp name="Argument.value">1.1.5.ApiResult.CODE_OK516</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
<boolProp name="HTTPArgument.use_equals">true</boolProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</elementProp>
|
||
<stringProp name="HTTPSampler.domain">10.2.1.35</stringProp>
|
||
<stringProp name="HTTPSampler.port">ApiResult.CODE_OK80</stringProp>
|
||
<stringProp name="HTTPSampler.protocol">http</stringProp>
|
||
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
||
<stringProp name="HTTPSampler.path">/html/information_manager/person/person.html</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>
|
||
<boolProp name="HTTPSampler.image_parser">true</boolProp>
|
||
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
||
<stringProp name="HTTPSampler.implementation">Java</stringProp>
|
||
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
||
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
||
</HTTPSamplerProxy>
|
||
<hashTree>
|
||
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP信息头管理器" enabled="true">
|
||
<collectionProp name="HeaderManager.headers">
|
||
<elementProp name="Referer" elementType="Header">
|
||
<stringProp name="Header.name">Referer</stringProp>
|
||
<stringProp name="Header.value">http://10.2.1.35:ApiResult.CODE_OK80/index.html?version=1.1.5.ApiResult.CODE_OK516</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Language" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Language</stringProp>
|
||
<stringProp name="Header.value">zh-CN</stringProp>
|
||
</elementProp>
|
||
<elementProp name="DNT" elementType="Header">
|
||
<stringProp name="Header.name">DNT</stringProp>
|
||
<stringProp name="Header.value">1</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Encoding" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Encoding</stringProp>
|
||
<stringProp name="Header.value">gzip, deflate</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept" elementType="Header">
|
||
<stringProp name="Header.name">Accept</stringProp>
|
||
<stringProp name="Header.value">application/x-ms-application, image/jpeg, application/xaml+xml, image/gif, image/pjpeg, application/x-ms-xbap, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*</stringProp>
|
||
</elementProp>
|
||
<elementProp name="User-Agent" elementType="Header">
|
||
<stringProp name="Header.name">User-Agent</stringProp>
|
||
<stringProp name="Header.value">Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</HeaderManager>
|
||
<hashTree/>
|
||
</hashTree>
|
||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="391 /apis/dataQuery/checkList" 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">{"platform":"1007","appVersion":"1.0.3","apiVersion":"1.0.2","token":"eyJhbGciOiJIUzI1NiJ9.eyJqdGkiOiIxMTExIiwic3ViIjoidG9rZW4iLCJpc3MiOiJ1c2VyIiwiaWF0IjoxNTk0MjgyNjEwLCJleHAiOjE1OTQzNjkwMTB9.l0XP8rNpFYwkexDe1l6MpgPkAu0YKYLbiPtOhk-5I8Y","userJGDM":"0","data":{},"userId":"1111","userName":"admin"}</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</elementProp>
|
||
<stringProp name="HTTPSampler.domain">10.2.1.35</stringProp>
|
||
<stringProp name="HTTPSampler.port">ApiResult.CODE_OK80</stringProp>
|
||
<stringProp name="HTTPSampler.protocol">http</stringProp>
|
||
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
||
<stringProp name="HTTPSampler.path">/apis/dataQuery/checkList</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>
|
||
<boolProp name="HTTPSampler.image_parser">true</boolProp>
|
||
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
||
<stringProp name="HTTPSampler.implementation">Java</stringProp>
|
||
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
||
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
||
</HTTPSamplerProxy>
|
||
<hashTree>
|
||
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP信息头管理器" enabled="true">
|
||
<collectionProp name="HeaderManager.headers">
|
||
<elementProp name="Referer" elementType="Header">
|
||
<stringProp name="Header.name">Referer</stringProp>
|
||
<stringProp name="Header.value">http://10.2.1.35:ApiResult.CODE_OK80/html/information_manager/person/person.html?version=1.1.5.ApiResult.CODE_OK516</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Language" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Language</stringProp>
|
||
<stringProp name="Header.value">zh-CN</stringProp>
|
||
</elementProp>
|
||
<elementProp name="X-Requested-With" elementType="Header">
|
||
<stringProp name="Header.name">X-Requested-With</stringProp>
|
||
<stringProp name="Header.value">XMLHttpRequest</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Content-Type" elementType="Header">
|
||
<stringProp name="Header.name">Content-Type</stringProp>
|
||
<stringProp name="Header.value">application/json</stringProp>
|
||
</elementProp>
|
||
<elementProp name="DNT" elementType="Header">
|
||
<stringProp name="Header.name">DNT</stringProp>
|
||
<stringProp name="Header.value">1</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Encoding" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Encoding</stringProp>
|
||
<stringProp name="Header.value">gzip, deflate</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Pragma" elementType="Header">
|
||
<stringProp name="Header.name">Pragma</stringProp>
|
||
<stringProp name="Header.value">no-cache</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept" elementType="Header">
|
||
<stringProp name="Header.name">Accept</stringProp>
|
||
<stringProp name="Header.value">application/json, text/javascript, */*; q=0.01</stringProp>
|
||
</elementProp>
|
||
<elementProp name="User-Agent" elementType="Header">
|
||
<stringProp name="Header.name">User-Agent</stringProp>
|
||
<stringProp name="Header.value">Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</HeaderManager>
|
||
<hashTree/>
|
||
</hashTree>
|
||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="392 /apis/dataManagement/basicData/particular/list" 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">{"platform":"1007","appVersion":"1.0.3","apiVersion":"1.0.2","token":"eyJhbGciOiJIUzI1NiJ9.eyJqdGkiOiIxMTExIiwic3ViIjoidG9rZW4iLCJpc3MiOiJ1c2VyIiwiaWF0IjoxNTk0MjgyNjEwLCJleHAiOjE1OTQzNjkwMTB9.l0XP8rNpFYwkexDe1l6MpgPkAu0YKYLbiPtOhk-5I8Y","userJGDM":"0","data":{"startCreateTime":null,"endCreateTime":null,"startUpdateTime":null,"endUpdateTime":null,"name":"","userJGDM":"0","queryType":"1","notifiedBody":[]},"userId":"1111","userName":"admin","limit":10000}</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</elementProp>
|
||
<stringProp name="HTTPSampler.domain">10.2.1.35</stringProp>
|
||
<stringProp name="HTTPSampler.port">ApiResult.CODE_OK80</stringProp>
|
||
<stringProp name="HTTPSampler.protocol">http</stringProp>
|
||
<stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
|
||
<stringProp name="HTTPSampler.path">/apis/dataManagement/basicData/particular/list</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>
|
||
<boolProp name="HTTPSampler.image_parser">true</boolProp>
|
||
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
||
<stringProp name="HTTPSampler.implementation">Java</stringProp>
|
||
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
||
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
||
</HTTPSamplerProxy>
|
||
<hashTree>
|
||
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP信息头管理器" enabled="true">
|
||
<collectionProp name="HeaderManager.headers">
|
||
<elementProp name="Referer" elementType="Header">
|
||
<stringProp name="Header.name">Referer</stringProp>
|
||
<stringProp name="Header.value">http://10.2.1.35:ApiResult.CODE_OK80/html/information_manager/person/person.html?version=1.1.5.ApiResult.CODE_OK516</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Language" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Language</stringProp>
|
||
<stringProp name="Header.value">zh-CN</stringProp>
|
||
</elementProp>
|
||
<elementProp name="X-Requested-With" elementType="Header">
|
||
<stringProp name="Header.name">X-Requested-With</stringProp>
|
||
<stringProp name="Header.value">XMLHttpRequest</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Content-Type" elementType="Header">
|
||
<stringProp name="Header.name">Content-Type</stringProp>
|
||
<stringProp name="Header.value">application/json;charset=UTF-8</stringProp>
|
||
</elementProp>
|
||
<elementProp name="DNT" elementType="Header">
|
||
<stringProp name="Header.name">DNT</stringProp>
|
||
<stringProp name="Header.value">1</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Encoding" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Encoding</stringProp>
|
||
<stringProp name="Header.value">gzip, deflate</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Pragma" elementType="Header">
|
||
<stringProp name="Header.name">Pragma</stringProp>
|
||
<stringProp name="Header.value">no-cache</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept" elementType="Header">
|
||
<stringProp name="Header.name">Accept</stringProp>
|
||
<stringProp name="Header.value">application/json, text/javascript, */*; q=0.01</stringProp>
|
||
</elementProp>
|
||
<elementProp name="User-Agent" elementType="Header">
|
||
<stringProp name="Header.name">User-Agent</stringProp>
|
||
<stringProp name="Header.value">Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</HeaderManager>
|
||
<hashTree/>
|
||
</hashTree>
|
||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="393 /apis/dataManagement/getPersonInfoList" 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">{"page":1,"limit":10,"platform":"1007","appVersion":"1.0.3","apiVersion":"1.0.2","token":"eyJhbGciOiJIUzI1NiJ9.eyJqdGkiOiIxMTExIiwic3ViIjoidG9rZW4iLCJpc3MiOiJ1c2VyIiwiaWF0IjoxNTk0MjgyNjEwLCJleHAiOjE1OTQzNjkwMTB9.l0XP8rNpFYwkexDe1l6MpgPkAu0YKYLbiPtOhk-5I8Y","userJGDM":"0","data":{"XM":"","XBDM":"","ZJLXDM":"","ZJHM":"","CZSSJ":"","RYFL":"","RYBQ":"","CZESJ":"","ZTK":"","GJDM":"","MZDM":"","isDeleted":"2","userJGDM":"0","queryType":"1","notifiedBody":[]},"userId":"1111","userName":"admin","queryType":"1","notifiedBody":[]}</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</elementProp>
|
||
<stringProp name="HTTPSampler.domain">10.2.1.35</stringProp>
|
||
<stringProp name="HTTPSampler.port">ApiResult.CODE_OK80</stringProp>
|
||
<stringProp name="HTTPSampler.protocol">http</stringProp>
|
||
<stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
|
||
<stringProp name="HTTPSampler.path">/apis/dataManagement/getPersonInfoList</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>
|
||
<boolProp name="HTTPSampler.image_parser">true</boolProp>
|
||
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
||
<stringProp name="HTTPSampler.implementation">Java</stringProp>
|
||
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
||
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
||
</HTTPSamplerProxy>
|
||
<hashTree>
|
||
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP信息头管理器" enabled="true">
|
||
<collectionProp name="HeaderManager.headers">
|
||
<elementProp name="Referer" elementType="Header">
|
||
<stringProp name="Header.name">Referer</stringProp>
|
||
<stringProp name="Header.value">http://10.2.1.35:ApiResult.CODE_OK80/html/information_manager/person/person.html?version=1.1.5.ApiResult.CODE_OK516</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Language" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Language</stringProp>
|
||
<stringProp name="Header.value">zh-CN</stringProp>
|
||
</elementProp>
|
||
<elementProp name="X-Requested-With" elementType="Header">
|
||
<stringProp name="Header.name">X-Requested-With</stringProp>
|
||
<stringProp name="Header.value">XMLHttpRequest</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Content-Type" elementType="Header">
|
||
<stringProp name="Header.name">Content-Type</stringProp>
|
||
<stringProp name="Header.value">application/json;charset=UTF-8</stringProp>
|
||
</elementProp>
|
||
<elementProp name="DNT" elementType="Header">
|
||
<stringProp name="Header.name">DNT</stringProp>
|
||
<stringProp name="Header.value">1</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Encoding" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Encoding</stringProp>
|
||
<stringProp name="Header.value">gzip, deflate</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Pragma" elementType="Header">
|
||
<stringProp name="Header.name">Pragma</stringProp>
|
||
<stringProp name="Header.value">no-cache</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept" elementType="Header">
|
||
<stringProp name="Header.name">Accept</stringProp>
|
||
<stringProp name="Header.value">application/json, text/javascript, */*; q=0.01</stringProp>
|
||
</elementProp>
|
||
<elementProp name="User-Agent" elementType="Header">
|
||
<stringProp name="Header.name">User-Agent</stringProp>
|
||
<stringProp name="Header.value">Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</HeaderManager>
|
||
<hashTree/>
|
||
</hashTree>
|
||
</hashTree>
|
||
<ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="进入下发规则页面" enabled="false">
|
||
<stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
|
||
<elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" 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>
|
||
</ThreadGroup>
|
||
<hashTree>
|
||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="3100 /html/system/issued/issued.html" enabled="true">
|
||
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
|
||
<collectionProp name="Arguments.arguments">
|
||
<elementProp name="version" elementType="HTTPArgument">
|
||
<boolProp name="HTTPArgument.always_encode">false</boolProp>
|
||
<stringProp name="Argument.name">version</stringProp>
|
||
<stringProp name="Argument.value">1.1.5.ApiResult.CODE_OK516</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
<boolProp name="HTTPArgument.use_equals">true</boolProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</elementProp>
|
||
<stringProp name="HTTPSampler.domain">10.2.1.35</stringProp>
|
||
<stringProp name="HTTPSampler.port">ApiResult.CODE_OK80</stringProp>
|
||
<stringProp name="HTTPSampler.protocol">http</stringProp>
|
||
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
||
<stringProp name="HTTPSampler.path">/html/system/issued/issued.html</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>
|
||
<boolProp name="HTTPSampler.image_parser">true</boolProp>
|
||
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
||
<stringProp name="HTTPSampler.implementation">Java</stringProp>
|
||
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
||
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
||
</HTTPSamplerProxy>
|
||
<hashTree>
|
||
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP信息头管理器" enabled="true">
|
||
<collectionProp name="HeaderManager.headers">
|
||
<elementProp name="Referer" elementType="Header">
|
||
<stringProp name="Header.name">Referer</stringProp>
|
||
<stringProp name="Header.value">http://10.2.1.35:ApiResult.CODE_OK80/index.html?version=1.1.5.ApiResult.CODE_OK516</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Language" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Language</stringProp>
|
||
<stringProp name="Header.value">zh-CN</stringProp>
|
||
</elementProp>
|
||
<elementProp name="DNT" elementType="Header">
|
||
<stringProp name="Header.name">DNT</stringProp>
|
||
<stringProp name="Header.value">1</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Encoding" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Encoding</stringProp>
|
||
<stringProp name="Header.value">gzip, deflate</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept" elementType="Header">
|
||
<stringProp name="Header.name">Accept</stringProp>
|
||
<stringProp name="Header.value">application/x-ms-application, image/jpeg, application/xaml+xml, image/gif, image/pjpeg, application/x-ms-xbap, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*</stringProp>
|
||
</elementProp>
|
||
<elementProp name="User-Agent" elementType="Header">
|
||
<stringProp name="Header.name">User-Agent</stringProp>
|
||
<stringProp name="Header.value">Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</HeaderManager>
|
||
<hashTree/>
|
||
</hashTree>
|
||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="3119 /apis/SysManage/listRemotingIssued/" 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">{"page":1,"limit":10,"platform":"1007","appVersion":"1.0.3","apiVersion":"1.0.2","token":"eyJhbGciOiJIUzI1NiJ9.eyJqdGkiOiIxMTExIiwic3ViIjoidG9rZW4iLCJpc3MiOiJ1c2VyIiwiaWF0IjoxNTk0MjgyNjEwLCJleHAiOjE1OTQzNjkwMTB9.l0XP8rNpFYwkexDe1l6MpgPkAu0YKYLbiPtOhk-5I8Y","userJGDM":"0","data":{"name":"","ruleType":""},"userId":"1111","userName":"admin"}</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</elementProp>
|
||
<stringProp name="HTTPSampler.domain">10.2.1.35</stringProp>
|
||
<stringProp name="HTTPSampler.port">ApiResult.CODE_OK80</stringProp>
|
||
<stringProp name="HTTPSampler.protocol">http</stringProp>
|
||
<stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
|
||
<stringProp name="HTTPSampler.path">/apis/SysManage/listRemotingIssued/</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>
|
||
<boolProp name="HTTPSampler.image_parser">true</boolProp>
|
||
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
||
<stringProp name="HTTPSampler.implementation">Java</stringProp>
|
||
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
||
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
||
</HTTPSamplerProxy>
|
||
<hashTree>
|
||
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP信息头管理器" enabled="true">
|
||
<collectionProp name="HeaderManager.headers">
|
||
<elementProp name="Referer" elementType="Header">
|
||
<stringProp name="Header.name">Referer</stringProp>
|
||
<stringProp name="Header.value">http://10.2.1.35:ApiResult.CODE_OK80/html/system/issued/issued.html?version=1.1.5.ApiResult.CODE_OK516</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Language" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Language</stringProp>
|
||
<stringProp name="Header.value">zh-CN</stringProp>
|
||
</elementProp>
|
||
<elementProp name="X-Requested-With" elementType="Header">
|
||
<stringProp name="Header.name">X-Requested-With</stringProp>
|
||
<stringProp name="Header.value">XMLHttpRequest</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Content-Type" elementType="Header">
|
||
<stringProp name="Header.name">Content-Type</stringProp>
|
||
<stringProp name="Header.value">application/json;charset=UTF-8</stringProp>
|
||
</elementProp>
|
||
<elementProp name="DNT" elementType="Header">
|
||
<stringProp name="Header.name">DNT</stringProp>
|
||
<stringProp name="Header.value">1</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Encoding" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Encoding</stringProp>
|
||
<stringProp name="Header.value">gzip, deflate</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Pragma" elementType="Header">
|
||
<stringProp name="Header.name">Pragma</stringProp>
|
||
<stringProp name="Header.value">no-cache</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept" elementType="Header">
|
||
<stringProp name="Header.name">Accept</stringProp>
|
||
<stringProp name="Header.value">application/json, text/javascript, */*; q=0.01</stringProp>
|
||
</elementProp>
|
||
<elementProp name="User-Agent" elementType="Header">
|
||
<stringProp name="Header.name">User-Agent</stringProp>
|
||
<stringProp name="Header.value">Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</HeaderManager>
|
||
<hashTree/>
|
||
</hashTree>
|
||
</hashTree>
|
||
<ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="上传部级库1.14.6" enabled="false">
|
||
<stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
|
||
<elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" 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>
|
||
</ThreadGroup>
|
||
<hashTree>
|
||
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="读取USERID" enabled="true">
|
||
<boolProp name="resetInterpreter">false</boolProp>
|
||
<stringProp name="parameters"></stringProp>
|
||
<stringProp name="filename"></stringProp>
|
||
<stringProp name="script">import java.io.*;
|
||
|
||
String filePath = "${userIdPath}";
|
||
|
||
try{
|
||
File file = new File(filePath);
|
||
if(!file.exists()){
|
||
file.createNewFile();
|
||
}
|
||
|
||
BufferedReader bufr = new BufferedReader(new InputStreamReader(new FileInputStream(file.getAbsolutePath()), "utf-8"));
|
||
String str = "";
|
||
|
||
while((str = bufr.readLine())!= null){
|
||
vars.put("USERID", str);
|
||
break;
|
||
}
|
||
bufr.close();
|
||
}catch(IOException e){
|
||
log.error(e.toString());
|
||
bufr.close();
|
||
System.out.println("sorry i am exception2");
|
||
}</stringProp>
|
||
</BeanShellPreProcessor>
|
||
<hashTree/>
|
||
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="读取TOKEN" enabled="true">
|
||
<boolProp name="resetInterpreter">false</boolProp>
|
||
<stringProp name="parameters"></stringProp>
|
||
<stringProp name="filename"></stringProp>
|
||
<stringProp name="script">import java.io.*;
|
||
|
||
String filePath = "${cookiePath}";
|
||
|
||
try{
|
||
File file = new File(filePath);
|
||
if(!file.exists()){
|
||
file.createNewFile();
|
||
}
|
||
|
||
BufferedReader bufr = new BufferedReader(new InputStreamReader(new FileInputStream(file.getAbsolutePath()), "utf-8"));
|
||
String str = "";
|
||
|
||
while((str = bufr.readLine())!= null){
|
||
vars.put("TOKEN", str);
|
||
break;
|
||
}
|
||
bufr.close();
|
||
}catch(IOException e){
|
||
log.error(e.toString());
|
||
bufr.close();
|
||
System.out.println("sorry i am exception2");
|
||
}</stringProp>
|
||
</BeanShellPreProcessor>
|
||
<hashTree/>
|
||
<TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="上传部级" enabled="true">
|
||
<boolProp name="TransactionController.parent">true</boolProp>
|
||
<boolProp name="TransactionController.includeTimers">false</boolProp>
|
||
</TransactionController>
|
||
<hashTree>
|
||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="397 /apis/dataManagement/uploadPersonInfo" 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">{"platform":"1007","appVersion":"1.0.3","apiVersion":"1.0.2","token":"${TOKEN}","userJGDM":"0","data":{"userId":"${USERID}","RYBH":["${rybh}"]},"userId":"${USERID}","userName":"${username}","queryType":"1","notifiedBody":[]}</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</elementProp>
|
||
<stringProp name="HTTPSampler.domain">10.2.1.35</stringProp>
|
||
<stringProp name="HTTPSampler.port">ApiResult.CODE_OK80</stringProp>
|
||
<stringProp name="HTTPSampler.protocol">http</stringProp>
|
||
<stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
|
||
<stringProp name="HTTPSampler.path">/apis/dataManagement/uploadPersonInfo</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>
|
||
<boolProp name="HTTPSampler.image_parser">true</boolProp>
|
||
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
||
<stringProp name="HTTPSampler.implementation">Java</stringProp>
|
||
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
||
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
||
</HTTPSamplerProxy>
|
||
<hashTree>
|
||
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP信息头管理器" enabled="true">
|
||
<collectionProp name="HeaderManager.headers">
|
||
<elementProp name="Referer" elementType="Header">
|
||
<stringProp name="Header.name">Referer</stringProp>
|
||
<stringProp name="Header.value">http://10.2.1.35:ApiResult.CODE_OK80/html/information_manager/person/person.html?version=1.1.5.ApiResult.CODE_OK516</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Language" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Language</stringProp>
|
||
<stringProp name="Header.value">zh-CN</stringProp>
|
||
</elementProp>
|
||
<elementProp name="X-Requested-With" elementType="Header">
|
||
<stringProp name="Header.name">X-Requested-With</stringProp>
|
||
<stringProp name="Header.value">XMLHttpRequest</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Content-Type" elementType="Header">
|
||
<stringProp name="Header.name">Content-Type</stringProp>
|
||
<stringProp name="Header.value">application/json;charset=UTF-8</stringProp>
|
||
</elementProp>
|
||
<elementProp name="DNT" elementType="Header">
|
||
<stringProp name="Header.name">DNT</stringProp>
|
||
<stringProp name="Header.value">1</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Encoding" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Encoding</stringProp>
|
||
<stringProp name="Header.value">gzip, deflate</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Pragma" elementType="Header">
|
||
<stringProp name="Header.name">Pragma</stringProp>
|
||
<stringProp name="Header.value">no-cache</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept" elementType="Header">
|
||
<stringProp name="Header.name">Accept</stringProp>
|
||
<stringProp name="Header.value">application/json, text/javascript, */*; q=0.01</stringProp>
|
||
</elementProp>
|
||
<elementProp name="User-Agent" elementType="Header">
|
||
<stringProp name="Header.name">User-Agent</stringProp>
|
||
<stringProp name="Header.value">Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</HeaderManager>
|
||
<hashTree/>
|
||
</hashTree>
|
||
</hashTree>
|
||
</hashTree>
|
||
<ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="下发规则1.25.7" enabled="false">
|
||
<stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
|
||
<elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" 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>
|
||
</ThreadGroup>
|
||
<hashTree>
|
||
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="读取USERID" enabled="true">
|
||
<boolProp name="resetInterpreter">false</boolProp>
|
||
<stringProp name="parameters"></stringProp>
|
||
<stringProp name="filename"></stringProp>
|
||
<stringProp name="script">import java.io.*;
|
||
|
||
String filePath = "${userIdPath}";
|
||
|
||
try{
|
||
File file = new File(filePath);
|
||
if(!file.exists()){
|
||
file.createNewFile();
|
||
}
|
||
|
||
BufferedReader bufr = new BufferedReader(new InputStreamReader(new FileInputStream(file.getAbsolutePath()), "utf-8"));
|
||
String str = "";
|
||
|
||
while((str = bufr.readLine())!= null){
|
||
vars.put("USERID", str);
|
||
break;
|
||
}
|
||
bufr.close();
|
||
}catch(IOException e){
|
||
log.error(e.toString());
|
||
bufr.close();
|
||
System.out.println("sorry i am exception2");
|
||
}</stringProp>
|
||
</BeanShellPreProcessor>
|
||
<hashTree/>
|
||
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="读取TOKEN" enabled="true">
|
||
<boolProp name="resetInterpreter">false</boolProp>
|
||
<stringProp name="parameters"></stringProp>
|
||
<stringProp name="filename"></stringProp>
|
||
<stringProp name="script">import java.io.*;
|
||
|
||
String filePath = "${cookiePath}";
|
||
|
||
try{
|
||
File file = new File(filePath);
|
||
if(!file.exists()){
|
||
file.createNewFile();
|
||
}
|
||
|
||
BufferedReader bufr = new BufferedReader(new InputStreamReader(new FileInputStream(file.getAbsolutePath()), "utf-8"));
|
||
String str = "";
|
||
|
||
while((str = bufr.readLine())!= null){
|
||
vars.put("TOKEN", str);
|
||
break;
|
||
}
|
||
bufr.close();
|
||
}catch(IOException e){
|
||
log.error(e.toString());
|
||
bufr.close();
|
||
System.out.println("sorry i am exception2");
|
||
}</stringProp>
|
||
</BeanShellPreProcessor>
|
||
<hashTree/>
|
||
<TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="下发" enabled="true">
|
||
<boolProp name="TransactionController.includeTimers">false</boolProp>
|
||
<boolProp name="TransactionController.parent">true</boolProp>
|
||
</TransactionController>
|
||
<hashTree>
|
||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="3121 /apis/SysManage/runRemotingIssued" 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">{"platform":"1007","appVersion":"1.0.3","apiVersion":"1.0.2","token":"${TOKEN}","userJGDM":"0","data":{"iscId":"7a321acaa9c04b57bd17b8831d4c4bc4"},"userId":"${USERID}","userName":"${username}"}</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</elementProp>
|
||
<stringProp name="HTTPSampler.domain">10.2.1.35</stringProp>
|
||
<stringProp name="HTTPSampler.port">ApiResult.CODE_OK80</stringProp>
|
||
<stringProp name="HTTPSampler.protocol">http</stringProp>
|
||
<stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
|
||
<stringProp name="HTTPSampler.path">/apis/SysManage/runRemotingIssued</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>
|
||
<boolProp name="HTTPSampler.image_parser">true</boolProp>
|
||
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
||
<stringProp name="HTTPSampler.implementation">Java</stringProp>
|
||
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
||
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
||
</HTTPSamplerProxy>
|
||
<hashTree>
|
||
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP信息头管理器" enabled="true">
|
||
<collectionProp name="HeaderManager.headers">
|
||
<elementProp name="Referer" elementType="Header">
|
||
<stringProp name="Header.name">Referer</stringProp>
|
||
<stringProp name="Header.value">http://10.2.1.35:ApiResult.CODE_OK80/html/system/issued/issued.html?version=1.1.5.ApiResult.CODE_OK516</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Language" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Language</stringProp>
|
||
<stringProp name="Header.value">zh-CN</stringProp>
|
||
</elementProp>
|
||
<elementProp name="X-Requested-With" elementType="Header">
|
||
<stringProp name="Header.name">X-Requested-With</stringProp>
|
||
<stringProp name="Header.value">XMLHttpRequest</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Content-Type" elementType="Header">
|
||
<stringProp name="Header.name">Content-Type</stringProp>
|
||
<stringProp name="Header.value">application/json;charset=UTF-8</stringProp>
|
||
</elementProp>
|
||
<elementProp name="DNT" elementType="Header">
|
||
<stringProp name="Header.name">DNT</stringProp>
|
||
<stringProp name="Header.value">1</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Encoding" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Encoding</stringProp>
|
||
<stringProp name="Header.value">gzip, deflate</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Pragma" elementType="Header">
|
||
<stringProp name="Header.name">Pragma</stringProp>
|
||
<stringProp name="Header.value">no-cache</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept" elementType="Header">
|
||
<stringProp name="Header.name">Accept</stringProp>
|
||
<stringProp name="Header.value">application/json, text/javascript, */*; q=0.01</stringProp>
|
||
</elementProp>
|
||
<elementProp name="User-Agent" elementType="Header">
|
||
<stringProp name="Header.name">User-Agent</stringProp>
|
||
<stringProp name="Header.value">Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</HeaderManager>
|
||
<hashTree/>
|
||
</hashTree>
|
||
</hashTree>
|
||
</hashTree>
|
||
<ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="启辉创建研判人员接口" enabled="false">
|
||
<stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
|
||
<elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" enabled="true">
|
||
<boolProp name="LoopController.continue_forever">false</boolProp>
|
||
<intProp name="LoopController.loops">-1</intProp>
|
||
</elementProp>
|
||
<stringProp name="ThreadGroup.num_threads">ApiResult.CODE_OK</stringProp>
|
||
<stringProp name="ThreadGroup.ramp_time">10</stringProp>
|
||
<boolProp name="ThreadGroup.scheduler">false</boolProp>
|
||
<stringProp name="ThreadGroup.duration"></stringProp>
|
||
<stringProp name="ThreadGroup.delay"></stringProp>
|
||
</ThreadGroup>
|
||
<hashTree>
|
||
<TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="启辉" enabled="true">
|
||
<boolProp name="TransactionController.parent">true</boolProp>
|
||
<boolProp name="TransactionController.includeTimers">false</boolProp>
|
||
</TransactionController>
|
||
<hashTree>
|
||
<SyncTimer guiclass="TestBeanGUI" testclass="SyncTimer" testname="兄弟们冲啊" enabled="true">
|
||
<intProp name="groupSize">ApiResult.CODE_OK</intProp>
|
||
<longProp name="timeoutInMs">0</longProp>
|
||
</SyncTimer>
|
||
<hashTree/>
|
||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="1 /apis/common/desEncrypt" 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">{
|
||
"platform": "1007",
|
||
"appVersion": "1.0.3",
|
||
"apiVersion": "1.0.2",
|
||
"token": "666666",
|
||
"userJGDM": "0",
|
||
"userId": "1111",
|
||
"userName": "admin",
|
||
"data": {
|
||
"analysisName": "22",
|
||
"userId": "22",
|
||
"userName": "22",
|
||
"remake": "22",
|
||
"workFileDz":"/static/iias/analysis/ypFile/2020-08/04/x0GGEItC7HCv.docx",
|
||
"photoList": [
|
||
{
|
||
"hmZydz": "/static/iias/analysis/yp/2020-08/04/eMLU9lLAAAKc.bmp",
|
||
"hmYydz": "/static/iias/analysis/yp/2020-08/04/eMLU9lLAAAKc.bmp"
|
||
},
|
||
{
|
||
"hmZydz": "/static/iias/analysis/yp/2020-08/04/eMLU9lLAAAKc.bmp",
|
||
"hmYydz": "/static/iias/analysis/yp/2020-08/04/eMLU9lLAAAKc.bmp"
|
||
}
|
||
]
|
||
}
|
||
}</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</elementProp>
|
||
<stringProp name="HTTPSampler.domain">10.2.1.35</stringProp>
|
||
<stringProp name="HTTPSampler.port">8092</stringProp>
|
||
<stringProp name="HTTPSampler.protocol">http</stringProp>
|
||
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
||
<stringProp name="HTTPSampler.path">/collection/AnalysisPhoto/createWork</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>
|
||
<boolProp name="HTTPSampler.image_parser">true</boolProp>
|
||
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
||
<stringProp name="HTTPSampler.implementation">Java</stringProp>
|
||
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
||
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
||
</HTTPSamplerProxy>
|
||
<hashTree>
|
||
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP信息头管理器" enabled="true">
|
||
<collectionProp name="HeaderManager.headers">
|
||
<elementProp name="Referer" elementType="Header">
|
||
<stringProp name="Header.name">Referer</stringProp>
|
||
<stringProp name="Header.value">http://${URL}:${PORT}/login.html</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Language" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Language</stringProp>
|
||
<stringProp name="Header.value">zh-CN</stringProp>
|
||
</elementProp>
|
||
<elementProp name="X-Requested-With" elementType="Header">
|
||
<stringProp name="Header.name">X-Requested-With</stringProp>
|
||
<stringProp name="Header.value">XMLHttpRequest</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Content-Type" elementType="Header">
|
||
<stringProp name="Header.name">Content-Type</stringProp>
|
||
<stringProp name="Header.value">application/json</stringProp>
|
||
</elementProp>
|
||
<elementProp name="DNT" elementType="Header">
|
||
<stringProp name="Header.name">DNT</stringProp>
|
||
<stringProp name="Header.value">1</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Encoding" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Encoding</stringProp>
|
||
<stringProp name="Header.value">gzip, deflate</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Pragma" elementType="Header">
|
||
<stringProp name="Header.name">Pragma</stringProp>
|
||
<stringProp name="Header.value">no-cache</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept" elementType="Header">
|
||
<stringProp name="Header.name">Accept</stringProp>
|
||
<stringProp name="Header.value">*/*</stringProp>
|
||
</elementProp>
|
||
<elementProp name="User-Agent" elementType="Header">
|
||
<stringProp name="Header.name">User-Agent</stringProp>
|
||
<stringProp name="Header.value">Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</HeaderManager>
|
||
<hashTree/>
|
||
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
|
||
<collectionProp name="Asserion.test_strings">
|
||
<stringProp name="-855471034">"status":ApiResult.CODE_OK</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>
|
||
</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>true</responseData>
|
||
<samplerData>true</samplerData>
|
||
<xml>true</xml>
|
||
<fieldNames>true</fieldNames>
|
||
<responseHeaders>true</responseHeaders>
|
||
<requestHeaders>true</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>
|
||
<ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="青龙第三方接口并发" enabled="false">
|
||
<stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
|
||
<elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" enabled="true">
|
||
<boolProp name="LoopController.continue_forever">false</boolProp>
|
||
<stringProp name="LoopController.loops">1</stringProp>
|
||
</elementProp>
|
||
<stringProp name="ThreadGroup.num_threads">6</stringProp>
|
||
<stringProp name="ThreadGroup.ramp_time">1</stringProp>
|
||
<boolProp name="ThreadGroup.scheduler">false</boolProp>
|
||
<stringProp name="ThreadGroup.duration"></stringProp>
|
||
<stringProp name="ThreadGroup.delay"></stringProp>
|
||
</ThreadGroup>
|
||
<hashTree>
|
||
<TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="小青龙" enabled="true">
|
||
<boolProp name="TransactionController.parent">true</boolProp>
|
||
<boolProp name="TransactionController.includeTimers">false</boolProp>
|
||
</TransactionController>
|
||
<hashTree>
|
||
<SyncTimer guiclass="TestBeanGUI" testclass="SyncTimer" testname="兄弟们冲啊" enabled="true">
|
||
<intProp name="groupSize">6</intProp>
|
||
<longProp name="timeoutInMs">0</longProp>
|
||
</SyncTimer>
|
||
<hashTree/>
|
||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="第三方采集接口" 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">{
|
||
"bcjr_csrq":"1975-09-20",
|
||
"bcjr_gj":"156",
|
||
"bcjr_hjdz":"甘肃省礼县盐官镇西沟村七组187号",
|
||
"bcjr_jzdz":"北京市朝阳区望京西园一区115楼5单元502室",
|
||
"bcjr_mz":"01",
|
||
"bcjr_rylb":"900",
|
||
"bcjr_xb":"1",
|
||
"bcjr_xm":"test",
|
||
"bcjr_zjhm":"622628197509ApiResult.CODE_OK434",
|
||
"bcjr_zjlxdm":"111",
|
||
"cjbh":"HM11010578000020190616477262",
|
||
"cjbz":"标采",
|
||
"cjcd":"11",
|
||
"cjr_gmsfhm":"421102199311130872",
|
||
"cjr_xm":"王建胜12348",
|
||
"cjtphs":"00.000",
|
||
"client_id":"sunjian",
|
||
"client_secret":"sunjian",
|
||
"dzmc":"朝阳东湖派出所",
|
||
"hmcjsbxhdm":"05",
|
||
"hmzp_yy":"${yyyy}",
|
||
"hmzp_zy":"${zzyy}",
|
||
"lrbz":"2",
|
||
"qzcjbz":"0",
|
||
"request_id":"HMCJ-110105780000-91110108797597536U-20190928-70089006",
|
||
"sbbh":"IKUSB-E30_IKHApiResult.CODE_OK6053",
|
||
"sbcsdm":"91110108797597536U",
|
||
"tag":0,
|
||
"user_dept":"110105780000",
|
||
"user_deptname":"朝阳东湖派出所",
|
||
"user_id":"421102199311130872",
|
||
"version":"1.0",
|
||
"ywfssj":"20190928014411",
|
||
"yy_xxzlpf":"86",
|
||
"yyqsqkdm":"0",
|
||
"zjbz":"0",
|
||
"zy_xxzlpf":"79",
|
||
"zyqsqkdm":"0",
|
||
"zyycjdm":"3"
|
||
}</stringProp>
|
||
<stringProp name="Argument.metadata">=</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</elementProp>
|
||
<stringProp name="HTTPSampler.domain">10.2.1.36</stringProp>
|
||
<stringProp name="HTTPSampler.port">9080</stringProp>
|
||
<stringProp name="HTTPSampler.protocol">http</stringProp>
|
||
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
||
<stringProp name="HTTPSampler.path">/Api/iris/regIris</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>
|
||
<boolProp name="HTTPSampler.image_parser">true</boolProp>
|
||
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
||
<stringProp name="HTTPSampler.implementation">Java</stringProp>
|
||
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
||
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
||
</HTTPSamplerProxy>
|
||
<hashTree>
|
||
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP信息头管理器" enabled="true">
|
||
<collectionProp name="HeaderManager.headers">
|
||
<elementProp name="Referer" elementType="Header">
|
||
<stringProp name="Header.name">Referer</stringProp>
|
||
<stringProp name="Header.value">http://${URL}:${PORT}/login.html</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Language" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Language</stringProp>
|
||
<stringProp name="Header.value">zh-CN</stringProp>
|
||
</elementProp>
|
||
<elementProp name="X-Requested-With" elementType="Header">
|
||
<stringProp name="Header.name">X-Requested-With</stringProp>
|
||
<stringProp name="Header.value">XMLHttpRequest</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Content-Type" elementType="Header">
|
||
<stringProp name="Header.name">Content-Type</stringProp>
|
||
<stringProp name="Header.value">application/json</stringProp>
|
||
</elementProp>
|
||
<elementProp name="DNT" elementType="Header">
|
||
<stringProp name="Header.name">DNT</stringProp>
|
||
<stringProp name="Header.value">1</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept-Encoding" elementType="Header">
|
||
<stringProp name="Header.name">Accept-Encoding</stringProp>
|
||
<stringProp name="Header.value">gzip, deflate</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Pragma" elementType="Header">
|
||
<stringProp name="Header.name">Pragma</stringProp>
|
||
<stringProp name="Header.value">no-cache</stringProp>
|
||
</elementProp>
|
||
<elementProp name="Accept" elementType="Header">
|
||
<stringProp name="Header.name">Accept</stringProp>
|
||
<stringProp name="Header.value">*/*</stringProp>
|
||
</elementProp>
|
||
<elementProp name="User-Agent" elementType="Header">
|
||
<stringProp name="Header.name">User-Agent</stringProp>
|
||
<stringProp name="Header.value">Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)</stringProp>
|
||
</elementProp>
|
||
</collectionProp>
|
||
</HeaderManager>
|
||
<hashTree/>
|
||
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
|
||
<collectionProp name="Asserion.test_strings">
|
||
<stringProp name="954925063">message</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>
|
||
</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>true</responseData>
|
||
<samplerData>true</samplerData>
|
||
<xml>true</xml>
|
||
<fieldNames>true</fieldNames>
|
||
<responseHeaders>true</responseHeaders>
|
||
<requestHeaders>true</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>
|