| <?xml version="1.0" encoding="UTF-8"?> |
| <jmeterTestPlan version="1.2" properties="5.0" jmeter="5.2.1"> |
| <hashTree> |
| <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="User Data Service Tests" enabled="true"> |
| <stringProp name="TestPlan.comments"></stringProp> |
| <boolProp name="TestPlan.functional_mode">false</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="User Defined Variables" enabled="true"> |
| <collectionProp name="Arguments.arguments"> |
| <elementProp name="ThreadCount" elementType="Argument"> |
| <stringProp name="Argument.name">ThreadCount</stringProp> |
| <stringProp name="Argument.value">100</stringProp> |
| <stringProp name="Argument.metadata">=</stringProp> |
| <stringProp name="Argument.desc">Number of Threads</stringProp> |
| </elementProp> |
| <elementProp name="Duration" elementType="Argument"> |
| <stringProp name="Argument.name">Duration</stringProp> |
| <stringProp name="Argument.value">120</stringProp> |
| <stringProp name="Argument.metadata">=</stringProp> |
| <stringProp name="Argument.desc">in seconds</stringProp> |
| </elementProp> |
| <elementProp name="startupDelay" elementType="Argument"> |
| <stringProp name="Argument.name">startupDelay</stringProp> |
| <stringProp name="Argument.value">3</stringProp> |
| <stringProp name="Argument.metadata">=</stringProp> |
| <stringProp name="Argument.desc">in seconds</stringProp> |
| </elementProp> |
| <elementProp name="RampUpPeriod" elementType="Argument"> |
| <stringProp name="Argument.name">RampUpPeriod</stringProp> |
| <stringProp name="Argument.value">3</stringProp> |
| <stringProp name="Argument.metadata">=</stringProp> |
| <stringProp name="Argument.desc">in seconds</stringProp> |
| </elementProp> |
| <elementProp name="UserSaHost" elementType="Argument"> |
| <stringProp name="Argument.name">UserSaHost</stringProp> |
| <stringProp name="Argument.value">http://172.50.10.24:8022</stringProp> |
| <stringProp name="Argument.metadata">=</stringProp> |
| </elementProp> |
| </collectionProp> |
| </Arguments> |
| <hashTree/> |
| <CSVDataSet guiclass="TestBeanGUI" testclass="CSVDataSet" testname="CSV Get Users/Passwords" enabled="false"> |
| <stringProp name="filename">/Users/loie/c/work/git/institute/deploy-admin-portal/testing/jmeter/accounts.csv</stringProp> |
| <stringProp name="fileEncoding"></stringProp> |
| <stringProp name="variableNames">accountName,password</stringProp> |
| <stringProp name="delimiter">,</stringProp> |
| <boolProp name="quotedData">false</boolProp> |
| <boolProp name="recycle">true</boolProp> |
| <boolProp name="stopThread">false</boolProp> |
| <stringProp name="shareMode">shareMode.all</stringProp> |
| <boolProp name="ignoreFirstLine">false</boolProp> |
| </CSVDataSet> |
| <hashTree/> |
| <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager" enabled="true"> |
| <collectionProp name="CookieManager.cookies"/> |
| <boolProp name="CookieManager.clearEachIteration">true</boolProp> |
| <boolProp name="CookieManager.controlledByThreadGroup">false</boolProp> |
| </CookieManager> |
| <hashTree/> |
| <ConfigTestElement guiclass="HttpDefaultsGui" testclass="ConfigTestElement" testname="HTTP Request Defaults" enabled="true"> |
| <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> |
| <collectionProp name="Arguments.arguments"/> |
| </elementProp> |
| <stringProp name="HTTPSampler.domain"></stringProp> |
| <stringProp name="HTTPSampler.port"></stringProp> |
| <stringProp name="HTTPSampler.protocol">https</stringProp> |
| <stringProp name="HTTPSampler.contentEncoding"></stringProp> |
| <stringProp name="HTTPSampler.path"></stringProp> |
| <stringProp name="HTTPSampler.concurrentPool">4</stringProp> |
| <stringProp name="HTTPSampler.implementation">HttpClient4</stringProp> |
| <stringProp name="HTTPSampler.connect_timeout">120000</stringProp> |
| <stringProp name="HTTPSampler.response_timeout">120000</stringProp> |
| </ConfigTestElement> |
| <hashTree/> |
| <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true"> |
| <boolProp name="ResultCollector.error_logging">true</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>true</responseData> |
| <samplerData>false</samplerData> |
| <xml>true</xml> |
| <fieldNames>false</fieldNames> |
| <responseHeaders>true</responseHeaders> |
| <requestHeaders>true</requestHeaders> |
| <responseDataOnError>false</responseDataOnError> |
| <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage> |
| <assertionsResultsToSave>0</assertionsResultsToSave> |
| <bytes>true</bytes> |
| <sentBytes>true</sentBytes> |
| <url>true</url> |
| <fileName>true</fileName> |
| <hostname>true</hostname> |
| <threadCounts>true</threadCounts> |
| <connectTime>true</connectTime> |
| </value> |
| </objProp> |
| <stringProp name="filename">/home/ubuntu/user-sa/tree.xml</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>true</encoding> |
| <assertions>true</assertions> |
| <subresults>true</subresults> |
| <responseData>true</responseData> |
| <samplerData>false</samplerData> |
| <xml>true</xml> |
| <fieldNames>false</fieldNames> |
| <responseHeaders>true</responseHeaders> |
| <requestHeaders>true</requestHeaders> |
| <responseDataOnError>false</responseDataOnError> |
| <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage> |
| <assertionsResultsToSave>0</assertionsResultsToSave> |
| <bytes>true</bytes> |
| <sentBytes>true</sentBytes> |
| <url>true</url> |
| <fileName>true</fileName> |
| <hostname>true</hostname> |
| <threadCounts>true</threadCounts> |
| <idleTime>true</idleTime> |
| <connectTime>true</connectTime> |
| </value> |
| </objProp> |
| <stringProp name="filename">/home/ubuntu/user-sa/report.xml</stringProp> |
| <boolProp name="useGroupName">true</boolProp> |
| </ResultCollector> |
| <hashTree/> |
| <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="User Data Service - Security Account" enabled="true"> |
| <stringProp name="ThreadGroup.on_sample_error">startnextloop</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> |
| <stringProp name="ThreadGroup.num_threads">${ThreadCount}</stringProp> |
| <stringProp name="ThreadGroup.ramp_time">${RampUpPeriod}</stringProp> |
| <longProp name="ThreadGroup.start_time">1500501626000</longProp> |
| <longProp name="ThreadGroup.end_time">1500501626000</longProp> |
| <boolProp name="ThreadGroup.scheduler">true</boolProp> |
| <stringProp name="ThreadGroup.duration">${Duration}</stringProp> |
| <stringProp name="ThreadGroup.delay">${StartupDelay}</stringProp> |
| <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> |
| </ThreadGroup> |
| <hashTree> |
| <ModuleController guiclass="ModuleControllerGui" testclass="ModuleController" testname="GET - User Data Service - Security Account" enabled="true"> |
| <collectionProp name="ModuleController.node_path"> |
| <stringProp name="764597751">Test Plan</stringProp> |
| <stringProp name="-2063844043">User Data Service Tests</stringProp> |
| <stringProp name="1724869225">GET - User Data Service - Security Account</stringProp> |
| </collectionProp> |
| </ModuleController> |
| <hashTree/> |
| <ModuleController guiclass="ModuleControllerGui" testclass="ModuleController" testname="GET - User Data Service - Account" enabled="true"> |
| <collectionProp name="ModuleController.node_path"> |
| <stringProp name="764597751">Test Plan</stringProp> |
| <stringProp name="-2063844043">User Data Service Tests</stringProp> |
| <stringProp name="-407568015">GET - User Data Service - Account</stringProp> |
| </collectionProp> |
| </ModuleController> |
| <hashTree/> |
| <ModuleController guiclass="ModuleControllerGui" testclass="ModuleController" testname="GET - http://echo.paas.nwpu.edu.cn/" enabled="false"> |
| <collectionProp name="ModuleController.node_path"> |
| <stringProp name="764597751">Test Plan</stringProp> |
| <stringProp name="-2063844043">User Data Service Tests</stringProp> |
| <stringProp name="-1501903837">GET - http://echo.paas.nwpu.edu.cn/</stringProp> |
| </collectionProp> |
| </ModuleController> |
| <hashTree/> |
| </hashTree> |
| <TestFragmentController guiclass="TestFragmentControllerGui" testclass="TestFragmentController" testname="GET - User Data Service - Security Account" enabled="true"/> |
| <hashTree> |
| <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="GET - loadUserInfoByAccountName" enabled="true"> |
| <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> |
| <collectionProp name="Arguments.arguments"/> |
| </elementProp> |
| <stringProp name="HTTPSampler.domain"></stringProp> |
| <stringProp name="HTTPSampler.port"></stringProp> |
| <stringProp name="HTTPSampler.protocol"></stringProp> |
| <stringProp name="HTTPSampler.contentEncoding"></stringProp> |
| <stringProp name="HTTPSampler.path">${UserSaHost}/api/v1/security/accounts/accountName/smartadmin</stringProp> |
| <stringProp name="HTTPSampler.method">GET</stringProp> |
| <boolProp name="HTTPSampler.follow_redirects">true</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">120000</stringProp> |
| <stringProp name="HTTPSampler.response_timeout">120000</stringProp> |
| </HTTPSamplerProxy> |
| <hashTree> |
| <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> |
| <collectionProp name="Asserion.test_strings"> |
| <stringProp name="49586">200</stringProp> |
| </collectionProp> |
| <stringProp name="Assertion.custom_message"></stringProp> |
| <stringProp name="Assertion.test_field">Assertion.response_code</stringProp> |
| <boolProp name="Assertion.assume_success">false</boolProp> |
| <intProp name="Assertion.test_type">8</intProp> |
| </ResponseAssertion> |
| <hashTree/> |
| </hashTree> |
| </hashTree> |
| <TestFragmentController guiclass="TestFragmentControllerGui" testclass="TestFragmentController" testname="GET - User Data Service - Account" enabled="true"/> |
| <hashTree> |
| <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="GET - findByAccountName" enabled="true"> |
| <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> |
| <collectionProp name="Arguments.arguments"/> |
| </elementProp> |
| <stringProp name="HTTPSampler.domain"></stringProp> |
| <stringProp name="HTTPSampler.port"></stringProp> |
| <stringProp name="HTTPSampler.protocol"></stringProp> |
| <stringProp name="HTTPSampler.contentEncoding"></stringProp> |
| <stringProp name="HTTPSampler.path">${UserSaHost}/api/v1/base/account/find/smartadmin</stringProp> |
| <stringProp name="HTTPSampler.method">GET</stringProp> |
| <boolProp name="HTTPSampler.follow_redirects">true</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">120000</stringProp> |
| <stringProp name="HTTPSampler.response_timeout">120000</stringProp> |
| </HTTPSamplerProxy> |
| <hashTree> |
| <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> |
| <collectionProp name="Asserion.test_strings"> |
| <stringProp name="49586">200</stringProp> |
| </collectionProp> |
| <stringProp name="Assertion.custom_message"></stringProp> |
| <stringProp name="Assertion.test_field">Assertion.response_code</stringProp> |
| <boolProp name="Assertion.assume_success">false</boolProp> |
| <intProp name="Assertion.test_type">8</intProp> |
| </ResponseAssertion> |
| <hashTree/> |
| </hashTree> |
| </hashTree> |
| <TestFragmentController guiclass="TestFragmentControllerGui" testclass="TestFragmentController" testname="GET - http://echo.paas.nwpu.edu.cn/" enabled="false"/> |
| <hashTree> |
| <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="GET - http://echo.paas.nwpu.edu.cn/" enabled="true"> |
| <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> |
| <collectionProp name="Arguments.arguments"/> |
| </elementProp> |
| <stringProp name="HTTPSampler.domain"></stringProp> |
| <stringProp name="HTTPSampler.port"></stringProp> |
| <stringProp name="HTTPSampler.protocol"></stringProp> |
| <stringProp name="HTTPSampler.contentEncoding"></stringProp> |
| <stringProp name="HTTPSampler.path">http://echo.paas.nwpu.edu.cn/</stringProp> |
| <stringProp name="HTTPSampler.method">GET</stringProp> |
| <boolProp name="HTTPSampler.follow_redirects">true</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> |
| <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> |
| <collectionProp name="Asserion.test_strings"> |
| <stringProp name="49586">200</stringProp> |
| </collectionProp> |
| <stringProp name="Assertion.custom_message"></stringProp> |
| <stringProp name="Assertion.test_field">Assertion.response_code</stringProp> |
| <boolProp name="Assertion.assume_success">false</boolProp> |
| <intProp name="Assertion.test_type">8</intProp> |
| </ResponseAssertion> |
| <hashTree/> |
| </hashTree> |
| </hashTree> |
| </hashTree> |
| </hashTree> |
| </jmeterTestPlan> |