3189 lines
1000 KiB
Plaintext
3189 lines
1000 KiB
Plaintext
|
<?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="false">
|
|||
|
<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">C:/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">C:/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">C:/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">Qk02tAQAAAAAADYEAAAoAAAAgAIAAOABAAABAAgAAAAAAACwBAAAAAAAAAAAAAABAAAAAAAAAAAAAAEBAQACAgIAAwMDAAQEBAAFBQUABgYGAAcHBwAICAgACQkJAAoKCgALCwsADAwMAA0NDQAODg4ADw8PABAQEAAREREAEhISABMTEwAUFBQAFRUVABYWFgAXFxcAGBgYABkZGQAaGhoAGxsbABwcHAAdHR0AHh4eAB8fHwAgICAAISEhACIiIgAjIyMAJCQkACUlJQAmJiYAJycnACgoKAApKSkAKioqACsrKwAsLCwALS0tAC4uLgAvLy8AMDAwADExMQAyMjIAMzMzADQ0NAA1NTUANjY2ADc3NwA4ODgAOTk5ADo6OgA7OzsAPDw8AD09PQA+Pj4APz8/AEBAQABBQUEAQkJCAENDQwBEREQARUVFAEZGRgBHR0cASEhIAElJSQBKSkoAS0tLAExMTABNTU0ATk5OAE9PTwBQUFAAUVFRAFJSUgBTU1MAVFRUAFVVVQBWVlYAV1dXAFhYWABZWVkAWlpaAFtbWwBcXFwAXV1dAF5eXgBfX18AYGBgAGFhYQBiYmIAY2NjAGRkZABlZWUAZmZmAGdnZwBoaGgAaWlpAGpqagBra2sAbGxsAG1tbQBubm4Ab29vAHBwcABxcXEAcnJyAHNzcwB0dHQAdXV1AHZ2dgB3d3cAeHh4AHl5eQB6enoAe3t7AHx8fAB9fX0Afn5+AH9/fwCAgIAAgYGBAIKCggCDg4MAhISEAIWFhQCGhoYAh4eHAIiIiACJiYkAioqKAIuLiwCMjIwAjY2NAI6OjgCPj48AkJCQAJGRkQCSkpIAk5OTAJSUlACVlZUAlpaWAJeXlwCYmJgAmZmZAJqamgCbm5sAnJycAJ2dnQCenp4An5+fAKCgoAChoaEAoqKiAKOjowCkpKQApaWlAKampgCnp6cAqKioAKmpqQCqqqoAq6urAKysrACtra0Arq6uAK+vrwCwsLAAsbGxALKysgCzs7MAtLS0ALW1tQC2trYAt7e3ALi4uAC5ubkAurq6ALu7uwC8vLwAvb29AL6+vgC/v78AwMDAAMHBwQDCwsIAw8PDAMTExADFxcUAxsbGAMfHxwDIyMgAycnJAMrKygDLy8sAzMzMAM3NzQDOzs4Az8/PANDQ0ADR0dEA0tLSANPT0wDU1NQA1dXVANbW1gDX19cA2NjYANnZ2QDa2toA29vbANzc3ADd3d0A3t7eAN/f3wDg4OAA4eHhAOLi4gDj4+MA5OTkAOXl5QDm5uYA5+fnAOjo6ADp6ekA6urqAOvr6wDs7OwA7e3tAO7u7gDv7+8A8PDwAPHx8QDy8vIA8/PzAPT09AD19fUA9vb2APf39wD4+PgA+fn5APr6+gD7+/sA/Pz8AP39/QD+/v4A////AHV+eXR0dHN0dnh1eHZ3dnZ0c3Z1dnJzc3BydHJxcXN0dXVzdnp7fHx+fHp7eXh9fIGFhIGAgX9+fX6Ii5OUkY2Gg4ODhIqVmpOTko+Ni5CWl5SLh4aHio6SmZmcnpWRkpOTmpaSk5abnZ2Uk5aTkpSVlpKTko+QkpWTlpaXmJ2dnaGgmpmamZycm6KpuMS6qKu7xL67qKetqaWgnZ+hnp6cn5ycnqKnqKimqqKfnKKlo6Oin6OkqaSpsry9uLKwqKKmpqm1yMi5tLGypqKjpqqrrLC6ta6pqKiorq21w87Asq2rp6ShpKSjpamqrKmmqaWorri3sayqqKytraqrq6utrLC0ta6rqaioqa2qpqepqaqrrKuvr6iysbCuq6ysqa2rrq+3wcG/t7GwsK2urLCztLnBv7q4uri0sK2sraysqaqxv7q2vb+vraqqqbC1ubCtraalqaurqKmqqaypqaqqp6inp6ipqquprLGxtcHIvLKqpqSlq6qtucXDwbmsp6ShoKSpqrO1x93c2ebt28K6sqelo6Gfnp+foqCmqKelpqWprKeqqaino6CgoJ+en5ycnJ+hpayvta6ro6Ohn52gn5ubmZqbmJqZmpudm5yZm52gpqSgnJiYmJmXlJOUlpWWmJeUlZSVl5KSkJGRkpKRkZCPkJGNjo+PjI6NjIuLiomHh4iGiYiGiIeEg4GCgYJ/f4CAgICCgHx9fn99fXx8e3t8fHl8e3l3eXh2eHp6dXh4dXFycnBwb3Bzb3BwcW9ua2tsbGxua2tsa2tubm1vbGtramlqZmlnZWdjY2RkY2NmYmJiYGJiYV9hYWFeYGBgYWFhY2BeXl1dXl5iYGB1fnl0dHRzdHZ4dXh2d3Z2dHN2dXZyc3NwcnRycXFzdHV1c3Z6e3x8fnx6e3l4fXyBhYSBgIF/fn1+iIuTlJGNhoODg4SKlZqTk5KPjYuQlpeUi4eGh4qOkpmZnJ6VkZKTk5qWkpOWm52dlJOWk5KUlZaSk5KPkJKVk5aWl5idnZ2hoJqZmpmcnJuiqbjEuqiru8S+u6inramloJ2foZ6enJ+cnJ6ip6iopqqin5yipaOjop+jpKmkqbK8vbiysKiipqaptcjIubSxsqaio6aqq6ywurWuqaioqK6ttcPOwLKtq6ekoaSko6WpqqyppqmlqK64t7Gsqqisra2qq6urraywtLWuq6moqKmtqqanqamqq6yrr6+osrGwrqusrKmtq66vt8HBv7exsLCtrqyws7S5wb+6uLq4tLCtrK2srKmqsb+6tr2/r62qqqmwtbmwra2mpamrq6ipqqmsqamqqqeop6eoqaqrqayxsbXByLyyqqakpauqrbnFw8G5rKekoaCkqaqztcfd3Nnm7dvCurKnpaOhn56fn6Kgpqinpaalqaynqqmop6OgoKCfnp+cnJyfoaWsr7Wuq6OjoZ+doJ+bm5mam5iamZqbnZucmZudoKakoJyYmJiZl5STlJaVlpiXlJWUlZeSkpCRkZKSkZGQj5CRjY6Pj4yOjYyLi4qJh4eIhomIhoiHhIOBgoGCf3+AgICAgoB8fX5/fX18fHt7fHx5fHt5d3l4dnh6enV4eHVxcnJwcG9wc29wcHFvbmtrbGxsbmtrbGtrbm5tb2xra2ppamZpZ2VnY2NkZGNjZmJiYmBiYmFfYWFhXmBgYGFhYWNgXl5dXV5eYmBgdX55dHR0c3R2eHV4dnd2dnRzdnV2cnNzcHJ0cnFxc3R1dXN2ent8fH58ent5eH18gYWEgYCBf359foiLk5SRjYaDg4OEipWak5OSj42LkJaXlIuHhoeKjpKZmZyelZGSk5OalpKTlpudnZSTlpOSlJWWkpOSj5CSlZOWlpeYnZ2doaCamZqZnJyboqm4xLqoq7vEvruop62ppaCdn6GenpyfnJyeoqeoqKaqop+coqWjo6Kfo6SppKmyvL24srCooqamqbXIyLm0sbKmoqOmqqussLq1rqmoqKiurbXDzsCyraunpKGkpKOlqaqsqaappaiuuLexrKqorK2tqqurq62ssLS1rqupqKipraqmp6mpqqusq6+vqLKxsK6rrKyprauur7fBwb+3sbCwra6ssLO0ucG/uri6uLSwraytrKypqrG/ura9v6+tqqqpsLW5sK2tpqWpq6uoqaqprKmpqqqnqKenqKmqq6mssbG1wci8sqqmpKWrqq25xcPBuaynpKGgpKmqs7XH3dzZ5u3bwrqyp6WjoZ+en5+ioKaop6Wmpamsp6qpqKejoKCgn56fnJycn6GlrK+1rqujo6GfnaCfm5uZmpuYmpmam52bnJmbnaCmpKCcmJiYmZeUk5SWlZaYl5SVlJWXkpKQkZGSkpGRkI+QkY2Oj4+Mjo2Mi4uKiYeHiIaJiIaIh4SDgYKBgn9/gICAgIKAfH1+f319fHx7e3x8eXx7eXd5eHZ4enp1eHh1cXJycHBvcHNvcHBxb25ra2xsbG5ra2xra25ubW9sa2tqaWpmaWdlZ2NjZGRjY2ZiYmJgYmJhX2FhYV5gYGBhYWFjYF5eXV1eXmJgYHV+eXR0dHN0dnh1eHZ3dnZ0c3Z1dnJzc3BydHJxcXN0dXVzdnp7f
|
|||
|
<stringProp name="Argument.metadata">=</stringProp>
|
|||
|
</elementProp>
|
|||
|
<elementProp name="yyyy" elementType="Argument">
|
|||
|
<stringProp name="Argument.name">yyyy</stringProp>
|
|||
|
<stringProp name="Argument.value">Qk02tAQAAAAAADYEAAAoAAAAgAIAAOABAAABAAgAAAAAAACwBAAAAAAAAAAAAAABAAAAAAAAAAAAAAEBAQACAgIAAwMDAAQEBAAFBQUABgYGAAcHBwAICAgACQkJAAoKCgALCwsADAwMAA0NDQAODg4ADw8PABAQEAAREREAEhISABMTEwAUFBQAFRUVABYWFgAXFxcAGBgYABkZGQAaGhoAGxsbABwcHAAdHR0AHh4eAB8fHwAgICAAISEhACIiIgAjIyMAJCQkACUlJQAmJiYAJycnACgoKAApKSkAKioqACsrKwAsLCwALS0tAC4uLgAvLy8AMDAwADExMQAyMjIAMzMzADQ0NAA1NTUANjY2ADc3NwA4ODgAOTk5ADo6OgA7OzsAPDw8AD09PQA+Pj4APz8/AEBAQABBQUEAQkJCAENDQwBEREQARUVFAEZGRgBHR0cASEhIAElJSQBKSkoAS0tLAExMTABNTU0ATk5OAE9PTwBQUFAAUVFRAFJSUgBTU1MAVFRUAFVVVQBWVlYAV1dXAFhYWABZWVkAWlpaAFtbWwBcXFwAXV1dAF5eXgBfX18AYGBgAGFhYQBiYmIAY2NjAGRkZABlZWUAZmZmAGdnZwBoaGgAaWlpAGpqagBra2sAbGxsAG1tbQBubm4Ab29vAHBwcABxcXEAcnJyAHNzcwB0dHQAdXV1AHZ2dgB3d3cAeHh4AHl5eQB6enoAe3t7AHx8fAB9fX0Afn5+AH9/fwCAgIAAgYGBAIKCggCDg4MAhISEAIWFhQCGhoYAh4eHAIiIiACJiYkAioqKAIuLiwCMjIwAjY2NAI6OjgCPj48AkJCQAJGRkQCSkpIAk5OTAJSUlACVlZUAlpaWAJeXlwCYmJgAmZmZAJqamgCbm5sAnJycAJ2dnQCenp4An5+fAKCgoAChoaEAoqKiAKOjowCkpKQApaWlAKampgCnp6cAqKioAKmpqQCqqqoAq6urAKysrACtra0Arq6uAK+vrwCwsLAAsbGxALKysgCzs7MAtLS0ALW1tQC2trYAt7e3ALi4uAC5ubkAurq6ALu7uwC8vLwAvb29AL6+vgC/v78AwMDAAMHBwQDCwsIAw8PDAMTExADFxcUAxsbGAMfHxwDIyMgAycnJAMrKygDLy8sAzMzMAM3NzQDOzs4Az8/PANDQ0ADR0dEA0tLSANPT0wDU1NQA1dXVANbW1gDX19cA2NjYANnZ2QDa2toA29vbANzc3ADd3d0A3t7eAN/f3wDg4OAA4eHhAOLi4gDj4+MA5OTkAOXl5QDm5uYA5+fnAOjo6ADp6ekA6urqAOvr6wDs7OwA7e3tAO7u7gDv7+8A8PDwAPHx8QDy8vIA8/PzAPT09AD19fUA9vb2APf39wD4+PgA+fn5APr6+gD7+/sA/Pz8AP39/QD+/v4A////AIyJioyQjoqJjYmLi4yNjIqNj42NjpCRj5CQkJOSlZOWlZWZm56bm5qbnZiYmJmXmZeamZuZm52enp+fnJycoaCfoaCkp66usLGvra2vsbOzs6+rq6mpqqysrK+vsbS3u7u9w8C2t7i3t7i3uby8vbq7ubu+vb++wsC8w8PEysrFw8LFxsPEwsXGxsbJycfIxsnJysvL0M7PysvQz9LRztDNzdHT1dTW2NPX19bZ1dba3ODh3+Db19rb29vW1dLa3Nvd4uPh5eze4dzd3+Lo7uzm5uXr6N/g4eLf3tna3OTw9fH3+Pbt6+Hj4uXi3+rs6+re397g4t7e3eHd4uLe3d3d3drZ19na3t/c3drY19bX19bV1dnV0N7b2tfW0tPV2Nje3t3e5Ofk3+Lj4uDX19fY3eXq49nc3NnZ1tnW2+Dc1NXb3NrU09HS1tji4t7e4eDe3+Dh4tvY1c7NzMjKzMjHxsHAwsbExMbAxMrX6eXUzMTFxcLCw8TDwcG9v7u6u7/ExcPBxcXBwL29wsXLycHAwsLDxcG9vb68u7y7vsHDwbe2vba6t7i7vLq7u7q6uL/Ey8vKxcG7ure5ubm3tra6t8DR0c/Eu76/vriytba7uriztbO5uLGwsa+wsrK4tra1s7KysrG0vMvQ2NbNvru0sLOxtLrCv7y7wsa+vbq9ubi1sLO0tra3uri5t8LLxL/CvLOxsa60ta+usa6rq6+3uLm4trKvs7S2raampaWrqqipp6qrq6qmrbGyubaysbG6vLqyrqqssLOyr6qpqamnpqampaeorLzEtquzvsjKz8S0p6OhoKGgoJ6enZ6cnKGkqq2urbCxsKekoZuZmp2MiYqMkI6KiY2Ji4uMjYyKjY+NjY6QkY+QkJCTkpWTlpWVmZuem5uam52YmJiZl5mXmpmbmZudnp6fn5ycnKGgn6GgpKeurrCxr62tr7Gzs7Ovq6upqaqsrKyvr7G0t7u7vcPAtre4t7e4t7m8vL26u7m7vr2/vsLAvMPDxMrKxcPCxcbDxMLFxsbGycnHyMbJycrLy9DOz8rL0M/S0c7Qzc3R09XU1tjT19fW2dXW2tzg4d/g29fa29vb1tXS2tzb3eLj4eXs3uHc3d/i6O7s5ubl6+jf4OHi397Z2tzk8PXx9/j27evh4+Ll4t/q7Ovq3t/e4OLe3t3h3eLi3t3d3d3a2dfZ2t7f3N3a2NfW19fW1dXZ1dDe29rX1tLT1djY3t7d3uTn5N/i4+Lg19fX2N3l6uPZ3NzZ2dbZ1tvg3NTV29za1NPR0tbY4uLe3uHg3t/g4eLb2NXOzczIyszIx8bBwMLGxMTGwMTK1+nl1MzExcXCwsPEw8HBvb+7uru/xMXDwcXFwcC9vcLFy8nBwMLCw8XBvb2+vLu8u77Bw8G3tr22ure4u7y6u7u6uri/xMvLysXBu7q3ubm5t7a2urfA0dHPxLu+v764srW2u7q4s7WzubixsLGvsLKyuLa2tbOysrKxtLzL0NjWzb67tLCzsbS6wr+8u8LGvr26vbm4tbCztLa2t7q4ubfCy8S/wryzsbGutLWvrrGuq6uvt7i5uLayr7O0tq2mpqWlq6qoqaeqq6uqpq2xsrm2srGxury6sq6qrLCzsq+qqampp6ampqWnqKy8xLars77Iys/EtKejoaChoKCenp2enJyhpKqtrq2wsbCnpKGbmZqdjImKjJCOiomNiYuLjI2Mio2PjY2OkJGPkJCQk5KVk5aVlZmbnpubmpudmJiYmZeZl5qZm5mbnZ6en5+cnJyhoJ+hoKSnrq6wsa+tra+xs7Ozr6urqamqrKysr6+xtLe7u73DwLa3uLe3uLe5vLy9uru5u769v77CwLzDw8TKysXDwsXGw8TCxcbGxsnJx8jGycnKy8vQzs/Ky9DP0tHO0M3N0dPV1NbY09fX1tnV1trc4OHf4NvX2tvb29bV0trc293i4+Hl7N7h3N3f4uju7Obm5evo3+Dh4t/e2drc5PD18ff49u3r4ePi5eLf6uzr6t7f3uDi3t7d4d3i4t7d3d3d2tnX2dre39zd2tjX1tfX1tXV2dXQ3tva19bS09XY2N7e3d7k5+Tf4uPi4NfX19jd5erj2dzc2dnW2dbb4NzU1dvc2tTT0dLW2OLi3t7h4N7f4OHi29jVzs3MyMrMyMfGwcDCxsTExsDEytfp5dTMxMXFwsLDxMPBwb2/u7q7v8TFw8HFxcHAvb3CxcvJwcDCwsPFwb29vry7vLu+wcPBt7a9trq3uLu8uru7urq4v8TLy8rFwbu6t7m5ube2trq3wNHRz8S7vr++uLK1tru6uLO1s7m4sbCxr7Cysri2trWzsrKysbS8y9DY1s2+u7Sws7G0usK/vLvCxr69ur25uLWws7S2tre6uLm3wsvEv8K8s7GxrrS1r66xrqurr7e4ubi2sq+ztLatpqalpauqqKmnqqurqqatsbK5trKxsbq8urKuqqyws7Kvqqmpqaempqalp6isvMS2q7O+yMrPxLSno6GgoaCgnp6dnpycoaSqra6tsLGwp6Shm5manYyJioyQjoqJjYmLi4yNjIqNj42NjpCRj5CQkJOSlZOWlZWZm56bm
|
|||
|
<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="true">
|
|||
|
<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="true">
|
|||
|
<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="true">
|
|||
|
<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="true">
|
|||
|
<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="false">
|
|||
|
<boolProp name="ResultCollector.error_logging">false</boolProp>
|
|||
|
<objProp>
|
|||
|
<name>saveConfig</name>
|
|||
|
<value class="SampleSaveConfiguration">
|
|||
|
<time>true</time>
|
|||
|
<latency>true</latency>
|
|||
|
<timestamp>true</timestamp>
|
|||
|
<success>true</success>
|
|||
|
<label>true</label>
|
|||
|
<code>true</code>
|
|||
|
<message>true</message>
|
|||
|
<threadName>true</threadName>
|
|||
|
<dataType>true</dataType>
|
|||
|
<encoding>false</encoding>
|
|||
|
<assertions>true</assertions>
|
|||
|
<subresults>true</subresults>
|
|||
|
<responseData>false</responseData>
|
|||
|
<samplerData>false</samplerData>
|
|||
|
<xml>false</xml>
|
|||
|
<fieldNames>true</fieldNames>
|
|||
|
<responseHeaders>false</responseHeaders>
|
|||
|
<requestHeaders>false</requestHeaders>
|
|||
|
<responseDataOnError>false</responseDataOnError>
|
|||
|
<saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
|
|||
|
<assertionsResultsToSave>0</assertionsResultsToSave>
|
|||
|
<bytes>true</bytes>
|
|||
|
<sentBytes>true</sentBytes>
|
|||
|
<url>true</url>
|
|||
|
<threadCounts>true</threadCounts>
|
|||
|
<idleTime>true</idleTime>
|
|||
|
<connectTime>true</connectTime>
|
|||
|
</value>
|
|||
|
</objProp>
|
|||
|
<stringProp name="filename"></stringProp>
|
|||
|
</ResultCollector>
|
|||
|
<hashTree/>
|
|||
|
<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>
|
|||
|
<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="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">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>
|