<?xml version="1.0" encoding="UTF-8"?>
<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.4.3">
  <hashTree>
    <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="中通服WMS@入库之入库通知单(制单)" enabled="true">
      <stringProp name="TestPlan.comments"></stringProp>
      <boolProp name="TestPlan.functional_mode">false</boolProp>
      <boolProp name="TestPlan.tearDown_on_shutdown">true</boolProp>
      <boolProp name="TestPlan.serialize_threadgroups">false</boolProp>
      <elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
        <collectionProp name="Arguments.arguments"/>
      </elementProp>
      <stringProp name="TestPlan.user_define_classpath"></stringProp>
    </TestPlan>
    <hashTree>
      <Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="环境变量" enabled="false">
        <collectionProp name="Arguments.arguments">
          <elementProp name="thread_count" elementType="Argument">
            <stringProp name="Argument.name">thread_count</stringProp>
            <stringProp name="Argument.value">1</stringProp>
            <stringProp name="Argument.metadata">=</stringProp>
          </elementProp>
          <elementProp name="server" elementType="Argument">
            <stringProp name="Argument.name">server</stringProp>
            <stringProp name="Argument.value">10.0.30.220</stringProp>
            <stringProp name="Argument.metadata">=</stringProp>
          </elementProp>
          <elementProp name="port" elementType="Argument">
            <stringProp name="Argument.name">port</stringProp>
            <stringProp name="Argument.value">8095</stringProp>
            <stringProp name="Argument.metadata">=</stringProp>
          </elementProp>
          <elementProp name="path" elementType="Argument">
            <stringProp name="Argument.name">path</stringProp>
            <stringProp name="Argument.value">/api/com/galaxis/wms</stringProp>
            <stringProp name="Argument.metadata">=</stringProp>
          </elementProp>
          <elementProp name="单据数量" elementType="Argument">
            <stringProp name="Argument.name">单据数量</stringProp>
            <stringProp name="Argument.value">1</stringProp>
            <stringProp name="Argument.metadata">=</stringProp>
          </elementProp>
          <elementProp name="条目数量" elementType="Argument">
            <stringProp name="Argument.name">条目数量</stringProp>
            <stringProp name="Argument.value">20</stringProp>
            <stringProp name="Argument.metadata">=</stringProp>
          </elementProp>
          <elementProp name="whId" elementType="Argument">
            <stringProp name="Argument.name">whId</stringProp>
            <stringProp name="Argument.value">1000000002</stringProp>
            <stringProp name="Argument.metadata">=</stringProp>
          </elementProp>
          <elementProp name="ownerId" elementType="Argument">
            <stringProp name="Argument.name">ownerId</stringProp>
            <stringProp name="Argument.value">1000</stringProp>
            <stringProp name="Argument.metadata">=</stringProp>
          </elementProp>
          <elementProp name="每条目上架数量因子" elementType="Argument">
            <stringProp name="Argument.name">每条目上架数量因子</stringProp>
            <stringProp name="Argument.value">0.3</stringProp>
            <stringProp name="Argument.metadata">=</stringProp>
          </elementProp>
        </collectionProp>
      </Arguments>
      <hashTree/>
      <Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="环境变量-VPN" enabled="false">
        <collectionProp name="Arguments.arguments">
          <elementProp name="thread_count" elementType="Argument">
            <stringProp name="Argument.name">thread_count</stringProp>
            <stringProp name="Argument.value">1</stringProp>
            <stringProp name="Argument.metadata">=</stringProp>
          </elementProp>
          <elementProp name="server" elementType="Argument">
            <stringProp name="Argument.name">server</stringProp>
            <stringProp name="Argument.value">10.0.38.88</stringProp>
            <stringProp name="Argument.metadata">=</stringProp>
          </elementProp>
          <elementProp name="port" elementType="Argument">
            <stringProp name="Argument.name">port</stringProp>
            <stringProp name="Argument.value">8082</stringProp>
            <stringProp name="Argument.metadata">=</stringProp>
          </elementProp>
          <elementProp name="path" elementType="Argument">
            <stringProp name="Argument.name">path</stringProp>
            <stringProp name="Argument.value">/api/com/galaxis/wms</stringProp>
            <stringProp name="Argument.metadata">=</stringProp>
          </elementProp>
          <elementProp name="单据数量" elementType="Argument">
            <stringProp name="Argument.name">单据数量</stringProp>
            <stringProp name="Argument.value">1</stringProp>
            <stringProp name="Argument.metadata">=</stringProp>
          </elementProp>
          <elementProp name="条目数量" elementType="Argument">
            <stringProp name="Argument.name">条目数量</stringProp>
            <stringProp name="Argument.value">2</stringProp>
            <stringProp name="Argument.metadata">=</stringProp>
          </elementProp>
          <elementProp name="whId" elementType="Argument">
            <stringProp name="Argument.name">whId</stringProp>
            <stringProp name="Argument.value">1000000002</stringProp>
            <stringProp name="Argument.metadata">=</stringProp>
          </elementProp>
          <elementProp name="ownerId" elementType="Argument">
            <stringProp name="Argument.name">ownerId</stringProp>
            <stringProp name="Argument.value">1000</stringProp>
            <stringProp name="Argument.metadata">=</stringProp>
          </elementProp>
          <elementProp name="每条目上架数量因子" elementType="Argument">
            <stringProp name="Argument.name">每条目上架数量因子</stringProp>
            <stringProp name="Argument.value">10.1</stringProp>
            <stringProp name="Argument.metadata">=</stringProp>
          </elementProp>
        </collectionProp>
      </Arguments>
      <hashTree/>
      <Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="环境变量-云效" enabled="false">
        <collectionProp name="Arguments.arguments">
          <elementProp name="thread_count" elementType="Argument">
            <stringProp name="Argument.name">thread_count</stringProp>
            <stringProp name="Argument.value">50</stringProp>
            <stringProp name="Argument.metadata">=</stringProp>
          </elementProp>
          <elementProp name="server" elementType="Argument">
            <stringProp name="Argument.name">server</stringProp>
            <stringProp name="Argument.value">117.80.113.247</stringProp>
            <stringProp name="Argument.metadata">=</stringProp>
          </elementProp>
          <elementProp name="port" elementType="Argument">
            <stringProp name="Argument.name">port</stringProp>
            <stringProp name="Argument.value">8025</stringProp>
            <stringProp name="Argument.metadata">=</stringProp>
          </elementProp>
          <elementProp name="path" elementType="Argument">
            <stringProp name="Argument.name">path</stringProp>
            <stringProp name="Argument.value">/wms_api/api/pages/</stringProp>
            <stringProp name="Argument.metadata">=</stringProp>
          </elementProp>
          <elementProp name="wh_id" elementType="Argument">
            <stringProp name="Argument.name">wh_id</stringProp>
            <stringProp name="Argument.value">1138559426274267136</stringProp>
            <stringProp name="Argument.metadata">=</stringProp>
          </elementProp>
          <elementProp name="owner_id" elementType="Argument">
            <stringProp name="Argument.name">owner_id</stringProp>
            <stringProp name="Argument.value">144763712300384326</stringProp>
            <stringProp name="Argument.metadata">=</stringProp>
          </elementProp>
          <elementProp name="每条目上架数量因子" elementType="Argument">
            <stringProp name="Argument.name">每条目上架数量因子</stringProp>
            <stringProp name="Argument.value">10.1</stringProp>
            <stringProp name="Argument.metadata">=</stringProp>
          </elementProp>
          <elementProp name="project_id" elementType="Argument">
            <stringProp name="Argument.name">project_id</stringProp>
            <stringProp name="Argument.value">1144593166800785408</stringProp>
            <stringProp name="Argument.desc">吉林电信仓储服务项目</stringProp>
            <stringProp name="Argument.metadata">=</stringProp>
          </elementProp>
          <elementProp name="system_key" elementType="Argument">
            <stringProp name="Argument.name">system_key</stringProp>
            <stringProp name="Argument.value">eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJodHRwczovL2V4YW1wbGUuY29tL2lzc3VlciIsInN1YiI6IjE4NjI3ODg0MTc4IiwiaWF0IjoxNzExOTQzNjc2LCJleHAiOjE3MTIwMzAwNzYsImp0aSI6Ijg3MzkyMWQyLTI5OTItNDQ5MC04YzA2LTU3OTJiNjA0OWMyYiJ9.AHvK8d8kpCce9uA9A7Dkx1TLhUcYEX0LQAbaeOTqU5LEkP_sphyq_HYFqcTHnD7lfqF94hNCBIa3hC9DLK2GkQPE6ilu3MSWtA_N1Flr5mXyslYf1WSo0uAzSJDV-J9IJBpJeZRZlGBsP1ZvYcCosk8bmPLb0svMkB3lkD_7iefR7xXZ7YUqBHmAWDal17DAoAiGA_JVStQLgIQ-NySRK_k02m0iB7Lc8Z-z7pbZ7wfwLfIECULPHeo_1eUMT8Hs7hbyV5os6dQc9AuRpcj8tqH8s1Ns8S6J4-7MTZU8uhNDRG_gLaO_8FODgn7RDx7ORdWRBH4DmPIaZM-tqAblJA</stringProp>
            <stringProp name="Argument.metadata">=</stringProp>
          </elementProp>
        </collectionProp>
      </Arguments>
      <hashTree/>
      <Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="环境变量-压测环境" enabled="true">
        <collectionProp name="Arguments.arguments">
          <elementProp name="thread_count" elementType="Argument">
            <stringProp name="Argument.name">thread_count</stringProp>
            <stringProp name="Argument.value">5</stringProp>
            <stringProp name="Argument.metadata">=</stringProp>
          </elementProp>
          <elementProp name="server" elementType="Argument">
            <stringProp name="Argument.name">server</stringProp>
            <stringProp name="Argument.value">192.168.104.237</stringProp>
            <stringProp name="Argument.metadata">=</stringProp>
          </elementProp>
          <elementProp name="port" elementType="Argument">
            <stringProp name="Argument.name">port</stringProp>
            <stringProp name="Argument.value">31201</stringProp>
            <stringProp name="Argument.metadata">=</stringProp>
          </elementProp>
          <elementProp name="path" elementType="Argument">
            <stringProp name="Argument.name">path</stringProp>
            <stringProp name="Argument.value">/wms_api/api/pages/</stringProp>
            <stringProp name="Argument.metadata">=</stringProp>
          </elementProp>
          <elementProp name="wh_id" elementType="Argument">
            <stringProp name="Argument.name">wh_id</stringProp>
            <stringProp name="Argument.value">1140425501375074304</stringProp>
            <stringProp name="Argument.metadata">=</stringProp>
          </elementProp>
          <elementProp name="owner_id" elementType="Argument">
            <stringProp name="Argument.name">owner_id</stringProp>
            <stringProp name="Argument.value">1096478673436938240</stringProp>
            <stringProp name="Argument.metadata">=</stringProp>
          </elementProp>
          <elementProp name="每条目上架数量因子" elementType="Argument">
            <stringProp name="Argument.name">每条目上架数量因子</stringProp>
            <stringProp name="Argument.value">10.1</stringProp>
            <stringProp name="Argument.metadata">=</stringProp>
          </elementProp>
          <elementProp name="project_id" elementType="Argument">
            <stringProp name="Argument.name">project_id</stringProp>
            <stringProp name="Argument.value">1140423193643847680</stringProp>
            <stringProp name="Argument.desc">广东电信集约化物流项目</stringProp>
            <stringProp name="Argument.metadata">=</stringProp>
          </elementProp>
          <elementProp name="system_key" elementType="Argument">
            <stringProp name="Argument.name">system_key</stringProp>
            <stringProp name="Argument.value">eyJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJ5dmFuLXNlY3VyaXR5IiwiX191aWQiOiIxIiwiYXVkIjoieXZhbi0qIiwic3ViIjoiYWRtaW4iLCJsb2dpbl9pZCI6MSwiZXhwIjoxNzE5NjAzOTAwLCJpYXQiOjE3MTcwNjM4MzksImp0aSI6IjM3MzgwODQ1MTE3MDA5ODgwMyJ9.I1qaWEekrgoiLDR8OXbAo4Nw2bytCQzAna1rjBLG29biTm8TrrHEIVKhP1YzQVb1Rk_RZ9DFnQiB84OlzEAV-x6FYs6JZKmUSAO_ct6FETi9VYWIzkgOgBxDgsSecX8dUGLfh6iuTSJslXExz92g7YYLQSwaGjWN9qIgUDZdkr2n1g9XRhjts7BcTrdmYpuanVpYXaFWDJ4M0itvqnLGR0RrbT2cZYiREdzSO_wIx29mctp7-PkRQmrjACfNSEqEKZP--ocQlKyBeHH_XIk2-ETN_sKpHPYr46JoMhIY1Dr8G6TtDjiVdMeQxlulW8XfP6r7f2kdKH5sk8qUYRgpGA </stringProp>
            <stringProp name="Argument.metadata">=</stringProp>
          </elementProp>
        </collectionProp>
      </Arguments>
      <hashTree/>
      <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="入库之入库通知单(制单)" enabled="true">
        <stringProp name="ThreadGroup.on_sample_error">stopthread</stringProp>
        <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
          <boolProp name="LoopController.continue_forever">false</boolProp>
          <stringProp name="LoopController.loops">4000</stringProp>
        </elementProp>
        <stringProp name="ThreadGroup.num_threads">5</stringProp>
        <stringProp name="ThreadGroup.ramp_time">1</stringProp>
        <boolProp name="ThreadGroup.scheduler">false</boolProp>
        <stringProp name="ThreadGroup.duration">300</stringProp>
        <stringProp name="ThreadGroup.delay">0</stringProp>
        <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
      </ThreadGroup>
      <hashTree>
        <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
          <boolProp name="ResultCollector.error_logging">false</boolProp>
          <objProp>
            <name>saveConfig</name>
            <value class="SampleSaveConfiguration">
              <time>true</time>
              <latency>true</latency>
              <timestamp>true</timestamp>
              <success>true</success>
              <label>true</label>
              <code>true</code>
              <message>true</message>
              <threadName>true</threadName>
              <dataType>true</dataType>
              <encoding>false</encoding>
              <assertions>true</assertions>
              <subresults>true</subresults>
              <responseData>false</responseData>
              <samplerData>false</samplerData>
              <xml>false</xml>
              <fieldNames>true</fieldNames>
              <responseHeaders>false</responseHeaders>
              <requestHeaders>false</requestHeaders>
              <responseDataOnError>false</responseDataOnError>
              <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
              <assertionsResultsToSave>0</assertionsResultsToSave>
              <bytes>true</bytes>
              <sentBytes>true</sentBytes>
              <url>true</url>
              <threadCounts>true</threadCounts>
              <idleTime>true</idleTime>
              <connectTime>true</connectTime>
            </value>
          </objProp>
          <stringProp name="filename"></stringProp>
        </ResultCollector>
        <hashTree/>
        <ResultCollector guiclass="RespTimeGraphVisualizer" testclass="ResultCollector" testname="Response Time Graph" enabled="true">
          <boolProp name="ResultCollector.error_logging">false</boolProp>
          <objProp>
            <name>saveConfig</name>
            <value class="SampleSaveConfiguration">
              <time>true</time>
              <latency>true</latency>
              <timestamp>true</timestamp>
              <success>true</success>
              <label>true</label>
              <code>true</code>
              <message>true</message>
              <threadName>true</threadName>
              <dataType>true</dataType>
              <encoding>false</encoding>
              <assertions>true</assertions>
              <subresults>true</subresults>
              <responseData>false</responseData>
              <samplerData>false</samplerData>
              <xml>false</xml>
              <fieldNames>true</fieldNames>
              <responseHeaders>false</responseHeaders>
              <requestHeaders>false</requestHeaders>
              <responseDataOnError>false</responseDataOnError>
              <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
              <assertionsResultsToSave>0</assertionsResultsToSave>
              <bytes>true</bytes>
              <sentBytes>true</sentBytes>
              <url>true</url>
              <threadCounts>true</threadCounts>
              <idleTime>true</idleTime>
              <connectTime>true</connectTime>
            </value>
          </objProp>
          <stringProp name="filename"></stringProp>
        </ResultCollector>
        <hashTree/>
        <ResultCollector guiclass="StatVisualizer" testclass="ResultCollector" testname="Aggregate Report" enabled="true">
          <boolProp name="ResultCollector.error_logging">false</boolProp>
          <objProp>
            <name>saveConfig</name>
            <value class="SampleSaveConfiguration">
              <time>true</time>
              <latency>true</latency>
              <timestamp>true</timestamp>
              <success>true</success>
              <label>true</label>
              <code>true</code>
              <message>true</message>
              <threadName>true</threadName>
              <dataType>true</dataType>
              <encoding>false</encoding>
              <assertions>true</assertions>
              <subresults>true</subresults>
              <responseData>false</responseData>
              <samplerData>false</samplerData>
              <xml>false</xml>
              <fieldNames>true</fieldNames>
              <responseHeaders>false</responseHeaders>
              <requestHeaders>false</requestHeaders>
              <responseDataOnError>false</responseDataOnError>
              <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
              <assertionsResultsToSave>0</assertionsResultsToSave>
              <bytes>true</bytes>
              <sentBytes>true</sentBytes>
              <url>true</url>
              <threadCounts>true</threadCounts>
              <idleTime>true</idleTime>
              <connectTime>true</connectTime>
            </value>
          </objProp>
          <stringProp name="filename"></stringProp>
        </ResultCollector>
        <hashTree/>
        <ResultCollector guiclass="SummaryReport" testclass="ResultCollector" testname="Summary Report" enabled="true">
          <boolProp name="ResultCollector.error_logging">false</boolProp>
          <objProp>
            <name>saveConfig</name>
            <value class="SampleSaveConfiguration">
              <time>true</time>
              <latency>true</latency>
              <timestamp>true</timestamp>
              <success>true</success>
              <label>true</label>
              <code>true</code>
              <message>true</message>
              <threadName>true</threadName>
              <dataType>true</dataType>
              <encoding>false</encoding>
              <assertions>true</assertions>
              <subresults>true</subresults>
              <responseData>false</responseData>
              <samplerData>false</samplerData>
              <xml>false</xml>
              <fieldNames>true</fieldNames>
              <responseHeaders>false</responseHeaders>
              <requestHeaders>false</requestHeaders>
              <responseDataOnError>false</responseDataOnError>
              <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
              <assertionsResultsToSave>0</assertionsResultsToSave>
              <bytes>true</bytes>
              <sentBytes>true</sentBytes>
              <url>true</url>
              <threadCounts>true</threadCounts>
              <idleTime>true</idleTime>
              <connectTime>true</connectTime>
            </value>
          </objProp>
          <stringProp name="filename"></stringProp>
        </ResultCollector>
        <hashTree/>
        <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
          <collectionProp name="HeaderManager.headers">
            <elementProp name="" elementType="Header">
              <stringProp name="Header.name">whId</stringProp>
              <stringProp name="Header.value">${wh_id}</stringProp>
            </elementProp>
            <elementProp name="" elementType="Header">
              <stringProp name="Header.name">systemkey</stringProp>
              <stringProp name="Header.value">${system_key}</stringProp>
            </elementProp>
          </collectionProp>
        </HeaderManager>
        <hashTree/>
        <CSVDataSet guiclass="TestBeanGUI" testclass="CSVDataSet" testname="CSV Data Set Config" enabled="true">
          <stringProp name="delimiter">,</stringProp>
          <stringProp name="fileEncoding">UTF-8</stringProp>
          <stringProp name="filename">C:/Users/admin/Desktop/jmx/入库/中通服WMS@入库之入库通知单(制单)_有来源CVS.csv</stringProp>
          <boolProp name="ignoreFirstLine">false</boolProp>
          <boolProp name="quotedData">false</boolProp>
          <boolProp name="recycle">true</boolProp>
          <stringProp name="shareMode">shareMode.all</stringProp>
          <boolProp name="stopThread">true</boolProp>
          <stringProp name="variableNames">itemId1,itemId2,itemId3,itemId4,itemId5,itemId6,itemId7,itemId8,itemId9,itemId10</stringProp>
        </CSVDataSet>
        <hashTree/>
        <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Sequence_Counter" enabled="true">
          <stringProp name="CounterConfig.start">1</stringProp>
          <stringProp name="CounterConfig.end"></stringProp>
          <stringProp name="CounterConfig.incr">1</stringProp>
          <stringProp name="CounterConfig.name">sequence</stringProp>
          <stringProp name="CounterConfig.format">50000</stringProp>
          <boolProp name="CounterConfig.per_user">false</boolProp>
        </CounterConfig>
        <hashTree/>
        <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="Create Asn Params" enabled="true">
          <stringProp name="BeanShellSampler.query">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(&quot;yyyyMMdd&quot;);
