123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909 |
- <?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">100</stringProp>
- <stringProp name="Argument.metadata">=</stringProp>
- </elementProp>
- <elementProp name="server" elementType="Argument">
- <stringProp name="Argument.name">server</stringProp>
- <stringProp name="Argument.value">127.0.0.1</stringProp>
- <stringProp name="Argument.metadata">=</stringProp>
- </elementProp>
- <elementProp name="port" elementType="Argument">
- <stringProp name="Argument.name">port</stringProp>
- <stringProp name="Argument.value">8085</stringProp>
- <stringProp name="Argument.metadata">=</stringProp>
- </elementProp>
- <elementProp name="wh_id" elementType="Argument">
- <stringProp name="Argument.name">wh_id</stringProp>
- <stringProp name="Argument.value">1000001</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="system_key" elementType="Argument">
- <stringProp name="Argument.name">system_key</stringProp>
- <stringProp name="Argument.value">eyJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJ5dmFuLXNlY3VyaXR5IiwiX191aWQiOiIzMTUwNzI4MTM1MDc1NDMwNDUiLCJhdWQiOiJ5dmFuLSoiLCJzdWIiOiJhZG1pbiIsImxvZ2luX2lkIjozMTYzNTczNDM4MTE5OTM2MDksImV4cCI6MTcyNTk5NzUwMCwiaWF0IjoxNzIzNDQ3NTA5LCJqdGkiOiI0MjczNTg1NTc3MjY4NDAzNjQifQ.g5JO8RAqDcipomhOs9pmpfuz-b_nznlssihFY0pCpSPBpkd3L6dr6_FAX8g-oD_EpBoK3Ng_Lh9eqI06Wg2LftxzPn0AagQHmKVtUlY_vDJOQweAmoZRGSFL57xV-UVGI2pgY47nWZVbWS0iFu8s5LgzbvfZABNKfiYYR8VlfN7xL63jfxyjX1uCKxLvGWtzpxDnKWtxJshpBazxyR1qgUci1s2Q_mD9Ljxc2hiwopaizhCuIVytBjAvwS6nYKGqGbyKEdnFt5SFu5EctYkwrEjuk8wtAlGgAiUoT1wb2_JwiS9d_zh24CFYchjiAWrKgmHRSeWekRlszJV_se-Mtw</stringProp>
- <stringProp name="Argument.metadata">=</stringProp>
- </elementProp>
- </collectionProp>
- </Arguments>
- <hashTree/>
- <Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="环境变量-SD测试" enabled="true">
- <collectionProp name="Arguments.arguments">
- <elementProp name="server" elementType="Argument">
- <stringProp name="Argument.name">server</stringProp>
- <stringProp name="Argument.value">wms-system.test.sdl.com</stringProp>
- <stringProp name="Argument.metadata">=</stringProp>
- </elementProp>
- <elementProp name="port" elementType="Argument">
- <stringProp name="Argument.name">port</stringProp>
- <stringProp name="Argument.value">8000</stringProp>
- <stringProp name="Argument.metadata">=</stringProp>
- </elementProp>
- <elementProp name="wh_id" elementType="Argument">
- <stringProp name="Argument.name">wh_id</stringProp>
- <stringProp name="Argument.value">1000001</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.eyJpc3MiOiJ5dmFuLXNlY3VyaXR5IiwiX191aWQiOiIzMTUwNzI4MTM1MDc1NDMwNDUiLCJhdWQiOiJ5dmFuLSoiLCJzdWIiOiJhZG1pbiIsImxvZ2luX2lkIjozMTYzNTczNDM4MTE5OTM2MDksImV4cCI6MTcyNjg2MTUwMCwiaWF0IjoxNzI0MzEyMDgxLCJqdGkiOiI0MzQ2MTExMDkwMTkyNjA0NzgifQ.Vor5psK98IdvpxcN1LNV2L0bXNnLHx6b5R4cKS2VwbywoWyfaUtHCXh1xv3qeCphy5GuSeXrvepTsQdXkt81l7Gx_4Lg-qUXs32mYhaclpFlvjhprcAx6cKm8_PgtSNWSEiWZ5gKP5dH3GWlaSxNQPviIY1SXIGdChUGkhwlFN-EXBBQTtJbMYHxhXjJwd3HCKfyH6qP1RYK4MN_lFd_mQRWnS3lCFrU4pd1aWaeqCowy8PNP4alAnzYQRbVL9yL8gItp2i6hIJggtDG83T5tBBE6euamN3jvXOM8O0tflxDL5oRVCX2I59Qo_F-LkrWsmm5pqBlegaWdlG8Ue1aEg</stringProp>
- <stringProp name="Argument.metadata">=</stringProp>
- </elementProp>
- <elementProp name="poLineNum" elementType="Argument">
- <stringProp name="Argument.name">poLineNum</stringProp>
- <stringProp name="Argument.value">200</stringProp>
- <stringProp name="Argument.metadata">=</stringProp>
- </elementProp>
- <elementProp name="sequence_start_value" elementType="Argument">
- <stringProp name="Argument.name">sequence_start_value</stringProp>
- <stringProp name="Argument.value">20000</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">100</stringProp>
- <stringProp name="Argument.metadata">=</stringProp>
- </elementProp>
- <elementProp name="server" elementType="Argument">
- <stringProp name="Argument.name">server</stringProp>
- <stringProp name="Argument.value">122.9.140.63</stringProp>
- <stringProp name="Argument.metadata">=</stringProp>
- </elementProp>
- <elementProp name="port" elementType="Argument">
- <stringProp name="Argument.name">port</stringProp>
- <stringProp name="Argument.value">8006</stringProp>
- <stringProp name="Argument.metadata">=</stringProp>
- </elementProp>
- <elementProp name="wh_id" elementType="Argument">
- <stringProp name="Argument.name">wh_id</stringProp>
- <stringProp name="Argument.value">1000001</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.eyJpc3MiOiJ5dmFuLXNlY3VyaXR5IiwiX191aWQiOiIzMTUwNzI4MTM1MDc1NDMwNDUiLCJhdWQiOiJ5dmFuLSoiLCJzdWIiOiJhZG1pbiIsImxvZ2luX2lkIjozMTYzNTczNDM4MTE5OTM2MDksImV4cCI6MTcyNTk5NzUwMCwiaWF0IjoxNzIzNDQ3NTA5LCJqdGkiOiI0MjczNTg1NTc3MjY4NDAzNjQifQ.g5JO8RAqDcipomhOs9pmpfuz-b_nznlssihFY0pCpSPBpkd3L6dr6_FAX8g-oD_EpBoK3Ng_Lh9eqI06Wg2LftxzPn0AagQHmKVtUlY_vDJOQweAmoZRGSFL57xV-UVGI2pgY47nWZVbWS0iFu8s5LgzbvfZABNKfiYYR8VlfN7xL63jfxyjX1uCKxLvGWtzpxDnKWtxJshpBazxyR1qgUci1s2Q_mD9Ljxc2hiwopaizhCuIVytBjAvwS6nYKGqGbyKEdnFt5SFu5EctYkwrEjuk8wtAlGgAiUoT1wb2_JwiS9d_zh24CFYchjiAWrKgmHRSeWekRlszJV_se-Mtw</stringProp>
- <stringProp name="Argument.metadata">=</stringProp>
- </elementProp>
- </collectionProp>
- </Arguments>
- <hashTree/>
- <kg.apc.jmeter.threads.SteppingThreadGroup guiclass="kg.apc.jmeter.threads.SteppingThreadGroupGui" testclass="kg.apc.jmeter.threads.SteppingThreadGroup" testname="入库之验收提交" enabled="true">
- <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
- <stringProp name="ThreadGroup.num_threads">100</stringProp>
- <stringProp name="Threads initial delay">0</stringProp>
- <stringProp name="Start users count">10</stringProp>
- <stringProp name="Start users count burst">0</stringProp>
- <stringProp name="Start users period">30</stringProp>
- <stringProp name="Stop users count">5</stringProp>
- <stringProp name="Stop users period">1</stringProp>
- <stringProp name="flighttime">60</stringProp>
- <stringProp name="rampUp">5</stringProp>
- <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
- <boolProp name="LoopController.continue_forever">false</boolProp>
- <intProp name="LoopController.loops">-1</intProp>
- </elementProp>
- </kg.apc.jmeter.threads.SteppingThreadGroup>
- <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/>
- <kg.apc.jmeter.vizualizers.CorrectedResultCollector guiclass="kg.apc.jmeter.vizualizers.ThreadsStateOverTimeGui" testclass="kg.apc.jmeter.vizualizers.CorrectedResultCollector" testname="jp@gc - Active Threads Over Time" 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>
- <longProp name="interval_grouping">500</longProp>
- <boolProp name="graph_aggregated">false</boolProp>
- <stringProp name="include_sample_labels"></stringProp>
- <stringProp name="exclude_sample_labels"></stringProp>
- <stringProp name="start_offset"></stringProp>
- <stringProp name="end_offset"></stringProp>
- <boolProp name="include_checkbox_state">false</boolProp>
- <boolProp name="exclude_checkbox_state">false</boolProp>
- </kg.apc.jmeter.vizualizers.CorrectedResultCollector>
- <hashTree/>
- <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">
- <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>
- <longProp name="interval_grouping">500</longProp>
- <boolProp name="graph_aggregated">false</boolProp>
- <stringProp name="include_sample_labels"></stringProp>
- <stringProp name="exclude_sample_labels"></stringProp>
- <stringProp name="start_offset"></stringProp>
- <stringProp name="end_offset"></stringProp>
- <boolProp name="include_checkbox_state">false</boolProp>
- <boolProp name="exclude_checkbox_state">false</boolProp>
- </kg.apc.jmeter.vizualizers.CorrectedResultCollector>
- <hashTree/>
- <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">
- <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>
- <longProp name="interval_grouping">1000</longProp>
- <boolProp name="graph_aggregated">false</boolProp>
- <stringProp name="include_sample_labels"></stringProp>
- <stringProp name="exclude_sample_labels"></stringProp>
- <stringProp name="start_offset"></stringProp>
- <stringProp name="end_offset"></stringProp>
- <boolProp name="include_checkbox_state">false</boolProp>
- <boolProp name="exclude_checkbox_state">false</boolProp>
- </kg.apc.jmeter.vizualizers.CorrectedResultCollector>
- <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">./02_顺德WMS@入库之验收提交CSV.csv</stringProp>
- <boolProp name="ignoreFirstLine">false</boolProp>
- <boolProp name="quotedData">true</boolProp>
- <boolProp name="recycle">false</boolProp>
- <stringProp name="shareMode">shareMode.group</stringProp>
- <boolProp name="stopThread">true</boolProp>
- <stringProp name="variableNames">inspect_id</stringProp>
- </CSVDataSet>
- <hashTree/>
- <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Acceptance@queryInspectItem" 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">{
- "args": [
- {
- "path": "/com/galaxis/wms/inbound/acceptance/Acceptance",
- "pagination": true,
- "sqlId": "tab1_grid2QueryData",
- "limit": 1000,
- "page": 1,
- "start": 0,
- "inspect_id": "${inspect_id}",
- "condition": []
- }
- ]
- }</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">/api/com/galaxis/wms/Dev@executeSQL?path=/com/galaxis/wms/inbound/acceptance/Acceptance@tab1_grid2QueryData</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.implementation">HttpClient4</stringProp>
- <stringProp name="HTTPSampler.connect_timeout">1500</stringProp>
- <stringProp name="HTTPSampler.response_timeout">15000</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/>
- <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="Inspect Item Extractor" enabled="true">
- <stringProp name="JSONPostProcessor.referenceNames">inspect_item_list</stringProp>
- <stringProp name="JSONPostProcessor.jsonPathExprs">$.data.[*]</stringProp>
- <stringProp name="JSONPostProcessor.match_numbers">-1</stringProp>
- </JSONPostProcessor>
- <hashTree/>
- </hashTree>
- <ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="Acceptance ForEach" enabled="true">
- <stringProp name="ForeachController.inputVal">inspect_item_list</stringProp>
- <stringProp name="ForeachController.returnVal">inspect_item</stringProp>
- <boolProp name="ForeachController.useSeparator">true</boolProp>
- <stringProp name="ForeachController.startIndex">0</stringProp>
- <stringProp name="ForeachController.endIndex">${inspect_item_list_matchNr}</stringProp>
- </ForeachController>
- <hashTree>
- <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="QueryPutIntent Param Sampler" enabled="true">
- <stringProp name="BeanShellSampler.query">import java.math.BigDecimal;
- import java.math.RoundingMode;
- com.JMeterUtil util = com.Yvan.init(vars, log, ctx);
- Map inspectItem = util.parseJson(vars.get("inspect_item"), Map.class);
- // 质检数量
- BigDecimal qty = new BigDecimal(inspectItem.get("qty"));
- // 已质检数量
- BigDecimal inspectQty = new BigDecimal(inspectItem.get("inspect_qty"));
- // 已拒收数量
- BigDecimal receiptQty = new BigDecimal(inspectItem.get("reject_qty"));
- // 需质检数量 = 质检数量 - 已质检数量 - 已拒收数量
- BigDecimal qualityQty = qty.subtract(inspectQty).subtract(receiptQty);
- // 包装数量
- BigDecimal packMeas = new BigDecimal(String.valueOf(inspectItem.get("pack_meas")));
- // 质检整件数
- BigDecimal qualityWholeQty = qualityQty.divide(packMeas, 0, RoundingMode.FLOOR);
- // 质检零散数
- BigDecimal qualityLessQty = qualityQty.subtract(qualityWholeQty.multiply(packMeas));
- vars.put("qualityWholeQty", qualityWholeQty.toString());
- vars.put("qualityLessQty", qualityLessQty.toString());
- //inspectItem.put("quality_less_qty", qualityLessQty.toString());
- //inspectItem.put("quality_whole_qty", qualityWholeQty.toString());
- //inspectItem.put("quality_qty", qualityQty.toString());
- //inspectItem.put("put_intent_less", "0001");
- //inspectItem.put("put_intent_whole", "0001");
- //inspectItem.put("quality_assert", "0001");
- //inspectItem.put("quality_staff_id1", "315072813507543045");
- Map saveInspectParam = new HashMap();
- //saveInspectParam.put("inspect_id", String.valueOf(inspectItem.get("inspect_id")));
- //saveInspectParam.put("inspect_line_nos", String.valueOf(inspectItem.get("inspect_line_nos")));
- saveInspectParam.put("item_id", String.valueOf(inspectItem.get("item_id")));
- saveInspectParam.put("pack_id", String.valueOf(inspectItem.get("pack_id")));
- saveInspectParam.put("lot_id", String.valueOf(inspectItem.get("lot_id")));
- saveInspectParam.put("quality_reject_qty", "0");
- saveInspectParam.put("order_biz_type", "C");
- //saveInspectParam.put("order_type", String.valueOf(inspectItem.get("order_type"));
- //saveInspectParam.put("order_biz_type", String.valueOf(inspectItem.get("order_biz_type"));
- saveInspectParam.put("quality_less_qty", qualityLessQty.toString());
- saveInspectParam.put("quality_whole_qty", qualityWholeQty.toString());
- saveInspectParam.put("quality_qty", qualityQty.toString());
- //saveInspectParam.put("put_intent_less", "0001");
- //saveInspectParam.put("put_intent_whole", "0001");
- //saveInspectParam.put("quality_assert", "0001");
- //saveInspectParam.put("quality_staff_id1", "315072813507543045");
- //saveInspectParam.put("quality_staff_id1", vars.get("staff_id"));
- vars.put("queryPutIntentParam", util.toJson(saveInspectParam));</stringProp>
- <stringProp name="BeanShellSampler.filename"></stringProp>
- <stringProp name="BeanShellSampler.parameters"></stringProp>
- <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
- </BeanShellSampler>
- <hashTree/>
- <IfController guiclass="IfControllerPanel" testclass="IfController" testname="Has Less Quality Qty Controller" enabled="true">
- <stringProp name="IfController.condition">${__jexl3(${qualityLessQty} > 0)}</stringProp>
- <boolProp name="IfController.evaluateAll">false</boolProp>
- <boolProp name="IfController.useExpression">true</boolProp>
- </IfController>
- <hashTree>
- <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="QueryPutIntent Param Sampler" enabled="true">
- <stringProp name="BeanShellSampler.query">import java.math.BigDecimal;
- import java.math.RoundingMode;
- com.JMeterUtil util = com.Yvan.init(vars, log, ctx);
- Map inspectItem = util.parseJson(vars.get("inspect_item"), Map.class);
- // 质检数量
- BigDecimal qty = new BigDecimal(inspectItem.get("qty"));
- // 已质检数量
- BigDecimal inspectQty = new BigDecimal(inspectItem.get("inspect_qty"));
- // 已拒收数量
- BigDecimal receiptQty = new BigDecimal(inspectItem.get("reject_qty"));
- // 需质检数量 = 质检数量 - 已质检数量 - 已拒收数量
- BigDecimal qualityQty = qty.subtract(inspectQty).subtract(receiptQty);
- // 包装数量
- BigDecimal packMeas = new BigDecimal(String.valueOf(inspectItem.get("pack_meas")));
- // 质检整件数
- BigDecimal qualityWholeQty = qualityQty.divide(packMeas, 0, RoundingMode.FLOOR);
- // 质检零散数
- BigDecimal qualityLessQty = qualityQty.subtract(qualityWholeQty.multiply(packMeas));
- //inspectItem.put("quality_less_qty", qualityLessQty.toString());
- //inspectItem.put("quality_whole_qty", qualityWholeQty.toString());
- //inspectItem.put("quality_qty", qualityQty.toString());
- //inspectItem.put("put_intent_less", "0001");
- //inspectItem.put("put_intent_whole", "0001");
- //inspectItem.put("quality_assert", "0001");
- //inspectItem.put("quality_staff_id1", "315072813507543045");
- Map saveInspectParam = new HashMap();
- //saveInspectParam.put("inspect_id", String.valueOf(inspectItem.get("inspect_id")));
- //saveInspectParam.put("inspect_line_nos", String.valueOf(inspectItem.get("inspect_line_nos")));
- saveInspectParam.put("item_id", String.valueOf(inspectItem.get("item_id")));
- saveInspectParam.put("pack_id", String.valueOf(inspectItem.get("pack_id")));
- saveInspectParam.put("lot_id", String.valueOf(inspectItem.get("lot_id")));
- saveInspectParam.put("quality_reject_qty", "0");
- saveInspectParam.put("order_biz_type", "C");
- //saveInspectParam.put("order_type", String.valueOf(inspectItem.get("order_type"));
- //saveInspectParam.put("order_biz_type", String.valueOf(inspectItem.get("order_biz_type"));
- saveInspectParam.put("quality_less_qty", qualityLessQty.toString());
- saveInspectParam.put("quality_whole_qty", "0");
- //saveInspectParam.put("quality_qty", qualityQty.toString());
- //saveInspectParam.put("put_intent_less", "0001");
- //saveInspectParam.put("put_intent_whole", "0001");
- //saveInspectParam.put("quality_assert", "0001");
- //saveInspectParam.put("quality_staff_id1", "315072813507543045");
- //saveInspectParam.put("quality_staff_id1", vars.get("staff_id"));
- vars.put("queryPutIntentParam", util.toJson(saveInspectParam));</stringProp>
- <stringProp name="BeanShellSampler.filename"></stringProp>
- <stringProp name="BeanShellSampler.parameters"></stringProp>
- <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
- </BeanShellSampler>
- <hashTree/>
- <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Less Acceptance@queryPutIntent" 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">{
- "args": [
- {
- "row_data": ${queryPutIntentParam}
- }
- ]
- }</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">/api/com/galaxis/wms/inbound/acceptance/Acceptance@queryPutIntent</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.implementation">HttpClient4</stringProp>
- <stringProp name="HTTPSampler.connect_timeout">1500</stringProp>
- <stringProp name="HTTPSampler.response_timeout">15000</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/>
- <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="Less Put Intent Extractor" enabled="true">
- <stringProp name="JSONPostProcessor.referenceNames">lessPutIntent</stringProp>
- <stringProp name="JSONPostProcessor.jsonPathExprs">$.data</stringProp>
- <stringProp name="JSONPostProcessor.match_numbers">1</stringProp>
- </JSONPostProcessor>
- <hashTree/>
- </hashTree>
- </hashTree>
- <IfController guiclass="IfControllerPanel" testclass="IfController" testname="Has Whole Quality Qty Controller" enabled="true">
- <stringProp name="IfController.condition">${__jexl3(${qualityWholeQty} > 0)}</stringProp>
- <boolProp name="IfController.evaluateAll">false</boolProp>
- <boolProp name="IfController.useExpression">true</boolProp>
- </IfController>
- <hashTree>
- <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="QueryPutIntent Param Sampler" enabled="true">
- <stringProp name="BeanShellSampler.query">import java.math.BigDecimal;
- import java.math.RoundingMode;
- com.JMeterUtil util = com.Yvan.init(vars, log, ctx);
- Map inspectItem = util.parseJson(vars.get("inspect_item"), Map.class);
- // 质检数量
- BigDecimal qty = new BigDecimal(inspectItem.get("qty"));
- // 已质检数量
- BigDecimal inspectQty = new BigDecimal(inspectItem.get("inspect_qty"));
- // 已拒收数量
- BigDecimal receiptQty = new BigDecimal(inspectItem.get("reject_qty"));
- // 需质检数量 = 质检数量 - 已质检数量 - 已拒收数量
- BigDecimal qualityQty = qty.subtract(inspectQty).subtract(receiptQty);
- // 包装数量
- BigDecimal packMeas = new BigDecimal(String.valueOf(inspectItem.get("pack_meas")));
- // 质检整件数
- BigDecimal qualityWholeQty = qualityQty.divide(packMeas, 0, RoundingMode.FLOOR);
- // 质检零散数
- BigDecimal qualityLessQty = qualityQty.subtract(qualityWholeQty.multiply(packMeas));
- //inspectItem.put("quality_less_qty", qualityLessQty.toString());
- //inspectItem.put("quality_whole_qty", qualityWholeQty.toString());
- //inspectItem.put("quality_qty", qualityQty.toString());
- //inspectItem.put("put_intent_less", "0001");
- //inspectItem.put("put_intent_whole", "0001");
- //inspectItem.put("quality_assert", "0001");
- //inspectItem.put("quality_staff_id1", "315072813507543045");
- Map saveInspectParam = new HashMap();
- //saveInspectParam.put("inspect_id", String.valueOf(inspectItem.get("inspect_id")));
- //saveInspectParam.put("inspect_line_nos", String.valueOf(inspectItem.get("inspect_line_nos")));
- saveInspectParam.put("item_id", String.valueOf(inspectItem.get("item_id")));
- saveInspectParam.put("pack_id", String.valueOf(inspectItem.get("pack_id")));
- saveInspectParam.put("lot_id", String.valueOf(inspectItem.get("lot_id")));
- saveInspectParam.put("quality_reject_qty", "0");
- saveInspectParam.put("order_biz_type", "C");
- //saveInspectParam.put("order_type", String.valueOf(inspectItem.get("order_type"));
- //saveInspectParam.put("order_biz_type", String.valueOf(inspectItem.get("order_biz_type"));
- saveInspectParam.put("quality_less_qty", "");
- saveInspectParam.put("quality_whole_qty", qualityWholeQty.toString());
- //saveInspectParam.put("quality_qty", qualityQty.toString());
- //saveInspectParam.put("put_intent_less", "0001");
- //saveInspectParam.put("put_intent_whole", "0001");
- //saveInspectParam.put("quality_assert", "0001");
- //saveInspectParam.put("quality_staff_id1", "315072813507543045");
- //saveInspectParam.put("quality_staff_id1", vars.get("staff_id"));
- vars.put("queryPutIntentParam", util.toJson(saveInspectParam));</stringProp>
- <stringProp name="BeanShellSampler.filename"></stringProp>
- <stringProp name="BeanShellSampler.parameters"></stringProp>
- <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
- </BeanShellSampler>
- <hashTree/>
- <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Whole Acceptance@queryPutIntent" 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">{
- "args": [
- {
- "row_data": ${queryPutIntentParam}
- }
- ]
- }</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">/api/com/galaxis/wms/inbound/acceptance/Acceptance@queryPutIntent</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.implementation">HttpClient4</stringProp>
- <stringProp name="HTTPSampler.connect_timeout">1500</stringProp>
- <stringProp name="HTTPSampler.response_timeout">15000</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/>
- <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="Whole Put Intent Extractor" enabled="true">
- <stringProp name="JSONPostProcessor.referenceNames">wholePutIntent</stringProp>
- <stringProp name="JSONPostProcessor.jsonPathExprs">$.data</stringProp>
- <stringProp name="JSONPostProcessor.match_numbers">1</stringProp>
- </JSONPostProcessor>
- <hashTree/>
- </hashTree>
- </hashTree>
- <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="Acceptance Param Sampler" enabled="true">
- <stringProp name="BeanShellSampler.query">import java.math.BigDecimal;
- import java.math.RoundingMode;
- com.JMeterUtil util = com.Yvan.init(vars, log, ctx);
- Map inspectItem = util.parseJson(vars.get("inspect_item"), Map.class);
- log.info("inspect_id = " + String.valueOf(inspectItem.get("inspect_id")));
- // 质检数量
- BigDecimal qty = new BigDecimal(inspectItem.get("qty"));
- // 已质检数量
- BigDecimal inspectQty = new BigDecimal(inspectItem.get("inspect_qty"));
- // 已拒收数量
- BigDecimal receiptQty = new BigDecimal(inspectItem.get("reject_qty"));
- // 需质检数量 = 质检数量 - 已质检数量 - 已拒收数量
- BigDecimal qualityQty = qty.subtract(inspectQty).subtract(receiptQty);
- // 包装数量
- BigDecimal packMeas = new BigDecimal(String.valueOf(inspectItem.get("pack_meas")));
- // 质检整件数
- BigDecimal qualityWholeQty = qualityQty.divide(packMeas, 0, RoundingMode.FLOOR);
- // 质检零散数
- BigDecimal qualityLessQty = qualityQty.subtract(qualityWholeQty.multiply(packMeas));
- //inspectItem.put("quality_less_qty", qualityLessQty.toString());
- //inspectItem.put("quality_whole_qty", qualityWholeQty.toString());
- //inspectItem.put("quality_qty", qualityQty.toString());
- //inspectItem.put("put_intent_less", "0001");
- //inspectItem.put("put_intent_whole", "0001");
- //inspectItem.put("quality_assert", "0001");
- //inspectItem.put("quality_staff_id1", "315072813507543045");
- Map saveInspectParam = new HashMap();
- saveInspectParam.put("inspect_id", String.valueOf(inspectItem.get("inspect_id")));
- saveInspectParam.put("inspect_line_nos", String.valueOf(inspectItem.get("inspect_line_nos")));
- saveInspectParam.put("item_id", String.valueOf(inspectItem.get("item_id")));
- saveInspectParam.put("pack_id", String.valueOf(inspectItem.get("pack_id")));
- saveInspectParam.put("lot_id", String.valueOf(inspectItem.get("lot_id")));
- saveInspectParam.put("quality_reject_qty", "0");
- //saveInspectParam.put("container_code", "C");
- //saveInspectParam.put("is_chinese_medicine", String.valueOf(inspectItem.get("is_chinese_medicine")));
- //saveInspectParam.put("order_type", String.valueOf(inspectItem.get("order_type"));
- //saveInspectParam.put("order_biz_type", String.valueOf(inspectItem.get("order_biz_type"));
- saveInspectParam.put("quality_less_qty", qualityLessQty.toString());
- saveInspectParam.put("quality_whole_qty", qualityWholeQty.toString());
- saveInspectParam.put("quality_qty", qualityQty.toString());
- saveInspectParam.put("put_intent_less", vars.get("lessPutIntent"));
- saveInspectParam.put("put_intent_whole", vars.get("wholePutIntent"));
- saveInspectParam.put("quality_assert", "0001");
- saveInspectParam.put("quality_staff_id1", "315072813507543045");
- //saveInspectParam.put("quality_staff_id1", vars.get("staff_id"));
- vars.put("saveInspectParam", util.toJson(saveInspectParam));
- </stringProp>
- <stringProp name="BeanShellSampler.filename"></stringProp>
- <stringProp name="BeanShellSampler.parameters"></stringProp>
- <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp>
- </BeanShellSampler>
- <hashTree/>
- <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Acceptance@inspectSave" 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">{
- "args": [
- {
- "form_data": ${saveInspectParam}
- }
- ]
- }</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">api/com/galaxis/wms/inbound/acceptance/Acceptance@inspectSave</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.implementation">HttpClient4</stringProp>
- <stringProp name="HTTPSampler.connect_timeout">1500</stringProp>
- <stringProp name="HTTPSampler.response_timeout">15000</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>
- </hashTree>
- </hashTree>
- </hashTree>
- </hashTree>
- </jmeterTestPlan>
|