中通服WMS@下发接口_delete.jmx 51 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915
  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="中通服WMS@入库订单下传接口" 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">100</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">127.0.0.1</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">8084</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">143323928801575210</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">143322427777785085</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.eyJpc3MiOiJ5dmFuLXNlY3VyaXR5IiwiX191aWQiOiIzMTUwNzI4MTM1MDc1NDMwNDUiLCJhdWQiOiJ5dmFuLSoiLCJzdWIiOiJhZG1pbiIsImxvZ2luX2lkIjozMTYzNTczNDM4MTE5OTM2MDksImV4cCI6MTcwODgwMzkwMCwiaWF0IjoxNzA2MjM3MzI3LCJqdGkiOiIyODI5ODkwODMzMDIwNDA2NDQifQ.HX0XMtHBTdAx_PAqNiMUfIDmhu2qrrIgI-OR15LrgGA2ipfhNvOgzIv3aXks5GeqcTiiKBzQcBxR-kUJzZzG8lY5tIkACOKmkhZxplNNEROjOH0jixXbaP-llO4Q9NF1AJHwJEPJjrcBHkwCiWDWXDA-TmTNIVuxBwcY3LKaGbagkMvqpHI5G2GpmKzpygcn7OzXftrdIMnlWWmO_ngIo9FwIfFCGLpn7rGjT1nlWa2rOSv1DLM-n7kv26EyWZXPp5jarc2euJ2oxeLvXhVPm6rRLM5oVTLVgNytDqzwPNhZ-qZzfig8N6EjlSqcsK1cj6UufSIdrgelqqXYvJ57yw</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. <intProp name="LoopController.loops">-1</intProp>
  171. </elementProp>
  172. <stringProp name="ThreadGroup.num_threads">${thread_count}</stringProp>
  173. <stringProp name="ThreadGroup.ramp_time">1</stringProp>
  174. <boolProp name="ThreadGroup.scheduler">true</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. <elementProp name="sequence" elementType="Header">
  339. <stringProp name="Header.name">sequence</stringProp>
  340. <stringProp name="Header.value">ELOw_it2_a1VylqZaK1jg,</stringProp>
  341. </elementProp>
  342. <elementProp name="content-length" elementType="Header">
  343. <stringProp name="Header.name">content-length</stringProp>
  344. <stringProp name="Header.value">2202,</stringProp>
  345. </elementProp>
  346. <elementProp name="accept-language" elementType="Header">
  347. <stringProp name="Header.name">accept-language</stringProp>
  348. <stringProp name="Header.value">zh-CN,zh;q=0.8,</stringProp>
  349. </elementProp>
  350. <elementProp name="host" elementType="Header">
  351. <stringProp name="Header.name">host</stringProp>
  352. <stringProp name="Header.value">wms-api-test.wms-test:8080,</stringProp>
  353. </elementProp>
  354. <elementProp name="content-type" elementType="Header">
  355. <stringProp name="Header.name">content-type</stringProp>
  356. <stringProp name="Header.value">application/json,</stringProp>
  357. </elementProp>
  358. <elementProp name="connection" elementType="Header">
  359. <stringProp name="Header.name">connection</stringProp>
  360. <stringProp name="Header.value">keep-alive,</stringProp>
  361. </elementProp>
  362. <elementProp name="cache-control" elementType="Header">
  363. <stringProp name="Header.name">cache-control</stringProp>
  364. <stringProp name="Header.value">no-cache,</stringProp>
  365. </elementProp>
  366. <elementProp name="accept-encoding" elementType="Header">
  367. <stringProp name="Header.name">accept-encoding</stringProp>
  368. <stringProp name="Header.value">gzip, deflate,</stringProp>
  369. </elementProp>
  370. <elementProp name="pragma" elementType="Header">
  371. <stringProp name="Header.name">pragma</stringProp>
  372. <stringProp name="Header.value">no-cache,</stringProp>
  373. </elementProp>
  374. <elementProp name="accept" elementType="Header">
  375. <stringProp name="Header.name">accept</stringProp>
  376. <stringProp name="Header.value">application/json,</stringProp>
  377. </elementProp>
  378. <elementProp name="user-agent" elementType="Header">
  379. <stringProp name="Header.name">user-agent</stringProp>
  380. <stringProp name="Header.value">Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36 Hutool,</stringProp>
  381. </elementProp>
  382. <elementProp name="token" elementType="Header">
  383. <stringProp name="Header.name">token</stringProp>
  384. <stringProp name="Header.value">a9e8fac1b5b1ef5559bc0053be05310b</stringProp>
  385. </elementProp>
  386. </collectionProp>
  387. </HeaderManager>
  388. <hashTree/>
  389. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="入库订单下传接口" enabled="true">
  390. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  391. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  392. <collectionProp name="Arguments.arguments">
  393. <elementProp name="" elementType="HTTPArgument">
  394. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  395. <stringProp name="Argument.value">{&#xd;
  396. &quot;args&quot;: [&#xd;
  397. {&#xd;
  398. &quot;path&quot;: &quot;/pages/query/in_receipt/QueryReceiptExport&quot;,&#xd;
  399. &quot;sqlId&quot;: &quot;queryReceipt2&quot;,&#xd;
  400. &quot;pagination&quot;: true,&#xd;
  401. &quot;limit&quot;: 50,&#xd;
  402. &quot;page&quot;: 1,&#xd;
  403. &quot;start&quot;: 0,&#xd;
  404. &quot;wh_id&quot;: &quot;${wh_id}&quot;,&#xd;
  405. &quot;receipt_code&quot;: null,&#xd;
  406. &quot;start_date&quot;: null,&#xd;
  407. &quot;end_date&quot;: null,&#xd;
  408. &quot;owner_id&quot;: &quot;${owner_id}&quot;,&#xd;
  409. &quot;project_id&quot;: &quot;${project_id}&quot;,&#xd;
  410. &quot;priority&quot;: null,&#xd;
  411. &quot;is_overstock&quot;: null,&#xd;
  412. &quot;order_type&quot;: null,&#xd;
  413. &quot;asn_code&quot;: null,&#xd;
  414. &quot;inside_order_no&quot;: null,&#xd;
  415. &quot;purchase_order_code&quot;: null,&#xd;
  416. &quot;delivery_notice_code&quot;: null,&#xd;
  417. &quot;customer_order_code&quot;: null,&#xd;
  418. &quot;order_biz_type&quot;: null,&#xd;
  419. &quot;logistics_order_type&quot;: null,&#xd;
  420. &quot;receipt_status&quot;: null,&#xd;
  421. &quot;oms_logistics_no&quot;: null,&#xd;
  422. &quot;first_part_project_manager&quot;: null,&#xd;
  423. &quot;first_part_project_code&quot;: null,&#xd;
  424. &quot;first_part_project_name&quot;: null,&#xd;
  425. &quot;box_data_type&quot;: null,&#xd;
  426. &quot;customer_id&quot;: null,&#xd;
  427. &quot;expect_arrival_date&quot;: null,&#xd;
  428. &quot;supplier_name&quot;: null,&#xd;
  429. &quot;item_id&quot;: null,&#xd;
  430. &quot;tray_box_code&quot;: null,&#xd;
  431. &quot;upn_code&quot;: null&#xd;
  432. }&#xd;
  433. ]&#xd;
  434. }</stringProp>
  435. <stringProp name="Argument.metadata">=</stringProp>
  436. </elementProp>
  437. </collectionProp>
  438. </elementProp>
  439. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  440. <stringProp name="HTTPSampler.port">${port}</stringProp>
  441. <stringProp name="HTTPSampler.protocol"></stringProp>
  442. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  443. <stringProp name="HTTPSampler.path">/docInsert/asnInsert</stringProp>
  444. <stringProp name="HTTPSampler.method">POST</stringProp>
  445. <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
  446. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  447. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  448. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  449. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  450. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  451. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  452. </HTTPSamplerProxy>
  453. <hashTree>
  454. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  455. <stringProp name="JSON_PATH">$.success</stringProp>
  456. <stringProp name="EXPECTED_VALUE">true</stringProp>
  457. <boolProp name="JSONVALIDATION">true</boolProp>
  458. <boolProp name="EXPECT_NULL">false</boolProp>
  459. <boolProp name="INVERT">false</boolProp>
  460. <boolProp name="ISREGEX">false</boolProp>
  461. </JSONPathAssertion>
  462. <hashTree/>
  463. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="asn_list" enabled="true">
  464. <stringProp name="JSONPostProcessor.referenceNames">asn_list</stringProp>
  465. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data.[*]</stringProp>
  466. <stringProp name="JSONPostProcessor.match_numbers">-1</stringProp>
  467. </JSONPostProcessor>
  468. <hashTree/>
  469. </hashTree>
  470. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach_asn_list" enabled="false">
  471. <stringProp name="ForeachController.inputVal">asn_list</stringProp>
  472. <stringProp name="ForeachController.returnVal">asn</stringProp>
  473. <boolProp name="ForeachController.useSeparator">true</boolProp>
  474. <stringProp name="ForeachController.startIndex">0</stringProp>
  475. <stringProp name="ForeachController.endIndex">${asn_list_matchNr}</stringProp>
  476. </ForeachController>
  477. <hashTree>
  478. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="BeanShell Sampler" enabled="true">
  479. <stringProp name="BeanShellSampler.query">Object _ = com.Yvan.init(vars, log, ctx);
  480. int idx = Integer.parseInt( vars.get(&quot;__jm__ForEach_asn_list__idx&quot;));
  481. String containerCode = vars.get(&quot;asn_list_&quot; + (idx + 1));
  482. Map v = _.parseJson(_.get(&quot;asn&quot;));
  483. vars.put(&quot;asn_id&quot;, v.get(&quot;asn_id&quot;));
  484. vars.put(&quot;asn_code&quot;, v.get(&quot;asn_code&quot;));
  485. vars.put(&quot;wh_id&quot;, v.get(&quot;wh_id&quot;));
  486. vars.put(&quot;owner_id&quot;, v.get(&quot;owner_id&quot;));
  487. vars.put(&quot;project_id&quot;, v.get(&quot;project_id&quot;));
  488. vars.put(&quot;dates&quot;, v.get(&quot;dates&quot;));
  489. vars.put(&quot;order_type&quot;, v.get(&quot;order_type&quot;));
  490. vars.put(&quot;order_biz_type&quot;, v.get(&quot;order_biz_type&quot;));
  491. vars.put(&quot;box_data_type&quot;, v.get(&quot;box_data_type&quot;));
  492. vars.put(&quot;op_source&quot;, &quot;0001&quot;);
  493. vars.put(&quot;search_lock&quot;, true + &quot;&quot;);</stringProp>
  494. <stringProp name="BeanShellSampler.filename"></stringProp>
  495. <stringProp name="BeanShellSampler.parameters"></stringProp>
  496. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  497. </BeanShellSampler>
  498. <hashTree/>
  499. <IfController guiclass="IfControllerPanel" testclass="IfController" testname="If search_lock" enabled="true">
  500. <stringProp name="IfController.condition">${search_lock}</stringProp>
  501. <boolProp name="IfController.evaluateAll">false</boolProp>
  502. <boolProp name="IfController.useExpression">true</boolProp>
  503. </IfController>
  504. <hashTree>
  505. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="入库通知单@收货提交" enabled="true">
  506. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  507. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  508. <collectionProp name="Arguments.arguments">
  509. <elementProp name="" elementType="HTTPArgument">
  510. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  511. <stringProp name="Argument.value">{&#xd;
  512. &quot;args&quot;: [&#xd;
  513. {&#xd;
  514. &quot;hz&quot;: [&#xd;
  515. {&#xd;
  516. &quot;asn_id&quot;: &quot;${asn_id}&quot;, &#xd;
  517. &quot;asn_code&quot;: &quot;${asn_code}&quot;, &#xd;
  518. &quot;wh_id&quot;: &quot;${wh_id}&quot;, &#xd;
  519. &quot;owner_id&quot;: &quot;${owner_id}&quot;, &#xd;
  520. &quot;project_id&quot;: &quot;${project_id}&quot;, &#xd;
  521. &quot;dates&quot;: &quot;${dates}&quot;, &#xd;
  522. &quot;order_type&quot;: &quot;${order_type}&quot;, &#xd;
  523. &quot;order_biz_type&quot;: &quot;${order_biz_type}&quot;, &#xd;
  524. &quot;box_data_type&quot;: &quot;${box_data_type}&quot;, &#xd;
  525. &quot;op_source&quot;: &quot;${op_source}&quot;&#xd;
  526. }&#xd;
  527. ]&#xd;
  528. }&#xd;
  529. ]&#xd;
  530. }</stringProp>
  531. <stringProp name="Argument.metadata">=</stringProp>
  532. </elementProp>
  533. </collectionProp>
  534. </elementProp>
  535. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  536. <stringProp name="HTTPSampler.port">${port}</stringProp>
  537. <stringProp name="HTTPSampler.protocol"></stringProp>
  538. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  539. <stringProp name="HTTPSampler.path">${path}/inbound/order_in_notice/OrderInNotice@receiptByBill</stringProp>
  540. <stringProp name="HTTPSampler.method">POST</stringProp>
  541. <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
  542. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  543. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  544. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  545. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  546. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  547. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  548. </HTTPSamplerProxy>
  549. <hashTree>
  550. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="asn_in_detail" enabled="true">
  551. <stringProp name="JSONPostProcessor.referenceNames">asn_in_detail</stringProp>
  552. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data</stringProp>
  553. <stringProp name="JSONPostProcessor.match_numbers"></stringProp>
  554. </JSONPostProcessor>
  555. <hashTree/>
  556. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  557. <stringProp name="JSON_PATH">$.success</stringProp>
  558. <stringProp name="EXPECTED_VALUE">true</stringProp>
  559. <boolProp name="JSONVALIDATION">true</boolProp>
  560. <boolProp name="EXPECT_NULL">false</boolProp>
  561. <boolProp name="INVERT">false</boolProp>
  562. <boolProp name="ISREGEX">false</boolProp>
  563. </JSONPathAssertion>
  564. <hashTree/>
  565. </hashTree>
  566. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="查询周转箱" enabled="true">
  567. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  568. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  569. <collectionProp name="Arguments.arguments">
  570. <elementProp name="" elementType="HTTPArgument">
  571. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  572. <stringProp name="Argument.value">{&#xd;
  573. &quot;args&quot;: [&#xd;
  574. {&#xd;
  575. &quot;type&quot;: 1,&#xd;
  576. &quot;num&quot;: 1&#xd;
  577. }&#xd;
  578. ]&#xd;
  579. }</stringProp>
  580. <stringProp name="Argument.metadata">=</stringProp>
  581. </elementProp>
  582. </collectionProp>
  583. </elementProp>
  584. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  585. <stringProp name="HTTPSampler.port">${port}</stringProp>
  586. <stringProp name="HTTPSampler.protocol">http</stringProp>
  587. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  588. <stringProp name="HTTPSampler.path">${path}/test/Test1@getContainer2</stringProp>
  589. <stringProp name="HTTPSampler.method">POST</stringProp>
  590. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  591. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  592. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  593. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  594. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  595. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  596. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  597. </HTTPSamplerProxy>
  598. <hashTree>
  599. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="container_code" enabled="true">
  600. <stringProp name="JSONPostProcessor.referenceNames">container_code</stringProp>
  601. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data[0].container_code</stringProp>
  602. <stringProp name="JSONPostProcessor.match_numbers"></stringProp>
  603. </JSONPostProcessor>
  604. <hashTree/>
  605. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  606. <stringProp name="JSON_PATH">$.success</stringProp>
  607. <stringProp name="EXPECTED_VALUE">true</stringProp>
  608. <boolProp name="JSONVALIDATION">true</boolProp>
  609. <boolProp name="EXPECT_NULL">false</boolProp>
  610. <boolProp name="INVERT">false</boolProp>
  611. <boolProp name="ISREGEX">false</boolProp>
  612. </JSONPathAssertion>
  613. <hashTree/>
  614. </hashTree>
  615. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="BeanShell Sampler" enabled="true">
  616. <stringProp name="BeanShellSampler.query">Object _ = com.Yvan.init(vars, log, ctx);
  617. Map v = _.parseJson(_.get(&quot;asn_in_detail&quot;));
  618. v.put(&quot;surplus_qty&quot;, v.get(&quot;read_surplus_qty&quot;));
  619. v.put(&quot;quality&quot;, 2);
  620. v.put(&quot;barcode&quot;, vars.get(&quot;container_code&quot;));
  621. vars.put(&quot;mx&quot;, _.toJson(v));</stringProp>
  622. <stringProp name="BeanShellSampler.filename"></stringProp>
  623. <stringProp name="BeanShellSampler.parameters"></stringProp>
  624. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  625. </BeanShellSampler>
  626. <hashTree/>
  627. <DebugSampler guiclass="TestBeanGUI" testclass="DebugSampler" testname="Debug Sampler" enabled="true">
  628. <boolProp name="displayJMeterProperties">false</boolProp>
  629. <boolProp name="displayJMeterVariables">true</boolProp>
  630. <boolProp name="displaySystemProperties">false</boolProp>
  631. </DebugSampler>
  632. <hashTree/>
  633. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="入库收货@确认" enabled="true">
  634. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  635. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  636. <collectionProp name="Arguments.arguments">
  637. <elementProp name="" elementType="HTTPArgument">
  638. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  639. <stringProp name="Argument.value">{&#xd;
  640. &quot;args&quot;: [&#xd;
  641. ${mx}&#xd;
  642. ]&#xd;
  643. }</stringProp>
  644. <stringProp name="Argument.metadata">=</stringProp>
  645. </elementProp>
  646. </collectionProp>
  647. </elementProp>
  648. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  649. <stringProp name="HTTPSampler.port">${port}</stringProp>
  650. <stringProp name="HTTPSampler.protocol">http</stringProp>
  651. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  652. <stringProp name="HTTPSampler.path">${path}/inbound/order_in/PdaOrderIn@confirmOrderIn</stringProp>
  653. <stringProp name="HTTPSampler.method">POST</stringProp>
  654. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  655. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  656. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  657. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  658. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  659. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  660. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  661. </HTTPSamplerProxy>
  662. <hashTree>
  663. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="container_code_list" enabled="true">
  664. <stringProp name="JSONPostProcessor.referenceNames">container_code_list</stringProp>
  665. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data..container_code</stringProp>
  666. <stringProp name="JSONPostProcessor.match_numbers">-1</stringProp>
  667. </JSONPostProcessor>
  668. <hashTree/>
  669. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  670. <stringProp name="JSON_PATH">$.success</stringProp>
  671. <stringProp name="EXPECTED_VALUE">true</stringProp>
  672. <boolProp name="JSONVALIDATION">true</boolProp>
  673. <boolProp name="EXPECT_NULL">false</boolProp>
  674. <boolProp name="INVERT">false</boolProp>
  675. <boolProp name="ISREGEX">false</boolProp>
  676. </JSONPathAssertion>
  677. <hashTree/>
  678. </hashTree>
  679. </hashTree>
  680. </hashTree>
  681. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="入库验收@查询" enabled="false">
  682. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  683. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  684. <collectionProp name="Arguments.arguments">
  685. <elementProp name="" elementType="HTTPArgument">
  686. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  687. <stringProp name="Argument.value">{&#xd;
  688. &quot;args&quot; : [&#xd;
  689. {&#xd;
  690. &quot;page&quot; : 1,&#xd;
  691. &quot;start&quot; : 0,&#xd;
  692. &quot;limit&quot; : 10000,&#xd;
  693. &quot;item_code&quot;: &quot;N/A&quot;,&#xd;
  694. &quot;dirty&quot; : true&#xd;
  695. }&#xd;
  696. ]&#xd;
  697. }</stringProp>
  698. <stringProp name="Argument.metadata">=</stringProp>
  699. </elementProp>
  700. </collectionProp>
  701. </elementProp>
  702. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  703. <stringProp name="HTTPSampler.port">${port}</stringProp>
  704. <stringProp name="HTTPSampler.protocol">http</stringProp>
  705. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  706. <stringProp name="HTTPSampler.path">${path}/inbound/order_in_check/PDAOrderInCheck@pdaQueryOrderDetails</stringProp>
  707. <stringProp name="HTTPSampler.method">POST</stringProp>
  708. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  709. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  710. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  711. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  712. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  713. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  714. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  715. </HTTPSamplerProxy>
  716. <hashTree>
  717. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="ys_list" enabled="true">
  718. <stringProp name="JSONPostProcessor.referenceNames">ys_list</stringProp>
  719. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data.[*]</stringProp>
  720. <stringProp name="JSONPostProcessor.match_numbers">-1</stringProp>
  721. </JSONPostProcessor>
  722. <hashTree/>
  723. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  724. <stringProp name="JSON_PATH">$.success</stringProp>
  725. <stringProp name="EXPECTED_VALUE">true</stringProp>
  726. <boolProp name="JSONVALIDATION">true</boolProp>
  727. <boolProp name="EXPECT_NULL">false</boolProp>
  728. <boolProp name="INVERT">false</boolProp>
  729. <boolProp name="ISREGEX">false</boolProp>
  730. </JSONPathAssertion>
  731. <hashTree/>
  732. </hashTree>
  733. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach_ys_list" enabled="false">
  734. <stringProp name="ForeachController.inputVal">ys_list</stringProp>
  735. <stringProp name="ForeachController.returnVal">ys</stringProp>
  736. <boolProp name="ForeachController.useSeparator">true</boolProp>
  737. <stringProp name="ForeachController.startIndex">0</stringProp>
  738. <stringProp name="ForeachController.endIndex">${ys_list_matchNr}</stringProp>
  739. </ForeachController>
  740. <hashTree>
  741. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="BeanShell Sampler" enabled="true">
  742. <stringProp name="BeanShellSampler.query">Object _ = com.Yvan.init(vars, log, ctx);
  743. int idx = Integer.parseInt( vars.get(&quot;__jm__ForEach_ys_list__idx&quot;));
  744. vars.put(&quot;mx&quot;, _.get(&quot;ys&quot;));</stringProp>
  745. <stringProp name="BeanShellSampler.filename"></stringProp>
  746. <stringProp name="BeanShellSampler.parameters"></stringProp>
  747. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  748. </BeanShellSampler>
  749. <hashTree/>
  750. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="入库验收@确认" enabled="true">
  751. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  752. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  753. <collectionProp name="Arguments.arguments">
  754. <elementProp name="" elementType="HTTPArgument">
  755. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  756. <stringProp name="Argument.value">{&#xd;
  757. &quot;args&quot;: [&#xd;
  758. ${mx}&#xd;
  759. ]&#xd;
  760. }</stringProp>
  761. <stringProp name="Argument.metadata">=</stringProp>
  762. </elementProp>
  763. </collectionProp>
  764. </elementProp>
  765. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  766. <stringProp name="HTTPSampler.port">${port}</stringProp>
  767. <stringProp name="HTTPSampler.protocol">http</stringProp>
  768. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  769. <stringProp name="HTTPSampler.path">${path}/inbound/order_in_check/PDAOrderInCheck@checkConfirm</stringProp>
  770. <stringProp name="HTTPSampler.method">POST</stringProp>
  771. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  772. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  773. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  774. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  775. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  776. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  777. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  778. </HTTPSamplerProxy>
  779. <hashTree>
  780. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  781. <stringProp name="JSON_PATH">$.success</stringProp>
  782. <stringProp name="EXPECTED_VALUE">true</stringProp>
  783. <boolProp name="JSONVALIDATION">true</boolProp>
  784. <boolProp name="EXPECT_NULL">false</boolProp>
  785. <boolProp name="INVERT">false</boolProp>
  786. <boolProp name="ISREGEX">false</boolProp>
  787. </JSONPathAssertion>
  788. <hashTree/>
  789. </hashTree>
  790. </hashTree>
  791. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="入库上架@查询" enabled="false">
  792. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  793. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  794. <collectionProp name="Arguments.arguments">
  795. <elementProp name="" elementType="HTTPArgument">
  796. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  797. <stringProp name="Argument.value">{&#xd;
  798. &quot;args&quot; : [&#xd;
  799. {&#xd;
  800. &quot;page&quot;:1,&#xd;
  801. &quot;start&quot;:0,&#xd;
  802. &quot;limit&quot;:10000,&#xd;
  803. &quot;approval_no&quot; : &quot;&quot;,&#xd;
  804. &quot;item_code&quot; : &quot;N/A&quot;&#xd;
  805. }&#xd;
  806. ]&#xd;
  807. }</stringProp>
  808. <stringProp name="Argument.metadata">=</stringProp>
  809. </elementProp>
  810. </collectionProp>
  811. </elementProp>
  812. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  813. <stringProp name="HTTPSampler.port">${port}</stringProp>
  814. <stringProp name="HTTPSampler.protocol">http</stringProp>
  815. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  816. <stringProp name="HTTPSampler.path">${path}/inbound/order_in_put/PDAOrderInPut@queryOrderDetails</stringProp>
  817. <stringProp name="HTTPSampler.method">POST</stringProp>
  818. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  819. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  820. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  821. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  822. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  823. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  824. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  825. </HTTPSamplerProxy>
  826. <hashTree>
  827. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="sj_list" enabled="true">
  828. <stringProp name="JSONPostProcessor.referenceNames">sj_list</stringProp>
  829. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data.[*]</stringProp>
  830. <stringProp name="JSONPostProcessor.match_numbers">-1</stringProp>
  831. </JSONPostProcessor>
  832. <hashTree/>
  833. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  834. <stringProp name="JSON_PATH">$.success</stringProp>
  835. <stringProp name="EXPECTED_VALUE">true</stringProp>
  836. <boolProp name="JSONVALIDATION">true</boolProp>
  837. <boolProp name="EXPECT_NULL">false</boolProp>
  838. <boolProp name="INVERT">false</boolProp>
  839. <boolProp name="ISREGEX">false</boolProp>
  840. </JSONPathAssertion>
  841. <hashTree/>
  842. </hashTree>
  843. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach_sj_list" enabled="false">
  844. <stringProp name="ForeachController.inputVal">sj_list</stringProp>
  845. <stringProp name="ForeachController.returnVal">sj</stringProp>
  846. <boolProp name="ForeachController.useSeparator">true</boolProp>
  847. <stringProp name="ForeachController.startIndex">0</stringProp>
  848. <stringProp name="ForeachController.endIndex">${sj_list_matchNr}</stringProp>
  849. </ForeachController>
  850. <hashTree>
  851. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="BeanShell Sampler" enabled="true">
  852. <stringProp name="BeanShellSampler.query">Object _ = com.Yvan.init(vars, log, ctx);
  853. int idx = Integer.parseInt( vars.get(&quot;__jm__ForEach_sj_list__idx&quot;));
  854. vars.put(&quot;mx&quot;, _.get(&quot;sj&quot;));</stringProp>
  855. <stringProp name="BeanShellSampler.filename"></stringProp>
  856. <stringProp name="BeanShellSampler.parameters"></stringProp>
  857. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  858. </BeanShellSampler>
  859. <hashTree/>
  860. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="入库上架@确认" enabled="true">
  861. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  862. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  863. <collectionProp name="Arguments.arguments">
  864. <elementProp name="" elementType="HTTPArgument">
  865. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  866. <stringProp name="Argument.value">{&#xd;
  867. &quot;args&quot;: [&#xd;
  868. ${mx}&#xd;
  869. ]&#xd;
  870. }</stringProp>
  871. <stringProp name="Argument.metadata">=</stringProp>
  872. </elementProp>
  873. </collectionProp>
  874. </elementProp>
  875. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  876. <stringProp name="HTTPSampler.port">${port}</stringProp>
  877. <stringProp name="HTTPSampler.protocol">http</stringProp>
  878. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  879. <stringProp name="HTTPSampler.path">${path}/inbound/order_in_put/PDAOrderInPut@putConfirm</stringProp>
  880. <stringProp name="HTTPSampler.method">POST</stringProp>
  881. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  882. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  883. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  884. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  885. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  886. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  887. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  888. </HTTPSamplerProxy>
  889. <hashTree>
  890. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  891. <stringProp name="JSON_PATH">$.success</stringProp>
  892. <stringProp name="EXPECTED_VALUE">true</stringProp>
  893. <boolProp name="JSONVALIDATION">true</boolProp>
  894. <boolProp name="EXPECT_NULL">false</boolProp>
  895. <boolProp name="INVERT">false</boolProp>
  896. <boolProp name="ISREGEX">false</boolProp>
  897. </JSONPathAssertion>
  898. <hashTree/>
  899. </hashTree>
  900. </hashTree>
  901. <TestAction guiclass="TestActionGui" testclass="TestAction" testname="Think Time" enabled="false">
  902. <intProp name="ActionProcessor.action">1</intProp>
  903. <intProp name="ActionProcessor.target">0</intProp>
  904. <stringProp name="ActionProcessor.duration">30000</stringProp>
  905. </TestAction>
  906. <hashTree/>
  907. </hashTree>
  908. </hashTree>
  909. </hashTree>
  910. </jmeterTestPlan>