java.time.format.DateTimeFormatter formatter2 = java.time.format.DateTimeFormatter.ofPattern(&quot;yyyy-MM-dd&quot;);
String currentDateStr = currentDate.format(formatter);

int maxItemNum = 1;
int maxBoxNum = 1;
String asnQty = &quot;10000&quot;;
// asnItemQty = asnQty / maxBoxNum
String asnItemQty = &quot;10000&quot;;

String trayNoPrefix = &quot;T_&quot; + currentDateStr + vars.get(&quot;sequence&quot;);
String boxNoPrefix = &quot;B_&quot; + currentDateStr + vars.get(&quot;sequence&quot;);

List itemList = new ArrayList();
List trayBoxList = new ArrayList();
List itemTrayBoxList = new ArrayList();
for (int i = 1; i &lt;= maxItemNum; i++) {
  Map item = new HashMap();
  item.put(&quot;item_manage_type&quot;, &quot;0002&quot;);
  item.put(&quot;upn_manage_type&quot;, &quot;0001&quot;);
  item.put(&quot;is_short_process&quot;, &quot;0000&quot;);
  item.put(&quot;item_id&quot;, vars.get(&quot;itemId&quot;+i));
  item.put(&quot;asn_qty&quot;, asnQty);
  item.put(&quot;asn_line_no&quot;, i);
  itemList.add(item);

  for (int j = 1; j &lt;= maxBoxNum; j++) {
      Map trayBox = new HashMap();
      trayBox.put(&quot;tray_code&quot;, trayNoPrefix + i + j);
      trayBox.put(&quot;box_code&quot;, boxNoPrefix + i + j);
      trayBoxList.add(trayBox);
  }

  for (int j = 1; j &lt;= maxBoxNum; j++) {
      Map itemTrayBox = new HashMap();
      itemTrayBox.put(&quot;asn_line_no&quot;, i);
      itemTrayBox.put(&quot;tray_code&quot;, trayNoPrefix + i + j);
      itemTrayBox.put(&quot;box_code&quot;, boxNoPrefix + i + j);
      itemTrayBox.put(&quot;item_id&quot;, vars.get(&quot;itemId&quot;+i));
      itemTrayBox.put(&quot;asn_qty&quot;, asnItemQty);
      itemTrayBoxList.add(itemTrayBox);
  }
}
vars.put(&quot;dates&quot;, currentDate.format(formatter2));
vars.put(&quot;asn_code&quot;, &quot;T_IN_&quot; + currentDateStr + vars.get(&quot;sequence&quot;));
vars.put(&quot;item_lot&quot;, util.toJson(itemList));
vars.put(&quot;tray_box&quot;, util.toJson(trayBoxList));
vars.put(&quot;item_tray_box&quot;, util.toJson(itemTrayBoxList));</stringProp>
          <stringProp name="BeanShellSampler.filename"></stringProp>
          <stringProp name="BeanShellSampler.parameters"></stringProp>
          <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
        </BeanShellSampler>
        <hashTree/>
        <DebugSampler guiclass="TestBeanGUI" testclass="DebugSampler" testname="Debug Sampler" enabled="false">
          <boolProp name="displayJMeterProperties">false</boolProp>
          <boolProp name="displayJMeterVariables">true</boolProp>
          <boolProp name="displaySystemProperties">false</boolProp>
        </DebugSampler>
        <hashTree/>
        <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="入库通知单(制单)" enabled="true">
          <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
          <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
            <collectionProp name="Arguments.arguments">
              <elementProp name="" elementType="HTTPArgument">
                <boolProp name="HTTPArgument.always_encode">false</boolProp>
                <stringProp name="Argument.value">{&#xd;
  &quot;args&quot;: [&#xd;
    {&#xd;
      &quot;doc_asn&quot;: {&#xd;
        &quot;project_name&quot;: &quot;CTSC仓储对接测试项目&quot;,&#xd;
        &quot;project_id&quot;: &quot;1140423193643847680&quot;,&#xd;
        &quot;dates&quot;: &quot;${dates}&quot;,&#xd;
        &quot;owner_id&quot;: &quot;1131187957542555648&quot;,&#xd;
        &quot;owner_name&quot;: &quot;陆军&quot;,&#xd;
        &quot;order_type&quot;: &quot;inbound&quot;,&#xd;
        &quot;logistics_order_type&quot;: &quot;inbound&quot;,&#xd;
        &quot;supplier_id&quot;: &quot;1119797723088949248&quot;,&#xd;
        &quot;supplier_name&quot;: &quot;杜剑坤&quot;,&#xd;
        &quot;is_overstock&quot;: &quot;0000&quot;,&#xd;
        &quot;allow_qc&quot;: &quot;0000&quot;,&#xd;
        &quot;box_data_type&quot;: &quot;0002&quot;,&#xd;
        &quot;asn_code&quot;: &quot;${asn_code}&quot;,&#xd;
        &quot;order_biz_type&quot;: &quot;01&quot;,&#xd;
        &quot;priority&quot;: &quot;0002&quot;&#xd;
      },&#xd;
      &quot;items_lot&quot;: ${item_lot},&#xd;
      &quot;asn_lpn&quot;: ${tray_box},&#xd;
      &quot;items_lpn&quot;: ${item_tray_box},&#xd;
      &quot;items_upn&quot;: [],&#xd;
      &quot;items_manufactor&quot;: []&#xd;
    }&#xd;
  ]&#xd;
}</stringProp>
                <stringProp name="Argument.metadata">=</stringProp>
              </elementProp>
            </collectionProp>
          </elementProp>
          <stringProp name="HTTPSampler.domain">${server}</stringProp>
          <stringProp name="HTTPSampler.port">${port}</stringProp>
          <stringProp name="HTTPSampler.protocol"></stringProp>
          <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp>
          <stringProp name="HTTPSampler.path">/wms_api/api/pages/inbound/doc_asn/DocAsn@save</stringProp>
          <stringProp name="HTTPSampler.method">POST</stringProp>
          <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
          <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
          <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
          <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
          <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
          <stringProp name="HTTPSampler.connect_timeout"></stringProp>
          <stringProp name="HTTPSampler.response_timeout"></stringProp>
        </HTTPSamplerProxy>
        <hashTree>
          <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="success" enabled="true">
            <stringProp name="JSON_PATH">$.success</stringProp>
            <stringProp name="EXPECTED_VALUE">true</stringProp>
            <boolProp name="JSONVALIDATION">true</boolProp>
            <boolProp name="EXPECT_NULL">false</boolProp>
            <boolProp name="INVERT">false</boolProp>
            <boolProp name="ISREGEX">false</boolProp>
          </JSONPathAssertion>
          <hashTree/>
        </hashTree>
        <TestAction guiclass="TestActionGui" testclass="TestAction" testname="Think Time" enabled="false">
          <intProp name="ActionProcessor.action">1</intProp>
          <intProp name="ActionProcessor.target">0</intProp>
          <stringProp name="ActionProcessor.duration">30000</stringProp>
        </TestAction>
        <hashTree/>
      </hashTree>
    </hashTree>
  </hashTree>
</jmeterTestPlan>
