中通服WMS@出库之拣货提交@生成数据(RF).jmx 79 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335
  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@出库之拣货提交@生成数据(RF)" 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="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">8091</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">1138560056678158336</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">1138560056678158336</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.eyJpc3MiOiJ5dmFuLXNlY3VyaXR5IiwiX191aWQiOiIxNjExNDgzMTcxNzc5MTc2NjAiLCJhdWQiOiJ5dmFuLSoiLCJzdWIiOiIxNTgyNzMxNTgzNSIsImxvZ2luX2lkIjoxNjExNDgzMTcxNzc5MTc2NjIsImV4cCI6MTcxMDg3NzUwMCwiaWF0IjoxNzA4MzA5NzYyLCJqdGkiOiIzMDAzNzA2MTg2OTA4NDA5MzgifQ.LLcMYtK-SkoE8itHMsC-jK01VyWQH4nxGBV0xxxyS9DzNsiWlp-jD8Z1yJhpxT_0Se5i3U9V3JBy1wIq-3VwwyZlfemVogYtNJafdBXK-G9kdvbjx_Izsq_AVt9XE-RKNihsMMnrLH2KW0TEVYq8i3gWu6Qj_nUILUvpwpUPPNzHmkreHatPedUKpvUETNKnJSwcrZ0OcSNrOuUZoKb6oll74K_sBOkf3zfEJVijJ_ppCEc5LPD_8MD81fYWondGbJRD1rPR70PvBS2Vt8jcNTlB740KrzVo-vOqjt81D9JEvYXUC7GBxnvSQ_-PkLx0-GlVvWS3GkMVVfzTurh-cA</stringProp>
  161. <stringProp name="Argument.metadata">=</stringProp>
  162. </elementProp>
  163. <elementProp name="pick_label" elementType="Argument">
  164. <stringProp name="Argument.name">pick_label</stringProp>
  165. <stringProp name="Argument.value">0001</stringProp>
  166. <stringProp name="Argument.metadata">=</stringProp>
  167. </elementProp>
  168. </collectionProp>
  169. </Arguments>
  170. <hashTree/>
  171. <Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="环境变量-压测环境" enabled="true">
  172. <collectionProp name="Arguments.arguments">
  173. <elementProp name="thread_count" elementType="Argument">
  174. <stringProp name="Argument.name">thread_count</stringProp>
  175. <stringProp name="Argument.value">1</stringProp>
  176. <stringProp name="Argument.metadata">=</stringProp>
  177. </elementProp>
  178. <elementProp name="server" elementType="Argument">
  179. <stringProp name="Argument.name">server</stringProp>
  180. <stringProp name="Argument.value">192.168.104.237</stringProp>
  181. <stringProp name="Argument.metadata">=</stringProp>
  182. </elementProp>
  183. <elementProp name="port" elementType="Argument">
  184. <stringProp name="Argument.name">port</stringProp>
  185. <stringProp name="Argument.value">31201</stringProp>
  186. <stringProp name="Argument.metadata">=</stringProp>
  187. </elementProp>
  188. <elementProp name="path" elementType="Argument">
  189. <stringProp name="Argument.name">path</stringProp>
  190. <stringProp name="Argument.value">/wms_api/api/pages/</stringProp>
  191. <stringProp name="Argument.metadata">=</stringProp>
  192. </elementProp>
  193. <elementProp name="wh_id" elementType="Argument">
  194. <stringProp name="Argument.name">wh_id</stringProp>
  195. <stringProp name="Argument.value">1140425501375074304</stringProp>
  196. <stringProp name="Argument.metadata">=</stringProp>
  197. </elementProp>
  198. <elementProp name="owner_id" elementType="Argument">
  199. <stringProp name="Argument.name">owner_id</stringProp>
  200. <stringProp name="Argument.value">1096478673436938240</stringProp>
  201. <stringProp name="Argument.metadata">=</stringProp>
  202. </elementProp>
  203. <elementProp name="每条目上架数量因子" elementType="Argument">
  204. <stringProp name="Argument.name">每条目上架数量因子</stringProp>
  205. <stringProp name="Argument.value">10.1</stringProp>
  206. <stringProp name="Argument.metadata">=</stringProp>
  207. </elementProp>
  208. <elementProp name="project_id" elementType="Argument">
  209. <stringProp name="Argument.name">project_id</stringProp>
  210. <stringProp name="Argument.value">1140423193643847680</stringProp>
  211. <stringProp name="Argument.desc">广东电信集约化物流项目</stringProp>
  212. <stringProp name="Argument.metadata">=</stringProp>
  213. </elementProp>
  214. <elementProp name="system_key" elementType="Argument">
  215. <stringProp name="Argument.name">system_key</stringProp>
  216. <stringProp name="Argument.value">eyJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJ5dmFuLXNlY3VyaXR5IiwiX191aWQiOiIxIiwiYXVkIjoieXZhbi0qIiwic3ViIjoiYWRtaW4iLCJsb2dpbl9pZCI6MSwiZXhwIjoxNzE5NjAzOTAwLCJpYXQiOjE3MTcwNjM4MzksImp0aSI6IjM3MzgwODQ1MTE3MDA5ODgwMyJ9.I1qaWEekrgoiLDR8OXbAo4Nw2bytCQzAna1rjBLG29biTm8TrrHEIVKhP1YzQVb1Rk_RZ9DFnQiB84OlzEAV-x6FYs6JZKmUSAO_ct6FETi9VYWIzkgOgBxDgsSecX8dUGLfh6iuTSJslXExz92g7YYLQSwaGjWN9qIgUDZdkr2n1g9XRhjts7BcTrdmYpuanVpYXaFWDJ4M0itvqnLGR0RrbT2cZYiREdzSO_wIx29mctp7-PkRQmrjACfNSEqEKZP--ocQlKyBeHH_XIk2-ETN_sKpHPYr46JoMhIY1Dr8G6TtDjiVdMeQxlulW8XfP6r7f2kdKH5sk8qUYRgpGA</stringProp>
  217. <stringProp name="Argument.metadata">=</stringProp>
  218. </elementProp>
  219. </collectionProp>
  220. </Arguments>
  221. <hashTree/>
  222. <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="出库之拣货提交@生成数据" enabled="true">
  223. <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
  224. <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
  225. <boolProp name="LoopController.continue_forever">false</boolProp>
  226. <intProp name="LoopController.loops">-1</intProp>
  227. </elementProp>
  228. <stringProp name="ThreadGroup.num_threads">60</stringProp>
  229. <stringProp name="ThreadGroup.ramp_time">1</stringProp>
  230. <boolProp name="ThreadGroup.scheduler">false</boolProp>
  231. <stringProp name="ThreadGroup.duration">300</stringProp>
  232. <stringProp name="ThreadGroup.delay">0</stringProp>
  233. <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
  234. </ThreadGroup>
  235. <hashTree>
  236. <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
  237. <boolProp name="ResultCollector.error_logging">false</boolProp>
  238. <objProp>
  239. <name>saveConfig</name>
  240. <value class="SampleSaveConfiguration">
  241. <time>true</time>
  242. <latency>true</latency>
  243. <timestamp>true</timestamp>
  244. <success>true</success>
  245. <label>true</label>
  246. <code>true</code>
  247. <message>true</message>
  248. <threadName>true</threadName>
  249. <dataType>true</dataType>
  250. <encoding>false</encoding>
  251. <assertions>true</assertions>
  252. <subresults>true</subresults>
  253. <responseData>false</responseData>
  254. <samplerData>false</samplerData>
  255. <xml>false</xml>
  256. <fieldNames>true</fieldNames>
  257. <responseHeaders>false</responseHeaders>
  258. <requestHeaders>false</requestHeaders>
  259. <responseDataOnError>false</responseDataOnError>
  260. <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
  261. <assertionsResultsToSave>0</assertionsResultsToSave>
  262. <bytes>true</bytes>
  263. <sentBytes>true</sentBytes>
  264. <url>true</url>
  265. <threadCounts>true</threadCounts>
  266. <idleTime>true</idleTime>
  267. <connectTime>true</connectTime>
  268. </value>
  269. </objProp>
  270. <stringProp name="filename"></stringProp>
  271. </ResultCollector>
  272. <hashTree/>
  273. <ResultCollector guiclass="RespTimeGraphVisualizer" testclass="ResultCollector" testname="Response Time Graph" enabled="true">
  274. <boolProp name="ResultCollector.error_logging">false</boolProp>
  275. <objProp>
  276. <name>saveConfig</name>
  277. <value class="SampleSaveConfiguration">
  278. <time>true</time>
  279. <latency>true</latency>
  280. <timestamp>true</timestamp>
  281. <success>true</success>
  282. <label>true</label>
  283. <code>true</code>
  284. <message>true</message>
  285. <threadName>true</threadName>
  286. <dataType>true</dataType>
  287. <encoding>false</encoding>
  288. <assertions>true</assertions>
  289. <subresults>true</subresults>
  290. <responseData>false</responseData>
  291. <samplerData>false</samplerData>
  292. <xml>false</xml>
  293. <fieldNames>true</fieldNames>
  294. <responseHeaders>false</responseHeaders>
  295. <requestHeaders>false</requestHeaders>
  296. <responseDataOnError>false</responseDataOnError>
  297. <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
  298. <assertionsResultsToSave>0</assertionsResultsToSave>
  299. <bytes>true</bytes>
  300. <sentBytes>true</sentBytes>
  301. <url>true</url>
  302. <threadCounts>true</threadCounts>
  303. <idleTime>true</idleTime>
  304. <connectTime>true</connectTime>
  305. </value>
  306. </objProp>
  307. <stringProp name="filename"></stringProp>
  308. </ResultCollector>
  309. <hashTree/>
  310. <ResultCollector guiclass="StatVisualizer" testclass="ResultCollector" testname="Aggregate Report" enabled="true">
  311. <boolProp name="ResultCollector.error_logging">false</boolProp>
  312. <objProp>
  313. <name>saveConfig</name>
  314. <value class="SampleSaveConfiguration">
  315. <time>true</time>
  316. <latency>true</latency>
  317. <timestamp>true</timestamp>
  318. <success>true</success>
  319. <label>true</label>
  320. <code>true</code>
  321. <message>true</message>
  322. <threadName>true</threadName>
  323. <dataType>true</dataType>
  324. <encoding>false</encoding>
  325. <assertions>true</assertions>
  326. <subresults>true</subresults>
  327. <responseData>false</responseData>
  328. <samplerData>false</samplerData>
  329. <xml>false</xml>
  330. <fieldNames>true</fieldNames>
  331. <responseHeaders>false</responseHeaders>
  332. <requestHeaders>false</requestHeaders>
  333. <responseDataOnError>false</responseDataOnError>
  334. <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
  335. <assertionsResultsToSave>0</assertionsResultsToSave>
  336. <bytes>true</bytes>
  337. <sentBytes>true</sentBytes>
  338. <url>true</url>
  339. <threadCounts>true</threadCounts>
  340. <idleTime>true</idleTime>
  341. <connectTime>true</connectTime>
  342. </value>
  343. </objProp>
  344. <stringProp name="filename"></stringProp>
  345. </ResultCollector>
  346. <hashTree/>
  347. <ResultCollector guiclass="SummaryReport" testclass="ResultCollector" testname="Summary Report" enabled="true">
  348. <boolProp name="ResultCollector.error_logging">false</boolProp>
  349. <objProp>
  350. <name>saveConfig</name>
  351. <value class="SampleSaveConfiguration">
  352. <time>true</time>
  353. <latency>true</latency>
  354. <timestamp>true</timestamp>
  355. <success>true</success>
  356. <label>true</label>
  357. <code>true</code>
  358. <message>true</message>
  359. <threadName>true</threadName>
  360. <dataType>true</dataType>
  361. <encoding>false</encoding>
  362. <assertions>true</assertions>
  363. <subresults>true</subresults>
  364. <responseData>false</responseData>
  365. <samplerData>false</samplerData>
  366. <xml>false</xml>
  367. <fieldNames>true</fieldNames>
  368. <responseHeaders>false</responseHeaders>
  369. <requestHeaders>false</requestHeaders>
  370. <responseDataOnError>false</responseDataOnError>
  371. <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
  372. <assertionsResultsToSave>0</assertionsResultsToSave>
  373. <bytes>true</bytes>
  374. <sentBytes>true</sentBytes>
  375. <url>true</url>
  376. <threadCounts>true</threadCounts>
  377. <idleTime>true</idleTime>
  378. <connectTime>true</connectTime>
  379. </value>
  380. </objProp>
  381. <stringProp name="filename"></stringProp>
  382. </ResultCollector>
  383. <hashTree/>
  384. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  385. <collectionProp name="HeaderManager.headers">
  386. <elementProp name="" elementType="Header">
  387. <stringProp name="Header.name">whId</stringProp>
  388. <stringProp name="Header.value">${wh_id}</stringProp>
  389. </elementProp>
  390. <elementProp name="" elementType="Header">
  391. <stringProp name="Header.name">systemkey</stringProp>
  392. <stringProp name="Header.value">${system_key}</stringProp>
  393. </elementProp>
  394. </collectionProp>
  395. </HeaderManager>
  396. <hashTree/>
  397. <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Page No Counter" enabled="true">
  398. <stringProp name="CounterConfig.start">0</stringProp>
  399. <stringProp name="CounterConfig.end"></stringProp>
  400. <stringProp name="CounterConfig.incr">1</stringProp>
  401. <stringProp name="CounterConfig.name">page_no</stringProp>
  402. <stringProp name="CounterConfig.format"></stringProp>
  403. <boolProp name="CounterConfig.per_user">false</boolProp>
  404. </CounterConfig>
  405. <hashTree/>
  406. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="QueryTaskClassify" enabled="false">
  407. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  408. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  409. <collectionProp name="Arguments.arguments">
  410. <elementProp name="" elementType="HTTPArgument">
  411. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  412. <stringProp name="Argument.value">{&#xd;
  413. &quot;args&quot;: [&#xd;
  414. {&#xd;
  415. &#xd;
  416. }&#xd;
  417. ]&#xd;
  418. }&#xd;
  419. </stringProp>
  420. <stringProp name="Argument.metadata">=</stringProp>
  421. </elementProp>
  422. </collectionProp>
  423. </elementProp>
  424. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  425. <stringProp name="HTTPSampler.port">${port}</stringProp>
  426. <stringProp name="HTTPSampler.protocol"></stringProp>
  427. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  428. <stringProp name="HTTPSampler.path">/wms_api/api/pages/outbound/pda_pick/PdaPick@queryTaskClassify</stringProp>
  429. <stringProp name="HTTPSampler.method">POST</stringProp>
  430. <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
  431. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  432. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  433. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  434. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  435. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  436. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  437. </HTTPSamplerProxy>
  438. <hashTree>
  439. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  440. <stringProp name="JSON_PATH">$.success</stringProp>
  441. <stringProp name="EXPECTED_VALUE">true</stringProp>
  442. <boolProp name="JSONVALIDATION">true</boolProp>
  443. <boolProp name="EXPECT_NULL">false</boolProp>
  444. <boolProp name="INVERT">false</boolProp>
  445. <boolProp name="ISREGEX">false</boolProp>
  446. </JSONPathAssertion>
  447. <hashTree/>
  448. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="task_classify_list" enabled="true">
  449. <stringProp name="JSONPostProcessor.referenceNames">task_classify_list</stringProp>
  450. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data[*]</stringProp>
  451. <stringProp name="JSONPostProcessor.match_numbers">-1</stringProp>
  452. </JSONPostProcessor>
  453. <hashTree/>
  454. </hashTree>
  455. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach_Task_Classify" enabled="false">
  456. <stringProp name="ForeachController.inputVal">task_classify_list</stringProp>
  457. <stringProp name="ForeachController.returnVal">task_classify</stringProp>
  458. <boolProp name="ForeachController.useSeparator">true</boolProp>
  459. <stringProp name="ForeachController.endIndex">${task_classify_list_matchNr}</stringProp>
  460. <stringProp name="ForeachController.startIndex">0</stringProp>
  461. </ForeachController>
  462. <hashTree>
  463. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="BeanShell Sampler" enabled="true">
  464. <stringProp name="BeanShellSampler.query">com.JMeterUtil util = com.Yvan.init(vars, log, ctx);
  465. Map taskClassifyMap = util.parseJson(vars.get(&quot;task_classify&quot;));
  466. vars.put(&quot;pick_label&quot;, taskClassifyMap.get(&quot;pick_label&quot;));</stringProp>
  467. <stringProp name="BeanShellSampler.filename"></stringProp>
  468. <stringProp name="BeanShellSampler.parameters"></stringProp>
  469. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  470. </BeanShellSampler>
  471. <hashTree/>
  472. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="QueryTaskGroup" enabled="true">
  473. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  474. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  475. <collectionProp name="Arguments.arguments">
  476. <elementProp name="" elementType="HTTPArgument">
  477. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  478. <stringProp name="Argument.value">{&#xd;
  479. &quot;args&quot;: [&#xd;
  480. {&#xd;
  481. &quot;limit&quot;: 100000,&#xd;
  482. &quot;page&quot;: ${page_no},,&#xd;
  483. &quot;start&quot;: ${page_no},&#xd;
  484. &quot;pick_label&quot;: &quot;${pick_label}&quot;,&#xd;
  485. &quot;so_code&quot;: &quot;&quot;,&#xd;
  486. &quot;has&quot;: false&#xd;
  487. }&#xd;
  488. ]&#xd;
  489. }</stringProp>
  490. <stringProp name="Argument.metadata">=</stringProp>
  491. </elementProp>
  492. </collectionProp>
  493. </elementProp>
  494. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  495. <stringProp name="HTTPSampler.port">${port}</stringProp>
  496. <stringProp name="HTTPSampler.protocol"></stringProp>
  497. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  498. <stringProp name="HTTPSampler.path">/wms_api/api/pages/outbound/pda_pick/PdaPick@queryTaskGroup</stringProp>
  499. <stringProp name="HTTPSampler.method">POST</stringProp>
  500. <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
  501. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  502. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  503. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  504. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  505. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  506. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  507. </HTTPSamplerProxy>
  508. <hashTree>
  509. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  510. <stringProp name="JSON_PATH">$.success</stringProp>
  511. <stringProp name="EXPECTED_VALUE">true</stringProp>
  512. <boolProp name="JSONVALIDATION">true</boolProp>
  513. <boolProp name="EXPECT_NULL">false</boolProp>
  514. <boolProp name="INVERT">false</boolProp>
  515. <boolProp name="ISREGEX">false</boolProp>
  516. </JSONPathAssertion>
  517. <hashTree/>
  518. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="task_group_list" enabled="true">
  519. <stringProp name="JSONPostProcessor.referenceNames">task_group_list</stringProp>
  520. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data[*]</stringProp>
  521. <stringProp name="JSONPostProcessor.match_numbers">-1</stringProp>
  522. </JSONPostProcessor>
  523. <hashTree/>
  524. </hashTree>
  525. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach_Task_Group" enabled="true">
  526. <stringProp name="ForeachController.inputVal">task_group_list</stringProp>
  527. <stringProp name="ForeachController.returnVal">task_group</stringProp>
  528. <boolProp name="ForeachController.useSeparator">true</boolProp>
  529. <stringProp name="ForeachController.startIndex">0</stringProp>
  530. <stringProp name="ForeachController.endIndex">${task_group_list_matchNr}</stringProp>
  531. </ForeachController>
  532. <hashTree>
  533. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="BeanShell Sampler" enabled="true">
  534. <stringProp name="BeanShellSampler.query">com.JMeterUtil util = com.Yvan.init(vars, log, ctx);
  535. Map taskGroupMap = util.parseJson(vars.get(&quot;task_group&quot;));
  536. log.info(&quot; =&gt; &quot; + util.toJson(taskGroupMap));
  537. vars.put(&quot;group_label&quot;, taskGroupMap.get(&quot;group_label&quot;));
  538. vars.put(&quot;merge_task_id&quot;, taskGroupMap.get(&quot;merge_task_id&quot;));
  539. vars.put(&quot;obtain_staff_id&quot;, taskGroupMap.get(&quot;obtain_staff_id&quot;));
  540. vars.put(&quot;wave_id&quot;, taskGroupMap.get(&quot;wave_id&quot;));
  541. vars.put(&quot;wave_no&quot;, taskGroupMap.get(&quot;wave_no&quot;));
  542. vars.put(&quot;wave_template_section_id&quot;, taskGroupMap.get(&quot;wave_template_section_id&quot;));</stringProp>
  543. <stringProp name="BeanShellSampler.filename"></stringProp>
  544. <stringProp name="BeanShellSampler.parameters"></stringProp>
  545. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  546. </BeanShellSampler>
  547. <hashTree/>
  548. <DebugSampler guiclass="TestBeanGUI" testclass="DebugSampler" testname="Debug Sampler" enabled="true">
  549. <boolProp name="displayJMeterProperties">false</boolProp>
  550. <boolProp name="displayJMeterVariables">true</boolProp>
  551. <boolProp name="displaySystemProperties">false</boolProp>
  552. </DebugSampler>
  553. <hashTree/>
  554. <IfController guiclass="IfControllerPanel" testclass="IfController" testname="If Controller" enabled="true">
  555. <stringProp name="IfController.condition">${__groovy(&quot;${obtain_staff_id}&quot; == &quot;0&quot;)}</stringProp>
  556. <boolProp name="IfController.evaluateAll">false</boolProp>
  557. <boolProp name="IfController.useExpression">true</boolProp>
  558. </IfController>
  559. <hashTree>
  560. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="PickObtain" enabled="true">
  561. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  562. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  563. <collectionProp name="Arguments.arguments">
  564. <elementProp name="" elementType="HTTPArgument">
  565. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  566. <stringProp name="Argument.value">{&#xd;
  567. &quot;args&quot;: [&#xd;
  568. {&#xd;
  569. &quot;pick_label&quot;: &quot;${pick_label}&quot;,&#xd;
  570. &quot;group_label&quot;: &quot;${group_label}&quot;,&#xd;
  571. &quot;pda_pick_type&quot;: &quot;0002&quot;,&#xd;
  572. &quot;staff_name&quot;: &quot;胡静&quot;,&#xd;
  573. &quot;wave_no&quot;: &quot;${wave_no}&quot;,&#xd;
  574. &quot;wave_template_section_id&quot;: &quot;${wave_template_section_id}&quot;,&#xd;
  575. &quot;obtain_staff_id&quot;: &quot;1130799953375924224&quot;,&#xd;
  576. &quot;has_source&quot;: &quot;0000&quot;,&#xd;
  577. &quot;merge_task_id&quot;: &quot;${merge_task_id}&quot;,&#xd;
  578. &quot;wave_id&quot;: &quot;${wave_id}&quot;,&#xd;
  579. &quot;pick_mode&quot;: &quot;0001&quot;,&#xd;
  580. &quot;picked_count&quot;: &quot;2&quot;,&#xd;
  581. &quot;not_picked_count&quot;: &quot;0&quot;,&#xd;
  582. &quot;total_count&quot;: &quot;2&quot;,&#xd;
  583. &quot;progress&quot;: &quot;2/2&quot;&#xd;
  584. }&#xd;
  585. ]&#xd;
  586. }&#xd;
  587. </stringProp>
  588. <stringProp name="Argument.metadata">=</stringProp>
  589. </elementProp>
  590. </collectionProp>
  591. </elementProp>
  592. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  593. <stringProp name="HTTPSampler.port">${port}</stringProp>
  594. <stringProp name="HTTPSampler.protocol"></stringProp>
  595. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  596. <stringProp name="HTTPSampler.path">/wms_api/api/pages/outbound/pda_pick/PdaPick@pickObtain</stringProp>
  597. <stringProp name="HTTPSampler.method">POST</stringProp>
  598. <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
  599. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  600. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  601. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  602. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  603. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  604. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  605. </HTTPSamplerProxy>
  606. <hashTree>
  607. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  608. <stringProp name="JSON_PATH">$.success</stringProp>
  609. <stringProp name="EXPECTED_VALUE">true</stringProp>
  610. <boolProp name="JSONVALIDATION">true</boolProp>
  611. <boolProp name="EXPECT_NULL">false</boolProp>
  612. <boolProp name="INVERT">false</boolProp>
  613. <boolProp name="ISREGEX">false</boolProp>
  614. </JSONPathAssertion>
  615. <hashTree/>
  616. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="merge_task_id" enabled="true">
  617. <stringProp name="JSONPostProcessor.referenceNames">merge_task_id</stringProp>
  618. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data</stringProp>
  619. <stringProp name="JSONPostProcessor.match_numbers">1</stringProp>
  620. </JSONPostProcessor>
  621. <hashTree/>
  622. </hashTree>
  623. </hashTree>
  624. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="QueryTaskPickList" enabled="true">
  625. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  626. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  627. <collectionProp name="Arguments.arguments">
  628. <elementProp name="" elementType="HTTPArgument">
  629. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  630. <stringProp name="Argument.value">{&#xd;
  631. &quot;args&quot;: [&#xd;
  632. {&#xd;
  633. &quot;limit&quot;: 1000000,&#xd;
  634. &quot;page&quot;: 1,&#xd;
  635. &quot;start&quot;: 0,&#xd;
  636. &quot;merge_task_id&quot;: &quot;${merge_task_id}&quot;,&#xd;
  637. &quot;merge&quot;: false,&#xd;
  638. &quot;loc_desc&quot;: false&#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">/wms_api/api/pages/outbound/pda_pick/PdaPick@queryTaskPickList</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.connect_timeout"></stringProp>
  658. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  659. </HTTPSamplerProxy>
  660. <hashTree>
  661. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  662. <stringProp name="JSON_PATH">$.success</stringProp>
  663. <stringProp name="EXPECTED_VALUE">true</stringProp>
  664. <boolProp name="JSONVALIDATION">true</boolProp>
  665. <boolProp name="EXPECT_NULL">false</boolProp>
  666. <boolProp name="INVERT">false</boolProp>
  667. <boolProp name="ISREGEX">false</boolProp>
  668. </JSONPathAssertion>
  669. <hashTree/>
  670. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="task_pick_list" enabled="true">
  671. <stringProp name="JSONPostProcessor.referenceNames">task_pick_list</stringProp>
  672. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data[*]</stringProp>
  673. <stringProp name="JSONPostProcessor.match_numbers">-1</stringProp>
  674. </JSONPostProcessor>
  675. <hashTree/>
  676. </hashTree>
  677. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach_Task_Pick_List" enabled="true">
  678. <stringProp name="ForeachController.inputVal">task_pick_list</stringProp>
  679. <stringProp name="ForeachController.returnVal">task_pick</stringProp>
  680. <boolProp name="ForeachController.useSeparator">true</boolProp>
  681. <stringProp name="ForeachController.startIndex">0</stringProp>
  682. <stringProp name="ForeachController.endIndex">${task_pick_list_matchNr}</stringProp>
  683. </ForeachController>
  684. <hashTree>
  685. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="BeanShell Sampler" enabled="true">
  686. <stringProp name="BeanShellSampler.query">com.JMeterUtil util = com.Yvan.init(vars, log, ctx);
  687. Map taskPickMap = util.parseJson(vars.get(&quot;task_pick&quot;));
  688. vars.put(&quot;pick_task_id&quot;, taskPickMap.get(&quot;pick_task_id&quot;));</stringProp>
  689. <stringProp name="BeanShellSampler.filename"></stringProp>
  690. <stringProp name="BeanShellSampler.parameters"></stringProp>
  691. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  692. </BeanShellSampler>
  693. <hashTree/>
  694. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="QueryPickRealDetail" enabled="true">
  695. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  696. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  697. <collectionProp name="Arguments.arguments">
  698. <elementProp name="" elementType="HTTPArgument">
  699. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  700. <stringProp name="Argument.value">{&#xd;
  701. &quot;args&quot;: [&#xd;
  702. {&#xd;
  703. &quot;merge_task_id&quot;: &quot;${merge_task_id}&quot;,&#xd;
  704. &quot;pick_task_id&quot;: &quot;${pick_task_id}&quot;,&#xd;
  705. &quot;loc_desc&quot;: false,&#xd;
  706. &quot;row_num&quot;: 1&#xd;
  707. }&#xd;
  708. ]&#xd;
  709. }</stringProp>
  710. <stringProp name="Argument.metadata">=</stringProp>
  711. </elementProp>
  712. </collectionProp>
  713. </elementProp>
  714. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  715. <stringProp name="HTTPSampler.port">${port}</stringProp>
  716. <stringProp name="HTTPSampler.protocol"></stringProp>
  717. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  718. <stringProp name="HTTPSampler.path">/wms_api/api/pages/outbound/pda_pick/PdaPick@queryPickRealDetail</stringProp>
  719. <stringProp name="HTTPSampler.method">POST</stringProp>
  720. <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
  721. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  722. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  723. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  724. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  725. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  726. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  727. </HTTPSamplerProxy>
  728. <hashTree>
  729. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  730. <stringProp name="JSON_PATH">$.success</stringProp>
  731. <stringProp name="EXPECTED_VALUE">true</stringProp>
  732. <boolProp name="JSONVALIDATION">true</boolProp>
  733. <boolProp name="EXPECT_NULL">false</boolProp>
  734. <boolProp name="INVERT">false</boolProp>
  735. <boolProp name="ISREGEX">false</boolProp>
  736. </JSONPathAssertion>
  737. <hashTree/>
  738. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="task_pick_detail" enabled="true">
  739. <stringProp name="JSONPostProcessor.referenceNames">task_pick_detail</stringProp>
  740. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data</stringProp>
  741. <stringProp name="JSONPostProcessor.match_numbers">1</stringProp>
  742. </JSONPostProcessor>
  743. <hashTree/>
  744. </hashTree>
  745. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="BeanShell Sampler" enabled="true">
  746. <stringProp name="BeanShellSampler.query">com.JMeterUtil util = com.Yvan.init(vars, log, ctx);
  747. Map taskPickMap = util.parseJson(vars.get(&quot;task_pick_detail&quot;));
  748. taskPickMap.put(&quot;merge_task_id&quot;, vars.get(&quot;merge_task_id&quot;));
  749. taskPickMap.put(&quot;scan_mode&quot;, &quot;0000&quot;);
  750. taskPickMap.put(&quot;scan_code&quot;, taskPickMap.get(&quot;location_code&quot;));
  751. taskPickMap.put(&quot;new_loc_id&quot;, taskPickMap.get(&quot;loc_id&quot;));
  752. taskPickMap.put(&quot;new_lot_id&quot;, taskPickMap.get(&quot;lot_id&quot;));
  753. taskPickMap.put(&quot;new_quality_status&quot;, taskPickMap.get(&quot;quality_status&quot;));
  754. taskPickMap.put(&quot;current_pick_qty&quot;, taskPickMap.get(&quot;qty&quot;));
  755. vars.put(&quot;n_task_pick&quot;, util.toJson(taskPickMap));</stringProp>
  756. <stringProp name="BeanShellSampler.filename"></stringProp>
  757. <stringProp name="BeanShellSampler.parameters"></stringProp>
  758. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  759. </BeanShellSampler>
  760. <hashTree/>
  761. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SavePickRealDetail" enabled="true">
  762. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  763. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  764. <collectionProp name="Arguments.arguments">
  765. <elementProp name="" elementType="HTTPArgument">
  766. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  767. <stringProp name="Argument.value">{&#xd;
  768. &quot;args&quot;: [&#xd;
  769. ${n_task_pick}&#xd;
  770. ]&#xd;
  771. }</stringProp>
  772. <stringProp name="Argument.metadata">=</stringProp>
  773. </elementProp>
  774. </collectionProp>
  775. </elementProp>
  776. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  777. <stringProp name="HTTPSampler.port">${port}</stringProp>
  778. <stringProp name="HTTPSampler.protocol"></stringProp>
  779. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  780. <stringProp name="HTTPSampler.path">/wms_api/api/pages/outbound/pda_pick/PdaPick@savePickRealDetail</stringProp>
  781. <stringProp name="HTTPSampler.method">POST</stringProp>
  782. <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
  783. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  784. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  785. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  786. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  787. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  788. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  789. </HTTPSamplerProxy>
  790. <hashTree>
  791. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  792. <stringProp name="JSON_PATH">$.success</stringProp>
  793. <stringProp name="EXPECTED_VALUE">true</stringProp>
  794. <boolProp name="JSONVALIDATION">true</boolProp>
  795. <boolProp name="EXPECT_NULL">false</boolProp>
  796. <boolProp name="INVERT">false</boolProp>
  797. <boolProp name="ISREGEX">false</boolProp>
  798. </JSONPathAssertion>
  799. <hashTree/>
  800. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="task_pick_detail" enabled="true">
  801. <stringProp name="JSONPostProcessor.referenceNames">task_pick_detail</stringProp>
  802. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data</stringProp>
  803. <stringProp name="JSONPostProcessor.match_numbers">1</stringProp>
  804. </JSONPostProcessor>
  805. <hashTree/>
  806. </hashTree>
  807. </hashTree>
  808. </hashTree>
  809. </hashTree>
  810. <CSVDataSet guiclass="TestBeanGUI" testclass="CSVDataSet" testname="CSV Data Set Config" enabled="true">
  811. <stringProp name="delimiter">,</stringProp>
  812. <stringProp name="fileEncoding">UTF-8</stringProp>
  813. <stringProp name="filename">C:/Users/admin/Desktop/jmx/出库/中通服WMS@出库之拣货提交@生成数据(RF)_CSV.csv</stringProp>
  814. <boolProp name="ignoreFirstLine">false</boolProp>
  815. <boolProp name="quotedData">false</boolProp>
  816. <boolProp name="recycle">false</boolProp>
  817. <stringProp name="shareMode">shareMode.all</stringProp>
  818. <boolProp name="stopThread">true</boolProp>
  819. <stringProp name="variableNames">so_code</stringProp>
  820. </CSVDataSet>
  821. <hashTree/>
  822. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="QueryTaskGroup" enabled="true">
  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;limit&quot;: 10,&#xd;
  832. &quot;page&quot;: 1,&#xd;
  833. &quot;start&quot;: 1,&#xd;
  834. &quot;pick_label&quot;: &quot;0001&quot;,&#xd;
  835. &quot;so_code&quot;: &quot;${so_code}&quot;,&#xd;
  836. &quot;has&quot;: false&#xd;
  837. }&#xd;
  838. ]&#xd;
  839. }</stringProp>
  840. <stringProp name="Argument.metadata">=</stringProp>
  841. </elementProp>
  842. </collectionProp>
  843. </elementProp>
  844. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  845. <stringProp name="HTTPSampler.port">${port}</stringProp>
  846. <stringProp name="HTTPSampler.protocol"></stringProp>
  847. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  848. <stringProp name="HTTPSampler.path">/wms_api/api/pages/outbound/pda_pick/PdaPick@queryTaskGroup</stringProp>
  849. <stringProp name="HTTPSampler.method">POST</stringProp>
  850. <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
  851. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  852. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  853. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  854. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  855. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  856. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  857. </HTTPSamplerProxy>
  858. <hashTree>
  859. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  860. <stringProp name="JSON_PATH">$.success</stringProp>
  861. <stringProp name="EXPECTED_VALUE">true</stringProp>
  862. <boolProp name="JSONVALIDATION">true</boolProp>
  863. <boolProp name="EXPECT_NULL">false</boolProp>
  864. <boolProp name="INVERT">false</boolProp>
  865. <boolProp name="ISREGEX">false</boolProp>
  866. </JSONPathAssertion>
  867. <hashTree/>
  868. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="task_group_list" enabled="true">
  869. <stringProp name="JSONPostProcessor.referenceNames">task_group</stringProp>
  870. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data.[*]</stringProp>
  871. <stringProp name="JSONPostProcessor.match_numbers">1</stringProp>
  872. </JSONPostProcessor>
  873. <hashTree/>
  874. </hashTree>
  875. <DebugSampler guiclass="TestBeanGUI" testclass="DebugSampler" testname="Debug Sampler" enabled="true">
  876. <boolProp name="displayJMeterProperties">false</boolProp>
  877. <boolProp name="displayJMeterVariables">true</boolProp>
  878. <boolProp name="displaySystemProperties">false</boolProp>
  879. </DebugSampler>
  880. <hashTree/>
  881. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="BeanShell Sampler 1" enabled="true">
  882. <stringProp name="BeanShellSampler.query">com.JMeterUtil util = com.Yvan.init(vars, log, ctx);
  883. Map taskGroupMap = util.parseJson(vars.get(&quot;task_group&quot;));
  884. vars.put(&quot;group_label&quot;, taskGroupMap.get(&quot;group_label&quot;));
  885. vars.put(&quot;merge_task_id&quot;, taskGroupMap.get(&quot;merge_task_id&quot;));
  886. vars.put(&quot;obtain_staff_id&quot;, taskGroupMap.get(&quot;obtain_staff_id&quot;));
  887. vars.put(&quot;wave_id&quot;, taskGroupMap.get(&quot;wave_id&quot;));
  888. vars.put(&quot;wave_no&quot;, taskGroupMap.get(&quot;wave_no&quot;));
  889. vars.put(&quot;wave_template_section_id&quot;, taskGroupMap.get(&quot;wave_template_section_id&quot;));</stringProp>
  890. <stringProp name="BeanShellSampler.filename"></stringProp>
  891. <stringProp name="BeanShellSampler.parameters"></stringProp>
  892. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  893. </BeanShellSampler>
  894. <hashTree/>
  895. <IfController guiclass="IfControllerPanel" testclass="IfController" testname="If Controller" enabled="true">
  896. <stringProp name="IfController.condition">${__groovy(&quot;${obtain_staff_id}&quot; == &quot;0&quot;)}</stringProp>
  897. <boolProp name="IfController.evaluateAll">false</boolProp>
  898. <boolProp name="IfController.useExpression">true</boolProp>
  899. </IfController>
  900. <hashTree>
  901. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="PickObtain" enabled="true">
  902. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  903. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  904. <collectionProp name="Arguments.arguments">
  905. <elementProp name="" elementType="HTTPArgument">
  906. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  907. <stringProp name="Argument.value">{&#xd;
  908. &quot;args&quot;: [&#xd;
  909. {&#xd;
  910. &quot;pick_label&quot;: &quot;0001&quot;,&#xd;
  911. &quot;group_label&quot;: &quot;${group_label}&quot;,&#xd;
  912. &quot;pda_pick_type&quot;: &quot;0002&quot;,&#xd;
  913. &quot;staff_name&quot;: null,&#xd;
  914. &quot;wave_no&quot;: &quot;${wave_no}&quot;,&#xd;
  915. &quot;wave_template_section_id&quot;: &quot;${wave_template_section_id}&quot;,&#xd;
  916. &quot;obtain_staff_id&quot;: &quot;0&quot;,&#xd;
  917. &quot;has_source&quot;: &quot;0000&quot;,&#xd;
  918. &quot;merge_task_id&quot;: &quot;${merge_task_id}&quot;,&#xd;
  919. &quot;wave_id&quot;: &quot;${wave_id}&quot;,&#xd;
  920. &quot;pick_mode&quot;: &quot;0001&quot;,&#xd;
  921. &quot;picked_count&quot;: &quot;0&quot;,&#xd;
  922. &quot;not_picked_count&quot;: &quot;17&quot;,&#xd;
  923. &quot;total_count&quot;: &quot;17&quot;,&#xd;
  924. &quot;progress&quot;: &quot;0/17&quot;&#xd;
  925. }&#xd;
  926. ]&#xd;
  927. }</stringProp>
  928. <stringProp name="Argument.metadata">=</stringProp>
  929. </elementProp>
  930. </collectionProp>
  931. </elementProp>
  932. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  933. <stringProp name="HTTPSampler.port">${port}</stringProp>
  934. <stringProp name="HTTPSampler.protocol"></stringProp>
  935. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  936. <stringProp name="HTTPSampler.path">/wms_api/api/pages/outbound/pda_pick/PdaPick@pickObtain</stringProp>
  937. <stringProp name="HTTPSampler.method">POST</stringProp>
  938. <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
  939. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  940. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  941. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  942. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  943. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  944. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  945. </HTTPSamplerProxy>
  946. <hashTree>
  947. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  948. <stringProp name="JSON_PATH">$.success</stringProp>
  949. <stringProp name="EXPECTED_VALUE">true</stringProp>
  950. <boolProp name="JSONVALIDATION">true</boolProp>
  951. <boolProp name="EXPECT_NULL">false</boolProp>
  952. <boolProp name="INVERT">false</boolProp>
  953. <boolProp name="ISREGEX">false</boolProp>
  954. </JSONPathAssertion>
  955. <hashTree/>
  956. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="merge_task_id" enabled="true">
  957. <stringProp name="JSONPostProcessor.referenceNames">merge_task_id</stringProp>
  958. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data</stringProp>
  959. <stringProp name="JSONPostProcessor.match_numbers">1</stringProp>
  960. </JSONPostProcessor>
  961. <hashTree/>
  962. </hashTree>
  963. </hashTree>
  964. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach_Task_Group" enabled="false">
  965. <stringProp name="ForeachController.inputVal">task_group_list</stringProp>
  966. <stringProp name="ForeachController.returnVal">task_group</stringProp>
  967. <boolProp name="ForeachController.useSeparator">true</boolProp>
  968. <stringProp name="ForeachController.startIndex">0</stringProp>
  969. <stringProp name="ForeachController.endIndex">${task_group_list_matchNr}</stringProp>
  970. </ForeachController>
  971. <hashTree>
  972. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="QueryTaskPickList" enabled="false">
  973. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  974. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  975. <collectionProp name="Arguments.arguments">
  976. <elementProp name="" elementType="HTTPArgument">
  977. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  978. <stringProp name="Argument.value">{&#xd;
  979. &quot;args&quot;: [&#xd;
  980. {&#xd;
  981. &quot;limit&quot;: 1000000,&#xd;
  982. &quot;page&quot;: 1,&#xd;
  983. &quot;start&quot;: 0,&#xd;
  984. &quot;merge_task_id&quot;: &quot;${merge_task_id}&quot;,&#xd;
  985. &quot;merge&quot;: false,&#xd;
  986. &quot;loc_desc&quot;: false&#xd;
  987. }&#xd;
  988. ]&#xd;
  989. }</stringProp>
  990. <stringProp name="Argument.metadata">=</stringProp>
  991. </elementProp>
  992. </collectionProp>
  993. </elementProp>
  994. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  995. <stringProp name="HTTPSampler.port">${port}</stringProp>
  996. <stringProp name="HTTPSampler.protocol"></stringProp>
  997. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  998. <stringProp name="HTTPSampler.path">/wms_api/api/pages/outbound/pda_pick/PdaPick@queryTaskPickList</stringProp>
  999. <stringProp name="HTTPSampler.method">POST</stringProp>
  1000. <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
  1001. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1002. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1003. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1004. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  1005. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  1006. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  1007. </HTTPSamplerProxy>
  1008. <hashTree>
  1009. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  1010. <stringProp name="JSON_PATH">$.success</stringProp>
  1011. <stringProp name="EXPECTED_VALUE">true</stringProp>
  1012. <boolProp name="JSONVALIDATION">true</boolProp>
  1013. <boolProp name="EXPECT_NULL">false</boolProp>
  1014. <boolProp name="INVERT">false</boolProp>
  1015. <boolProp name="ISREGEX">false</boolProp>
  1016. </JSONPathAssertion>
  1017. <hashTree/>
  1018. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="task_pick_list" enabled="true">
  1019. <stringProp name="JSONPostProcessor.referenceNames">task_pick_list</stringProp>
  1020. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data[*]</stringProp>
  1021. <stringProp name="JSONPostProcessor.match_numbers">-1</stringProp>
  1022. </JSONPostProcessor>
  1023. <hashTree/>
  1024. </hashTree>
  1025. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach_Task_Pick_List" enabled="false">
  1026. <stringProp name="ForeachController.inputVal">task_pick_list</stringProp>
  1027. <stringProp name="ForeachController.returnVal">task_pick</stringProp>
  1028. <boolProp name="ForeachController.useSeparator">true</boolProp>
  1029. <stringProp name="ForeachController.startIndex">0</stringProp>
  1030. <stringProp name="ForeachController.endIndex">${task_pick_list_matchNr}</stringProp>
  1031. </ForeachController>
  1032. <hashTree>
  1033. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="BeanShell Sampler 2" enabled="true">
  1034. <stringProp name="BeanShellSampler.query">com.JMeterUtil util = com.Yvan.init(vars, log, ctx);
  1035. Map taskPickMap = util.parseJson(vars.get(&quot;task_pick&quot;));
  1036. vars.put(&quot;pick_task_id&quot;, taskPickMap.get(&quot;pick_task_id&quot;));</stringProp>
  1037. <stringProp name="BeanShellSampler.filename"></stringProp>
  1038. <stringProp name="BeanShellSampler.parameters"></stringProp>
  1039. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  1040. </BeanShellSampler>
  1041. <hashTree/>
  1042. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="QueryPickRealDetail" enabled="true">
  1043. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  1044. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  1045. <collectionProp name="Arguments.arguments">
  1046. <elementProp name="" elementType="HTTPArgument">
  1047. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  1048. <stringProp name="Argument.value">{&#xd;
  1049. &quot;args&quot;: [&#xd;
  1050. {&#xd;
  1051. &quot;merge_task_id&quot;: &quot;${merge_task_id}&quot;,&#xd;
  1052. &quot;pick_task_id&quot;: &quot;${pick_task_id}&quot;,&#xd;
  1053. &quot;loc_desc&quot;: false,&#xd;
  1054. &quot;row_num&quot;: 1&#xd;
  1055. }&#xd;
  1056. ]&#xd;
  1057. }</stringProp>
  1058. <stringProp name="Argument.metadata">=</stringProp>
  1059. </elementProp>
  1060. </collectionProp>
  1061. </elementProp>
  1062. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  1063. <stringProp name="HTTPSampler.port">${port}</stringProp>
  1064. <stringProp name="HTTPSampler.protocol"></stringProp>
  1065. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  1066. <stringProp name="HTTPSampler.path">/wms_api/api/pages/outbound/pda_pick/PdaPick@queryPickRealDetail</stringProp>
  1067. <stringProp name="HTTPSampler.method">POST</stringProp>
  1068. <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
  1069. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1070. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1071. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1072. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  1073. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  1074. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  1075. </HTTPSamplerProxy>
  1076. <hashTree>
  1077. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  1078. <stringProp name="JSON_PATH">$.success</stringProp>
  1079. <stringProp name="EXPECTED_VALUE">true</stringProp>
  1080. <boolProp name="JSONVALIDATION">true</boolProp>
  1081. <boolProp name="EXPECT_NULL">false</boolProp>
  1082. <boolProp name="INVERT">false</boolProp>
  1083. <boolProp name="ISREGEX">false</boolProp>
  1084. </JSONPathAssertion>
  1085. <hashTree/>
  1086. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="task_pick_detail" enabled="true">
  1087. <stringProp name="JSONPostProcessor.referenceNames">task_pick_detail</stringProp>
  1088. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data</stringProp>
  1089. <stringProp name="JSONPostProcessor.match_numbers">1</stringProp>
  1090. </JSONPostProcessor>
  1091. <hashTree/>
  1092. </hashTree>
  1093. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="BeanShell Sampler 3" enabled="false">
  1094. <stringProp name="BeanShellSampler.query">com.JMeterUtil util = com.Yvan.init(vars, log, ctx);
  1095. Map taskPickMap = util.parseJson(vars.get(&quot;task_pick_detail&quot;));
  1096. vars.put(&quot;item_id&quot;, taskPickMap.get(&quot;item_id&quot;));
  1097. vars.put(&quot;project_id&quot;, taskPickMap.get(&quot;project_id&quot;));
  1098. vars.put(&quot;owner_id&quot;, taskPickMap.get(&quot;owner_id&quot;));
  1099. vars.put(&quot;loc_id&quot;, taskPickMap.get(&quot;loc_id&quot;));
  1100. </stringProp>
  1101. <stringProp name="BeanShellSampler.filename"></stringProp>
  1102. <stringProp name="BeanShellSampler.parameters"></stringProp>
  1103. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  1104. </BeanShellSampler>
  1105. <hashTree/>
  1106. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="QueryBoxCode" enabled="false">
  1107. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  1108. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  1109. <collectionProp name="Arguments.arguments">
  1110. <elementProp name="" elementType="HTTPArgument">
  1111. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  1112. <stringProp name="Argument.value">{&#xd;
  1113. &quot;args&quot;: [&#xd;
  1114. {&#xd;
  1115. &quot;item_id&quot;: &quot;${item_id}&quot;,&#xd;
  1116. &quot;project_id&quot;: &quot;${project_id}&quot;,&#xd;
  1117. &quot;loc_id&quot;: &quot;${loc_id}&quot;,&#xd;
  1118. &quot;owner_id&quot;: &quot;${owner_id}&quot;&#xd;
  1119. }&#xd;
  1120. ]&#xd;
  1121. }</stringProp>
  1122. <stringProp name="Argument.metadata">=</stringProp>
  1123. </elementProp>
  1124. </collectionProp>
  1125. </elementProp>
  1126. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  1127. <stringProp name="HTTPSampler.port">${port}</stringProp>
  1128. <stringProp name="HTTPSampler.protocol"></stringProp>
  1129. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  1130. <stringProp name="HTTPSampler.path">/wms_api/api/pages/test/Test1@queryBoxCode</stringProp>
  1131. <stringProp name="HTTPSampler.method">POST</stringProp>
  1132. <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
  1133. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1134. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1135. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1136. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  1137. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  1138. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  1139. </HTTPSamplerProxy>
  1140. <hashTree>
  1141. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  1142. <stringProp name="JSON_PATH">$.success</stringProp>
  1143. <stringProp name="EXPECTED_VALUE">true</stringProp>
  1144. <boolProp name="JSONVALIDATION">true</boolProp>
  1145. <boolProp name="EXPECT_NULL">false</boolProp>
  1146. <boolProp name="INVERT">false</boolProp>
  1147. <boolProp name="ISREGEX">false</boolProp>
  1148. </JSONPathAssertion>
  1149. <hashTree/>
  1150. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="box_code_list" enabled="true">
  1151. <stringProp name="JSONPostProcessor.referenceNames">box_code_list</stringProp>
  1152. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data.[*]</stringProp>
  1153. <stringProp name="JSONPostProcessor.match_numbers">-1</stringProp>
  1154. </JSONPostProcessor>
  1155. <hashTree/>
  1156. </hashTree>
  1157. <IfController guiclass="IfControllerPanel" testclass="IfController" testname="IF Scan Box Code" enabled="false">
  1158. <stringProp name="IfController.condition">${__groovy(vars.get(&quot;box_code_list_matchNr&quot;) != &quot;0&quot;)}</stringProp>
  1159. <boolProp name="IfController.evaluateAll">false</boolProp>
  1160. <boolProp name="IfController.useExpression">true</boolProp>
  1161. </IfController>
  1162. <hashTree>
  1163. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach_Scan_Box_Code" enabled="true">
  1164. <stringProp name="ForeachController.inputVal">box_code_list</stringProp>
  1165. <stringProp name="ForeachController.returnVal">box_code</stringProp>
  1166. <boolProp name="ForeachController.useSeparator">true</boolProp>
  1167. <stringProp name="ForeachController.startIndex">0</stringProp>
  1168. <stringProp name="ForeachController.endIndex">${box_code_list_matchNr}</stringProp>
  1169. </ForeachController>
  1170. <hashTree>
  1171. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="BeanShell Sampler 4" enabled="true">
  1172. <stringProp name="BeanShellSampler.query">com.JMeterUtil util = com.Yvan.init(vars, log, ctx);
  1173. Map taskPickMap = util.parseJson(vars.get(&quot;task_pick_detail&quot;));
  1174. taskPickMap.put(&quot;merge_task_id&quot;, vars.get(&quot;merge_task_id&quot;));
  1175. taskPickMap.put(&quot;scan_type&quot;, &quot;0002&quot;);
  1176. taskPickMap.put(&quot;scan_code&quot;, vars.get(&quot;box_code&quot;));
  1177. taskPickMap.put(&quot;new_loc_id&quot;, taskPickMap.get(&quot;loc_id&quot;));
  1178. taskPickMap.put(&quot;new_lot_id&quot;, taskPickMap.get(&quot;lot_id&quot;));
  1179. taskPickMap.put(&quot;new_quality_status&quot;, taskPickMap.get(&quot;quality_status&quot;));
  1180. taskPickMap.put(&quot;current_pick_qty&quot;, taskPickMap.get(&quot;qty&quot;));
  1181. vars.put(&quot;scan_task_pick&quot;, util.toJson(taskPickMap));</stringProp>
  1182. <stringProp name="BeanShellSampler.filename"></stringProp>
  1183. <stringProp name="BeanShellSampler.parameters"></stringProp>
  1184. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  1185. </BeanShellSampler>
  1186. <hashTree/>
  1187. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="ScanTrayBoxUpn" enabled="true">
  1188. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  1189. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  1190. <collectionProp name="Arguments.arguments">
  1191. <elementProp name="" elementType="HTTPArgument">
  1192. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  1193. <stringProp name="Argument.value">{&#xd;
  1194. &quot;args&quot;: [&#xd;
  1195. ${scan_task_pick}&#xd;
  1196. ]&#xd;
  1197. }</stringProp>
  1198. <stringProp name="Argument.metadata">=</stringProp>
  1199. </elementProp>
  1200. </collectionProp>
  1201. </elementProp>
  1202. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  1203. <stringProp name="HTTPSampler.port">${port}</stringProp>
  1204. <stringProp name="HTTPSampler.protocol"></stringProp>
  1205. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  1206. <stringProp name="HTTPSampler.path">/wms_api/api/pages/outbound/pda_pick/PdaPick@scanTrayBoxUpn</stringProp>
  1207. <stringProp name="HTTPSampler.method">POST</stringProp>
  1208. <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
  1209. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1210. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1211. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1212. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  1213. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  1214. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  1215. </HTTPSamplerProxy>
  1216. <hashTree>
  1217. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  1218. <stringProp name="JSON_PATH">$.success</stringProp>
  1219. <stringProp name="EXPECTED_VALUE">true</stringProp>
  1220. <boolProp name="JSONVALIDATION">true</boolProp>
  1221. <boolProp name="EXPECT_NULL">false</boolProp>
  1222. <boolProp name="INVERT">false</boolProp>
  1223. <boolProp name="ISREGEX">false</boolProp>
  1224. </JSONPathAssertion>
  1225. <hashTree/>
  1226. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="task_pick_detail" enabled="true">
  1227. <stringProp name="JSONPostProcessor.referenceNames">task_pick_detail</stringProp>
  1228. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data</stringProp>
  1229. <stringProp name="JSONPostProcessor.match_numbers">1</stringProp>
  1230. </JSONPostProcessor>
  1231. <hashTree/>
  1232. </hashTree>
  1233. </hashTree>
  1234. </hashTree>
  1235. <IfController guiclass="IfControllerPanel" testclass="IfController" testname="IF Not Scan Box Code" enabled="false">
  1236. <stringProp name="IfController.condition">${__groovy(vars.get(&quot;box_code_list_matchNr&quot;) == &quot;0&quot;)}</stringProp>
  1237. <boolProp name="IfController.evaluateAll">false</boolProp>
  1238. <boolProp name="IfController.useExpression">true</boolProp>
  1239. </IfController>
  1240. <hashTree/>
  1241. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="BeanShell Sampler 5" enabled="true">
  1242. <stringProp name="BeanShellSampler.query">com.JMeterUtil util = com.Yvan.init(vars, log, ctx);
  1243. Map taskPickMap = util.parseJson(vars.get(&quot;task_pick_detail&quot;));
  1244. taskPickMap.put(&quot;merge_task_id&quot;, vars.get(&quot;merge_task_id&quot;));
  1245. taskPickMap.put(&quot;scan_mode&quot;, &quot;0000&quot;);
  1246. taskPickMap.put(&quot;scan_code&quot;, taskPickMap.get(&quot;location_code&quot;));
  1247. taskPickMap.put(&quot;new_loc_id&quot;, taskPickMap.get(&quot;loc_id&quot;));
  1248. taskPickMap.put(&quot;new_lot_id&quot;, taskPickMap.get(&quot;lot_id&quot;));
  1249. taskPickMap.put(&quot;new_quality_status&quot;, taskPickMap.get(&quot;quality_status&quot;));
  1250. taskPickMap.put(&quot;current_pick_qty&quot;, taskPickMap.get(&quot;qty&quot;));
  1251. vars.put(&quot;n_task_pick&quot;, util.toJson(taskPickMap));
  1252. vars.put(&quot;item_id&quot;, taskPickMap.get(&quot;item_id&quot;));
  1253. vars.put(&quot;project_id&quot;, taskPickMap.get(&quot;project_id&quot;));
  1254. vars.put(&quot;owner_id&quot;, taskPickMap.get(&quot;owner_id&quot;));
  1255. vars.put(&quot;loc_id&quot;, taskPickMap.get(&quot;loc_id&quot;));
  1256. </stringProp>
  1257. <stringProp name="BeanShellSampler.filename"></stringProp>
  1258. <stringProp name="BeanShellSampler.parameters"></stringProp>
  1259. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  1260. </BeanShellSampler>
  1261. <hashTree/>
  1262. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SavePickRealDetail" enabled="true">
  1263. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  1264. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  1265. <collectionProp name="Arguments.arguments">
  1266. <elementProp name="" elementType="HTTPArgument">
  1267. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  1268. <stringProp name="Argument.value">{&#xd;
  1269. &quot;args&quot;: [&#xd;
  1270. ${n_task_pick}&#xd;
  1271. ]&#xd;
  1272. }</stringProp>
  1273. <stringProp name="Argument.metadata">=</stringProp>
  1274. </elementProp>
  1275. </collectionProp>
  1276. </elementProp>
  1277. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  1278. <stringProp name="HTTPSampler.port">${port}</stringProp>
  1279. <stringProp name="HTTPSampler.protocol"></stringProp>
  1280. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  1281. <stringProp name="HTTPSampler.path">/wms_api/api/pages/outbound/pda_pick/PdaPick@savePickRealDetail</stringProp>
  1282. <stringProp name="HTTPSampler.method">POST</stringProp>
  1283. <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
  1284. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1285. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1286. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1287. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  1288. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  1289. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  1290. </HTTPSamplerProxy>
  1291. <hashTree>
  1292. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  1293. <stringProp name="JSON_PATH">$.success</stringProp>
  1294. <stringProp name="EXPECTED_VALUE">true</stringProp>
  1295. <boolProp name="JSONVALIDATION">true</boolProp>
  1296. <boolProp name="EXPECT_NULL">false</boolProp>
  1297. <boolProp name="INVERT">false</boolProp>
  1298. <boolProp name="ISREGEX">false</boolProp>
  1299. </JSONPathAssertion>
  1300. <hashTree/>
  1301. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="task_pick_detail" enabled="true">
  1302. <stringProp name="JSONPostProcessor.referenceNames">task_pick_detail</stringProp>
  1303. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data</stringProp>
  1304. <stringProp name="JSONPostProcessor.match_numbers">1</stringProp>
  1305. </JSONPostProcessor>
  1306. <hashTree/>
  1307. </hashTree>
  1308. </hashTree>
  1309. </hashTree>
  1310. <TestAction guiclass="TestActionGui" testclass="TestAction" testname="Think Time" enabled="false">
  1311. <intProp name="ActionProcessor.action">1</intProp>
  1312. <intProp name="ActionProcessor.target">0</intProp>
  1313. <stringProp name="ActionProcessor.duration">30000</stringProp>
  1314. </TestAction>
  1315. <hashTree/>
  1316. </hashTree>
  1317. </hashTree>
  1318. </hashTree>
  1319. </jmeterTestPlan>