中通服WMS@出库管理.jmx 52 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <jmeterTestPlan version="1.2" properties="5.0" jmeter="5.4.3">
  3. <hashTree>
  4. <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="中通服项目@出库管理" enabled="true">
  5. <stringProp name="TestPlan.comments"></stringProp>
  6. <boolProp name="TestPlan.functional_mode">false</boolProp>
  7. <boolProp name="TestPlan.tearDown_on_shutdown">true</boolProp>
  8. <boolProp name="TestPlan.serialize_threadgroups">false</boolProp>
  9. <elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  10. <collectionProp name="Arguments.arguments"/>
  11. </elementProp>
  12. <stringProp name="TestPlan.user_define_classpath"></stringProp>
  13. </TestPlan>
  14. <hashTree>
  15. <Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="环境变量" enabled="false">
  16. <collectionProp name="Arguments.arguments">
  17. <elementProp name="thread_count" elementType="Argument">
  18. <stringProp name="Argument.name">thread_count</stringProp>
  19. <stringProp name="Argument.value">1</stringProp>
  20. <stringProp name="Argument.metadata">=</stringProp>
  21. </elementProp>
  22. <elementProp name="server" elementType="Argument">
  23. <stringProp name="Argument.name">server</stringProp>
  24. <stringProp name="Argument.value">10.0.30.220</stringProp>
  25. <stringProp name="Argument.metadata">=</stringProp>
  26. </elementProp>
  27. <elementProp name="port" elementType="Argument">
  28. <stringProp name="Argument.name">port</stringProp>
  29. <stringProp name="Argument.value">8095</stringProp>
  30. <stringProp name="Argument.metadata">=</stringProp>
  31. </elementProp>
  32. <elementProp name="path" elementType="Argument">
  33. <stringProp name="Argument.name">path</stringProp>
  34. <stringProp name="Argument.value">/api/com/galaxis/wms</stringProp>
  35. <stringProp name="Argument.metadata">=</stringProp>
  36. </elementProp>
  37. <elementProp name="单据数量" elementType="Argument">
  38. <stringProp name="Argument.name">单据数量</stringProp>
  39. <stringProp name="Argument.value">1</stringProp>
  40. <stringProp name="Argument.metadata">=</stringProp>
  41. </elementProp>
  42. <elementProp name="条目数量" elementType="Argument">
  43. <stringProp name="Argument.name">条目数量</stringProp>
  44. <stringProp name="Argument.value">20</stringProp>
  45. <stringProp name="Argument.metadata">=</stringProp>
  46. </elementProp>
  47. <elementProp name="whId" elementType="Argument">
  48. <stringProp name="Argument.name">whId</stringProp>
  49. <stringProp name="Argument.value">1000000002</stringProp>
  50. <stringProp name="Argument.metadata">=</stringProp>
  51. </elementProp>
  52. <elementProp name="ownerId" elementType="Argument">
  53. <stringProp name="Argument.name">ownerId</stringProp>
  54. <stringProp name="Argument.value">1000</stringProp>
  55. <stringProp name="Argument.metadata">=</stringProp>
  56. </elementProp>
  57. <elementProp name="每条目上架数量因子" elementType="Argument">
  58. <stringProp name="Argument.name">每条目上架数量因子</stringProp>
  59. <stringProp name="Argument.value">0.3</stringProp>
  60. <stringProp name="Argument.metadata">=</stringProp>
  61. </elementProp>
  62. </collectionProp>
  63. </Arguments>
  64. <hashTree/>
  65. <Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="环境变量-VPN" enabled="false">
  66. <collectionProp name="Arguments.arguments">
  67. <elementProp name="thread_count" elementType="Argument">
  68. <stringProp name="Argument.name">thread_count</stringProp>
  69. <stringProp name="Argument.value">1</stringProp>
  70. <stringProp name="Argument.metadata">=</stringProp>
  71. </elementProp>
  72. <elementProp name="server" elementType="Argument">
  73. <stringProp name="Argument.name">server</stringProp>
  74. <stringProp name="Argument.value">10.0.38.88</stringProp>
  75. <stringProp name="Argument.metadata">=</stringProp>
  76. </elementProp>
  77. <elementProp name="port" elementType="Argument">
  78. <stringProp name="Argument.name">port</stringProp>
  79. <stringProp name="Argument.value">8082</stringProp>
  80. <stringProp name="Argument.metadata">=</stringProp>
  81. </elementProp>
  82. <elementProp name="path" elementType="Argument">
  83. <stringProp name="Argument.name">path</stringProp>
  84. <stringProp name="Argument.value">/api/com/galaxis/wms</stringProp>
  85. <stringProp name="Argument.metadata">=</stringProp>
  86. </elementProp>
  87. <elementProp name="单据数量" elementType="Argument">
  88. <stringProp name="Argument.name">单据数量</stringProp>
  89. <stringProp name="Argument.value">1</stringProp>
  90. <stringProp name="Argument.metadata">=</stringProp>
  91. </elementProp>
  92. <elementProp name="条目数量" elementType="Argument">
  93. <stringProp name="Argument.name">条目数量</stringProp>
  94. <stringProp name="Argument.value">2</stringProp>
  95. <stringProp name="Argument.metadata">=</stringProp>
  96. </elementProp>
  97. <elementProp name="whId" elementType="Argument">
  98. <stringProp name="Argument.name">whId</stringProp>
  99. <stringProp name="Argument.value">1000000002</stringProp>
  100. <stringProp name="Argument.metadata">=</stringProp>
  101. </elementProp>
  102. <elementProp name="ownerId" elementType="Argument">
  103. <stringProp name="Argument.name">ownerId</stringProp>
  104. <stringProp name="Argument.value">1000</stringProp>
  105. <stringProp name="Argument.metadata">=</stringProp>
  106. </elementProp>
  107. <elementProp name="每条目上架数量因子" elementType="Argument">
  108. <stringProp name="Argument.name">每条目上架数量因子</stringProp>
  109. <stringProp name="Argument.value">10.1</stringProp>
  110. <stringProp name="Argument.metadata">=</stringProp>
  111. </elementProp>
  112. </collectionProp>
  113. </Arguments>
  114. <hashTree/>
  115. <Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="环境变量-本地" enabled="true">
  116. <collectionProp name="Arguments.arguments">
  117. <elementProp name="thread_count" elementType="Argument">
  118. <stringProp name="Argument.name">thread_count</stringProp>
  119. <stringProp name="Argument.value">1</stringProp>
  120. <stringProp name="Argument.metadata">=</stringProp>
  121. </elementProp>
  122. <elementProp name="server" elementType="Argument">
  123. <stringProp name="Argument.name">server</stringProp>
  124. <stringProp name="Argument.value">117.80.113.247</stringProp>
  125. <stringProp name="Argument.metadata">=</stringProp>
  126. </elementProp>
  127. <elementProp name="port" elementType="Argument">
  128. <stringProp name="Argument.name">port</stringProp>
  129. <stringProp name="Argument.value">8025</stringProp>
  130. <stringProp name="Argument.metadata">=</stringProp>
  131. </elementProp>
  132. <elementProp name="path" elementType="Argument">
  133. <stringProp name="Argument.name">path</stringProp>
  134. <stringProp name="Argument.value">/wms_api/api/pages/</stringProp>
  135. <stringProp name="Argument.metadata">=</stringProp>
  136. </elementProp>
  137. <elementProp name="wh_id" elementType="Argument">
  138. <stringProp name="Argument.name">wh_id</stringProp>
  139. <stringProp name="Argument.value">1128290122236694528</stringProp>
  140. <stringProp name="Argument.metadata">=</stringProp>
  141. </elementProp>
  142. <elementProp name="owner_id" elementType="Argument">
  143. <stringProp name="Argument.name">owner_id</stringProp>
  144. <stringProp name="Argument.value">144763712300384326</stringProp>
  145. <stringProp name="Argument.metadata">=</stringProp>
  146. </elementProp>
  147. <elementProp name="每条目上架数量因子" elementType="Argument">
  148. <stringProp name="Argument.name">每条目上架数量因子</stringProp>
  149. <stringProp name="Argument.value">10.1</stringProp>
  150. <stringProp name="Argument.metadata">=</stringProp>
  151. </elementProp>
  152. <elementProp name="project_id" elementType="Argument">
  153. <stringProp name="Argument.name">project_id</stringProp>
  154. <stringProp name="Argument.value">1125480868270313472</stringProp>
  155. <stringProp name="Argument.desc">广东电信集约化物流项目</stringProp>
  156. <stringProp name="Argument.metadata">=</stringProp>
  157. </elementProp>
  158. <elementProp name="system_key" elementType="Argument">
  159. <stringProp name="Argument.name">system_key</stringProp>
  160. <stringProp name="Argument.value">eyJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJ5dmFuLXNlY3VyaXR5IiwiX191aWQiOiIxODQzNjc2MjcyMjAyNTUxMzAiLCJhdWQiOiJ5dmFuLSoiLCJzdWIiOiIxMzcyMDE1OTA4MiIsImxvZ2luX2lkIjoxODQzNjc2MjcyMjAyNTUxMzEsImV4cCI6MTcwOTU4MTUwMCwiaWF0IjoxNzA3MDMyNjgwLCJqdGkiOiIyODk2NTc4MjAxMTc3Mzk4MzkifQ.iyL5MjX4H503s7kh4t4UFk1yzNfew4YU4qPW3IX3vTU3zpePZa9Q4ipahAJaFRINEmbPrPtP3Ll0HHRavrWA2aQHpj_Y6rHfu25d1fl81BI545eFmNUOqxHspdl1t2XYBkzy4tWCVlDhq6BHgHQc25e-h532LwjVjorxIh5IaiZCb8Xzn-ijepHfdIVnRnVPEenV0JBs8VJucanV-DRn2AHuE_MeuG42yOBafxWL7LLjUQpkaAY75e5wlfY4PEA6jLPAMDblKjfAwLfqTfY3xMHkQUmcv_3iJFgJav99Hxr4elRRIEs5JX8H21iP8e8X_5tEtybTAJDhxC6tlf6Rrw</stringProp>
  161. <stringProp name="Argument.metadata">=</stringProp>
  162. </elementProp>
  163. </collectionProp>
  164. </Arguments>
  165. <hashTree/>
  166. <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="出库管理" enabled="true">
  167. <stringProp name="ThreadGroup.on_sample_error">stopthread</stringProp>
  168. <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
  169. <boolProp name="LoopController.continue_forever">false</boolProp>
  170. <stringProp name="LoopController.loops">1</stringProp>
  171. </elementProp>
  172. <stringProp name="ThreadGroup.num_threads">${thread_count}</stringProp>
  173. <stringProp name="ThreadGroup.ramp_time">1</stringProp>
  174. <boolProp name="ThreadGroup.scheduler">false</boolProp>
  175. <stringProp name="ThreadGroup.duration">300</stringProp>
  176. <stringProp name="ThreadGroup.delay">0</stringProp>
  177. <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
  178. </ThreadGroup>
  179. <hashTree>
  180. <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
  181. <boolProp name="ResultCollector.error_logging">false</boolProp>
  182. <objProp>
  183. <name>saveConfig</name>
  184. <value class="SampleSaveConfiguration">
  185. <time>true</time>
  186. <latency>true</latency>
  187. <timestamp>true</timestamp>
  188. <success>true</success>
  189. <label>true</label>
  190. <code>true</code>
  191. <message>true</message>
  192. <threadName>true</threadName>
  193. <dataType>true</dataType>
  194. <encoding>false</encoding>
  195. <assertions>true</assertions>
  196. <subresults>true</subresults>
  197. <responseData>false</responseData>
  198. <samplerData>false</samplerData>
  199. <xml>false</xml>
  200. <fieldNames>true</fieldNames>
  201. <responseHeaders>false</responseHeaders>
  202. <requestHeaders>false</requestHeaders>
  203. <responseDataOnError>false</responseDataOnError>
  204. <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
  205. <assertionsResultsToSave>0</assertionsResultsToSave>
  206. <bytes>true</bytes>
  207. <sentBytes>true</sentBytes>
  208. <url>true</url>
  209. <threadCounts>true</threadCounts>
  210. <idleTime>true</idleTime>
  211. <connectTime>true</connectTime>
  212. </value>
  213. </objProp>
  214. <stringProp name="filename"></stringProp>
  215. </ResultCollector>
  216. <hashTree/>
  217. <ResultCollector guiclass="RespTimeGraphVisualizer" testclass="ResultCollector" testname="Response Time Graph" enabled="true">
  218. <boolProp name="ResultCollector.error_logging">false</boolProp>
  219. <objProp>
  220. <name>saveConfig</name>
  221. <value class="SampleSaveConfiguration">
  222. <time>true</time>
  223. <latency>true</latency>
  224. <timestamp>true</timestamp>
  225. <success>true</success>
  226. <label>true</label>
  227. <code>true</code>
  228. <message>true</message>
  229. <threadName>true</threadName>
  230. <dataType>true</dataType>
  231. <encoding>false</encoding>
  232. <assertions>true</assertions>
  233. <subresults>true</subresults>
  234. <responseData>false</responseData>
  235. <samplerData>false</samplerData>
  236. <xml>false</xml>
  237. <fieldNames>true</fieldNames>
  238. <responseHeaders>false</responseHeaders>
  239. <requestHeaders>false</requestHeaders>
  240. <responseDataOnError>false</responseDataOnError>
  241. <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
  242. <assertionsResultsToSave>0</assertionsResultsToSave>
  243. <bytes>true</bytes>
  244. <sentBytes>true</sentBytes>
  245. <url>true</url>
  246. <threadCounts>true</threadCounts>
  247. <idleTime>true</idleTime>
  248. <connectTime>true</connectTime>
  249. </value>
  250. </objProp>
  251. <stringProp name="filename"></stringProp>
  252. </ResultCollector>
  253. <hashTree/>
  254. <ResultCollector guiclass="StatVisualizer" testclass="ResultCollector" testname="Aggregate Report" enabled="true">
  255. <boolProp name="ResultCollector.error_logging">false</boolProp>
  256. <objProp>
  257. <name>saveConfig</name>
  258. <value class="SampleSaveConfiguration">
  259. <time>true</time>
  260. <latency>true</latency>
  261. <timestamp>true</timestamp>
  262. <success>true</success>
  263. <label>true</label>
  264. <code>true</code>
  265. <message>true</message>
  266. <threadName>true</threadName>
  267. <dataType>true</dataType>
  268. <encoding>false</encoding>
  269. <assertions>true</assertions>
  270. <subresults>true</subresults>
  271. <responseData>false</responseData>
  272. <samplerData>false</samplerData>
  273. <xml>false</xml>
  274. <fieldNames>true</fieldNames>
  275. <responseHeaders>false</responseHeaders>
  276. <requestHeaders>false</requestHeaders>
  277. <responseDataOnError>false</responseDataOnError>
  278. <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
  279. <assertionsResultsToSave>0</assertionsResultsToSave>
  280. <bytes>true</bytes>
  281. <sentBytes>true</sentBytes>
  282. <url>true</url>
  283. <threadCounts>true</threadCounts>
  284. <idleTime>true</idleTime>
  285. <connectTime>true</connectTime>
  286. </value>
  287. </objProp>
  288. <stringProp name="filename"></stringProp>
  289. </ResultCollector>
  290. <hashTree/>
  291. <ResultCollector guiclass="SummaryReport" testclass="ResultCollector" testname="Summary Report" enabled="true">
  292. <boolProp name="ResultCollector.error_logging">false</boolProp>
  293. <objProp>
  294. <name>saveConfig</name>
  295. <value class="SampleSaveConfiguration">
  296. <time>true</time>
  297. <latency>true</latency>
  298. <timestamp>true</timestamp>
  299. <success>true</success>
  300. <label>true</label>
  301. <code>true</code>
  302. <message>true</message>
  303. <threadName>true</threadName>
  304. <dataType>true</dataType>
  305. <encoding>false</encoding>
  306. <assertions>true</assertions>
  307. <subresults>true</subresults>
  308. <responseData>false</responseData>
  309. <samplerData>false</samplerData>
  310. <xml>false</xml>
  311. <fieldNames>true</fieldNames>
  312. <responseHeaders>false</responseHeaders>
  313. <requestHeaders>false</requestHeaders>
  314. <responseDataOnError>false</responseDataOnError>
  315. <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
  316. <assertionsResultsToSave>0</assertionsResultsToSave>
  317. <bytes>true</bytes>
  318. <sentBytes>true</sentBytes>
  319. <url>true</url>
  320. <threadCounts>true</threadCounts>
  321. <idleTime>true</idleTime>
  322. <connectTime>true</connectTime>
  323. </value>
  324. </objProp>
  325. <stringProp name="filename"></stringProp>
  326. </ResultCollector>
  327. <hashTree/>
  328. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  329. <collectionProp name="HeaderManager.headers">
  330. <elementProp name="" elementType="Header">
  331. <stringProp name="Header.name">whId</stringProp>
  332. <stringProp name="Header.value">${wh_id}</stringProp>
  333. </elementProp>
  334. <elementProp name="" elementType="Header">
  335. <stringProp name="Header.name">systemkey</stringProp>
  336. <stringProp name="Header.value">${system_key}</stringProp>
  337. </elementProp>
  338. </collectionProp>
  339. </HeaderManager>
  340. <hashTree/>
  341. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="查询拣货任务" enabled="false">
  342. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  343. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  344. <collectionProp name="Arguments.arguments">
  345. <elementProp name="" elementType="HTTPArgument">
  346. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  347. <stringProp name="Argument.value">{&#xd;
  348. &quot;args&quot;: [&#xd;
  349. {&#xd;
  350. &quot;path&quot;: &quot;/pages/outbound/manage_task/ManageTask&quot;,&#xd;
  351. &quot;sqlId&quot;: &quot;queryDocSoForPick&quot;,&#xd;
  352. &quot;pagination&quot;: true,&#xd;
  353. &quot;limit&quot;: 50,&#xd;
  354. &quot;page&quot;: 1,&#xd;
  355. &quot;start&quot;: 0,&#xd;
  356. &quot;start_date&quot;: null,&#xd;
  357. &quot;end_date&quot;: null,&#xd;
  358. &quot;staff_id&quot;: null,&#xd;
  359. &quot;so_code&quot;: null,&#xd;
  360. &quot;project_id&quot;: &quot;${project_id}&quot;,&#xd;
  361. &quot;oms_logistics_no&quot;: null,&#xd;
  362. &quot;customer_order_code&quot;: null,&#xd;
  363. &quot;owner_id&quot;: null,&#xd;
  364. &quot;order_type&quot;: null,&#xd;
  365. &quot;order_biz_type&quot;: null,&#xd;
  366. &quot;customer_name&quot;: null,&#xd;
  367. &quot;urgent_type&quot;: null,&#xd;
  368. &quot;rece_contacts&quot;: null,&#xd;
  369. &quot;rece_telephone&quot;: null,&#xd;
  370. &quot;customer_id&quot;: null,&#xd;
  371. &quot;rece_address&quot;: null,&#xd;
  372. &quot;purchase_order_code&quot;: null,&#xd;
  373. &quot;wh_id&quot;: &quot;${wh_id}&quot;,&#xd;
  374. &quot;first_part_project_name&quot;: null&#xd;
  375. }&#xd;
  376. ]&#xd;
  377. }</stringProp>
  378. <stringProp name="Argument.metadata">=</stringProp>
  379. </elementProp>
  380. </collectionProp>
  381. </elementProp>
  382. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  383. <stringProp name="HTTPSampler.port">${port}</stringProp>
  384. <stringProp name="HTTPSampler.protocol"></stringProp>
  385. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  386. <stringProp name="HTTPSampler.path">/wms_api/api/com/galaxis/wms/Dev@executeSQL</stringProp>
  387. <stringProp name="HTTPSampler.method">POST</stringProp>
  388. <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
  389. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  390. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  391. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  392. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  393. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  394. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  395. </HTTPSamplerProxy>
  396. <hashTree>
  397. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  398. <stringProp name="JSON_PATH">$.success</stringProp>
  399. <stringProp name="EXPECTED_VALUE">true</stringProp>
  400. <boolProp name="JSONVALIDATION">true</boolProp>
  401. <boolProp name="EXPECT_NULL">false</boolProp>
  402. <boolProp name="INVERT">false</boolProp>
  403. <boolProp name="ISREGEX">false</boolProp>
  404. </JSONPathAssertion>
  405. <hashTree/>
  406. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="asn_list" enabled="true">
  407. <stringProp name="JSONPostProcessor.referenceNames">asn_list</stringProp>
  408. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data.[*]</stringProp>
  409. <stringProp name="JSONPostProcessor.match_numbers">-1</stringProp>
  410. </JSONPostProcessor>
  411. <hashTree/>
  412. </hashTree>
  413. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="出库单导出查询" enabled="true">
  414. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  415. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  416. <collectionProp name="Arguments.arguments">
  417. <elementProp name="" elementType="HTTPArgument">
  418. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  419. <stringProp name="Argument.value">{&#xd;
  420. &quot;args&quot;: [&#xd;
  421. {&#xd;
  422. &quot;path&quot;: &quot;/pages/query/ship_task/ShipQueryExport&quot;,&#xd;
  423. &quot;sqlId&quot;: &quot;querySoList2&quot;,&#xd;
  424. &quot;pagination&quot;: true,&#xd;
  425. &quot;limit&quot;: 50,&#xd;
  426. &quot;page&quot;: 1,&#xd;
  427. &quot;start&quot;: 0,&#xd;
  428. &quot;start_date&quot;: null,&#xd;
  429. &quot;end_date&quot;: null,&#xd;
  430. &quot;staff_id&quot;: null,&#xd;
  431. &quot;so_code&quot;: null,&#xd;
  432. &quot;project_id&quot;: &quot;${project_id}&quot;,&#xd;
  433. &quot;oms_logistics_no&quot;: null,&#xd;
  434. &quot;customer_order_code&quot;: null,&#xd;
  435. &quot;owner_id&quot;: null,&#xd;
  436. &quot;logistics_order_type&quot;: null,&#xd;
  437. &quot;order_biz_type&quot;: null,&#xd;
  438. &quot;customer_name&quot;: null,&#xd;
  439. &quot;urgent_type&quot;: null,&#xd;
  440. &quot;rece_area&quot;: null,&#xd;
  441. &quot;is_overstock&quot;: null,&#xd;
  442. &quot;customer_id&quot;: null,&#xd;
  443. &quot;is_cover&quot;: null,&#xd;
  444. &quot;rece_address&quot;: null,&#xd;
  445. &quot;purchase_order_code&quot;: null,&#xd;
  446. &quot;rece_contacts&quot;: null,&#xd;
  447. &quot;rece_telephone&quot;: null,&#xd;
  448. &quot;first_part_project_name&quot;: null,&#xd;
  449. &quot;status&quot;: null,&#xd;
  450. &quot;item_id&quot;: null,&#xd;
  451. &quot;tray_box_code&quot;: null,&#xd;
  452. &quot;upn_code&quot;: null&#xd;
  453. }&#xd;
  454. ]&#xd;
  455. }</stringProp>
  456. <stringProp name="Argument.metadata">=</stringProp>
  457. </elementProp>
  458. </collectionProp>
  459. </elementProp>
  460. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  461. <stringProp name="HTTPSampler.port">${port}</stringProp>
  462. <stringProp name="HTTPSampler.protocol"></stringProp>
  463. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  464. <stringProp name="HTTPSampler.path">/wms_api/api/com/galaxis/wms/Dev@executeSQL</stringProp>
  465. <stringProp name="HTTPSampler.method">POST</stringProp>
  466. <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
  467. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  468. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  469. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  470. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  471. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  472. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  473. </HTTPSamplerProxy>
  474. <hashTree>
  475. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  476. <stringProp name="JSON_PATH">$.success</stringProp>
  477. <stringProp name="EXPECTED_VALUE">true</stringProp>
  478. <boolProp name="JSONVALIDATION">true</boolProp>
  479. <boolProp name="EXPECT_NULL">false</boolProp>
  480. <boolProp name="INVERT">false</boolProp>
  481. <boolProp name="ISREGEX">false</boolProp>
  482. </JSONPathAssertion>
  483. <hashTree/>
  484. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="asn_list" enabled="true">
  485. <stringProp name="JSONPostProcessor.referenceNames">asn_list</stringProp>
  486. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data.[*]</stringProp>
  487. <stringProp name="JSONPostProcessor.match_numbers">-1</stringProp>
  488. </JSONPostProcessor>
  489. <hashTree/>
  490. </hashTree>
  491. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach_asn_list" enabled="false">
  492. <stringProp name="ForeachController.inputVal">asn_list</stringProp>
  493. <stringProp name="ForeachController.returnVal">asn</stringProp>
  494. <boolProp name="ForeachController.useSeparator">true</boolProp>
  495. <stringProp name="ForeachController.startIndex">0</stringProp>
  496. <stringProp name="ForeachController.endIndex">${asn_list_matchNr}</stringProp>
  497. </ForeachController>
  498. <hashTree>
  499. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="BeanShell Sampler" enabled="true">
  500. <stringProp name="BeanShellSampler.query">Object _ = com.Yvan.init(vars, log, ctx);
  501. int idx = Integer.parseInt( vars.get(&quot;__jm__ForEach_asn_list__idx&quot;));
  502. String containerCode = vars.get(&quot;asn_list_&quot; + (idx + 1));
  503. Map v = _.parseJson(_.get(&quot;asn&quot;));
  504. vars.put(&quot;asn_id&quot;, v.get(&quot;asn_id&quot;));
  505. vars.put(&quot;asn_code&quot;, v.get(&quot;asn_code&quot;));
  506. vars.put(&quot;wh_id&quot;, v.get(&quot;wh_id&quot;));
  507. vars.put(&quot;owner_id&quot;, v.get(&quot;owner_id&quot;));
  508. vars.put(&quot;project_id&quot;, v.get(&quot;project_id&quot;));
  509. vars.put(&quot;dates&quot;, v.get(&quot;dates&quot;));
  510. vars.put(&quot;order_type&quot;, v.get(&quot;order_type&quot;));
  511. vars.put(&quot;order_biz_type&quot;, v.get(&quot;order_biz_type&quot;));
  512. vars.put(&quot;box_data_type&quot;, v.get(&quot;box_data_type&quot;));
  513. vars.put(&quot;op_source&quot;, &quot;0001&quot;);
  514. vars.put(&quot;search_lock&quot;, true + &quot;&quot;);</stringProp>
  515. <stringProp name="BeanShellSampler.filename"></stringProp>
  516. <stringProp name="BeanShellSampler.parameters"></stringProp>
  517. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  518. </BeanShellSampler>
  519. <hashTree/>
  520. <IfController guiclass="IfControllerPanel" testclass="IfController" testname="If search_lock" enabled="true">
  521. <stringProp name="IfController.condition">${search_lock}</stringProp>
  522. <boolProp name="IfController.evaluateAll">false</boolProp>
  523. <boolProp name="IfController.useExpression">true</boolProp>
  524. </IfController>
  525. <hashTree>
  526. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="入库通知单@收货提交" enabled="true">
  527. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  528. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  529. <collectionProp name="Arguments.arguments">
  530. <elementProp name="" elementType="HTTPArgument">
  531. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  532. <stringProp name="Argument.value">{&#xd;
  533. &quot;args&quot;: [&#xd;
  534. {&#xd;
  535. &quot;hz&quot;: [&#xd;
  536. {&#xd;
  537. &quot;asn_id&quot;: &quot;${asn_id}&quot;, &#xd;
  538. &quot;asn_code&quot;: &quot;${asn_code}&quot;, &#xd;
  539. &quot;wh_id&quot;: &quot;${wh_id}&quot;, &#xd;
  540. &quot;owner_id&quot;: &quot;${owner_id}&quot;, &#xd;
  541. &quot;project_id&quot;: &quot;${project_id}&quot;, &#xd;
  542. &quot;dates&quot;: &quot;${dates}&quot;, &#xd;
  543. &quot;order_type&quot;: &quot;${order_type}&quot;, &#xd;
  544. &quot;order_biz_type&quot;: &quot;${order_biz_type}&quot;, &#xd;
  545. &quot;box_data_type&quot;: &quot;${box_data_type}&quot;, &#xd;
  546. &quot;op_source&quot;: &quot;${op_source}&quot;&#xd;
  547. }&#xd;
  548. ]&#xd;
  549. }&#xd;
  550. ]&#xd;
  551. }</stringProp>
  552. <stringProp name="Argument.metadata">=</stringProp>
  553. </elementProp>
  554. </collectionProp>
  555. </elementProp>
  556. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  557. <stringProp name="HTTPSampler.port">${port}</stringProp>
  558. <stringProp name="HTTPSampler.protocol"></stringProp>
  559. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  560. <stringProp name="HTTPSampler.path">${path}/inbound/order_in_notice/OrderInNotice@receiptByBill</stringProp>
  561. <stringProp name="HTTPSampler.method">POST</stringProp>
  562. <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
  563. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  564. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  565. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  566. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  567. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  568. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  569. </HTTPSamplerProxy>
  570. <hashTree>
  571. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="asn_in_detail" enabled="true">
  572. <stringProp name="JSONPostProcessor.referenceNames">asn_in_detail</stringProp>
  573. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data</stringProp>
  574. <stringProp name="JSONPostProcessor.match_numbers"></stringProp>
  575. </JSONPostProcessor>
  576. <hashTree/>
  577. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  578. <stringProp name="JSON_PATH">$.success</stringProp>
  579. <stringProp name="EXPECTED_VALUE">true</stringProp>
  580. <boolProp name="JSONVALIDATION">true</boolProp>
  581. <boolProp name="EXPECT_NULL">false</boolProp>
  582. <boolProp name="INVERT">false</boolProp>
  583. <boolProp name="ISREGEX">false</boolProp>
  584. </JSONPathAssertion>
  585. <hashTree/>
  586. </hashTree>
  587. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="查询周转箱" enabled="true">
  588. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  589. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  590. <collectionProp name="Arguments.arguments">
  591. <elementProp name="" elementType="HTTPArgument">
  592. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  593. <stringProp name="Argument.value">{&#xd;
  594. &quot;args&quot;: [&#xd;
  595. {&#xd;
  596. &quot;type&quot;: 1,&#xd;
  597. &quot;num&quot;: 1&#xd;
  598. }&#xd;
  599. ]&#xd;
  600. }</stringProp>
  601. <stringProp name="Argument.metadata">=</stringProp>
  602. </elementProp>
  603. </collectionProp>
  604. </elementProp>
  605. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  606. <stringProp name="HTTPSampler.port">${port}</stringProp>
  607. <stringProp name="HTTPSampler.protocol">http</stringProp>
  608. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  609. <stringProp name="HTTPSampler.path">${path}/test/Test1@getContainer2</stringProp>
  610. <stringProp name="HTTPSampler.method">POST</stringProp>
  611. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  612. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  613. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  614. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  615. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  616. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  617. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  618. </HTTPSamplerProxy>
  619. <hashTree>
  620. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="container_code" enabled="true">
  621. <stringProp name="JSONPostProcessor.referenceNames">container_code</stringProp>
  622. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data[0].container_code</stringProp>
  623. <stringProp name="JSONPostProcessor.match_numbers"></stringProp>
  624. </JSONPostProcessor>
  625. <hashTree/>
  626. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  627. <stringProp name="JSON_PATH">$.success</stringProp>
  628. <stringProp name="EXPECTED_VALUE">true</stringProp>
  629. <boolProp name="JSONVALIDATION">true</boolProp>
  630. <boolProp name="EXPECT_NULL">false</boolProp>
  631. <boolProp name="INVERT">false</boolProp>
  632. <boolProp name="ISREGEX">false</boolProp>
  633. </JSONPathAssertion>
  634. <hashTree/>
  635. </hashTree>
  636. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="BeanShell Sampler" enabled="true">
  637. <stringProp name="BeanShellSampler.query">Object _ = com.Yvan.init(vars, log, ctx);
  638. Map v = _.parseJson(_.get(&quot;asn_in_detail&quot;));
  639. v.put(&quot;surplus_qty&quot;, v.get(&quot;read_surplus_qty&quot;));
  640. v.put(&quot;quality&quot;, 2);
  641. v.put(&quot;barcode&quot;, vars.get(&quot;container_code&quot;));
  642. vars.put(&quot;mx&quot;, _.toJson(v));</stringProp>
  643. <stringProp name="BeanShellSampler.filename"></stringProp>
  644. <stringProp name="BeanShellSampler.parameters"></stringProp>
  645. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  646. </BeanShellSampler>
  647. <hashTree/>
  648. <DebugSampler guiclass="TestBeanGUI" testclass="DebugSampler" testname="Debug Sampler" enabled="true">
  649. <boolProp name="displayJMeterProperties">false</boolProp>
  650. <boolProp name="displayJMeterVariables">true</boolProp>
  651. <boolProp name="displaySystemProperties">false</boolProp>
  652. </DebugSampler>
  653. <hashTree/>
  654. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="入库收货@确认" enabled="true">
  655. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  656. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  657. <collectionProp name="Arguments.arguments">
  658. <elementProp name="" elementType="HTTPArgument">
  659. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  660. <stringProp name="Argument.value">{&#xd;
  661. &quot;args&quot;: [&#xd;
  662. ${mx}&#xd;
  663. ]&#xd;
  664. }</stringProp>
  665. <stringProp name="Argument.metadata">=</stringProp>
  666. </elementProp>
  667. </collectionProp>
  668. </elementProp>
  669. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  670. <stringProp name="HTTPSampler.port">${port}</stringProp>
  671. <stringProp name="HTTPSampler.protocol">http</stringProp>
  672. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  673. <stringProp name="HTTPSampler.path">${path}/inbound/order_in/PdaOrderIn@confirmOrderIn</stringProp>
  674. <stringProp name="HTTPSampler.method">POST</stringProp>
  675. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  676. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  677. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  678. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  679. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  680. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  681. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  682. </HTTPSamplerProxy>
  683. <hashTree>
  684. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="container_code_list" enabled="true">
  685. <stringProp name="JSONPostProcessor.referenceNames">container_code_list</stringProp>
  686. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data..container_code</stringProp>
  687. <stringProp name="JSONPostProcessor.match_numbers">-1</stringProp>
  688. </JSONPostProcessor>
  689. <hashTree/>
  690. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  691. <stringProp name="JSON_PATH">$.success</stringProp>
  692. <stringProp name="EXPECTED_VALUE">true</stringProp>
  693. <boolProp name="JSONVALIDATION">true</boolProp>
  694. <boolProp name="EXPECT_NULL">false</boolProp>
  695. <boolProp name="INVERT">false</boolProp>
  696. <boolProp name="ISREGEX">false</boolProp>
  697. </JSONPathAssertion>
  698. <hashTree/>
  699. </hashTree>
  700. </hashTree>
  701. </hashTree>
  702. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="入库验收@查询" enabled="false">
  703. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  704. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  705. <collectionProp name="Arguments.arguments">
  706. <elementProp name="" elementType="HTTPArgument">
  707. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  708. <stringProp name="Argument.value">{&#xd;
  709. &quot;args&quot; : [&#xd;
  710. {&#xd;
  711. &quot;page&quot; : 1,&#xd;
  712. &quot;start&quot; : 0,&#xd;
  713. &quot;limit&quot; : 10000,&#xd;
  714. &quot;item_code&quot;: &quot;N/A&quot;,&#xd;
  715. &quot;dirty&quot; : true&#xd;
  716. }&#xd;
  717. ]&#xd;
  718. }</stringProp>
  719. <stringProp name="Argument.metadata">=</stringProp>
  720. </elementProp>
  721. </collectionProp>
  722. </elementProp>
  723. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  724. <stringProp name="HTTPSampler.port">${port}</stringProp>
  725. <stringProp name="HTTPSampler.protocol">http</stringProp>
  726. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  727. <stringProp name="HTTPSampler.path">${path}/inbound/order_in_check/PDAOrderInCheck@pdaQueryOrderDetails</stringProp>
  728. <stringProp name="HTTPSampler.method">POST</stringProp>
  729. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  730. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  731. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  732. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  733. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  734. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  735. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  736. </HTTPSamplerProxy>
  737. <hashTree>
  738. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="ys_list" enabled="true">
  739. <stringProp name="JSONPostProcessor.referenceNames">ys_list</stringProp>
  740. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data.[*]</stringProp>
  741. <stringProp name="JSONPostProcessor.match_numbers">-1</stringProp>
  742. </JSONPostProcessor>
  743. <hashTree/>
  744. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  745. <stringProp name="JSON_PATH">$.success</stringProp>
  746. <stringProp name="EXPECTED_VALUE">true</stringProp>
  747. <boolProp name="JSONVALIDATION">true</boolProp>
  748. <boolProp name="EXPECT_NULL">false</boolProp>
  749. <boolProp name="INVERT">false</boolProp>
  750. <boolProp name="ISREGEX">false</boolProp>
  751. </JSONPathAssertion>
  752. <hashTree/>
  753. </hashTree>
  754. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach_ys_list" enabled="false">
  755. <stringProp name="ForeachController.inputVal">ys_list</stringProp>
  756. <stringProp name="ForeachController.returnVal">ys</stringProp>
  757. <boolProp name="ForeachController.useSeparator">true</boolProp>
  758. <stringProp name="ForeachController.startIndex">0</stringProp>
  759. <stringProp name="ForeachController.endIndex">${ys_list_matchNr}</stringProp>
  760. </ForeachController>
  761. <hashTree>
  762. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="BeanShell Sampler" enabled="true">
  763. <stringProp name="BeanShellSampler.query">Object _ = com.Yvan.init(vars, log, ctx);
  764. int idx = Integer.parseInt( vars.get(&quot;__jm__ForEach_ys_list__idx&quot;));
  765. vars.put(&quot;mx&quot;, _.get(&quot;ys&quot;));</stringProp>
  766. <stringProp name="BeanShellSampler.filename"></stringProp>
  767. <stringProp name="BeanShellSampler.parameters"></stringProp>
  768. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  769. </BeanShellSampler>
  770. <hashTree/>
  771. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="入库验收@确认" enabled="true">
  772. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  773. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  774. <collectionProp name="Arguments.arguments">
  775. <elementProp name="" elementType="HTTPArgument">
  776. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  777. <stringProp name="Argument.value">{&#xd;
  778. &quot;args&quot;: [&#xd;
  779. ${mx}&#xd;
  780. ]&#xd;
  781. }</stringProp>
  782. <stringProp name="Argument.metadata">=</stringProp>
  783. </elementProp>
  784. </collectionProp>
  785. </elementProp>
  786. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  787. <stringProp name="HTTPSampler.port">${port}</stringProp>
  788. <stringProp name="HTTPSampler.protocol">http</stringProp>
  789. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  790. <stringProp name="HTTPSampler.path">${path}/inbound/order_in_check/PDAOrderInCheck@checkConfirm</stringProp>
  791. <stringProp name="HTTPSampler.method">POST</stringProp>
  792. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  793. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  794. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  795. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  796. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  797. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  798. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  799. </HTTPSamplerProxy>
  800. <hashTree>
  801. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  802. <stringProp name="JSON_PATH">$.success</stringProp>
  803. <stringProp name="EXPECTED_VALUE">true</stringProp>
  804. <boolProp name="JSONVALIDATION">true</boolProp>
  805. <boolProp name="EXPECT_NULL">false</boolProp>
  806. <boolProp name="INVERT">false</boolProp>
  807. <boolProp name="ISREGEX">false</boolProp>
  808. </JSONPathAssertion>
  809. <hashTree/>
  810. </hashTree>
  811. </hashTree>
  812. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="入库上架@查询" enabled="false">
  813. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  814. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  815. <collectionProp name="Arguments.arguments">
  816. <elementProp name="" elementType="HTTPArgument">
  817. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  818. <stringProp name="Argument.value">{&#xd;
  819. &quot;args&quot; : [&#xd;
  820. {&#xd;
  821. &quot;page&quot;:1,&#xd;
  822. &quot;start&quot;:0,&#xd;
  823. &quot;limit&quot;:10000,&#xd;
  824. &quot;approval_no&quot; : &quot;&quot;,&#xd;
  825. &quot;item_code&quot; : &quot;N/A&quot;&#xd;
  826. }&#xd;
  827. ]&#xd;
  828. }</stringProp>
  829. <stringProp name="Argument.metadata">=</stringProp>
  830. </elementProp>
  831. </collectionProp>
  832. </elementProp>
  833. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  834. <stringProp name="HTTPSampler.port">${port}</stringProp>
  835. <stringProp name="HTTPSampler.protocol">http</stringProp>
  836. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  837. <stringProp name="HTTPSampler.path">${path}/inbound/order_in_put/PDAOrderInPut@queryOrderDetails</stringProp>
  838. <stringProp name="HTTPSampler.method">POST</stringProp>
  839. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  840. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  841. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  842. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  843. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  844. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  845. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  846. </HTTPSamplerProxy>
  847. <hashTree>
  848. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="sj_list" enabled="true">
  849. <stringProp name="JSONPostProcessor.referenceNames">sj_list</stringProp>
  850. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data.[*]</stringProp>
  851. <stringProp name="JSONPostProcessor.match_numbers">-1</stringProp>
  852. </JSONPostProcessor>
  853. <hashTree/>
  854. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  855. <stringProp name="JSON_PATH">$.success</stringProp>
  856. <stringProp name="EXPECTED_VALUE">true</stringProp>
  857. <boolProp name="JSONVALIDATION">true</boolProp>
  858. <boolProp name="EXPECT_NULL">false</boolProp>
  859. <boolProp name="INVERT">false</boolProp>
  860. <boolProp name="ISREGEX">false</boolProp>
  861. </JSONPathAssertion>
  862. <hashTree/>
  863. </hashTree>
  864. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach_sj_list" enabled="false">
  865. <stringProp name="ForeachController.inputVal">sj_list</stringProp>
  866. <stringProp name="ForeachController.returnVal">sj</stringProp>
  867. <boolProp name="ForeachController.useSeparator">true</boolProp>
  868. <stringProp name="ForeachController.startIndex">0</stringProp>
  869. <stringProp name="ForeachController.endIndex">${sj_list_matchNr}</stringProp>
  870. </ForeachController>
  871. <hashTree>
  872. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="BeanShell Sampler" enabled="true">
  873. <stringProp name="BeanShellSampler.query">Object _ = com.Yvan.init(vars, log, ctx);
  874. int idx = Integer.parseInt( vars.get(&quot;__jm__ForEach_sj_list__idx&quot;));
  875. vars.put(&quot;mx&quot;, _.get(&quot;sj&quot;));</stringProp>
  876. <stringProp name="BeanShellSampler.filename"></stringProp>
  877. <stringProp name="BeanShellSampler.parameters"></stringProp>
  878. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  879. </BeanShellSampler>
  880. <hashTree/>
  881. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="入库上架@确认" enabled="true">
  882. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  883. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  884. <collectionProp name="Arguments.arguments">
  885. <elementProp name="" elementType="HTTPArgument">
  886. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  887. <stringProp name="Argument.value">{&#xd;
  888. &quot;args&quot;: [&#xd;
  889. ${mx}&#xd;
  890. ]&#xd;
  891. }</stringProp>
  892. <stringProp name="Argument.metadata">=</stringProp>
  893. </elementProp>
  894. </collectionProp>
  895. </elementProp>
  896. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  897. <stringProp name="HTTPSampler.port">${port}</stringProp>
  898. <stringProp name="HTTPSampler.protocol">http</stringProp>
  899. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  900. <stringProp name="HTTPSampler.path">${path}/inbound/order_in_put/PDAOrderInPut@putConfirm</stringProp>
  901. <stringProp name="HTTPSampler.method">POST</stringProp>
  902. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  903. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  904. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  905. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  906. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  907. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  908. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  909. </HTTPSamplerProxy>
  910. <hashTree>
  911. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  912. <stringProp name="JSON_PATH">$.success</stringProp>
  913. <stringProp name="EXPECTED_VALUE">true</stringProp>
  914. <boolProp name="JSONVALIDATION">true</boolProp>
  915. <boolProp name="EXPECT_NULL">false</boolProp>
  916. <boolProp name="INVERT">false</boolProp>
  917. <boolProp name="ISREGEX">false</boolProp>
  918. </JSONPathAssertion>
  919. <hashTree/>
  920. </hashTree>
  921. </hashTree>
  922. <TestAction guiclass="TestActionGui" testclass="TestAction" testname="Think Time" enabled="false">
  923. <intProp name="ActionProcessor.action">1</intProp>
  924. <intProp name="ActionProcessor.target">0</intProp>
  925. <stringProp name="ActionProcessor.duration">30000</stringProp>
  926. </TestAction>
  927. <hashTree/>
  928. </hashTree>
  929. </hashTree>
  930. </hashTree>
  931. </jmeterTestPlan>