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 1 = server 127.0.0.1 = port 8084 = path /wms_api/api/pages/ = wh_id 1138560056678158336 = owner_id 144763712300384326 = 每条目上架数量因子 10.1 = project_id 1138578653911715840 吉林电信仓储服务项目 = system_key eyJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJ5dmFuLXNlY3VyaXR5IiwiX191aWQiOiIzMTUwNzI4MTM1MDc1NDMwNDUiLCJhdWQiOiJ5dmFuLSoiLCJzdWIiOiJhZG1pbiIsImxvZ2luX2lkIjozMTYzNTczNDM4MTE5OTM2MDksImV4cCI6MTcwODgwMzkwMCwiaWF0IjoxNzA2MjM3MzI3LCJqdGkiOiIyODI5ODkwODMzMDIwNDA2NDQifQ.HX0XMtHBTdAx_PAqNiMUfIDmhu2qrrIgI-OR15LrgGA2ipfhNvOgzIv3aXks5GeqcTiiKBzQcBxR-kUJzZzG8lY5tIkACOKmkhZxplNNEROjOH0jixXbaP-llO4Q9NF1AJHwJEPJjrcBHkwCiWDWXDA-TmTNIVuxBwcY3LKaGbagkMvqpHI5G2GpmKzpygcn7OzXftrdIMnlWWmO_ngIo9FwIfFCGLpn7rGjT1nlWa2rOSv1DLM-n7kv26EyWZXPp5jarc2euJ2oxeLvXhVPm6rRLM5oVTLVgNytDqzwPNhZ-qZzfig8N6EjlSqcsK1cj6UufSIdrgelqqXYvJ57yw = thread_count 1 = 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 = thread_count 1 = server 117.80.113.247 = port 8025 = path /wms_api/api/pages/ = wh_id 1178624446064234496 = owner_id 1096478673436938240 = 每条目上架数量因子 10.1 = project_id 1178623981930942464 广东电信集约化物流项目 = system_key eyJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJ5dmFuLXNlY3VyaXR5IiwiX191aWQiOiIxIiwiYXVkIjoieXZhbi0qIiwic3ViIjoiYWRtaW4iLCJsb2dpbl9pZCI6MSwiZXhwIjoxNzE5NjAzOTAwLCJpYXQiOjE3MTcwNjM4MzksImp0aSI6IjM3MzgwODQ1MTE3MDA5ODgwMyJ9.I1qaWEekrgoiLDR8OXbAo4Nw2bytCQzAna1rjBLG29biTm8TrrHEIVKhP1YzQVb1Rk_RZ9DFnQiB84OlzEAV-x6FYs6JZKmUSAO_ct6FETi9VYWIzkgOgBxDgsSecX8dUGLfh6iuTSJslXExz92g7YYLQSwaGjWN9qIgUDZdkr2n1g9XRhjts7BcTrdmYpuanVpYXaFWDJ4M0itvqnLGR0RrbT2cZYiREdzSO_wIx29mctp7-PkRQmrjACfNSEqEKZP--ocQlKyBeHH_XIk2-ETN_sKpHPYr46JoMhIY1Dr8G6TtDjiVdMeQxlulW8XfP6r7f2kdKH5sk8qUYRgpGA = stopthread false -1 20 1 false 300 0 false 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} C:/Users/admin/Desktop/jmx/出库/中通服WMS@出库之出库通知单(制单)_无来源_CVS.csv UTF-8 itemId false , false true true shareMode.all 1 1 sequence 00001 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 trayNoPrefix = "T_" + currentDateStr; String boxNoPrefix = "B_" + currentDateStr; 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("so_line_no", i); item.put("item_id", vars.get("itemId")); item.put("qty", "20"); 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); // trayBox.put("box_qty", 1); // trayBoxList.add(trayBox); // } // // for (int j = 1; j <= maxBoxNum; j++) { // Map itemTrayBox = new HashMap(); // itemTrayBox.put("so_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("qty", "1"); // itemTrayBoxList.add(itemTrayBox); // } } vars.put("dates", currentDate.format(formatter2)); vars.put("so_code", "T_OUT_" + currentDateStr + vars.get("sequence")); vars.put("items", util.toJson(itemList)); //vars.put("soLpns", util.toJson(trayBoxList)); //vars.put("soItemsLpns", util.toJson(itemTrayBoxList)); false true false { "args": [ { "so": { "staff_id": null, "project_id": "${project_id}", "start_date": null, "end_date": null, "staff_name": null, "so_code": null, "project_name": "CTSC仓储对接测试项目", "logistics_order_code": "${so_code}", "owner_id": "1131187957542555648", "customer_id": "1119797723088949248", "customer_code": null, "owner_name": "陆军", "order_type": "0002", "order_biz_type": "0201", "customer_name": "杜剑坤", "urgent_type": "01", "ship_area": null, "is_overstock": "0000", "customer_order_code": "${so_code}", "is_cover": "0000", "rece_address": null, "rece_area": null, "dates": "${dates}", "has_source": "0001" }, "items": ${items}, "soLpn": [], "soItemsLpn": [], "soItemsUpn": [], "soItemsSupplier": [] } ] } = ${server} ${port} UTF-8 /wms_api/api/pages/outbound/so/SoQuery@save POST false false true false $.success true true false false false 1 0 30000