中通服WMS@接口之出库单下传.jmx 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688
  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="环境变量-云效" enabled="true">
  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">117.80.113.247</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">8020</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="false">
  116. <collectionProp name="Arguments.arguments">
  117. <elementProp name="thread_count" elementType="Argument">
  118. <stringProp name="Argument.name">thread_count</stringProp>
  119. <stringProp name="Argument.value">1</stringProp>
  120. <stringProp name="Argument.metadata">=</stringProp>
  121. </elementProp>
  122. <elementProp name="server" elementType="Argument">
  123. <stringProp name="Argument.name">server</stringProp>
  124. <stringProp name="Argument.value">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">9084</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="false">
  167. <stringProp name="ThreadGroup.on_sample_error">stopthread</stringProp>
  168. <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
  169. <boolProp name="LoopController.continue_forever">false</boolProp>
  170. <stringProp name="LoopController.loops">1</stringProp>
  171. </elementProp>
  172. <stringProp name="ThreadGroup.num_threads">${thread_count}</stringProp>
  173. <stringProp name="ThreadGroup.ramp_time">1</stringProp>
  174. <boolProp name="ThreadGroup.scheduler">false</boolProp>
  175. <stringProp name="ThreadGroup.duration">300</stringProp>
  176. <stringProp name="ThreadGroup.delay">0</stringProp>
  177. <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
  178. </ThreadGroup>
  179. <hashTree>
  180. <TestAction guiclass="TestActionGui" testclass="TestAction" testname="Think Time" enabled="false">
  181. <intProp name="ActionProcessor.action">1</intProp>
  182. <intProp name="ActionProcessor.target">0</intProp>
  183. <stringProp name="ActionProcessor.duration">30000</stringProp>
  184. </TestAction>
  185. <hashTree/>
  186. </hashTree>
  187. <kg.apc.jmeter.threads.SteppingThreadGroup guiclass="kg.apc.jmeter.threads.SteppingThreadGroupGui" testclass="kg.apc.jmeter.threads.SteppingThreadGroup" testname="接口之出库单下传" enabled="true">
  188. <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
  189. <stringProp name="ThreadGroup.num_threads">100</stringProp>
  190. <stringProp name="Threads initial delay">0</stringProp>
  191. <stringProp name="Start users count">10</stringProp>
  192. <stringProp name="Start users count burst">0</stringProp>
  193. <stringProp name="Start users period">30</stringProp>
  194. <stringProp name="Stop users count">5</stringProp>
  195. <stringProp name="Stop users period">1</stringProp>
  196. <stringProp name="flighttime">60</stringProp>
  197. <stringProp name="rampUp">5</stringProp>
  198. <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
  199. <boolProp name="LoopController.continue_forever">false</boolProp>
  200. <intProp name="LoopController.loops">-1</intProp>
  201. </elementProp>
  202. </kg.apc.jmeter.threads.SteppingThreadGroup>
  203. <hashTree>
  204. <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
  205. <boolProp name="ResultCollector.error_logging">false</boolProp>
  206. <objProp>
  207. <name>saveConfig</name>
  208. <value class="SampleSaveConfiguration">
  209. <time>true</time>
  210. <latency>true</latency>
  211. <timestamp>true</timestamp>
  212. <success>true</success>
  213. <label>true</label>
  214. <code>true</code>
  215. <message>true</message>
  216. <threadName>true</threadName>
  217. <dataType>true</dataType>
  218. <encoding>false</encoding>
  219. <assertions>true</assertions>
  220. <subresults>true</subresults>
  221. <responseData>false</responseData>
  222. <samplerData>false</samplerData>
  223. <xml>false</xml>
  224. <fieldNames>true</fieldNames>
  225. <responseHeaders>false</responseHeaders>
  226. <requestHeaders>false</requestHeaders>
  227. <responseDataOnError>false</responseDataOnError>
  228. <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
  229. <assertionsResultsToSave>0</assertionsResultsToSave>
  230. <bytes>true</bytes>
  231. <sentBytes>true</sentBytes>
  232. <url>true</url>
  233. <threadCounts>true</threadCounts>
  234. <idleTime>true</idleTime>
  235. <connectTime>true</connectTime>
  236. </value>
  237. </objProp>
  238. <stringProp name="filename"></stringProp>
  239. </ResultCollector>
  240. <hashTree/>
  241. <ResultCollector guiclass="RespTimeGraphVisualizer" testclass="ResultCollector" testname="Response Time Graph" enabled="true">
  242. <boolProp name="ResultCollector.error_logging">false</boolProp>
  243. <objProp>
  244. <name>saveConfig</name>
  245. <value class="SampleSaveConfiguration">
  246. <time>true</time>
  247. <latency>true</latency>
  248. <timestamp>true</timestamp>
  249. <success>true</success>
  250. <label>true</label>
  251. <code>true</code>
  252. <message>true</message>
  253. <threadName>true</threadName>
  254. <dataType>true</dataType>
  255. <encoding>false</encoding>
  256. <assertions>true</assertions>
  257. <subresults>true</subresults>
  258. <responseData>false</responseData>
  259. <samplerData>false</samplerData>
  260. <xml>false</xml>
  261. <fieldNames>true</fieldNames>
  262. <responseHeaders>false</responseHeaders>
  263. <requestHeaders>false</requestHeaders>
  264. <responseDataOnError>false</responseDataOnError>
  265. <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
  266. <assertionsResultsToSave>0</assertionsResultsToSave>
  267. <bytes>true</bytes>
  268. <sentBytes>true</sentBytes>
  269. <url>true</url>
  270. <threadCounts>true</threadCounts>
  271. <idleTime>true</idleTime>
  272. <connectTime>true</connectTime>
  273. </value>
  274. </objProp>
  275. <stringProp name="filename"></stringProp>
  276. </ResultCollector>
  277. <hashTree/>
  278. <ResultCollector guiclass="StatVisualizer" testclass="ResultCollector" testname="Aggregate Report" enabled="true">
  279. <boolProp name="ResultCollector.error_logging">false</boolProp>
  280. <objProp>
  281. <name>saveConfig</name>
  282. <value class="SampleSaveConfiguration">
  283. <time>true</time>
  284. <latency>true</latency>
  285. <timestamp>true</timestamp>
  286. <success>true</success>
  287. <label>true</label>
  288. <code>true</code>
  289. <message>true</message>
  290. <threadName>true</threadName>
  291. <dataType>true</dataType>
  292. <encoding>false</encoding>
  293. <assertions>true</assertions>
  294. <subresults>true</subresults>
  295. <responseData>false</responseData>
  296. <samplerData>false</samplerData>
  297. <xml>false</xml>
  298. <fieldNames>true</fieldNames>
  299. <responseHeaders>false</responseHeaders>
  300. <requestHeaders>false</requestHeaders>
  301. <responseDataOnError>false</responseDataOnError>
  302. <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
  303. <assertionsResultsToSave>0</assertionsResultsToSave>
  304. <bytes>true</bytes>
  305. <sentBytes>true</sentBytes>
  306. <url>true</url>
  307. <threadCounts>true</threadCounts>
  308. <idleTime>true</idleTime>
  309. <connectTime>true</connectTime>
  310. </value>
  311. </objProp>
  312. <stringProp name="filename"></stringProp>
  313. </ResultCollector>
  314. <hashTree/>
  315. <ResultCollector guiclass="SummaryReport" testclass="ResultCollector" testname="Summary Report" enabled="true">
  316. <boolProp name="ResultCollector.error_logging">false</boolProp>
  317. <objProp>
  318. <name>saveConfig</name>
  319. <value class="SampleSaveConfiguration">
  320. <time>true</time>
  321. <latency>true</latency>
  322. <timestamp>true</timestamp>
  323. <success>true</success>
  324. <label>true</label>
  325. <code>true</code>
  326. <message>true</message>
  327. <threadName>true</threadName>
  328. <dataType>true</dataType>
  329. <encoding>false</encoding>
  330. <assertions>true</assertions>
  331. <subresults>true</subresults>
  332. <responseData>false</responseData>
  333. <samplerData>false</samplerData>
  334. <xml>false</xml>
  335. <fieldNames>true</fieldNames>
  336. <responseHeaders>false</responseHeaders>
  337. <requestHeaders>false</requestHeaders>
  338. <responseDataOnError>false</responseDataOnError>
  339. <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
  340. <assertionsResultsToSave>0</assertionsResultsToSave>
  341. <bytes>true</bytes>
  342. <sentBytes>true</sentBytes>
  343. <url>true</url>
  344. <threadCounts>true</threadCounts>
  345. <idleTime>true</idleTime>
  346. <connectTime>true</connectTime>
  347. </value>
  348. </objProp>
  349. <stringProp name="filename"></stringProp>
  350. </ResultCollector>
  351. <hashTree/>
  352. <kg.apc.jmeter.vizualizers.CorrectedResultCollector guiclass="kg.apc.jmeter.vizualizers.ResponseTimesOverTimeGui" testclass="kg.apc.jmeter.vizualizers.CorrectedResultCollector" testname="jp@gc - Response Times Over Time" enabled="true">
  353. <boolProp name="ResultCollector.error_logging">false</boolProp>
  354. <objProp>
  355. <name>saveConfig</name>
  356. <value class="SampleSaveConfiguration">
  357. <time>true</time>
  358. <latency>true</latency>
  359. <timestamp>true</timestamp>
  360. <success>true</success>
  361. <label>true</label>
  362. <code>true</code>
  363. <message>true</message>
  364. <threadName>true</threadName>
  365. <dataType>true</dataType>
  366. <encoding>false</encoding>
  367. <assertions>true</assertions>
  368. <subresults>true</subresults>
  369. <responseData>false</responseData>
  370. <samplerData>false</samplerData>
  371. <xml>false</xml>
  372. <fieldNames>true</fieldNames>
  373. <responseHeaders>false</responseHeaders>
  374. <requestHeaders>false</requestHeaders>
  375. <responseDataOnError>false</responseDataOnError>
  376. <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
  377. <assertionsResultsToSave>0</assertionsResultsToSave>
  378. <bytes>true</bytes>
  379. <sentBytes>true</sentBytes>
  380. <url>true</url>
  381. <threadCounts>true</threadCounts>
  382. <idleTime>true</idleTime>
  383. <connectTime>true</connectTime>
  384. </value>
  385. </objProp>
  386. <stringProp name="filename"></stringProp>
  387. <longProp name="interval_grouping">500</longProp>
  388. <boolProp name="graph_aggregated">false</boolProp>
  389. <stringProp name="include_sample_labels"></stringProp>
  390. <stringProp name="exclude_sample_labels"></stringProp>
  391. <stringProp name="start_offset"></stringProp>
  392. <stringProp name="end_offset"></stringProp>
  393. <boolProp name="include_checkbox_state">false</boolProp>
  394. <boolProp name="exclude_checkbox_state">false</boolProp>
  395. </kg.apc.jmeter.vizualizers.CorrectedResultCollector>
  396. <hashTree/>
  397. <kg.apc.jmeter.vizualizers.CorrectedResultCollector guiclass="kg.apc.jmeter.vizualizers.TransactionsPerSecondGui" testclass="kg.apc.jmeter.vizualizers.CorrectedResultCollector" testname="jp@gc - Transactions per Second" enabled="true">
  398. <boolProp name="ResultCollector.error_logging">false</boolProp>
  399. <objProp>
  400. <name>saveConfig</name>
  401. <value class="SampleSaveConfiguration">
  402. <time>true</time>
  403. <latency>true</latency>
  404. <timestamp>true</timestamp>
  405. <success>true</success>
  406. <label>true</label>
  407. <code>true</code>
  408. <message>true</message>
  409. <threadName>true</threadName>
  410. <dataType>true</dataType>
  411. <encoding>false</encoding>
  412. <assertions>true</assertions>
  413. <subresults>true</subresults>
  414. <responseData>false</responseData>
  415. <samplerData>false</samplerData>
  416. <xml>false</xml>
  417. <fieldNames>true</fieldNames>
  418. <responseHeaders>false</responseHeaders>
  419. <requestHeaders>false</requestHeaders>
  420. <responseDataOnError>false</responseDataOnError>
  421. <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
  422. <assertionsResultsToSave>0</assertionsResultsToSave>
  423. <bytes>true</bytes>
  424. <sentBytes>true</sentBytes>
  425. <url>true</url>
  426. <threadCounts>true</threadCounts>
  427. <idleTime>true</idleTime>
  428. <connectTime>true</connectTime>
  429. </value>
  430. </objProp>
  431. <stringProp name="filename"></stringProp>
  432. <longProp name="interval_grouping">1000</longProp>
  433. <boolProp name="graph_aggregated">false</boolProp>
  434. <stringProp name="include_sample_labels"></stringProp>
  435. <stringProp name="exclude_sample_labels"></stringProp>
  436. <stringProp name="start_offset"></stringProp>
  437. <stringProp name="end_offset"></stringProp>
  438. <boolProp name="include_checkbox_state">false</boolProp>
  439. <boolProp name="exclude_checkbox_state">false</boolProp>
  440. </kg.apc.jmeter.vizualizers.CorrectedResultCollector>
  441. <hashTree/>
  442. <RandomVariableConfig guiclass="TestBeanGUI" testclass="RandomVariableConfig" testname="Sequence Random Variable" enabled="true">
  443. <stringProp name="maximumValue">9000000000000000</stringProp>
  444. <stringProp name="minimumValue">1</stringProp>
  445. <stringProp name="outputFormat">SEQ_NO_0000000000000000</stringProp>
  446. <boolProp name="perThread">true</boolProp>
  447. <stringProp name="randomSeed"></stringProp>
  448. <stringProp name="variableName">squence</stringProp>
  449. </RandomVariableConfig>
  450. <hashTree/>
  451. <RandomVariableConfig guiclass="TestBeanGUI" testclass="RandomVariableConfig" testname="Order No Random Variable" enabled="true">
  452. <stringProp name="maximumValue">9900000000000000</stringProp>
  453. <stringProp name="minimumValue">1</stringProp>
  454. <stringProp name="outputFormat">ZL_0000000000000000</stringProp>
  455. <boolProp name="perThread">true</boolProp>
  456. <stringProp name="randomSeed"></stringProp>
  457. <stringProp name="variableName">order_no</stringProp>
  458. </RandomVariableConfig>
  459. <hashTree/>
  460. <RandomVariableConfig guiclass="TestBeanGUI" testclass="RandomVariableConfig" testname="Box No Random Variable" enabled="true">
  461. <stringProp name="maximumValue">9999</stringProp>
  462. <stringProp name="minimumValue">1</stringProp>
  463. <stringProp name="outputFormat">XM0000</stringProp>
  464. <boolProp name="perThread">true</boolProp>
  465. <stringProp name="randomSeed"></stringProp>
  466. <stringProp name="variableName">box_no</stringProp>
  467. </RandomVariableConfig>
  468. <hashTree/>
  469. <RandomVariableConfig guiclass="TestBeanGUI" testclass="RandomVariableConfig" testname="Order Id Random Variable" enabled="true">
  470. <stringProp name="maximumValue">99900000000000000</stringProp>
  471. <stringProp name="minimumValue">1</stringProp>
  472. <stringProp name="outputFormat">10000000000000000</stringProp>
  473. <boolProp name="perThread">true</boolProp>
  474. <stringProp name="randomSeed"></stringProp>
  475. <stringProp name="variableName">order_id</stringProp>
  476. </RandomVariableConfig>
  477. <hashTree/>
  478. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  479. <collectionProp name="HeaderManager.headers">
  480. <elementProp name="content-type" elementType="Header">
  481. <stringProp name="Header.name">content-type</stringProp>
  482. <stringProp name="Header.value">application/json</stringProp>
  483. </elementProp>
  484. <elementProp name="sequence" elementType="Header">
  485. <stringProp name="Header.name">sequence</stringProp>
  486. <stringProp name="Header.value">${squence}</stringProp>
  487. </elementProp>
  488. <elementProp name="token" elementType="Header">
  489. <stringProp name="Header.name">token</stringProp>
  490. <stringProp name="Header.value">fc3111643ca8ba963e3d970988bbd719</stringProp>
  491. </elementProp>
  492. </collectionProp>
  493. </HeaderManager>
  494. <hashTree/>
  495. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="Create Doc So Data" enabled="true">
  496. <stringProp name="BeanShellSampler.query">Object util = com.Yvan.init(vars, log, ctx);
  497. int asnLineNum = 2;
  498. int asnLpnLineNum = 20;
  499. // doc_asn, doc_asn_items, doc_asn_lpn, doc_asn_items_lpn, doc_asn_items_upn, api_doc_asn_items_manufactor
  500. List itemIds = new ArrayList();
  501. itemIds.add(&quot;5774615&quot;);
  502. itemIds.add(&quot;339250147668276&quot;);
  503. List itemCodes = new ArrayList();
  504. itemCodes.add(&quot;L07010300167&quot;);
  505. itemCodes.add(&quot;J11011900032&quot;);
  506. List itemNames = new ArrayList();
  507. itemNames.add(&quot;收银机&quot;);
  508. itemNames.add(&quot;天翼网关4.0(1G-EPON)-无WiFi&quot;);
  509. List asnItems = new ArrayList();
  510. List asnItemLpns = new ArrayList();
  511. List asnLpns = new ArrayList();
  512. for(int i = 0; i &lt; asnLineNum; i++){
  513. Map asnItem = new HashMap();
  514. String orderId = vars.get(&quot;order_id&quot;) + i;
  515. asnItem.put(&quot;orderMaterialId&quot;, orderId);
  516. asnItem.put(&quot;materialCode&quot;, itemCodes.get(i));
  517. asnItem.put(&quot;materialName&quot;, itemNames.get(i));
  518. asnItem.put(&quot;materialUnit&quot;, &quot;Z52&quot;);
  519. asnItem.put(&quot;quantity&quot;, 20);
  520. asnItem.put(&quot;diresCode&quot;, &quot;01&quot;);
  521. asnItem.put(&quot;diresName&quot;, &quot;无线设备&quot;);
  522. asnItem.put(&quot;materialStatus&quot;, &quot;01&quot;);
  523. asnItem.put(&quot;materialCategoryCode&quot;, &quot;01&quot;);
  524. asnItem.put(&quot;materialKey&quot;, itemIds.get(i));
  525. asnItem.put(&quot;diresKey&quot;, &quot;2692968550351503361&quot;);
  526. asnItem.put(&quot;materialCategoryKey&quot;, &quot;2692968550351503361&quot;);
  527. asnItems.add(asnItem);
  528. for(int j = 0; j &lt; asnLpnLineNum; j++){
  529. Map asnItemLpn = new HashMap();
  530. asnItemLpn.put(&quot;orderBoxId&quot;, &quot;1156243025719332864&quot;);
  531. asnItemLpn.put(&quot;orderMaterialId&quot;, orderId);
  532. asnItemLpn.put(&quot;materialCode&quot;, itemCodes.get(i));
  533. asnItemLpn.put(&quot;materialName&quot;, itemNames.get(i));
  534. asnItemLpn.put(&quot;materialQuantity&quot;, 1);
  535. asnItemLpn.put(&quot;packageCode&quot;, vars.get(&quot;box_no&quot;) + i + j);
  536. asnItemLpn.put(&quot;isSplitZero&quot;, false);
  537. asnItemLpn.put(&quot;isStringCode&quot;, false);
  538. asnItemLpns.add(asnItemLpn);
  539. }
  540. for(int j = 0; j &lt; asnLpnLineNum; j++){
  541. Map asnLpn = new HashMap();
  542. asnLpn.put(&quot;orderBoxId&quot;, &quot;1156242874803949568&quot;);
  543. asnLpn.put(&quot;packageCode&quot;, vars.get(&quot;box_no&quot;) + i + j);
  544. asnLpn.put(&quot;packageMaterial&quot;, &quot;5&quot;);
  545. asnLpn.put(&quot;length&quot;, 1);
  546. asnLpn.put(&quot;width&quot;, 1);
  547. asnLpn.put(&quot;height&quot;, 1);
  548. asnLpn.put(&quot;volume&quot;, 0);
  549. asnLpn.put(&quot;grossWeight&quot;, 1);
  550. asnLpn.put(&quot;quantity&quot;, 2);
  551. asnLpn.put(&quot;siteName&quot;, &quot;贝森_001_NE40E_X16A V800R022&quot;);
  552. asnLpn.put(&quot;remark1&quot;, &quot;贝森_001_NE40E_X16A V800R022&quot;);
  553. asnLpns.add(asnLpn);
  554. }
  555. }
  556. vars.put(&quot;asn_items&quot;, util.toJson(asnItems));
  557. vars.put(&quot;asn_items_lpns&quot;, util.toJson(asnItemLpns));
  558. vars.put(&quot;asn_lpns&quot;, util.toJson(asnLpns));
  559. </stringProp>
  560. <stringProp name="BeanShellSampler.filename"></stringProp>
  561. <stringProp name="BeanShellSampler.parameters"></stringProp>
  562. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  563. </BeanShellSampler>
  564. <hashTree/>
  565. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="出库单下传" enabled="true">
  566. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  567. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  568. <collectionProp name="Arguments.arguments">
  569. <elementProp name="" elementType="HTTPArgument">
  570. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  571. <stringProp name="Argument.value">[&#xd;
  572. {&#xd;
  573. &quot;logisticCommandNo&quot;: &quot;${order_no}&quot;,&#xd;
  574. &quot;insideOrderNo&quot;: &quot;${order_no}&quot;,&#xd;
  575. &quot;omsLogisticsNo&quot;: &quot;${order_no}&quot;,&#xd;
  576. &quot;orderNo&quot;: &quot;${order_no}&quot;,&#xd;
  577. &quot;orderOrgKey&quot;: &quot;1140425501375074304&quot;,&#xd;
  578. &quot;orderOrgCode&quot;: &quot;360006001&quot;,&#xd;
  579. &quot;orderOrgName&quot;: &quot;CTSC仓储对接测试项目&quot;,&#xd;
  580. &quot;projectKey&quot;: &quot;1138578653911715840&quot;,&#xd;
  581. &quot;projectCode&quot;: &quot;XM00427&quot;,&#xd;
  582. &quot;projectName&quot;: &quot;吉林电信仓储服务项目&quot;,&#xd;
  583. &quot;ownerKey&quot;: &quot;1098196537130881024&quot;,&#xd;
  584. &quot;ownerCode&quot;: &quot;OG000000537&quot;,&#xd;
  585. &quot;ownerName&quot;: &quot;舟山弘达节能环保科技有限公司&quot;,&#xd;
  586. &quot;orderStatus&quot;: &quot;200&quot;,&#xd;
  587. &quot;emergencyDegreeCode&quot;: &quot;01&quot;,&#xd;
  588. &quot;totalMoney&quot;: &quot;0.000000&quot;,&#xd;
  589. &quot;totalNumber&quot;: &quot;2.000000&quot;,&#xd;
  590. &quot;totalGrossWeight&quot;: &quot;0.000000&quot;,&#xd;
  591. &quot;totalNetWeight&quot;: &quot;0.000000&quot;,&#xd;
  592. &quot;totalVolume&quot;: &quot;0.000000&quot;,&#xd;
  593. &quot;orderTime&quot;: &quot;2023-09-26 14:56:11&quot;,&#xd;
  594. &quot;orderUserName&quot;: &quot;SYSTEM&quot;,&#xd;
  595. &quot;isRecall&quot;: &quot;0&quot;,&#xd;
  596. &quot;planArrivalTime&quot;: &quot;2023-09-27 14:55:34&quot;,&#xd;
  597. &quot;linkageWay&quot;: &quot;0&quot;,&#xd;
  598. &quot;omsExecuteSortNo&quot;: &quot;&quot;,&#xd;
  599. &quot;cpExecuteSortNo&quot;: &quot;&quot;,&#xd;
  600. &quot;entryOrgKey&quot;: &quot;1138560056678158336&quot;,&#xd;
  601. &quot;entryOrgCode&quot;: &quot;WLZJ00060&quot;,&#xd;
  602. &quot;entryOrgName&quot;: &quot;延边市中心库&quot;,&#xd;
  603. &quot;loadOrgKey&quot;: &quot;1138560056678158336&quot;,&#xd;
  604. &quot;loadOrgCode&quot;: &quot;WLZJ00060&quot;,&#xd;
  605. &quot;loadOrgName&quot;: &quot;延边市中心库&quot;,&#xd;
  606. &quot;senderProvinceKey&quot;: &quot;4422432131628665350&quot;,&#xd;
  607. &quot;senderProvinceCode&quot;: &quot;440000&quot;,&#xd;
  608. &quot;senderProvinceName&quot;: &quot;广东省&quot;,&#xd;
  609. &quot;senderCityKey&quot;: &quot;4422432131628665508&quot;,&#xd;
  610. &quot;senderCityCode&quot;: &quot;441900&quot;,&#xd;
  611. &quot;senderCityName&quot;: &quot;东莞市&quot;,&#xd;
  612. &quot;senderAddress&quot;: &quot;黄江仓库&quot;,&#xd;
  613. &quot;senderName&quot;: &quot;孙亚飞/李和平&quot;,&#xd;
  614. &quot;senderMobile&quot;: &quot;15015180413&quot;,&#xd;
  615. &quot;receiverProvinceKey&quot;: &quot;4422432131628663008&quot;,&#xd;
  616. &quot;receiverProvinceCode&quot;: &quot;130000&quot;,&#xd;
  617. &quot;receiverProvinceName&quot;: &quot;河北省&quot;,&#xd;
  618. &quot;receiverCityKey&quot;: &quot;4422432131628663034&quot;,&#xd;
  619. &quot;receiverCityCode&quot;: &quot;130200&quot;,&#xd;
  620. &quot;receiverCityName&quot;: &quot;唐山市&quot;,&#xd;
  621. &quot;receiverAddress&quot;: &quot;1111&quot;,&#xd;
  622. &quot;receiverName&quot;: &quot;1&quot;,&#xd;
  623. &quot;receiverMobile&quot;: &quot;111&quot;,&#xd;
  624. &quot;crossDocking&quot;: &quot;0&quot;,&#xd;
  625. &quot;orderOperationType&quot;: &quot;01&quot;,&#xd;
  626. &quot;isCover&quot;: false,&#xd;
  627. &quot;instantiateFlag&quot;: false,&#xd;
  628. &quot;sourceFlag&quot;: true,&#xd;
  629. &quot;logisticsOrderType&quot;: 100,&#xd;
  630. &quot;logisticsOrderTypeCode&quot;: &quot;outbound&quot;,&#xd;
  631. &quot;customerCode&quot;: &quot;OG002513638&quot;,&#xd;
  632. &quot;customerName&quot;: &quot;中国电信股份有限公司黑龙江分公司&quot;,&#xd;
  633. &quot;creationMethod&quot;: &quot;接口&quot;,&#xd;
  634. &quot;itemsList&quot;: ${asn_items},&#xd;
  635. &quot;lpnList&quot;: [],&#xd;
  636. &quot;itemsLpnList&quot;: [],&#xd;
  637. &quot;itemsManufactorList&quot;: [],&#xd;
  638. &quot;itemsUpnList&quot;: []&#xd;
  639. }&#xd;
  640. ]&#xd;
  641. </stringProp>
  642. <stringProp name="Argument.metadata">=</stringProp>
  643. </elementProp>
  644. </collectionProp>
  645. </elementProp>
  646. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  647. <stringProp name="HTTPSampler.port">${port}</stringProp>
  648. <stringProp name="HTTPSampler.protocol"></stringProp>
  649. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  650. <stringProp name="HTTPSampler.path">/docInsert/soInsert</stringProp>
  651. <stringProp name="HTTPSampler.method">POST</stringProp>
  652. <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
  653. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  654. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  655. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  656. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  657. <stringProp name="HTTPSampler.implementation">HttpClient4</stringProp>
  658. <stringProp name="HTTPSampler.connect_timeout">1500</stringProp>
  659. <stringProp name="HTTPSampler.response_timeout">5000</stringProp>
  660. </HTTPSamplerProxy>
  661. <hashTree>
  662. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  663. <stringProp name="JSON_PATH">$.[0].code</stringProp>
  664. <stringProp name="EXPECTED_VALUE">200</stringProp>
  665. <boolProp name="JSONVALIDATION">true</boolProp>
  666. <boolProp name="EXPECT_NULL">false</boolProp>
  667. <boolProp name="INVERT">false</boolProp>
  668. <boolProp name="ISREGEX">false</boolProp>
  669. </JSONPathAssertion>
  670. <hashTree/>
  671. </hashTree>
  672. </hashTree>
  673. </hashTree>
  674. </hashTree>
  675. </jmeterTestPlan>