中通服WMS@入库之上架确认(RF).jmx 129 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127
  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. <JDBCDataSource guiclass="TestBeanGUI" testclass="JDBCDataSource" testname="JdbcMaster" enabled="false">
  16. <boolProp name="autocommit">true</boolProp>
  17. <stringProp name="checkQuery">select 1 from dual</stringProp>
  18. <stringProp name="connectionAge">5000</stringProp>
  19. <stringProp name="connectionProperties"></stringProp>
  20. <stringProp name="dataSource">master</stringProp>
  21. <stringProp name="dbUrl">jdbc:oracle:thin:@10.0.30.221:1521:wms8pre</stringProp>
  22. <stringProp name="driver">oracle.jdbc.OracleDriver</stringProp>
  23. <stringProp name="initQuery"></stringProp>
  24. <boolProp name="keepAlive">true</boolProp>
  25. <stringProp name="password">lmis9system</stringProp>
  26. <stringProp name="poolMax">0</stringProp>
  27. <boolProp name="preinit">false</boolProp>
  28. <stringProp name="timeout">10000</stringProp>
  29. <stringProp name="transactionIsolation">DEFAULT</stringProp>
  30. <stringProp name="trimInterval">60000</stringProp>
  31. <stringProp name="username">wms8pre</stringProp>
  32. </JDBCDataSource>
  33. <hashTree/>
  34. <Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="环境变量-华为云" enabled="false">
  35. <collectionProp name="Arguments.arguments">
  36. <elementProp name="thread_count" elementType="Argument">
  37. <stringProp name="Argument.name">thread_count</stringProp>
  38. <stringProp name="Argument.value">100</stringProp>
  39. <stringProp name="Argument.metadata">=</stringProp>
  40. </elementProp>
  41. <elementProp name="server" elementType="Argument">
  42. <stringProp name="Argument.name">server</stringProp>
  43. <stringProp name="Argument.value">122.9.140.63</stringProp>
  44. <stringProp name="Argument.metadata">=</stringProp>
  45. </elementProp>
  46. <elementProp name="port" elementType="Argument">
  47. <stringProp name="Argument.name">port</stringProp>
  48. <stringProp name="Argument.value">8094</stringProp>
  49. <stringProp name="Argument.metadata">=</stringProp>
  50. </elementProp>
  51. <elementProp name="path" elementType="Argument">
  52. <stringProp name="Argument.name">path</stringProp>
  53. <stringProp name="Argument.value">/wms_api/api/pages</stringProp>
  54. <stringProp name="Argument.metadata">=</stringProp>
  55. </elementProp>
  56. <elementProp name="单据数量" elementType="Argument">
  57. <stringProp name="Argument.name">单据数量</stringProp>
  58. <stringProp name="Argument.value">1</stringProp>
  59. <stringProp name="Argument.metadata">=</stringProp>
  60. </elementProp>
  61. <elementProp name="条目数量" elementType="Argument">
  62. <stringProp name="Argument.name">条目数量</stringProp>
  63. <stringProp name="Argument.value">20</stringProp>
  64. <stringProp name="Argument.metadata">=</stringProp>
  65. </elementProp>
  66. <elementProp name="whId" elementType="Argument">
  67. <stringProp name="Argument.name">whId</stringProp>
  68. <stringProp name="Argument.value">1000000002</stringProp>
  69. <stringProp name="Argument.metadata">=</stringProp>
  70. </elementProp>
  71. <elementProp name="ownerId" elementType="Argument">
  72. <stringProp name="Argument.name">ownerId</stringProp>
  73. <stringProp name="Argument.value">1000</stringProp>
  74. <stringProp name="Argument.metadata">=</stringProp>
  75. </elementProp>
  76. <elementProp name="每条目上架数量因子" elementType="Argument">
  77. <stringProp name="Argument.name">每条目上架数量因子</stringProp>
  78. <stringProp name="Argument.value">0.3</stringProp>
  79. <stringProp name="Argument.metadata">=</stringProp>
  80. </elementProp>
  81. </collectionProp>
  82. </Arguments>
  83. <hashTree/>
  84. <Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="环境变量-云效" enabled="false">
  85. <collectionProp name="Arguments.arguments">
  86. <elementProp name="thread_count" elementType="Argument">
  87. <stringProp name="Argument.name">thread_count</stringProp>
  88. <stringProp name="Argument.value">1</stringProp>
  89. <stringProp name="Argument.metadata">=</stringProp>
  90. </elementProp>
  91. <elementProp name="server" elementType="Argument">
  92. <stringProp name="Argument.name">server</stringProp>
  93. <stringProp name="Argument.value">117.80.113.247</stringProp>
  94. <stringProp name="Argument.metadata">=</stringProp>
  95. </elementProp>
  96. <elementProp name="port" elementType="Argument">
  97. <stringProp name="Argument.name">port</stringProp>
  98. <stringProp name="Argument.value">8025</stringProp>
  99. <stringProp name="Argument.metadata">=</stringProp>
  100. </elementProp>
  101. <elementProp name="path" elementType="Argument">
  102. <stringProp name="Argument.name">path</stringProp>
  103. <stringProp name="Argument.value">/wms_api/api/pages</stringProp>
  104. <stringProp name="Argument.metadata">=</stringProp>
  105. </elementProp>
  106. <elementProp name="单据数量" elementType="Argument">
  107. <stringProp name="Argument.name">单据数量</stringProp>
  108. <stringProp name="Argument.value">1</stringProp>
  109. <stringProp name="Argument.metadata">=</stringProp>
  110. </elementProp>
  111. <elementProp name="条目数量" elementType="Argument">
  112. <stringProp name="Argument.name">条目数量</stringProp>
  113. <stringProp name="Argument.value">2</stringProp>
  114. <stringProp name="Argument.metadata">=</stringProp>
  115. </elementProp>
  116. <elementProp name="whId" elementType="Argument">
  117. <stringProp name="Argument.name">whId</stringProp>
  118. <stringProp name="Argument.value">1138560056678158336</stringProp>
  119. <stringProp name="Argument.metadata">=</stringProp>
  120. </elementProp>
  121. <elementProp name="ownerId" elementType="Argument">
  122. <stringProp name="Argument.name">ownerId</stringProp>
  123. <stringProp name="Argument.value">1098196537130881024</stringProp>
  124. <stringProp name="Argument.metadata">=</stringProp>
  125. </elementProp>
  126. <elementProp name="每条目上架数量因子" elementType="Argument">
  127. <stringProp name="Argument.name">每条目上架数量因子</stringProp>
  128. <stringProp name="Argument.value">10.1</stringProp>
  129. <stringProp name="Argument.metadata">=</stringProp>
  130. </elementProp>
  131. </collectionProp>
  132. </Arguments>
  133. <hashTree/>
  134. <Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="环境变量-本地" enabled="false">
  135. <collectionProp name="Arguments.arguments">
  136. <elementProp name="thread_count" elementType="Argument">
  137. <stringProp name="Argument.name">thread_count</stringProp>
  138. <stringProp name="Argument.value">1</stringProp>
  139. <stringProp name="Argument.metadata">=</stringProp>
  140. </elementProp>
  141. <elementProp name="server" elementType="Argument">
  142. <stringProp name="Argument.name">server</stringProp>
  143. <stringProp name="Argument.value">127.0.0.1</stringProp>
  144. <stringProp name="Argument.metadata">=</stringProp>
  145. </elementProp>
  146. <elementProp name="port" elementType="Argument">
  147. <stringProp name="Argument.name">port</stringProp>
  148. <stringProp name="Argument.value">8084</stringProp>
  149. <stringProp name="Argument.metadata">=</stringProp>
  150. </elementProp>
  151. <elementProp name="path" elementType="Argument">
  152. <stringProp name="Argument.name">path</stringProp>
  153. <stringProp name="Argument.value">/wms_api/api/pages</stringProp>
  154. <stringProp name="Argument.metadata">=</stringProp>
  155. </elementProp>
  156. <elementProp name="单据数量" elementType="Argument">
  157. <stringProp name="Argument.name">单据数量</stringProp>
  158. <stringProp name="Argument.value">1</stringProp>
  159. <stringProp name="Argument.metadata">=</stringProp>
  160. </elementProp>
  161. <elementProp name="条目数量" elementType="Argument">
  162. <stringProp name="Argument.name">条目数量</stringProp>
  163. <stringProp name="Argument.value">2</stringProp>
  164. <stringProp name="Argument.metadata">=</stringProp>
  165. </elementProp>
  166. <elementProp name="whId" elementType="Argument">
  167. <stringProp name="Argument.name">whId</stringProp>
  168. <stringProp name="Argument.value">1138560056678158336</stringProp>
  169. <stringProp name="Argument.metadata">=</stringProp>
  170. </elementProp>
  171. <elementProp name="ownerId" elementType="Argument">
  172. <stringProp name="Argument.name">ownerId</stringProp>
  173. <stringProp name="Argument.value">1000</stringProp>
  174. <stringProp name="Argument.metadata">=</stringProp>
  175. </elementProp>
  176. <elementProp name="每条目上架数量因子" elementType="Argument">
  177. <stringProp name="Argument.name">每条目上架数量因子</stringProp>
  178. <stringProp name="Argument.value">10.1</stringProp>
  179. <stringProp name="Argument.metadata">=</stringProp>
  180. </elementProp>
  181. <elementProp name="systemkey" elementType="Argument">
  182. <stringProp name="Argument.name">systemkey</stringProp>
  183. <stringProp name="Argument.value">eyJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJ5dmFuLXNlY3VyaXR5IiwiX191aWQiOiIxNjExNDgzMTcxNzc5MTc2NjAiLCJhdWQiOiJ5dmFuLSoiLCJzdWIiOiIxNTgyNzMxNTgzNSIsImxvZ2luX2lkIjoxNjExNDgzMTcxNzc5MTc2NjIsImV4cCI6MTcxMDg3NzUwMCwiaWF0IjoxNzA4MzEyNjk2LCJqdGkiOiIzMDAzOTUyMzAwMDI2ODYzMTUifQ.KUt9eYzY8FBuG-qoUZTM5esCJ2Zw-LpgpEcCvSmSsDKy3AbgDL_Y9826YHq8Rw4NFH2_HWYuaFqoVJVpkqB3LEy2K-OEYbZ4ioYGdNfDoTyR1mPyhhb31UIpbsk0IEYoJzR5f58TM3qJz_bGjOeGkAi_pagFBx2WIBJGjjwOmHhNykaM3z2kwT0h0n3Ip_AtnTNX1NybIgDmBwStappUeGeZP9zzAVod9s6eHIGYlv6-z011N4MGvTX-IsFcnQOp6Lngo4H-TLrGqbmTdckTG4KzQpl8q2S2U3k6PkT_qnXWX15F3CTpycAhJLHttXGv-lBku6q6OycMwDX20PilFw</stringProp>
  184. <stringProp name="Argument.metadata">=</stringProp>
  185. </elementProp>
  186. </collectionProp>
  187. </Arguments>
  188. <hashTree/>
  189. <Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="环境变量-压测环境" enabled="true">
  190. <collectionProp name="Arguments.arguments">
  191. <elementProp name="thread_count" elementType="Argument">
  192. <stringProp name="Argument.name">thread_count</stringProp>
  193. <stringProp name="Argument.value">5</stringProp>
  194. <stringProp name="Argument.metadata">=</stringProp>
  195. </elementProp>
  196. <elementProp name="server" elementType="Argument">
  197. <stringProp name="Argument.name">server</stringProp>
  198. <stringProp name="Argument.value">192.168.104.237</stringProp>
  199. <stringProp name="Argument.metadata">=</stringProp>
  200. </elementProp>
  201. <elementProp name="port" elementType="Argument">
  202. <stringProp name="Argument.name">port</stringProp>
  203. <stringProp name="Argument.value">31201</stringProp>
  204. <stringProp name="Argument.metadata">=</stringProp>
  205. </elementProp>
  206. <elementProp name="path" elementType="Argument">
  207. <stringProp name="Argument.name">path</stringProp>
  208. <stringProp name="Argument.value">/wms_api/api/pages/</stringProp>
  209. <stringProp name="Argument.metadata">=</stringProp>
  210. </elementProp>
  211. <elementProp name="wh_id" elementType="Argument">
  212. <stringProp name="Argument.name">wh_id</stringProp>
  213. <stringProp name="Argument.value">1140425501375074304</stringProp>
  214. <stringProp name="Argument.metadata">=</stringProp>
  215. </elementProp>
  216. <elementProp name="owner_id" elementType="Argument">
  217. <stringProp name="Argument.name">owner_id</stringProp>
  218. <stringProp name="Argument.value">1096478673436938240</stringProp>
  219. <stringProp name="Argument.metadata">=</stringProp>
  220. </elementProp>
  221. <elementProp name="每条目上架数量因子" elementType="Argument">
  222. <stringProp name="Argument.name">每条目上架数量因子</stringProp>
  223. <stringProp name="Argument.value">10.1</stringProp>
  224. <stringProp name="Argument.metadata">=</stringProp>
  225. </elementProp>
  226. <elementProp name="project_id" elementType="Argument">
  227. <stringProp name="Argument.name">project_id</stringProp>
  228. <stringProp name="Argument.value">1140423193643847680</stringProp>
  229. <stringProp name="Argument.desc">广东电信集约化物流项目</stringProp>
  230. <stringProp name="Argument.metadata">=</stringProp>
  231. </elementProp>
  232. <elementProp name="system_key" elementType="Argument">
  233. <stringProp name="Argument.name">system_key</stringProp>
  234. <stringProp name="Argument.value">eyJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJ5dmFuLXNlY3VyaXR5IiwiX191aWQiOiIxIiwiYXVkIjoieXZhbi0qIiwic3ViIjoiYWRtaW4iLCJsb2dpbl9pZCI6MSwiZXhwIjoxNzE5NjAzOTAwLCJpYXQiOjE3MTcwNjM4MzksImp0aSI6IjM3MzgwODQ1MTE3MDA5ODgwMyJ9.I1qaWEekrgoiLDR8OXbAo4Nw2bytCQzAna1rjBLG29biTm8TrrHEIVKhP1YzQVb1Rk_RZ9DFnQiB84OlzEAV-x6FYs6JZKmUSAO_ct6FETi9VYWIzkgOgBxDgsSecX8dUGLfh6iuTSJslXExz92g7YYLQSwaGjWN9qIgUDZdkr2n1g9XRhjts7BcTrdmYpuanVpYXaFWDJ4M0itvqnLGR0RrbT2cZYiREdzSO_wIx29mctp7-PkRQmrjACfNSEqEKZP--ocQlKyBeHH_XIk2-ETN_sKpHPYr46JoMhIY1Dr8G6TtDjiVdMeQxlulW8XfP6r7f2kdKH5sk8qUYRgpGA</stringProp>
  235. <stringProp name="Argument.metadata">=</stringProp>
  236. </elementProp>
  237. </collectionProp>
  238. </Arguments>
  239. <hashTree/>
  240. <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="入库之上架确认" enabled="false">
  241. <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
  242. <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
  243. <boolProp name="LoopController.continue_forever">false</boolProp>
  244. <stringProp name="LoopController.loops">1</stringProp>
  245. </elementProp>
  246. <stringProp name="ThreadGroup.num_threads">1</stringProp>
  247. <stringProp name="ThreadGroup.ramp_time">1</stringProp>
  248. <boolProp name="ThreadGroup.scheduler">false</boolProp>
  249. <stringProp name="ThreadGroup.duration">300</stringProp>
  250. <stringProp name="ThreadGroup.delay"></stringProp>
  251. <boolProp name="ThreadGroup.same_user_on_next_iteration">false</boolProp>
  252. </ThreadGroup>
  253. <hashTree>
  254. <TestAction guiclass="TestActionGui" testclass="TestAction" testname="Think Time" enabled="false">
  255. <intProp name="ActionProcessor.action">1</intProp>
  256. <intProp name="ActionProcessor.target">0</intProp>
  257. <stringProp name="ActionProcessor.duration">30000</stringProp>
  258. </TestAction>
  259. <hashTree/>
  260. </hashTree>
  261. <kg.apc.jmeter.threads.SteppingThreadGroup guiclass="kg.apc.jmeter.threads.SteppingThreadGroupGui" testclass="kg.apc.jmeter.threads.SteppingThreadGroup" testname="jp@gc - Stepping Thread Group" enabled="true">
  262. <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
  263. <stringProp name="ThreadGroup.num_threads">100</stringProp>
  264. <stringProp name="Threads initial delay">0</stringProp>
  265. <stringProp name="Start users count">10</stringProp>
  266. <stringProp name="Start users count burst">0</stringProp>
  267. <stringProp name="Start users period">30</stringProp>
  268. <stringProp name="Stop users count">5</stringProp>
  269. <stringProp name="Stop users period">1</stringProp>
  270. <stringProp name="flighttime">60</stringProp>
  271. <stringProp name="rampUp">5</stringProp>
  272. <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
  273. <boolProp name="LoopController.continue_forever">false</boolProp>
  274. <intProp name="LoopController.loops">-1</intProp>
  275. </elementProp>
  276. </kg.apc.jmeter.threads.SteppingThreadGroup>
  277. <hashTree>
  278. <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" 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="RespTimeGraphVisualizer" testclass="ResultCollector" testname="Response Time Graph" 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. <ResultCollector guiclass="StatVisualizer" testclass="ResultCollector" testname="Aggregate Report" 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. </ResultCollector>
  388. <hashTree/>
  389. <ResultCollector guiclass="SummaryReport" testclass="ResultCollector" testname="Summary Report" enabled="true">
  390. <boolProp name="ResultCollector.error_logging">false</boolProp>
  391. <objProp>
  392. <name>saveConfig</name>
  393. <value class="SampleSaveConfiguration">
  394. <time>true</time>
  395. <latency>true</latency>
  396. <timestamp>true</timestamp>
  397. <success>true</success>
  398. <label>true</label>
  399. <code>true</code>
  400. <message>true</message>
  401. <threadName>true</threadName>
  402. <dataType>true</dataType>
  403. <encoding>false</encoding>
  404. <assertions>true</assertions>
  405. <subresults>true</subresults>
  406. <responseData>false</responseData>
  407. <samplerData>false</samplerData>
  408. <xml>false</xml>
  409. <fieldNames>true</fieldNames>
  410. <responseHeaders>false</responseHeaders>
  411. <requestHeaders>false</requestHeaders>
  412. <responseDataOnError>false</responseDataOnError>
  413. <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
  414. <assertionsResultsToSave>0</assertionsResultsToSave>
  415. <bytes>true</bytes>
  416. <sentBytes>true</sentBytes>
  417. <url>true</url>
  418. <threadCounts>true</threadCounts>
  419. <idleTime>true</idleTime>
  420. <connectTime>true</connectTime>
  421. </value>
  422. </objProp>
  423. <stringProp name="filename"></stringProp>
  424. </ResultCollector>
  425. <hashTree/>
  426. <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">
  427. <boolProp name="ResultCollector.error_logging">false</boolProp>
  428. <objProp>
  429. <name>saveConfig</name>
  430. <value class="SampleSaveConfiguration">
  431. <time>true</time>
  432. <latency>true</latency>
  433. <timestamp>true</timestamp>
  434. <success>true</success>
  435. <label>true</label>
  436. <code>true</code>
  437. <message>true</message>
  438. <threadName>true</threadName>
  439. <dataType>true</dataType>
  440. <encoding>false</encoding>
  441. <assertions>true</assertions>
  442. <subresults>true</subresults>
  443. <responseData>false</responseData>
  444. <samplerData>false</samplerData>
  445. <xml>false</xml>
  446. <fieldNames>true</fieldNames>
  447. <responseHeaders>false</responseHeaders>
  448. <requestHeaders>false</requestHeaders>
  449. <responseDataOnError>false</responseDataOnError>
  450. <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
  451. <assertionsResultsToSave>0</assertionsResultsToSave>
  452. <bytes>true</bytes>
  453. <sentBytes>true</sentBytes>
  454. <url>true</url>
  455. <threadCounts>true</threadCounts>
  456. <idleTime>true</idleTime>
  457. <connectTime>true</connectTime>
  458. </value>
  459. </objProp>
  460. <stringProp name="filename"></stringProp>
  461. <longProp name="interval_grouping">500</longProp>
  462. <boolProp name="graph_aggregated">false</boolProp>
  463. <stringProp name="include_sample_labels"></stringProp>
  464. <stringProp name="exclude_sample_labels"></stringProp>
  465. <stringProp name="start_offset"></stringProp>
  466. <stringProp name="end_offset"></stringProp>
  467. <boolProp name="include_checkbox_state">false</boolProp>
  468. <boolProp name="exclude_checkbox_state">false</boolProp>
  469. </kg.apc.jmeter.vizualizers.CorrectedResultCollector>
  470. <hashTree/>
  471. <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">
  472. <boolProp name="ResultCollector.error_logging">false</boolProp>
  473. <objProp>
  474. <name>saveConfig</name>
  475. <value class="SampleSaveConfiguration">
  476. <time>true</time>
  477. <latency>true</latency>
  478. <timestamp>true</timestamp>
  479. <success>true</success>
  480. <label>true</label>
  481. <code>true</code>
  482. <message>true</message>
  483. <threadName>true</threadName>
  484. <dataType>true</dataType>
  485. <encoding>false</encoding>
  486. <assertions>true</assertions>
  487. <subresults>true</subresults>
  488. <responseData>false</responseData>
  489. <samplerData>false</samplerData>
  490. <xml>false</xml>
  491. <fieldNames>true</fieldNames>
  492. <responseHeaders>false</responseHeaders>
  493. <requestHeaders>false</requestHeaders>
  494. <responseDataOnError>false</responseDataOnError>
  495. <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
  496. <assertionsResultsToSave>0</assertionsResultsToSave>
  497. <bytes>true</bytes>
  498. <sentBytes>true</sentBytes>
  499. <url>true</url>
  500. <threadCounts>true</threadCounts>
  501. <idleTime>true</idleTime>
  502. <connectTime>true</connectTime>
  503. </value>
  504. </objProp>
  505. <stringProp name="filename"></stringProp>
  506. <longProp name="interval_grouping">1000</longProp>
  507. <boolProp name="graph_aggregated">false</boolProp>
  508. <stringProp name="include_sample_labels"></stringProp>
  509. <stringProp name="exclude_sample_labels"></stringProp>
  510. <stringProp name="start_offset"></stringProp>
  511. <stringProp name="end_offset"></stringProp>
  512. <boolProp name="include_checkbox_state">false</boolProp>
  513. <boolProp name="exclude_checkbox_state">false</boolProp>
  514. </kg.apc.jmeter.vizualizers.CorrectedResultCollector>
  515. <hashTree/>
  516. <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
  517. <collectionProp name="HeaderManager.headers">
  518. <elementProp name="" elementType="Header">
  519. <stringProp name="Header.name">whId</stringProp>
  520. <stringProp name="Header.value">${wh_id}</stringProp>
  521. </elementProp>
  522. <elementProp name="" elementType="Header">
  523. <stringProp name="Header.name">systemkey</stringProp>
  524. <stringProp name="Header.value">${system_key}</stringProp>
  525. </elementProp>
  526. </collectionProp>
  527. </HeaderManager>
  528. <hashTree/>
  529. <CSVDataSet guiclass="TestBeanGUI" testclass="CSVDataSet" testname="CSV Data Set Config" enabled="true">
  530. <stringProp name="delimiter">,</stringProp>
  531. <stringProp name="fileEncoding">UTF-8</stringProp>
  532. <stringProp name="filename">C:/Users/admin/Desktop/jmx/入库/中通服WMS@入库之上架确认_有来源(RF)_CSV.csv</stringProp>
  533. <boolProp name="ignoreFirstLine">false</boolProp>
  534. <boolProp name="quotedData">false</boolProp>
  535. <boolProp name="recycle">false</boolProp>
  536. <stringProp name="shareMode">shareMode.all</stringProp>
  537. <boolProp name="stopThread">true</boolProp>
  538. <stringProp name="variableNames">receipt_id,asn_id,tray_code,box_code</stringProp>
  539. </CSVDataSet>
  540. <hashTree/>
  541. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="入库上架@按容器上架" enabled="true">
  542. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  543. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  544. <collectionProp name="Arguments.arguments">
  545. <elementProp name="" elementType="HTTPArgument">
  546. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  547. <stringProp name="Argument.value">{&#xd;
  548. &quot;args&quot;: [&#xd;
  549. {&#xd;
  550. &quot;receipt_id&quot;: &quot;${receipt_id}&quot;,&#xd;
  551. &quot;itemList&quot;: [&#xd;
  552. {&#xd;
  553. &quot;receipt_id&quot;: &quot;${receipt_id}&quot;,&#xd;
  554. &quot;asn_id&quot;: &quot;${asn_id}&quot;,&#xd;
  555. &quot;tray_code&quot;: &quot;${tray_code}&quot;,&#xd;
  556. &quot;box_code&quot;: &quot;${box_code}&quot;&#xd;
  557. }&#xd;
  558. ]&#xd;
  559. }&#xd;
  560. ]&#xd;
  561. }</stringProp>
  562. <stringProp name="Argument.metadata">=</stringProp>
  563. </elementProp>
  564. </collectionProp>
  565. </elementProp>
  566. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  567. <stringProp name="HTTPSampler.port">${port}</stringProp>
  568. <stringProp name="HTTPSampler.protocol">http</stringProp>
  569. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  570. <stringProp name="HTTPSampler.path">${path}/inbound/in_put/InPut@RfBoxAndTray</stringProp>
  571. <stringProp name="HTTPSampler.method">POST</stringProp>
  572. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  573. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  574. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  575. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  576. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  577. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  578. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  579. </HTTPSamplerProxy>
  580. <hashTree>
  581. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  582. <stringProp name="JSON_PATH">$.success</stringProp>
  583. <stringProp name="EXPECTED_VALUE">true</stringProp>
  584. <boolProp name="JSONVALIDATION">true</boolProp>
  585. <boolProp name="EXPECT_NULL">false</boolProp>
  586. <boolProp name="INVERT">false</boolProp>
  587. <boolProp name="ISREGEX">false</boolProp>
  588. </JSONPathAssertion>
  589. <hashTree/>
  590. </hashTree>
  591. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="BeanShell Sampler" enabled="false">
  592. <stringProp name="BeanShellSampler.query">vars.put(&quot;asn_code&quot;, &quot;T_IN_2024053101953&quot;);</stringProp>
  593. <stringProp name="BeanShellSampler.filename"></stringProp>
  594. <stringProp name="BeanShellSampler.parameters"></stringProp>
  595. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  596. </BeanShellSampler>
  597. <hashTree/>
  598. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach_input_list" enabled="false">
  599. <stringProp name="ForeachController.inputVal">input_list</stringProp>
  600. <stringProp name="ForeachController.returnVal">input</stringProp>
  601. <boolProp name="ForeachController.useSeparator">true</boolProp>
  602. <stringProp name="ForeachController.startIndex">0</stringProp>
  603. <stringProp name="ForeachController.endIndex">${input_list_matchNr}</stringProp>
  604. </ForeachController>
  605. <hashTree>
  606. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="BeanShell Sampler" enabled="true">
  607. <stringProp name="BeanShellSampler.query">Object _ = com.Yvan.init(vars, log, ctx);
  608. Map v = _.parseJson(_.get(&quot;input&quot;));
  609. vars.put(&quot;asn_code&quot;, v.get(&quot;asn_code&quot;));</stringProp>
  610. <stringProp name="BeanShellSampler.filename"></stringProp>
  611. <stringProp name="BeanShellSampler.parameters"></stringProp>
  612. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  613. </BeanShellSampler>
  614. <hashTree/>
  615. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="入库上架@按单上架查询" enabled="true">
  616. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  617. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  618. <collectionProp name="Arguments.arguments">
  619. <elementProp name="" elementType="HTTPArgument">
  620. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  621. <stringProp name="Argument.value">{&#xd;
  622. &quot;args&quot;: [&#xd;
  623. {&#xd;
  624. &quot;receipt_code&quot;: &quot;${asn_code}&quot;&#xd;
  625. }&#xd;
  626. ]&#xd;
  627. }</stringProp>
  628. <stringProp name="Argument.metadata">=</stringProp>
  629. </elementProp>
  630. </collectionProp>
  631. </elementProp>
  632. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  633. <stringProp name="HTTPSampler.port">${port}</stringProp>
  634. <stringProp name="HTTPSampler.protocol">http</stringProp>
  635. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  636. <stringProp name="HTTPSampler.path">${path}/inbound/in_put/PdaInPut@orderPutQuery</stringProp>
  637. <stringProp name="HTTPSampler.method">POST</stringProp>
  638. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  639. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  640. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  641. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  642. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  643. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  644. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  645. </HTTPSamplerProxy>
  646. <hashTree>
  647. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  648. <stringProp name="JSON_PATH">$.success</stringProp>
  649. <stringProp name="EXPECTED_VALUE">true</stringProp>
  650. <boolProp name="JSONVALIDATION">true</boolProp>
  651. <boolProp name="EXPECT_NULL">false</boolProp>
  652. <boolProp name="INVERT">false</boolProp>
  653. <boolProp name="ISREGEX">false</boolProp>
  654. </JSONPathAssertion>
  655. <hashTree/>
  656. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="container_list" enabled="true">
  657. <stringProp name="JSONPostProcessor.referenceNames">container_list</stringProp>
  658. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data.receipt1.[*]</stringProp>
  659. <stringProp name="JSONPostProcessor.match_numbers">-1</stringProp>
  660. </JSONPostProcessor>
  661. <hashTree/>
  662. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="item_list" enabled="true">
  663. <stringProp name="JSONPostProcessor.referenceNames">item_list</stringProp>
  664. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data.receipt2.[*]</stringProp>
  665. <stringProp name="JSONPostProcessor.match_numbers">-1</stringProp>
  666. </JSONPostProcessor>
  667. <hashTree/>
  668. </hashTree>
  669. <IfController guiclass="IfControllerPanel" testclass="IfController" testname="IF按容器上架" enabled="true">
  670. <stringProp name="IfController.condition">${__groovy(&quot;${container_list_matchNr}&quot; != &quot;0&quot;)}</stringProp>
  671. <boolProp name="IfController.evaluateAll">false</boolProp>
  672. <boolProp name="IfController.useExpression">true</boolProp>
  673. </IfController>
  674. <hashTree>
  675. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="Remove_Item_List_Variable" enabled="true">
  676. <stringProp name="BeanShellSampler.query">vars.remove(&quot;item_list&quot;)</stringProp>
  677. <stringProp name="BeanShellSampler.filename"></stringProp>
  678. <stringProp name="BeanShellSampler.parameters"></stringProp>
  679. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  680. </BeanShellSampler>
  681. <hashTree/>
  682. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach_container_list" enabled="true">
  683. <stringProp name="ForeachController.inputVal">container_list</stringProp>
  684. <stringProp name="ForeachController.returnVal">containerReceipt</stringProp>
  685. <boolProp name="ForeachController.useSeparator">true</boolProp>
  686. <stringProp name="ForeachController.startIndex">0</stringProp>
  687. <stringProp name="ForeachController.endIndex">${container_list_matchNr}</stringProp>
  688. </ForeachController>
  689. <hashTree>
  690. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="BeanShell Sampler" enabled="true">
  691. <stringProp name="BeanShellSampler.query">Object _ = com.Yvan.init(vars, log, ctx);
  692. Map v = _.parseJson(_.get(&quot;containerReceipt&quot;));
  693. vars.put(&quot;tray_code&quot;, v.get(&quot;box_code&quot;));</stringProp>
  694. <stringProp name="BeanShellSampler.filename"></stringProp>
  695. <stringProp name="BeanShellSampler.parameters"></stringProp>
  696. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  697. </BeanShellSampler>
  698. <hashTree/>
  699. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="入库上架@按容器上架列表" enabled="true">
  700. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  701. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  702. <collectionProp name="Arguments.arguments">
  703. <elementProp name="" elementType="HTTPArgument">
  704. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  705. <stringProp name="Argument.value">{&#xd;
  706. &quot;args&quot;: [&#xd;
  707. {&#xd;
  708. &quot;tray_code&quot;: &quot;${tray_code}&quot;&#xd;
  709. }&#xd;
  710. ]&#xd;
  711. }</stringProp>
  712. <stringProp name="Argument.metadata">=</stringProp>
  713. </elementProp>
  714. </collectionProp>
  715. </elementProp>
  716. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  717. <stringProp name="HTTPSampler.port">${port}</stringProp>
  718. <stringProp name="HTTPSampler.protocol">http</stringProp>
  719. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  720. <stringProp name="HTTPSampler.path">${path}/inbound/in_put/PdaInPut@queryByTrayCode</stringProp>
  721. <stringProp name="HTTPSampler.method">POST</stringProp>
  722. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  723. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  724. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  725. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  726. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  727. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  728. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  729. </HTTPSamplerProxy>
  730. <hashTree>
  731. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  732. <stringProp name="JSON_PATH">$.success</stringProp>
  733. <stringProp name="EXPECTED_VALUE">true</stringProp>
  734. <boolProp name="JSONVALIDATION">true</boolProp>
  735. <boolProp name="EXPECT_NULL">false</boolProp>
  736. <boolProp name="INVERT">false</boolProp>
  737. <boolProp name="ISREGEX">false</boolProp>
  738. </JSONPathAssertion>
  739. <hashTree/>
  740. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="receipt_id" enabled="true">
  741. <stringProp name="JSONPostProcessor.referenceNames">receipt_id</stringProp>
  742. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data[*].receipt_id</stringProp>
  743. <stringProp name="JSONPostProcessor.match_numbers">1</stringProp>
  744. </JSONPostProcessor>
  745. <hashTree/>
  746. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="receipt_rows" enabled="true">
  747. <stringProp name="JSONPostProcessor.referenceNames">receipt_rows</stringProp>
  748. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data</stringProp>
  749. <stringProp name="JSONPostProcessor.match_numbers">1</stringProp>
  750. </JSONPostProcessor>
  751. <hashTree/>
  752. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="default_put_loc_code" enabled="true">
  753. <stringProp name="JSONPostProcessor.referenceNames">default_put_loc_code</stringProp>
  754. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data[*].default_put_loc_code</stringProp>
  755. <stringProp name="JSONPostProcessor.match_numbers">1</stringProp>
  756. </JSONPostProcessor>
  757. <hashTree/>
  758. </hashTree>
  759. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="入库上架@绑定库位" enabled="true">
  760. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  761. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  762. <collectionProp name="Arguments.arguments">
  763. <elementProp name="" elementType="HTTPArgument">
  764. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  765. <stringProp name="Argument.value">{&#xd;
  766. &quot;args&quot;: [&#xd;
  767. {&#xd;
  768. &quot;detailsType&quot;: 2,&#xd;
  769. &quot;loc_code&quot;: &quot;${default_put_loc_code}&quot;,&#xd;
  770. &quot;rows&quot;: ${receipt_rows}&#xd;
  771. }&#xd;
  772. ]&#xd;
  773. }</stringProp>
  774. <stringProp name="Argument.metadata">=</stringProp>
  775. </elementProp>
  776. </collectionProp>
  777. </elementProp>
  778. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  779. <stringProp name="HTTPSampler.port">${port}</stringProp>
  780. <stringProp name="HTTPSampler.protocol">http</stringProp>
  781. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  782. <stringProp name="HTTPSampler.path">${path}/inbound/in_put/InPut@editLocation</stringProp>
  783. <stringProp name="HTTPSampler.method">POST</stringProp>
  784. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  785. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  786. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  787. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  788. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  789. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  790. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  791. </HTTPSamplerProxy>
  792. <hashTree>
  793. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="false">
  794. <stringProp name="JSON_PATH">$.success</stringProp>
  795. <stringProp name="EXPECTED_VALUE">true</stringProp>
  796. <boolProp name="JSONVALIDATION">true</boolProp>
  797. <boolProp name="EXPECT_NULL">false</boolProp>
  798. <boolProp name="INVERT">false</boolProp>
  799. <boolProp name="ISREGEX">false</boolProp>
  800. </JSONPathAssertion>
  801. <hashTree/>
  802. </hashTree>
  803. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="入库上架@按容器上架" enabled="true">
  804. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  805. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  806. <collectionProp name="Arguments.arguments">
  807. <elementProp name="" elementType="HTTPArgument">
  808. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  809. <stringProp name="Argument.value">{&#xd;
  810. &quot;args&quot;: [&#xd;
  811. {&#xd;
  812. &quot;receipt_id&quot;: &quot;${receipt_id}&quot;,&#xd;
  813. &quot;itemList&quot;: ${receipt_rows}&#xd;
  814. }&#xd;
  815. ]&#xd;
  816. }</stringProp>
  817. <stringProp name="Argument.metadata">=</stringProp>
  818. </elementProp>
  819. </collectionProp>
  820. </elementProp>
  821. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  822. <stringProp name="HTTPSampler.port">${port}</stringProp>
  823. <stringProp name="HTTPSampler.protocol">http</stringProp>
  824. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  825. <stringProp name="HTTPSampler.path">${path}/inbound/in_put/InPut@RfBoxAndTray</stringProp>
  826. <stringProp name="HTTPSampler.method">POST</stringProp>
  827. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  828. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  829. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  830. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  831. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  832. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  833. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  834. </HTTPSamplerProxy>
  835. <hashTree>
  836. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  837. <stringProp name="JSON_PATH">$.success</stringProp>
  838. <stringProp name="EXPECTED_VALUE">true</stringProp>
  839. <boolProp name="JSONVALIDATION">true</boolProp>
  840. <boolProp name="EXPECT_NULL">false</boolProp>
  841. <boolProp name="INVERT">false</boolProp>
  842. <boolProp name="ISREGEX">false</boolProp>
  843. </JSONPathAssertion>
  844. <hashTree/>
  845. </hashTree>
  846. </hashTree>
  847. </hashTree>
  848. <IfController guiclass="IfControllerPanel" testclass="IfController" testname="IF按物料上架" enabled="true">
  849. <stringProp name="IfController.condition">${__groovy(vars.get(&quot;item_list_matchNr&quot;) != &quot;0&quot;)}</stringProp>
  850. <boolProp name="IfController.evaluateAll">false</boolProp>
  851. <boolProp name="IfController.useExpression">true</boolProp>
  852. </IfController>
  853. <hashTree>
  854. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="Remove_Container_List_Variable" enabled="true">
  855. <stringProp name="BeanShellSampler.query">vars.remove(&quot;container_list&quot;)</stringProp>
  856. <stringProp name="BeanShellSampler.filename"></stringProp>
  857. <stringProp name="BeanShellSampler.parameters"></stringProp>
  858. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  859. </BeanShellSampler>
  860. <hashTree/>
  861. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach_Item_List" enabled="false">
  862. <stringProp name="ForeachController.inputVal">item_list</stringProp>
  863. <stringProp name="ForeachController.returnVal">itemReceipt</stringProp>
  864. <boolProp name="ForeachController.useSeparator">true</boolProp>
  865. <stringProp name="ForeachController.startIndex">0</stringProp>
  866. <stringProp name="ForeachController.endIndex">${item_list_matchNr}</stringProp>
  867. </ForeachController>
  868. <hashTree>
  869. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="BeanShell Sampler" enabled="true">
  870. <stringProp name="BeanShellSampler.query">Object _ = com.Yvan.init(vars, log, ctx);
  871. Map v = _.parseJson(_.get(&quot;itemReceipt&quot;));
  872. vars.put(&quot;item_code&quot;, v.get(&quot;item_code&quot;));
  873. vars.put(&quot;receipt_code&quot;, v.get(&quot;receipt_code&quot;));</stringProp>
  874. <stringProp name="BeanShellSampler.filename"></stringProp>
  875. <stringProp name="BeanShellSampler.parameters"></stringProp>
  876. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  877. </BeanShellSampler>
  878. <hashTree/>
  879. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="入库上架@查询按物料上架列表" enabled="true">
  880. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  881. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  882. <collectionProp name="Arguments.arguments">
  883. <elementProp name="" elementType="HTTPArgument">
  884. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  885. <stringProp name="Argument.value">{&#xd;
  886. &quot;args&quot;: [&#xd;
  887. {&#xd;
  888. &quot;item_code&quot;: &quot;${item_code}&quot;,&#xd;
  889. &quot;receipt_code&quot;: &quot;${receipt_code}&quot;&#xd;
  890. }&#xd;
  891. ]&#xd;
  892. }</stringProp>
  893. <stringProp name="Argument.metadata">=</stringProp>
  894. </elementProp>
  895. </collectionProp>
  896. </elementProp>
  897. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  898. <stringProp name="HTTPSampler.port">${port}</stringProp>
  899. <stringProp name="HTTPSampler.protocol">http</stringProp>
  900. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  901. <stringProp name="HTTPSampler.path">${path}/inbound/in_put/PdaInPut@itemPutQuery</stringProp>
  902. <stringProp name="HTTPSampler.method">POST</stringProp>
  903. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  904. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  905. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  906. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  907. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  908. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  909. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  910. </HTTPSamplerProxy>
  911. <hashTree>
  912. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  913. <stringProp name="JSON_PATH">$.success</stringProp>
  914. <stringProp name="EXPECTED_VALUE">true</stringProp>
  915. <boolProp name="JSONVALIDATION">true</boolProp>
  916. <boolProp name="EXPECT_NULL">false</boolProp>
  917. <boolProp name="INVERT">false</boolProp>
  918. <boolProp name="ISREGEX">false</boolProp>
  919. </JSONPathAssertion>
  920. <hashTree/>
  921. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="item_receipt_rows" enabled="true">
  922. <stringProp name="JSONPostProcessor.referenceNames">item_receipt_rows</stringProp>
  923. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data[*]</stringProp>
  924. <stringProp name="JSONPostProcessor.match_numbers">-1</stringProp>
  925. </JSONPostProcessor>
  926. <hashTree/>
  927. </hashTree>
  928. <DebugSampler guiclass="TestBeanGUI" testclass="DebugSampler" testname="Debug Sampler 3" enabled="true">
  929. <boolProp name="displayJMeterProperties">false</boolProp>
  930. <boolProp name="displayJMeterVariables">true</boolProp>
  931. <boolProp name="displaySystemProperties">false</boolProp>
  932. </DebugSampler>
  933. <hashTree/>
  934. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="BeanShell Sampler Logger" enabled="true">
  935. <stringProp name="BeanShellSampler.query">Object _ = com.Yvan.init(vars, log, ctx);
  936. //Map v = _.parseJson(_.get(&quot;item_receipt_rows&quot;));
  937. _.log(&quot;item_receipt_rows_matchNr =&gt; &quot; + vars.get(&quot;item_receipt_rows_matchNr&quot;))</stringProp>
  938. <stringProp name="BeanShellSampler.filename"></stringProp>
  939. <stringProp name="BeanShellSampler.parameters"></stringProp>
  940. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  941. </BeanShellSampler>
  942. <hashTree/>
  943. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach_item_receipt_rows" enabled="true">
  944. <stringProp name="ForeachController.inputVal">item_receipt_rows</stringProp>
  945. <stringProp name="ForeachController.returnVal">item_receipt_row</stringProp>
  946. <boolProp name="ForeachController.useSeparator">true</boolProp>
  947. <stringProp name="ForeachController.startIndex">0</stringProp>
  948. <stringProp name="ForeachController.endIndex">${item_receipt_rows_matchNr}</stringProp>
  949. </ForeachController>
  950. <hashTree>
  951. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="BeanShell Sampler" enabled="true">
  952. <stringProp name="BeanShellSampler.query">Object _ = com.Yvan.init(vars, log, ctx);
  953. Map v = _.parseJson(_.get(&quot;item_receipt_row&quot;));
  954. vars.put(&quot;receipt_id&quot;, v.get(&quot;receipt_id&quot;));
  955. vars.put(&quot;receipt_line_no&quot;, v.get(&quot;receipt_line_no&quot;) + &quot;&quot;);</stringProp>
  956. <stringProp name="BeanShellSampler.filename"></stringProp>
  957. <stringProp name="BeanShellSampler.parameters"></stringProp>
  958. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  959. </BeanShellSampler>
  960. <hashTree/>
  961. <DebugSampler guiclass="TestBeanGUI" testclass="DebugSampler" testname="Debug Sampler 4" enabled="true">
  962. <boolProp name="displayJMeterProperties">false</boolProp>
  963. <boolProp name="displayJMeterVariables">true</boolProp>
  964. <boolProp name="displaySystemProperties">false</boolProp>
  965. </DebugSampler>
  966. <hashTree/>
  967. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="入库上架@按物料上架详情页" enabled="true">
  968. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  969. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  970. <collectionProp name="Arguments.arguments">
  971. <elementProp name="" elementType="HTTPArgument">
  972. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  973. <stringProp name="Argument.value">{&#xd;
  974. &quot;args&quot;: [&#xd;
  975. {&#xd;
  976. &quot;receipt_id&quot;: &quot;${receipt_id}&quot;,&#xd;
  977. &quot;receipt_line_no&quot;: ${receipt_line_no}&#xd;
  978. }&#xd;
  979. ]&#xd;
  980. }</stringProp>
  981. <stringProp name="Argument.metadata">=</stringProp>
  982. </elementProp>
  983. </collectionProp>
  984. </elementProp>
  985. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  986. <stringProp name="HTTPSampler.port">${port}</stringProp>
  987. <stringProp name="HTTPSampler.protocol">http</stringProp>
  988. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  989. <stringProp name="HTTPSampler.path">${path}/inbound/in_put/InPut@pdaQueryPutDetails</stringProp>
  990. <stringProp name="HTTPSampler.method">POST</stringProp>
  991. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  992. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  993. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  994. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  995. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  996. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  997. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  998. </HTTPSamplerProxy>
  999. <hashTree>
  1000. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  1001. <stringProp name="JSON_PATH">$.success</stringProp>
  1002. <stringProp name="EXPECTED_VALUE">true</stringProp>
  1003. <boolProp name="JSONVALIDATION">true</boolProp>
  1004. <boolProp name="EXPECT_NULL">false</boolProp>
  1005. <boolProp name="INVERT">false</boolProp>
  1006. <boolProp name="ISREGEX">false</boolProp>
  1007. </JSONPathAssertion>
  1008. <hashTree/>
  1009. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="default_put_loc_code" enabled="true">
  1010. <stringProp name="JSONPostProcessor.referenceNames">default_put_loc_code</stringProp>
  1011. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data.default_put_loc_code</stringProp>
  1012. <stringProp name="JSONPostProcessor.match_numbers">1</stringProp>
  1013. </JSONPostProcessor>
  1014. <hashTree/>
  1015. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="put_qty" enabled="true">
  1016. <stringProp name="JSONPostProcessor.referenceNames">put_qty</stringProp>
  1017. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data.put_qty</stringProp>
  1018. <stringProp name="JSONPostProcessor.match_numbers">1</stringProp>
  1019. </JSONPostProcessor>
  1020. <hashTree/>
  1021. </hashTree>
  1022. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="入库上架@绑定库位" enabled="true">
  1023. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  1024. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  1025. <collectionProp name="Arguments.arguments">
  1026. <elementProp name="" elementType="HTTPArgument">
  1027. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  1028. <stringProp name="Argument.value">{&#xd;
  1029. &quot;args&quot;: [&#xd;
  1030. {&#xd;
  1031. &quot;detailsType&quot;: 1,&#xd;
  1032. &quot;loc_code&quot;: &quot;${default_put_loc_code}&quot;,&#xd;
  1033. &quot;receipt_id&quot;: &quot;${receipt_id}&quot;,&#xd;
  1034. &quot;receipt_line_no&quot;: ${receipt_line_no}&#xd;
  1035. }&#xd;
  1036. ]&#xd;
  1037. }</stringProp>
  1038. <stringProp name="Argument.metadata">=</stringProp>
  1039. </elementProp>
  1040. </collectionProp>
  1041. </elementProp>
  1042. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  1043. <stringProp name="HTTPSampler.port">${port}</stringProp>
  1044. <stringProp name="HTTPSampler.protocol">http</stringProp>
  1045. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  1046. <stringProp name="HTTPSampler.path">${path}/inbound/in_put/InPut@editLocationPdaItem</stringProp>
  1047. <stringProp name="HTTPSampler.method">POST</stringProp>
  1048. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1049. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1050. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1051. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1052. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  1053. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  1054. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  1055. </HTTPSamplerProxy>
  1056. <hashTree>
  1057. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  1058. <stringProp name="JSON_PATH">$.success</stringProp>
  1059. <stringProp name="EXPECTED_VALUE">true</stringProp>
  1060. <boolProp name="JSONVALIDATION">true</boolProp>
  1061. <boolProp name="EXPECT_NULL">false</boolProp>
  1062. <boolProp name="INVERT">false</boolProp>
  1063. <boolProp name="ISREGEX">false</boolProp>
  1064. </JSONPathAssertion>
  1065. <hashTree/>
  1066. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="receipt_rows" enabled="true">
  1067. <stringProp name="JSONPostProcessor.referenceNames">receipt_rows</stringProp>
  1068. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data</stringProp>
  1069. <stringProp name="JSONPostProcessor.match_numbers">1</stringProp>
  1070. </JSONPostProcessor>
  1071. <hashTree/>
  1072. </hashTree>
  1073. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="入库上架@按物料上架" enabled="true">
  1074. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  1075. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  1076. <collectionProp name="Arguments.arguments">
  1077. <elementProp name="" elementType="HTTPArgument">
  1078. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  1079. <stringProp name="Argument.value">{&#xd;
  1080. &quot;args&quot;: [&#xd;
  1081. {&#xd;
  1082. &quot;itemList&quot;: [&#xd;
  1083. {&#xd;
  1084. &quot;receipt_line_no&quot;: ${receipt_line_no}&#xd;
  1085. }&#xd;
  1086. ],&#xd;
  1087. &quot;receipt_id&quot;: &quot;${receipt_id}&quot;,&#xd;
  1088. &quot;receipt_line_no&quot;: ${receipt_line_no},&#xd;
  1089. &quot;op_qty&quot;: &quot;${put_qty}&quot;&#xd;
  1090. }&#xd;
  1091. ]&#xd;
  1092. }</stringProp>
  1093. <stringProp name="Argument.metadata">=</stringProp>
  1094. </elementProp>
  1095. </collectionProp>
  1096. </elementProp>
  1097. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  1098. <stringProp name="HTTPSampler.port">${port}</stringProp>
  1099. <stringProp name="HTTPSampler.protocol">http</stringProp>
  1100. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  1101. <stringProp name="HTTPSampler.path">${path}/inbound/in_put/InPut@itemAndQtyForPda</stringProp>
  1102. <stringProp name="HTTPSampler.method">POST</stringProp>
  1103. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1104. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1105. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1106. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1107. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  1108. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  1109. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  1110. </HTTPSamplerProxy>
  1111. <hashTree>
  1112. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  1113. <stringProp name="JSON_PATH">$.success</stringProp>
  1114. <stringProp name="EXPECTED_VALUE">true</stringProp>
  1115. <boolProp name="JSONVALIDATION">true</boolProp>
  1116. <boolProp name="EXPECT_NULL">false</boolProp>
  1117. <boolProp name="INVERT">false</boolProp>
  1118. <boolProp name="ISREGEX">false</boolProp>
  1119. </JSONPathAssertion>
  1120. <hashTree/>
  1121. </hashTree>
  1122. </hashTree>
  1123. </hashTree>
  1124. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="BeanShell Sampler" enabled="true">
  1125. <stringProp name="BeanShellSampler.query">Object _ = com.Yvan.init(vars, log, ctx);
  1126. Map v = _.parseJson(_.get(&quot;item_list_1&quot;));
  1127. vars.put(&quot;item_code&quot;, v.get(&quot;item_code&quot;));
  1128. vars.put(&quot;receipt_code&quot;, v.get(&quot;receipt_code&quot;));</stringProp>
  1129. <stringProp name="BeanShellSampler.filename"></stringProp>
  1130. <stringProp name="BeanShellSampler.parameters"></stringProp>
  1131. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  1132. </BeanShellSampler>
  1133. <hashTree/>
  1134. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="入库上架@查询按物料上架列表" enabled="true">
  1135. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  1136. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  1137. <collectionProp name="Arguments.arguments">
  1138. <elementProp name="" elementType="HTTPArgument">
  1139. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  1140. <stringProp name="Argument.value">{&#xd;
  1141. &quot;args&quot;: [&#xd;
  1142. {&#xd;
  1143. &quot;item_code&quot;: &quot;${item_code}&quot;,&#xd;
  1144. &quot;receipt_code&quot;: &quot;${receipt_code}&quot;&#xd;
  1145. }&#xd;
  1146. ]&#xd;
  1147. }</stringProp>
  1148. <stringProp name="Argument.metadata">=</stringProp>
  1149. </elementProp>
  1150. </collectionProp>
  1151. </elementProp>
  1152. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  1153. <stringProp name="HTTPSampler.port">${port}</stringProp>
  1154. <stringProp name="HTTPSampler.protocol">http</stringProp>
  1155. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  1156. <stringProp name="HTTPSampler.path">${path}/inbound/in_put/PdaInPut@itemPutQuery</stringProp>
  1157. <stringProp name="HTTPSampler.method">POST</stringProp>
  1158. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1159. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1160. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1161. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1162. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  1163. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  1164. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  1165. </HTTPSamplerProxy>
  1166. <hashTree>
  1167. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  1168. <stringProp name="JSON_PATH">$.success</stringProp>
  1169. <stringProp name="EXPECTED_VALUE">true</stringProp>
  1170. <boolProp name="JSONVALIDATION">true</boolProp>
  1171. <boolProp name="EXPECT_NULL">false</boolProp>
  1172. <boolProp name="INVERT">false</boolProp>
  1173. <boolProp name="ISREGEX">false</boolProp>
  1174. </JSONPathAssertion>
  1175. <hashTree/>
  1176. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="item_receipt_rows" enabled="true">
  1177. <stringProp name="JSONPostProcessor.referenceNames">item_receipt_rows</stringProp>
  1178. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data[*]</stringProp>
  1179. <stringProp name="JSONPostProcessor.match_numbers">-1</stringProp>
  1180. </JSONPostProcessor>
  1181. <hashTree/>
  1182. </hashTree>
  1183. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach_item_receipt_rows" enabled="true">
  1184. <stringProp name="ForeachController.inputVal">item_receipt_rows</stringProp>
  1185. <stringProp name="ForeachController.returnVal">item_receipt_row</stringProp>
  1186. <boolProp name="ForeachController.useSeparator">true</boolProp>
  1187. <stringProp name="ForeachController.startIndex">0</stringProp>
  1188. <stringProp name="ForeachController.endIndex">${item_receipt_rows_matchNr}</stringProp>
  1189. </ForeachController>
  1190. <hashTree>
  1191. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="BeanShell Sampler" enabled="true">
  1192. <stringProp name="BeanShellSampler.query">Object _ = com.Yvan.init(vars, log, ctx);
  1193. Map v = _.parseJson(_.get(&quot;item_receipt_row&quot;));
  1194. vars.put(&quot;receipt_id&quot;, v.get(&quot;receipt_id&quot;));
  1195. vars.put(&quot;receipt_line_no&quot;, v.get(&quot;receipt_line_no&quot;) + &quot;&quot;);</stringProp>
  1196. <stringProp name="BeanShellSampler.filename"></stringProp>
  1197. <stringProp name="BeanShellSampler.parameters"></stringProp>
  1198. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  1199. </BeanShellSampler>
  1200. <hashTree/>
  1201. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="入库上架@按物料上架详情页" enabled="true">
  1202. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  1203. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  1204. <collectionProp name="Arguments.arguments">
  1205. <elementProp name="" elementType="HTTPArgument">
  1206. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  1207. <stringProp name="Argument.value">{&#xd;
  1208. &quot;args&quot;: [&#xd;
  1209. {&#xd;
  1210. &quot;receipt_id&quot;: &quot;${receipt_id}&quot;,&#xd;
  1211. &quot;receipt_line_no&quot;: ${receipt_line_no}&#xd;
  1212. }&#xd;
  1213. ]&#xd;
  1214. }</stringProp>
  1215. <stringProp name="Argument.metadata">=</stringProp>
  1216. </elementProp>
  1217. </collectionProp>
  1218. </elementProp>
  1219. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  1220. <stringProp name="HTTPSampler.port">${port}</stringProp>
  1221. <stringProp name="HTTPSampler.protocol">http</stringProp>
  1222. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  1223. <stringProp name="HTTPSampler.path">${path}/inbound/in_put/InPut@pdaQueryPutDetails</stringProp>
  1224. <stringProp name="HTTPSampler.method">POST</stringProp>
  1225. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1226. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1227. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1228. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1229. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  1230. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  1231. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  1232. </HTTPSamplerProxy>
  1233. <hashTree>
  1234. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  1235. <stringProp name="JSON_PATH">$.success</stringProp>
  1236. <stringProp name="EXPECTED_VALUE">true</stringProp>
  1237. <boolProp name="JSONVALIDATION">true</boolProp>
  1238. <boolProp name="EXPECT_NULL">false</boolProp>
  1239. <boolProp name="INVERT">false</boolProp>
  1240. <boolProp name="ISREGEX">false</boolProp>
  1241. </JSONPathAssertion>
  1242. <hashTree/>
  1243. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="default_put_loc_code" enabled="true">
  1244. <stringProp name="JSONPostProcessor.referenceNames">default_put_loc_code</stringProp>
  1245. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data.default_put_loc_code</stringProp>
  1246. <stringProp name="JSONPostProcessor.match_numbers">1</stringProp>
  1247. </JSONPostProcessor>
  1248. <hashTree/>
  1249. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="put_qty" enabled="true">
  1250. <stringProp name="JSONPostProcessor.referenceNames">put_qty</stringProp>
  1251. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data.put_qty</stringProp>
  1252. <stringProp name="JSONPostProcessor.match_numbers">1</stringProp>
  1253. </JSONPostProcessor>
  1254. <hashTree/>
  1255. </hashTree>
  1256. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="入库上架@绑定库位" enabled="true">
  1257. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  1258. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  1259. <collectionProp name="Arguments.arguments">
  1260. <elementProp name="" elementType="HTTPArgument">
  1261. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  1262. <stringProp name="Argument.value">{&#xd;
  1263. &quot;args&quot;: [&#xd;
  1264. {&#xd;
  1265. &quot;detailsType&quot;: 1,&#xd;
  1266. &quot;loc_code&quot;: &quot;${default_put_loc_code}&quot;,&#xd;
  1267. &quot;receipt_id&quot;: &quot;${receipt_id}&quot;,&#xd;
  1268. &quot;receipt_line_no&quot;: ${receipt_line_no}&#xd;
  1269. }&#xd;
  1270. ]&#xd;
  1271. }</stringProp>
  1272. <stringProp name="Argument.metadata">=</stringProp>
  1273. </elementProp>
  1274. </collectionProp>
  1275. </elementProp>
  1276. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  1277. <stringProp name="HTTPSampler.port">${port}</stringProp>
  1278. <stringProp name="HTTPSampler.protocol">http</stringProp>
  1279. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  1280. <stringProp name="HTTPSampler.path">${path}/inbound/in_put/InPut@editLocationPdaItem</stringProp>
  1281. <stringProp name="HTTPSampler.method">POST</stringProp>
  1282. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1283. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1284. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1285. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1286. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  1287. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  1288. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  1289. </HTTPSamplerProxy>
  1290. <hashTree>
  1291. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  1292. <stringProp name="JSON_PATH">$.success</stringProp>
  1293. <stringProp name="EXPECTED_VALUE">true</stringProp>
  1294. <boolProp name="JSONVALIDATION">true</boolProp>
  1295. <boolProp name="EXPECT_NULL">false</boolProp>
  1296. <boolProp name="INVERT">false</boolProp>
  1297. <boolProp name="ISREGEX">false</boolProp>
  1298. </JSONPathAssertion>
  1299. <hashTree/>
  1300. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="receipt_rows" enabled="true">
  1301. <stringProp name="JSONPostProcessor.referenceNames">receipt_rows</stringProp>
  1302. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data</stringProp>
  1303. <stringProp name="JSONPostProcessor.match_numbers">1</stringProp>
  1304. </JSONPostProcessor>
  1305. <hashTree/>
  1306. </hashTree>
  1307. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="入库上架@按物料上架" enabled="true">
  1308. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  1309. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  1310. <collectionProp name="Arguments.arguments">
  1311. <elementProp name="" elementType="HTTPArgument">
  1312. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  1313. <stringProp name="Argument.value">{&#xd;
  1314. &quot;args&quot;: [&#xd;
  1315. {&#xd;
  1316. &quot;itemList&quot;: [&#xd;
  1317. {&#xd;
  1318. &quot;receipt_line_no&quot;: ${receipt_line_no}&#xd;
  1319. }&#xd;
  1320. ],&#xd;
  1321. &quot;receipt_id&quot;: &quot;${receipt_id}&quot;,&#xd;
  1322. &quot;receipt_line_no&quot;: ${receipt_line_no},&#xd;
  1323. &quot;op_qty&quot;: &quot;${put_qty}&quot;&#xd;
  1324. }&#xd;
  1325. ]&#xd;
  1326. }</stringProp>
  1327. <stringProp name="Argument.metadata">=</stringProp>
  1328. </elementProp>
  1329. </collectionProp>
  1330. </elementProp>
  1331. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  1332. <stringProp name="HTTPSampler.port">${port}</stringProp>
  1333. <stringProp name="HTTPSampler.protocol">http</stringProp>
  1334. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  1335. <stringProp name="HTTPSampler.path">${path}/inbound/in_put/InPut@itemAndQtyForPda</stringProp>
  1336. <stringProp name="HTTPSampler.method">POST</stringProp>
  1337. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1338. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1339. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1340. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1341. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  1342. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  1343. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  1344. </HTTPSamplerProxy>
  1345. <hashTree>
  1346. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  1347. <stringProp name="JSON_PATH">$.success</stringProp>
  1348. <stringProp name="EXPECTED_VALUE">true</stringProp>
  1349. <boolProp name="JSONVALIDATION">true</boolProp>
  1350. <boolProp name="EXPECT_NULL">false</boolProp>
  1351. <boolProp name="INVERT">false</boolProp>
  1352. <boolProp name="ISREGEX">false</boolProp>
  1353. </JSONPathAssertion>
  1354. <hashTree/>
  1355. </hashTree>
  1356. </hashTree>
  1357. </hashTree>
  1358. </hashTree>
  1359. <IfController guiclass="IfControllerPanel" testclass="IfController" testname="IF ASN Code Not Null" enabled="false">
  1360. <stringProp name="IfController.condition">${__groovy(vars.get(&quot;asn_code&quot;) != &quot;&quot;)}</stringProp>
  1361. <boolProp name="IfController.evaluateAll">false</boolProp>
  1362. <boolProp name="IfController.useExpression">true</boolProp>
  1363. </IfController>
  1364. <hashTree>
  1365. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="入库上架@按单上架查询" enabled="true">
  1366. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  1367. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  1368. <collectionProp name="Arguments.arguments">
  1369. <elementProp name="" elementType="HTTPArgument">
  1370. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  1371. <stringProp name="Argument.value">{&#xd;
  1372. &quot;args&quot;: [&#xd;
  1373. {&#xd;
  1374. &quot;receipt_code&quot;: &quot;${asn_code}&quot;&#xd;
  1375. }&#xd;
  1376. ]&#xd;
  1377. }</stringProp>
  1378. <stringProp name="Argument.metadata">=</stringProp>
  1379. </elementProp>
  1380. </collectionProp>
  1381. </elementProp>
  1382. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  1383. <stringProp name="HTTPSampler.port">${port}</stringProp>
  1384. <stringProp name="HTTPSampler.protocol">http</stringProp>
  1385. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  1386. <stringProp name="HTTPSampler.path">${path}/inbound/in_put/PdaInPut@orderPutQuery</stringProp>
  1387. <stringProp name="HTTPSampler.method">POST</stringProp>
  1388. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1389. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1390. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1391. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1392. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  1393. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  1394. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  1395. </HTTPSamplerProxy>
  1396. <hashTree>
  1397. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  1398. <stringProp name="JSON_PATH">$.success</stringProp>
  1399. <stringProp name="EXPECTED_VALUE">true</stringProp>
  1400. <boolProp name="JSONVALIDATION">true</boolProp>
  1401. <boolProp name="EXPECT_NULL">false</boolProp>
  1402. <boolProp name="INVERT">false</boolProp>
  1403. <boolProp name="ISREGEX">false</boolProp>
  1404. </JSONPathAssertion>
  1405. <hashTree/>
  1406. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="container_list" enabled="true">
  1407. <stringProp name="JSONPostProcessor.referenceNames">container_list</stringProp>
  1408. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data.receipt1.[*]</stringProp>
  1409. <stringProp name="JSONPostProcessor.match_numbers">-1</stringProp>
  1410. </JSONPostProcessor>
  1411. <hashTree/>
  1412. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="item_list" enabled="true">
  1413. <stringProp name="JSONPostProcessor.referenceNames">item_list</stringProp>
  1414. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data.receipt2.[*]</stringProp>
  1415. <stringProp name="JSONPostProcessor.match_numbers">-1</stringProp>
  1416. </JSONPostProcessor>
  1417. <hashTree/>
  1418. </hashTree>
  1419. <IfController guiclass="IfControllerPanel" testclass="IfController" testname="IF按容器上架" enabled="true">
  1420. <stringProp name="IfController.condition">${__groovy(&quot;${container_list_matchNr}&quot; != &quot;0&quot;)}</stringProp>
  1421. <boolProp name="IfController.evaluateAll">false</boolProp>
  1422. <boolProp name="IfController.useExpression">true</boolProp>
  1423. </IfController>
  1424. <hashTree>
  1425. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="Remove_Item_List_Variable" enabled="true">
  1426. <stringProp name="BeanShellSampler.query">vars.remove(&quot;item_list&quot;)</stringProp>
  1427. <stringProp name="BeanShellSampler.filename"></stringProp>
  1428. <stringProp name="BeanShellSampler.parameters"></stringProp>
  1429. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  1430. </BeanShellSampler>
  1431. <hashTree/>
  1432. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach_container_list" enabled="true">
  1433. <stringProp name="ForeachController.inputVal">container_list</stringProp>
  1434. <stringProp name="ForeachController.returnVal">containerReceipt</stringProp>
  1435. <boolProp name="ForeachController.useSeparator">true</boolProp>
  1436. <stringProp name="ForeachController.startIndex">0</stringProp>
  1437. <stringProp name="ForeachController.endIndex">${container_list_matchNr}</stringProp>
  1438. </ForeachController>
  1439. <hashTree>
  1440. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="BeanShell Sampler" enabled="true">
  1441. <stringProp name="BeanShellSampler.query">Object _ = com.Yvan.init(vars, log, ctx);
  1442. Map v = _.parseJson(_.get(&quot;containerReceipt&quot;));
  1443. vars.put(&quot;tray_code&quot;, v.get(&quot;box_code&quot;));</stringProp>
  1444. <stringProp name="BeanShellSampler.filename"></stringProp>
  1445. <stringProp name="BeanShellSampler.parameters"></stringProp>
  1446. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  1447. </BeanShellSampler>
  1448. <hashTree/>
  1449. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="入库上架@按容器上架列表" enabled="true">
  1450. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  1451. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  1452. <collectionProp name="Arguments.arguments">
  1453. <elementProp name="" elementType="HTTPArgument">
  1454. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  1455. <stringProp name="Argument.value">{&#xd;
  1456. &quot;args&quot;: [&#xd;
  1457. {&#xd;
  1458. &quot;tray_code&quot;: &quot;${tray_code}&quot;&#xd;
  1459. }&#xd;
  1460. ]&#xd;
  1461. }</stringProp>
  1462. <stringProp name="Argument.metadata">=</stringProp>
  1463. </elementProp>
  1464. </collectionProp>
  1465. </elementProp>
  1466. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  1467. <stringProp name="HTTPSampler.port">${port}</stringProp>
  1468. <stringProp name="HTTPSampler.protocol">http</stringProp>
  1469. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  1470. <stringProp name="HTTPSampler.path">${path}/inbound/in_put/PdaInPut@queryByTrayCode</stringProp>
  1471. <stringProp name="HTTPSampler.method">POST</stringProp>
  1472. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1473. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1474. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1475. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1476. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  1477. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  1478. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  1479. </HTTPSamplerProxy>
  1480. <hashTree>
  1481. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  1482. <stringProp name="JSON_PATH">$.success</stringProp>
  1483. <stringProp name="EXPECTED_VALUE">true</stringProp>
  1484. <boolProp name="JSONVALIDATION">true</boolProp>
  1485. <boolProp name="EXPECT_NULL">false</boolProp>
  1486. <boolProp name="INVERT">false</boolProp>
  1487. <boolProp name="ISREGEX">false</boolProp>
  1488. </JSONPathAssertion>
  1489. <hashTree/>
  1490. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="receipt_id" enabled="true">
  1491. <stringProp name="JSONPostProcessor.referenceNames">receipt_id</stringProp>
  1492. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data[*].receipt_id</stringProp>
  1493. <stringProp name="JSONPostProcessor.match_numbers">1</stringProp>
  1494. </JSONPostProcessor>
  1495. <hashTree/>
  1496. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="receipt_rows" enabled="true">
  1497. <stringProp name="JSONPostProcessor.referenceNames">receipt_rows</stringProp>
  1498. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data</stringProp>
  1499. <stringProp name="JSONPostProcessor.match_numbers">1</stringProp>
  1500. </JSONPostProcessor>
  1501. <hashTree/>
  1502. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="default_put_loc_code" enabled="true">
  1503. <stringProp name="JSONPostProcessor.referenceNames">default_put_loc_code</stringProp>
  1504. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data[*].default_put_loc_code</stringProp>
  1505. <stringProp name="JSONPostProcessor.match_numbers">1</stringProp>
  1506. </JSONPostProcessor>
  1507. <hashTree/>
  1508. </hashTree>
  1509. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="入库上架@绑定库位" enabled="true">
  1510. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  1511. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  1512. <collectionProp name="Arguments.arguments">
  1513. <elementProp name="" elementType="HTTPArgument">
  1514. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  1515. <stringProp name="Argument.value">{&#xd;
  1516. &quot;args&quot;: [&#xd;
  1517. {&#xd;
  1518. &quot;detailsType&quot;: 2,&#xd;
  1519. &quot;loc_code&quot;: &quot;${default_put_loc_code}&quot;,&#xd;
  1520. &quot;rows&quot;: ${receipt_rows}&#xd;
  1521. }&#xd;
  1522. ]&#xd;
  1523. }</stringProp>
  1524. <stringProp name="Argument.metadata">=</stringProp>
  1525. </elementProp>
  1526. </collectionProp>
  1527. </elementProp>
  1528. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  1529. <stringProp name="HTTPSampler.port">${port}</stringProp>
  1530. <stringProp name="HTTPSampler.protocol">http</stringProp>
  1531. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  1532. <stringProp name="HTTPSampler.path">${path}/inbound/in_put/InPut@editLocation</stringProp>
  1533. <stringProp name="HTTPSampler.method">POST</stringProp>
  1534. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1535. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1536. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1537. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1538. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  1539. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  1540. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  1541. </HTTPSamplerProxy>
  1542. <hashTree>
  1543. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="false">
  1544. <stringProp name="JSON_PATH">$.success</stringProp>
  1545. <stringProp name="EXPECTED_VALUE">true</stringProp>
  1546. <boolProp name="JSONVALIDATION">true</boolProp>
  1547. <boolProp name="EXPECT_NULL">false</boolProp>
  1548. <boolProp name="INVERT">false</boolProp>
  1549. <boolProp name="ISREGEX">false</boolProp>
  1550. </JSONPathAssertion>
  1551. <hashTree/>
  1552. </hashTree>
  1553. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="入库上架@按容器上架" enabled="true">
  1554. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  1555. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  1556. <collectionProp name="Arguments.arguments">
  1557. <elementProp name="" elementType="HTTPArgument">
  1558. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  1559. <stringProp name="Argument.value">{&#xd;
  1560. &quot;args&quot;: [&#xd;
  1561. {&#xd;
  1562. &quot;receipt_id&quot;: &quot;${receipt_id}&quot;,&#xd;
  1563. &quot;itemList&quot;: ${receipt_rows}&#xd;
  1564. }&#xd;
  1565. ]&#xd;
  1566. }</stringProp>
  1567. <stringProp name="Argument.metadata">=</stringProp>
  1568. </elementProp>
  1569. </collectionProp>
  1570. </elementProp>
  1571. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  1572. <stringProp name="HTTPSampler.port">${port}</stringProp>
  1573. <stringProp name="HTTPSampler.protocol">http</stringProp>
  1574. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  1575. <stringProp name="HTTPSampler.path">${path}/inbound/in_put/InPut@RfBoxAndTray</stringProp>
  1576. <stringProp name="HTTPSampler.method">POST</stringProp>
  1577. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1578. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1579. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1580. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1581. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  1582. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  1583. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  1584. </HTTPSamplerProxy>
  1585. <hashTree>
  1586. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  1587. <stringProp name="JSON_PATH">$.success</stringProp>
  1588. <stringProp name="EXPECTED_VALUE">true</stringProp>
  1589. <boolProp name="JSONVALIDATION">true</boolProp>
  1590. <boolProp name="EXPECT_NULL">false</boolProp>
  1591. <boolProp name="INVERT">false</boolProp>
  1592. <boolProp name="ISREGEX">false</boolProp>
  1593. </JSONPathAssertion>
  1594. <hashTree/>
  1595. </hashTree>
  1596. </hashTree>
  1597. </hashTree>
  1598. <IfController guiclass="IfControllerPanel" testclass="IfController" testname="IF按物料上架" enabled="true">
  1599. <stringProp name="IfController.condition">${__groovy(vars.get(&quot;item_list_matchNr&quot;) != &quot;0&quot;)}</stringProp>
  1600. <boolProp name="IfController.evaluateAll">false</boolProp>
  1601. <boolProp name="IfController.useExpression">true</boolProp>
  1602. </IfController>
  1603. <hashTree>
  1604. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="Remove_Container_List_Variable" enabled="true">
  1605. <stringProp name="BeanShellSampler.query">vars.remove(&quot;container_list&quot;)</stringProp>
  1606. <stringProp name="BeanShellSampler.filename"></stringProp>
  1607. <stringProp name="BeanShellSampler.parameters"></stringProp>
  1608. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  1609. </BeanShellSampler>
  1610. <hashTree/>
  1611. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach_Item_List" enabled="false">
  1612. <stringProp name="ForeachController.inputVal">item_list</stringProp>
  1613. <stringProp name="ForeachController.returnVal">itemReceipt</stringProp>
  1614. <boolProp name="ForeachController.useSeparator">true</boolProp>
  1615. <stringProp name="ForeachController.startIndex">0</stringProp>
  1616. <stringProp name="ForeachController.endIndex">${item_list_matchNr}</stringProp>
  1617. </ForeachController>
  1618. <hashTree>
  1619. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="BeanShell Sampler" enabled="true">
  1620. <stringProp name="BeanShellSampler.query">Object _ = com.Yvan.init(vars, log, ctx);
  1621. Map v = _.parseJson(_.get(&quot;itemReceipt&quot;));
  1622. vars.put(&quot;item_code&quot;, v.get(&quot;item_code&quot;));
  1623. vars.put(&quot;receipt_code&quot;, v.get(&quot;receipt_code&quot;));</stringProp>
  1624. <stringProp name="BeanShellSampler.filename"></stringProp>
  1625. <stringProp name="BeanShellSampler.parameters"></stringProp>
  1626. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  1627. </BeanShellSampler>
  1628. <hashTree/>
  1629. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="入库上架@查询按物料上架列表" enabled="true">
  1630. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  1631. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  1632. <collectionProp name="Arguments.arguments">
  1633. <elementProp name="" elementType="HTTPArgument">
  1634. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  1635. <stringProp name="Argument.value">{&#xd;
  1636. &quot;args&quot;: [&#xd;
  1637. {&#xd;
  1638. &quot;item_code&quot;: &quot;${item_code}&quot;,&#xd;
  1639. &quot;receipt_code&quot;: &quot;${receipt_code}&quot;&#xd;
  1640. }&#xd;
  1641. ]&#xd;
  1642. }</stringProp>
  1643. <stringProp name="Argument.metadata">=</stringProp>
  1644. </elementProp>
  1645. </collectionProp>
  1646. </elementProp>
  1647. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  1648. <stringProp name="HTTPSampler.port">${port}</stringProp>
  1649. <stringProp name="HTTPSampler.protocol">http</stringProp>
  1650. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  1651. <stringProp name="HTTPSampler.path">${path}/inbound/in_put/PdaInPut@itemPutQuery</stringProp>
  1652. <stringProp name="HTTPSampler.method">POST</stringProp>
  1653. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1654. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1655. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1656. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1657. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  1658. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  1659. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  1660. </HTTPSamplerProxy>
  1661. <hashTree>
  1662. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  1663. <stringProp name="JSON_PATH">$.success</stringProp>
  1664. <stringProp name="EXPECTED_VALUE">true</stringProp>
  1665. <boolProp name="JSONVALIDATION">true</boolProp>
  1666. <boolProp name="EXPECT_NULL">false</boolProp>
  1667. <boolProp name="INVERT">false</boolProp>
  1668. <boolProp name="ISREGEX">false</boolProp>
  1669. </JSONPathAssertion>
  1670. <hashTree/>
  1671. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="item_receipt_rows" enabled="true">
  1672. <stringProp name="JSONPostProcessor.referenceNames">item_receipt_rows</stringProp>
  1673. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data[*]</stringProp>
  1674. <stringProp name="JSONPostProcessor.match_numbers">-1</stringProp>
  1675. </JSONPostProcessor>
  1676. <hashTree/>
  1677. </hashTree>
  1678. <DebugSampler guiclass="TestBeanGUI" testclass="DebugSampler" testname="Debug Sampler 3" enabled="true">
  1679. <boolProp name="displayJMeterProperties">false</boolProp>
  1680. <boolProp name="displayJMeterVariables">true</boolProp>
  1681. <boolProp name="displaySystemProperties">false</boolProp>
  1682. </DebugSampler>
  1683. <hashTree/>
  1684. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="BeanShell Sampler Logger" enabled="true">
  1685. <stringProp name="BeanShellSampler.query">Object _ = com.Yvan.init(vars, log, ctx);
  1686. //Map v = _.parseJson(_.get(&quot;item_receipt_rows&quot;));
  1687. _.log(&quot;item_receipt_rows_matchNr =&gt; &quot; + vars.get(&quot;item_receipt_rows_matchNr&quot;))</stringProp>
  1688. <stringProp name="BeanShellSampler.filename"></stringProp>
  1689. <stringProp name="BeanShellSampler.parameters"></stringProp>
  1690. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  1691. </BeanShellSampler>
  1692. <hashTree/>
  1693. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach_item_receipt_rows" enabled="true">
  1694. <stringProp name="ForeachController.inputVal">item_receipt_rows</stringProp>
  1695. <stringProp name="ForeachController.returnVal">item_receipt_row</stringProp>
  1696. <boolProp name="ForeachController.useSeparator">true</boolProp>
  1697. <stringProp name="ForeachController.startIndex">0</stringProp>
  1698. <stringProp name="ForeachController.endIndex">${item_receipt_rows_matchNr}</stringProp>
  1699. </ForeachController>
  1700. <hashTree>
  1701. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="BeanShell Sampler" enabled="true">
  1702. <stringProp name="BeanShellSampler.query">Object _ = com.Yvan.init(vars, log, ctx);
  1703. Map v = _.parseJson(_.get(&quot;item_receipt_row&quot;));
  1704. vars.put(&quot;receipt_id&quot;, v.get(&quot;receipt_id&quot;));
  1705. vars.put(&quot;receipt_line_no&quot;, v.get(&quot;receipt_line_no&quot;) + &quot;&quot;);</stringProp>
  1706. <stringProp name="BeanShellSampler.filename"></stringProp>
  1707. <stringProp name="BeanShellSampler.parameters"></stringProp>
  1708. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  1709. </BeanShellSampler>
  1710. <hashTree/>
  1711. <DebugSampler guiclass="TestBeanGUI" testclass="DebugSampler" testname="Debug Sampler 4" enabled="true">
  1712. <boolProp name="displayJMeterProperties">false</boolProp>
  1713. <boolProp name="displayJMeterVariables">true</boolProp>
  1714. <boolProp name="displaySystemProperties">false</boolProp>
  1715. </DebugSampler>
  1716. <hashTree/>
  1717. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="入库上架@按物料上架详情页" enabled="true">
  1718. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  1719. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  1720. <collectionProp name="Arguments.arguments">
  1721. <elementProp name="" elementType="HTTPArgument">
  1722. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  1723. <stringProp name="Argument.value">{&#xd;
  1724. &quot;args&quot;: [&#xd;
  1725. {&#xd;
  1726. &quot;receipt_id&quot;: &quot;${receipt_id}&quot;,&#xd;
  1727. &quot;receipt_line_no&quot;: ${receipt_line_no}&#xd;
  1728. }&#xd;
  1729. ]&#xd;
  1730. }</stringProp>
  1731. <stringProp name="Argument.metadata">=</stringProp>
  1732. </elementProp>
  1733. </collectionProp>
  1734. </elementProp>
  1735. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  1736. <stringProp name="HTTPSampler.port">${port}</stringProp>
  1737. <stringProp name="HTTPSampler.protocol">http</stringProp>
  1738. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  1739. <stringProp name="HTTPSampler.path">${path}/inbound/in_put/InPut@pdaQueryPutDetails</stringProp>
  1740. <stringProp name="HTTPSampler.method">POST</stringProp>
  1741. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1742. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1743. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1744. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1745. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  1746. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  1747. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  1748. </HTTPSamplerProxy>
  1749. <hashTree>
  1750. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  1751. <stringProp name="JSON_PATH">$.success</stringProp>
  1752. <stringProp name="EXPECTED_VALUE">true</stringProp>
  1753. <boolProp name="JSONVALIDATION">true</boolProp>
  1754. <boolProp name="EXPECT_NULL">false</boolProp>
  1755. <boolProp name="INVERT">false</boolProp>
  1756. <boolProp name="ISREGEX">false</boolProp>
  1757. </JSONPathAssertion>
  1758. <hashTree/>
  1759. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="default_put_loc_code" enabled="true">
  1760. <stringProp name="JSONPostProcessor.referenceNames">default_put_loc_code</stringProp>
  1761. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data.default_put_loc_code</stringProp>
  1762. <stringProp name="JSONPostProcessor.match_numbers">1</stringProp>
  1763. </JSONPostProcessor>
  1764. <hashTree/>
  1765. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="put_qty" enabled="true">
  1766. <stringProp name="JSONPostProcessor.referenceNames">put_qty</stringProp>
  1767. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data.put_qty</stringProp>
  1768. <stringProp name="JSONPostProcessor.match_numbers">1</stringProp>
  1769. </JSONPostProcessor>
  1770. <hashTree/>
  1771. </hashTree>
  1772. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="入库上架@绑定库位" enabled="true">
  1773. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  1774. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  1775. <collectionProp name="Arguments.arguments">
  1776. <elementProp name="" elementType="HTTPArgument">
  1777. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  1778. <stringProp name="Argument.value">{&#xd;
  1779. &quot;args&quot;: [&#xd;
  1780. {&#xd;
  1781. &quot;detailsType&quot;: 1,&#xd;
  1782. &quot;loc_code&quot;: &quot;${default_put_loc_code}&quot;,&#xd;
  1783. &quot;receipt_id&quot;: &quot;${receipt_id}&quot;,&#xd;
  1784. &quot;receipt_line_no&quot;: ${receipt_line_no}&#xd;
  1785. }&#xd;
  1786. ]&#xd;
  1787. }</stringProp>
  1788. <stringProp name="Argument.metadata">=</stringProp>
  1789. </elementProp>
  1790. </collectionProp>
  1791. </elementProp>
  1792. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  1793. <stringProp name="HTTPSampler.port">${port}</stringProp>
  1794. <stringProp name="HTTPSampler.protocol">http</stringProp>
  1795. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  1796. <stringProp name="HTTPSampler.path">${path}/inbound/in_put/InPut@editLocationPdaItem</stringProp>
  1797. <stringProp name="HTTPSampler.method">POST</stringProp>
  1798. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1799. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1800. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1801. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1802. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  1803. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  1804. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  1805. </HTTPSamplerProxy>
  1806. <hashTree>
  1807. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  1808. <stringProp name="JSON_PATH">$.success</stringProp>
  1809. <stringProp name="EXPECTED_VALUE">true</stringProp>
  1810. <boolProp name="JSONVALIDATION">true</boolProp>
  1811. <boolProp name="EXPECT_NULL">false</boolProp>
  1812. <boolProp name="INVERT">false</boolProp>
  1813. <boolProp name="ISREGEX">false</boolProp>
  1814. </JSONPathAssertion>
  1815. <hashTree/>
  1816. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="receipt_rows" enabled="true">
  1817. <stringProp name="JSONPostProcessor.referenceNames">receipt_rows</stringProp>
  1818. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data</stringProp>
  1819. <stringProp name="JSONPostProcessor.match_numbers">1</stringProp>
  1820. </JSONPostProcessor>
  1821. <hashTree/>
  1822. </hashTree>
  1823. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="入库上架@按物料上架" enabled="true">
  1824. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  1825. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  1826. <collectionProp name="Arguments.arguments">
  1827. <elementProp name="" elementType="HTTPArgument">
  1828. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  1829. <stringProp name="Argument.value">{&#xd;
  1830. &quot;args&quot;: [&#xd;
  1831. {&#xd;
  1832. &quot;itemList&quot;: [&#xd;
  1833. {&#xd;
  1834. &quot;receipt_line_no&quot;: ${receipt_line_no}&#xd;
  1835. }&#xd;
  1836. ],&#xd;
  1837. &quot;receipt_id&quot;: &quot;${receipt_id}&quot;,&#xd;
  1838. &quot;receipt_line_no&quot;: ${receipt_line_no},&#xd;
  1839. &quot;op_qty&quot;: &quot;${put_qty}&quot;&#xd;
  1840. }&#xd;
  1841. ]&#xd;
  1842. }</stringProp>
  1843. <stringProp name="Argument.metadata">=</stringProp>
  1844. </elementProp>
  1845. </collectionProp>
  1846. </elementProp>
  1847. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  1848. <stringProp name="HTTPSampler.port">${port}</stringProp>
  1849. <stringProp name="HTTPSampler.protocol">http</stringProp>
  1850. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  1851. <stringProp name="HTTPSampler.path">${path}/inbound/in_put/InPut@itemAndQtyForPda</stringProp>
  1852. <stringProp name="HTTPSampler.method">POST</stringProp>
  1853. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1854. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1855. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1856. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1857. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  1858. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  1859. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  1860. </HTTPSamplerProxy>
  1861. <hashTree>
  1862. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  1863. <stringProp name="JSON_PATH">$.success</stringProp>
  1864. <stringProp name="EXPECTED_VALUE">true</stringProp>
  1865. <boolProp name="JSONVALIDATION">true</boolProp>
  1866. <boolProp name="EXPECT_NULL">false</boolProp>
  1867. <boolProp name="INVERT">false</boolProp>
  1868. <boolProp name="ISREGEX">false</boolProp>
  1869. </JSONPathAssertion>
  1870. <hashTree/>
  1871. </hashTree>
  1872. </hashTree>
  1873. </hashTree>
  1874. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="BeanShell Sampler" enabled="true">
  1875. <stringProp name="BeanShellSampler.query">Object _ = com.Yvan.init(vars, log, ctx);
  1876. Map v = _.parseJson(_.get(&quot;item_list_1&quot;));
  1877. vars.put(&quot;item_code&quot;, v.get(&quot;item_code&quot;));
  1878. vars.put(&quot;receipt_code&quot;, v.get(&quot;receipt_code&quot;));</stringProp>
  1879. <stringProp name="BeanShellSampler.filename"></stringProp>
  1880. <stringProp name="BeanShellSampler.parameters"></stringProp>
  1881. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  1882. </BeanShellSampler>
  1883. <hashTree/>
  1884. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="入库上架@查询按物料上架列表" enabled="true">
  1885. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  1886. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  1887. <collectionProp name="Arguments.arguments">
  1888. <elementProp name="" elementType="HTTPArgument">
  1889. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  1890. <stringProp name="Argument.value">{&#xd;
  1891. &quot;args&quot;: [&#xd;
  1892. {&#xd;
  1893. &quot;item_code&quot;: &quot;${item_code}&quot;,&#xd;
  1894. &quot;receipt_code&quot;: &quot;${receipt_code}&quot;&#xd;
  1895. }&#xd;
  1896. ]&#xd;
  1897. }</stringProp>
  1898. <stringProp name="Argument.metadata">=</stringProp>
  1899. </elementProp>
  1900. </collectionProp>
  1901. </elementProp>
  1902. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  1903. <stringProp name="HTTPSampler.port">${port}</stringProp>
  1904. <stringProp name="HTTPSampler.protocol">http</stringProp>
  1905. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  1906. <stringProp name="HTTPSampler.path">${path}/inbound/in_put/PdaInPut@itemPutQuery</stringProp>
  1907. <stringProp name="HTTPSampler.method">POST</stringProp>
  1908. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1909. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1910. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1911. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1912. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  1913. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  1914. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  1915. </HTTPSamplerProxy>
  1916. <hashTree>
  1917. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  1918. <stringProp name="JSON_PATH">$.success</stringProp>
  1919. <stringProp name="EXPECTED_VALUE">true</stringProp>
  1920. <boolProp name="JSONVALIDATION">true</boolProp>
  1921. <boolProp name="EXPECT_NULL">false</boolProp>
  1922. <boolProp name="INVERT">false</boolProp>
  1923. <boolProp name="ISREGEX">false</boolProp>
  1924. </JSONPathAssertion>
  1925. <hashTree/>
  1926. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="item_receipt_rows" enabled="true">
  1927. <stringProp name="JSONPostProcessor.referenceNames">item_receipt_rows</stringProp>
  1928. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data[*]</stringProp>
  1929. <stringProp name="JSONPostProcessor.match_numbers">-1</stringProp>
  1930. </JSONPostProcessor>
  1931. <hashTree/>
  1932. </hashTree>
  1933. <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach_item_receipt_rows" enabled="true">
  1934. <stringProp name="ForeachController.inputVal">item_receipt_rows</stringProp>
  1935. <stringProp name="ForeachController.returnVal">item_receipt_row</stringProp>
  1936. <boolProp name="ForeachController.useSeparator">true</boolProp>
  1937. <stringProp name="ForeachController.startIndex">0</stringProp>
  1938. <stringProp name="ForeachController.endIndex">${item_receipt_rows_matchNr}</stringProp>
  1939. </ForeachController>
  1940. <hashTree>
  1941. <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="BeanShell Sampler" enabled="true">
  1942. <stringProp name="BeanShellSampler.query">Object _ = com.Yvan.init(vars, log, ctx);
  1943. Map v = _.parseJson(_.get(&quot;item_receipt_row&quot;));
  1944. vars.put(&quot;receipt_id&quot;, v.get(&quot;receipt_id&quot;));
  1945. vars.put(&quot;receipt_line_no&quot;, v.get(&quot;receipt_line_no&quot;) + &quot;&quot;);</stringProp>
  1946. <stringProp name="BeanShellSampler.filename"></stringProp>
  1947. <stringProp name="BeanShellSampler.parameters"></stringProp>
  1948. <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
  1949. </BeanShellSampler>
  1950. <hashTree/>
  1951. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="入库上架@按物料上架详情页" enabled="true">
  1952. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  1953. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  1954. <collectionProp name="Arguments.arguments">
  1955. <elementProp name="" elementType="HTTPArgument">
  1956. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  1957. <stringProp name="Argument.value">{&#xd;
  1958. &quot;args&quot;: [&#xd;
  1959. {&#xd;
  1960. &quot;receipt_id&quot;: &quot;${receipt_id}&quot;,&#xd;
  1961. &quot;receipt_line_no&quot;: ${receipt_line_no}&#xd;
  1962. }&#xd;
  1963. ]&#xd;
  1964. }</stringProp>
  1965. <stringProp name="Argument.metadata">=</stringProp>
  1966. </elementProp>
  1967. </collectionProp>
  1968. </elementProp>
  1969. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  1970. <stringProp name="HTTPSampler.port">${port}</stringProp>
  1971. <stringProp name="HTTPSampler.protocol">http</stringProp>
  1972. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  1973. <stringProp name="HTTPSampler.path">${path}/inbound/in_put/InPut@pdaQueryPutDetails</stringProp>
  1974. <stringProp name="HTTPSampler.method">POST</stringProp>
  1975. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1976. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1977. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1978. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1979. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  1980. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  1981. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  1982. </HTTPSamplerProxy>
  1983. <hashTree>
  1984. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  1985. <stringProp name="JSON_PATH">$.success</stringProp>
  1986. <stringProp name="EXPECTED_VALUE">true</stringProp>
  1987. <boolProp name="JSONVALIDATION">true</boolProp>
  1988. <boolProp name="EXPECT_NULL">false</boolProp>
  1989. <boolProp name="INVERT">false</boolProp>
  1990. <boolProp name="ISREGEX">false</boolProp>
  1991. </JSONPathAssertion>
  1992. <hashTree/>
  1993. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="default_put_loc_code" enabled="true">
  1994. <stringProp name="JSONPostProcessor.referenceNames">default_put_loc_code</stringProp>
  1995. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data.default_put_loc_code</stringProp>
  1996. <stringProp name="JSONPostProcessor.match_numbers">1</stringProp>
  1997. </JSONPostProcessor>
  1998. <hashTree/>
  1999. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="put_qty" enabled="true">
  2000. <stringProp name="JSONPostProcessor.referenceNames">put_qty</stringProp>
  2001. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data.put_qty</stringProp>
  2002. <stringProp name="JSONPostProcessor.match_numbers">1</stringProp>
  2003. </JSONPostProcessor>
  2004. <hashTree/>
  2005. </hashTree>
  2006. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="入库上架@绑定库位" enabled="true">
  2007. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  2008. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  2009. <collectionProp name="Arguments.arguments">
  2010. <elementProp name="" elementType="HTTPArgument">
  2011. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  2012. <stringProp name="Argument.value">{&#xd;
  2013. &quot;args&quot;: [&#xd;
  2014. {&#xd;
  2015. &quot;detailsType&quot;: 1,&#xd;
  2016. &quot;loc_code&quot;: &quot;${default_put_loc_code}&quot;,&#xd;
  2017. &quot;receipt_id&quot;: &quot;${receipt_id}&quot;,&#xd;
  2018. &quot;receipt_line_no&quot;: ${receipt_line_no}&#xd;
  2019. }&#xd;
  2020. ]&#xd;
  2021. }</stringProp>
  2022. <stringProp name="Argument.metadata">=</stringProp>
  2023. </elementProp>
  2024. </collectionProp>
  2025. </elementProp>
  2026. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  2027. <stringProp name="HTTPSampler.port">${port}</stringProp>
  2028. <stringProp name="HTTPSampler.protocol">http</stringProp>
  2029. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  2030. <stringProp name="HTTPSampler.path">${path}/inbound/in_put/InPut@editLocationPdaItem</stringProp>
  2031. <stringProp name="HTTPSampler.method">POST</stringProp>
  2032. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  2033. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  2034. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  2035. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  2036. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  2037. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  2038. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  2039. </HTTPSamplerProxy>
  2040. <hashTree>
  2041. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  2042. <stringProp name="JSON_PATH">$.success</stringProp>
  2043. <stringProp name="EXPECTED_VALUE">true</stringProp>
  2044. <boolProp name="JSONVALIDATION">true</boolProp>
  2045. <boolProp name="EXPECT_NULL">false</boolProp>
  2046. <boolProp name="INVERT">false</boolProp>
  2047. <boolProp name="ISREGEX">false</boolProp>
  2048. </JSONPathAssertion>
  2049. <hashTree/>
  2050. <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="receipt_rows" enabled="true">
  2051. <stringProp name="JSONPostProcessor.referenceNames">receipt_rows</stringProp>
  2052. <stringProp name="JSONPostProcessor.jsonPathExprs">$.data</stringProp>
  2053. <stringProp name="JSONPostProcessor.match_numbers">1</stringProp>
  2054. </JSONPostProcessor>
  2055. <hashTree/>
  2056. </hashTree>
  2057. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="入库上架@按物料上架" enabled="true">
  2058. <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  2059. <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  2060. <collectionProp name="Arguments.arguments">
  2061. <elementProp name="" elementType="HTTPArgument">
  2062. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  2063. <stringProp name="Argument.value">{&#xd;
  2064. &quot;args&quot;: [&#xd;
  2065. {&#xd;
  2066. &quot;itemList&quot;: [&#xd;
  2067. {&#xd;
  2068. &quot;receipt_line_no&quot;: ${receipt_line_no}&#xd;
  2069. }&#xd;
  2070. ],&#xd;
  2071. &quot;receipt_id&quot;: &quot;${receipt_id}&quot;,&#xd;
  2072. &quot;receipt_line_no&quot;: ${receipt_line_no},&#xd;
  2073. &quot;op_qty&quot;: &quot;${put_qty}&quot;&#xd;
  2074. }&#xd;
  2075. ]&#xd;
  2076. }</stringProp>
  2077. <stringProp name="Argument.metadata">=</stringProp>
  2078. </elementProp>
  2079. </collectionProp>
  2080. </elementProp>
  2081. <stringProp name="HTTPSampler.domain">${server}</stringProp>
  2082. <stringProp name="HTTPSampler.port">${port}</stringProp>
  2083. <stringProp name="HTTPSampler.protocol">http</stringProp>
  2084. <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
  2085. <stringProp name="HTTPSampler.path">${path}/inbound/in_put/InPut@itemAndQtyForPda</stringProp>
  2086. <stringProp name="HTTPSampler.method">POST</stringProp>
  2087. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  2088. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  2089. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  2090. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  2091. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  2092. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  2093. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  2094. </HTTPSamplerProxy>
  2095. <hashTree>
  2096. <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
  2097. <stringProp name="JSON_PATH">$.success</stringProp>
  2098. <stringProp name="EXPECTED_VALUE">true</stringProp>
  2099. <boolProp name="JSONVALIDATION">true</boolProp>
  2100. <boolProp name="EXPECT_NULL">false</boolProp>
  2101. <boolProp name="INVERT">false</boolProp>
  2102. <boolProp name="ISREGEX">false</boolProp>
  2103. </JSONPathAssertion>
  2104. <hashTree/>
  2105. </hashTree>
  2106. </hashTree>
  2107. </hashTree>
  2108. </hashTree>
  2109. </hashTree>
  2110. </hashTree>
  2111. </hashTree>
  2112. </jmeterTestPlan>