false true false thread_count 1 = server 10.0.30.220 = port 8095 = path /api/com/galaxis/wms = 单据数量 1 = 条目数量 20 = whId 1000000002 = ownerId 1000 = 每条目上架数量因子 0.3 = thread_count 1 = server 10.0.38.88 = port 8082 = path /api/com/galaxis/wms = 单据数量 1 = 条目数量 2 = whId 1000000002 = ownerId 1000 = 每条目上架数量因子 10.1 = thread_count 50 = server 117.80.113.247 = port 8025 = path /wms_api/api/pages/ = wh_id 1138559426274267136 = owner_id 144763712300384326 = 每条目上架数量因子 10.1 = project_id 1144593166800785408 吉林电信仓储服务项目 = system_key eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJodHRwczovL2V4YW1wbGUuY29tL2lzc3VlciIsInN1YiI6IjE4NjI3ODg0MTc4IiwiaWF0IjoxNzExOTQzNjc2LCJleHAiOjE3MTIwMzAwNzYsImp0aSI6Ijg3MzkyMWQyLTI5OTItNDQ5MC04YzA2LTU3OTJiNjA0OWMyYiJ9.AHvK8d8kpCce9uA9A7Dkx1TLhUcYEX0LQAbaeOTqU5LEkP_sphyq_HYFqcTHnD7lfqF94hNCBIa3hC9DLK2GkQPE6ilu3MSWtA_N1Flr5mXyslYf1WSo0uAzSJDV-J9IJBpJeZRZlGBsP1ZvYcCosk8bmPLb0svMkB3lkD_7iefR7xXZ7YUqBHmAWDal17DAoAiGA_JVStQLgIQ-NySRK_k02m0iB7Lc8Z-z7pbZ7wfwLfIECULPHeo_1eUMT8Hs7hbyV5os6dQc9AuRpcj8tqH8s1Ns8S6J4-7MTZU8uhNDRG_gLaO_8FODgn7RDx7ORdWRBH4DmPIaZM-tqAblJA = thread_count 5 = server 192.168.104.237 = port 31201 = path /wms_api/api/pages/ = wh_id 1140425501375074304 = owner_id 1096478673436938240 = 每条目上架数量因子 10.1 = project_id 1140423193643847680 广东电信集约化物流项目 = system_key eyJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJ5dmFuLXNlY3VyaXR5IiwiX191aWQiOiIxIiwiYXVkIjoieXZhbi0qIiwic3ViIjoiYWRtaW4iLCJsb2dpbl9pZCI6MSwiZXhwIjoxNzE5NjAzOTAwLCJpYXQiOjE3MTcwNjM4MzksImp0aSI6IjM3MzgwODQ1MTE3MDA5ODgwMyJ9.I1qaWEekrgoiLDR8OXbAo4Nw2bytCQzAna1rjBLG29biTm8TrrHEIVKhP1YzQVb1Rk_RZ9DFnQiB84OlzEAV-x6FYs6JZKmUSAO_ct6FETi9VYWIzkgOgBxDgsSecX8dUGLfh6iuTSJslXExz92g7YYLQSwaGjWN9qIgUDZdkr2n1g9XRhjts7BcTrdmYpuanVpYXaFWDJ4M0itvqnLGR0RrbT2cZYiREdzSO_wIx29mctp7-PkRQmrjACfNSEqEKZP--ocQlKyBeHH_XIk2-ETN_sKpHPYr46JoMhIY1Dr8G6TtDjiVdMeQxlulW8XfP6r7f2kdKH5sk8qUYRgpGA = stopthread false 4000 5 1 false 300 0 true false saveConfig true true true true true true true false true true false false false true false false false true 0 true true true true true true false saveConfig true true true true true true true false true true false false false true false false false true 0 true true true true true true false saveConfig true true true true true true true false true true false false false true false false false true 0 true true true true true true false saveConfig true true true true true true true false true true false false false true false false false true 0 true true true true true true whId ${wh_id} systemkey ${system_key} , UTF-8 C:/Users/admin/Desktop/jmx/入库/中通服WMS@入库之入库通知单(制单)_有来源CVS.csv false false true shareMode.all true itemId1,itemId2,itemId3,itemId4,itemId5,itemId6,itemId7,itemId8,itemId9,itemId10 1 1 sequence 50000 false com.JMeterUtil util = com.Yvan.init(vars, log, ctx); java.time.LocalDate currentDate = java.time.LocalDate.now(); java.time.format.DateTimeFormatter formatter = java.time.format.DateTimeFormatter.ofPattern("yyyyMMdd"); java.time.format.DateTimeFormatter formatter2 = java.time.format.DateTimeFormatter.ofPattern("yyyy-MM-dd"); String currentDateStr = currentDate.format(formatter); int maxItemNum = 1; int maxBoxNum = 1; String asnQty = "10000"; // asnItemQty = asnQty / maxBoxNum String asnItemQty = "10000"; String trayNoPrefix = "T_" + currentDateStr + vars.get("sequence"); String boxNoPrefix = "B_" + currentDateStr + vars.get("sequence"); List itemList = new ArrayList(); List trayBoxList = new ArrayList(); List itemTrayBoxList = new ArrayList(); for (int i = 1; i <= maxItemNum; i++) { Map item = new HashMap(); item.put("item_manage_type", "0002"); item.put("upn_manage_type", "0001"); item.put("is_short_process", "0000"); item.put("item_id", vars.get("itemId"+i)); item.put("asn_qty", asnQty); item.put("asn_line_no", i); itemList.add(item); for (int j = 1; j <= maxBoxNum; j++) { Map trayBox = new HashMap(); trayBox.put("tray_code", trayNoPrefix + i + j); trayBox.put("box_code", boxNoPrefix + i + j); trayBoxList.add(trayBox); } for (int j = 1; j <= maxBoxNum; j++) { Map itemTrayBox = new HashMap(); itemTrayBox.put("asn_line_no", i); itemTrayBox.put("tray_code", trayNoPrefix + i + j); itemTrayBox.put("box_code", boxNoPrefix + i + j); itemTrayBox.put("item_id", vars.get("itemId"+i)); itemTrayBox.put("asn_qty", asnItemQty); itemTrayBoxList.add(itemTrayBox); } } vars.put("dates", currentDate.format(formatter2)); vars.put("asn_code", "T_IN_" + currentDateStr + vars.get("sequence")); vars.put("item_lot", util.toJson(itemList)); vars.put("tray_box", util.toJson(trayBoxList)); vars.put("item_tray_box", util.toJson(itemTrayBoxList)); false false true false true false { "args": [ { "doc_asn": { "project_name": "CTSC仓储对接测试项目", "project_id": "1140423193643847680", "dates": "${dates}", "owner_id": "1131187957542555648", "owner_name": "陆军", "order_type": "inbound", "logistics_order_type": "inbound", "supplier_id": "1119797723088949248", "supplier_name": "杜剑坤", "is_overstock": "0000", "allow_qc": "0000", "box_data_type": "0002", "asn_code": "${asn_code}", "order_biz_type": "01", "priority": "0002" }, "items_lot": ${item_lot}, "asn_lpn": ${tray_box}, "items_lpn": ${item_tray_box}, "items_upn": [], "items_manufactor": [] } ] } = ${server} ${port} UTF-8 /wms_api/api/pages/inbound/doc_asn/DocAsn@save POST false false true false $.success true true false false false 1 0 30000