123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668 |
- <?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@出库之生成拣货任务(PC)" 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">1</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">8091</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">1138560056678158336</stringProp>
- <stringProp name="Argument.metadata">=</stringProp>
- </elementProp>
- <elementProp name="owner_id" elementType="Argument">
- <stringProp name="Argument.name">owner_id</stringProp>
- <stringProp name="Argument.value">1138560056678158336</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">143322427777785085</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.eyJpc3MiOiJ5dmFuLXNlY3VyaXR5IiwiX191aWQiOiIxNjExNDgzMTcxNzc5MTc2NjAiLCJhdWQiOiJ5dmFuLSoiLCJzdWIiOiIxNTgyNzMxNTgzNSIsImxvZ2luX2lkIjoxNjExNDgzMTcxNzc5MTc2NjIsImV4cCI6MTcxMDg3NzUwMCwiaWF0IjoxNzA4MzA5NzYyLCJqdGkiOiIzMDAzNzA2MTg2OTA4NDA5MzgifQ.LLcMYtK-SkoE8itHMsC-jK01VyWQH4nxGBV0xxxyS9DzNsiWlp-jD8Z1yJhpxT_0Se5i3U9V3JBy1wIq-3VwwyZlfemVogYtNJafdBXK-G9kdvbjx_Izsq_AVt9XE-RKNihsMMnrLH2KW0TEVYq8i3gWu6Qj_nUILUvpwpUPPNzHmkreHatPedUKpvUETNKnJSwcrZ0OcSNrOuUZoKb6oll74K_sBOkf3zfEJVijJ_ppCEc5LPD_8MD81fYWondGbJRD1rPR70PvBS2Vt8jcNTlB740KrzVo-vOqjt81D9JEvYXUC7GBxnvSQ_-PkLx0-GlVvWS3GkMVVfzTurh-cA</stringProp>
- <stringProp name="Argument.metadata">=</stringProp>
- </elementProp>
- <elementProp name="pick_label" elementType="Argument">
- <stringProp name="Argument.name">pick_label</stringProp>
- <stringProp name="Argument.value">0001</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">1</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">continue</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">800</stringProp>
- </elementProp>
- <stringProp name="ThreadGroup.num_threads">1</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/>
- <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">{
- "args": [
- {
- "path": "/pages/outbound/so/SoQuery",
- "sqlId": "querySoList",
- "pagination": true,
- "limit": 10,
- "page": 1,
- "start": 0,
- "start_date": "2024-05-30 00:00:00",
- "end_date": "2024-05-30 23:59:59",
- "staff_id": null,
- "so_code": null,
- "project_id": "${project_id}",
- "oms_logistics_no": "",
- "customer_order_code": "",
- "owner_id": null,
- "order_type": null,
- "order_biz_type": null,
- "customer_name": null,
- "urgent_type": null,
- "rece_area": null,
- "is_overstock": null,
- "customer_id": null,
- "is_cover": null,
- "rece_address": null,
- "status": "0045",
- "rece_contacts": null,
- "rece_telephone": null,
- "wh_id": "${wh_id}",
- "first_part_project_name": null,
- "logistics_order_type": null,
- "purchase_order_code": null,
- "item_id": null,
- "require_number": null,
- "updator": null,
- "creator": null,
- "remark": null,
- "first_part_project_manager": null,
- "remark04": null,
- "supplier_name": null,
- "remark12": null,
- "remark02": null,
- "remark03": null
- }
- ]
- }</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/com/galaxis/wms/Dev@executeSQL</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">5000</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="so_id_list" enabled="true">
- <stringProp name="JSONPostProcessor.referenceNames">so_ids</stringProp>
- <stringProp name="JSONPostProcessor.jsonPathExprs">$.data.[*].so_id</stringProp>
- <stringProp name="JSONPostProcessor.match_numbers">-1</stringProp>
- </JSONPostProcessor>
- <hashTree/>
- <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="wave_id_list" enabled="true">
- <stringProp name="JSONPostProcessor.referenceNames">wave_ids</stringProp>
- <stringProp name="JSONPostProcessor.jsonPathExprs">$.data.[*].wave_id</stringProp>
- <stringProp name="JSONPostProcessor.match_numbers">-1</stringProp>
- </JSONPostProcessor>
- <hashTree/>
- </hashTree>
- <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="BeanShell Sampler" enabled="true">
- <stringProp name="BeanShellSampler.query">com.JMeterUtil util = com.Yvan.init(vars, log, ctx);
- Integer soCount = Integer.parseInt(vars.get("so_ids_matchNr"));
- List soIds = new ArrayList();
- for(int i=1; i<=soCount; i++) {
- soIds.add(vars.get("so_ids_" + i));
- }
- vars.put("soIds", util.toJson(soIds));
- List waveIds = new ArrayList();
- for(int i=1; i<=soCount; i++) {
- waveIds.add(vars.get("wave_ids_" + i));
- }
- vars.put("waveIds", util.toJson(waveIds));</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="异常订单重试" 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": [
- {
- "so_ids": ${soIds},
- "wave_ids": ${waveIds}
- }
- ]
- }</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/outbound/wave/Wave@reTry</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">5000</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="so_list" enabled="true">
- <stringProp name="JSONPostProcessor.referenceNames">so_list</stringProp>
- <stringProp name="JSONPostProcessor.jsonPathExprs">$.data.[*]</stringProp>
- <stringProp name="JSONPostProcessor.match_numbers">-1</stringProp>
- </JSONPostProcessor>
- <hashTree/>
- </hashTree>
- <TestAction guiclass="TestActionGui" testclass="TestAction" testname="Think Time" enabled="true">
- <intProp name="ActionProcessor.action">1</intProp>
- <intProp name="ActionProcessor.target">0</intProp>
- <stringProp name="ActionProcessor.duration">3000</stringProp>
- </TestAction>
- <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">{
- "args": [
- 
- ]
- }</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/outbound/wave/Wave@alloc</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">5000</stringProp>
- <stringProp name="HTTPSampler.response_timeout">10000</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="true">
- <intProp name="ActionProcessor.action">1</intProp>
- <intProp name="ActionProcessor.target">0</intProp>
- <stringProp name="ActionProcessor.duration">3000</stringProp>
- </TestAction>
- <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">{
- "args": [
- 
- ]
- }</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/outbound/wave/Wave@task</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">5000</stringProp>
- <stringProp name="HTTPSampler.response_timeout">10000</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="true">
- <intProp name="ActionProcessor.action">1</intProp>
- <intProp name="ActionProcessor.target">0</intProp>
- <stringProp name="ActionProcessor.duration">3000</stringProp>
- </TestAction>
- <hashTree/>
- </hashTree>
- </hashTree>
- </hashTree>
- </jmeterTestPlan>
|