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

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