|
|
|
@@ -0,0 +1,850 @@
|
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<jmeterTestPlan version="1.2" properties="2.7" jmeter="2.12 r1636949">
|
|
|
|
|
<hashTree>
|
|
|
|
|
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Security test" 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 name="auth-ws-url" elementType="Argument">
|
|
|
|
|
<stringProp name="Argument.name">auth-ws-url</stringProp>
|
|
|
|
|
<stringProp name="Argument.value">http://10.156.207.136:8080/auth-ws/</stringProp>
|
|
|
|
|
<stringProp name="Argument.metadata">=</stringProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
</collectionProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
<stringProp name="TestPlan.user_define_classpath"></stringProp>
|
|
|
|
|
</TestPlan>
|
|
|
|
|
<hashTree>
|
|
|
|
|
<ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Thread Group" 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">1</stringProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
<stringProp name="ThreadGroup.num_threads">1</stringProp>
|
|
|
|
|
<stringProp name="ThreadGroup.ramp_time">1</stringProp>
|
|
|
|
|
<longProp name="ThreadGroup.start_time">1421756665000</longProp>
|
|
|
|
|
<longProp name="ThreadGroup.end_time">1421756665000</longProp>
|
|
|
|
|
<boolProp name="ThreadGroup.scheduler">false</boolProp>
|
|
|
|
|
<stringProp name="ThreadGroup.duration"></stringProp>
|
|
|
|
|
<stringProp name="ThreadGroup.delay"></stringProp>
|
|
|
|
|
</ThreadGroup>
|
|
|
|
|
<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">10.156.207.136</stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.port">8080</stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.protocol"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.path">/auth-ws</stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.concurrentPool">4</stringProp>
|
|
|
|
|
</ConfigTestElement>
|
|
|
|
|
<hashTree/>
|
|
|
|
|
<TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="Log in with bad credentials" enabled="true">
|
|
|
|
|
<boolProp name="TransactionController.includeTimers">false</boolProp>
|
|
|
|
|
<boolProp name="TransactionController.parent">false</boolProp>
|
|
|
|
|
</TransactionController>
|
|
|
|
|
<hashTree>
|
|
|
|
|
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Authenticate bad login" enabled="true">
|
|
|
|
|
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
|
|
|
|
|
<collectionProp name="Arguments.arguments">
|
|
|
|
|
<elementProp name="login" elementType="HTTPArgument">
|
|
|
|
|
<boolProp name="HTTPArgument.always_encode">false</boolProp>
|
|
|
|
|
<stringProp name="Argument.value">bad login</stringProp>
|
|
|
|
|
<stringProp name="Argument.metadata">=</stringProp>
|
|
|
|
|
<boolProp name="HTTPArgument.use_equals">true</boolProp>
|
|
|
|
|
<stringProp name="Argument.name">login</stringProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
<elementProp name="password" elementType="HTTPArgument">
|
|
|
|
|
<boolProp name="HTTPArgument.always_encode">false</boolProp>
|
|
|
|
|
<stringProp name="Argument.value">bad password</stringProp>
|
|
|
|
|
<stringProp name="Argument.metadata">=</stringProp>
|
|
|
|
|
<boolProp name="HTTPArgument.use_equals">true</boolProp>
|
|
|
|
|
<stringProp name="Argument.name">password</stringProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
</collectionProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
<stringProp name="HTTPSampler.domain"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.port"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.protocol"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.path">/auth-ws/authenticate</stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.method">POST</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>
|
|
|
|
|
<boolProp name="HTTPSampler.monitor">false</boolProp>
|
|
|
|
|
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
|
|
|
|
</HTTPSamplerProxy>
|
|
|
|
|
<hashTree>
|
|
|
|
|
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor" enabled="true">
|
|
|
|
|
<stringProp name="RegexExtractor.useHeaders">false</stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.refname">currentToken</stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.regex">"currentToken":"([^"]*)"</stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.template">$1$</stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.default"></stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.match_number">1</stringProp>
|
|
|
|
|
</RegexExtractor>
|
|
|
|
|
<hashTree/>
|
|
|
|
|
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
|
|
|
|
|
<collectionProp name="Asserion.test_strings">
|
|
|
|
|
<stringProp name="51508">400</stringProp>
|
|
|
|
|
</collectionProp>
|
|
|
|
|
<stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
|
|
|
|
|
<boolProp name="Assertion.assume_success">true</boolProp>
|
|
|
|
|
<intProp name="Assertion.test_type">8</intProp>
|
|
|
|
|
</ResponseAssertion>
|
|
|
|
|
<hashTree/>
|
|
|
|
|
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
|
|
|
|
|
<collectionProp name="Asserion.test_strings">
|
|
|
|
|
<stringProp name="-114475505">User not found for given login</stringProp>
|
|
|
|
|
</collectionProp>
|
|
|
|
|
<stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
|
|
|
|
|
<boolProp name="Assertion.assume_success">true</boolProp>
|
|
|
|
|
<intProp name="Assertion.test_type">16</intProp>
|
|
|
|
|
</ResponseAssertion>
|
|
|
|
|
<hashTree/>
|
|
|
|
|
</hashTree>
|
|
|
|
|
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Authenticate bad password" enabled="true">
|
|
|
|
|
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
|
|
|
|
|
<collectionProp name="Arguments.arguments">
|
|
|
|
|
<elementProp name="login" elementType="HTTPArgument">
|
|
|
|
|
<boolProp name="HTTPArgument.always_encode">false</boolProp>
|
|
|
|
|
<stringProp name="Argument.value">gis</stringProp>
|
|
|
|
|
<stringProp name="Argument.metadata">=</stringProp>
|
|
|
|
|
<boolProp name="HTTPArgument.use_equals">true</boolProp>
|
|
|
|
|
<stringProp name="Argument.name">login</stringProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
<elementProp name="password" elementType="HTTPArgument">
|
|
|
|
|
<boolProp name="HTTPArgument.always_encode">false</boolProp>
|
|
|
|
|
<stringProp name="Argument.value">bad password</stringProp>
|
|
|
|
|
<stringProp name="Argument.metadata">=</stringProp>
|
|
|
|
|
<boolProp name="HTTPArgument.use_equals">true</boolProp>
|
|
|
|
|
<stringProp name="Argument.name">password</stringProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
</collectionProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
<stringProp name="HTTPSampler.domain"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.port"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.protocol"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.path">/auth-ws/authenticate</stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.method">POST</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>
|
|
|
|
|
<boolProp name="HTTPSampler.monitor">false</boolProp>
|
|
|
|
|
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
|
|
|
|
</HTTPSamplerProxy>
|
|
|
|
|
<hashTree>
|
|
|
|
|
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor" enabled="true">
|
|
|
|
|
<stringProp name="RegexExtractor.useHeaders">false</stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.refname">currentToken</stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.regex">"currentToken":"([^"]*)"</stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.template">$1$</stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.default"></stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.match_number">1</stringProp>
|
|
|
|
|
</RegexExtractor>
|
|
|
|
|
<hashTree/>
|
|
|
|
|
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
|
|
|
|
|
<collectionProp name="Asserion.test_strings">
|
|
|
|
|
<stringProp name="51508">400</stringProp>
|
|
|
|
|
</collectionProp>
|
|
|
|
|
<stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
|
|
|
|
|
<boolProp name="Assertion.assume_success">true</boolProp>
|
|
|
|
|
<intProp name="Assertion.test_type">8</intProp>
|
|
|
|
|
</ResponseAssertion>
|
|
|
|
|
<hashTree/>
|
|
|
|
|
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
|
|
|
|
|
<collectionProp name="Asserion.test_strings">
|
|
|
|
|
<stringProp name="-983680383">User/Password combination is incorrect</stringProp>
|
|
|
|
|
</collectionProp>
|
|
|
|
|
<stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
|
|
|
|
|
<boolProp name="Assertion.assume_success">true</boolProp>
|
|
|
|
|
<intProp name="Assertion.test_type">16</intProp>
|
|
|
|
|
</ResponseAssertion>
|
|
|
|
|
<hashTree/>
|
|
|
|
|
</hashTree>
|
|
|
|
|
</hashTree>
|
|
|
|
|
<TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="Log in and check permission (passing)" enabled="true">
|
|
|
|
|
<boolProp name="TransactionController.includeTimers">false</boolProp>
|
|
|
|
|
<boolProp name="TransactionController.parent">false</boolProp>
|
|
|
|
|
</TransactionController>
|
|
|
|
|
<hashTree>
|
|
|
|
|
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Authenticate" enabled="true">
|
|
|
|
|
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
|
|
|
|
|
<collectionProp name="Arguments.arguments">
|
|
|
|
|
<elementProp name="login" elementType="HTTPArgument">
|
|
|
|
|
<boolProp name="HTTPArgument.always_encode">false</boolProp>
|
|
|
|
|
<stringProp name="Argument.value">gis</stringProp>
|
|
|
|
|
<stringProp name="Argument.metadata">=</stringProp>
|
|
|
|
|
<boolProp name="HTTPArgument.use_equals">true</boolProp>
|
|
|
|
|
<stringProp name="Argument.name">login</stringProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
<elementProp name="password" elementType="HTTPArgument">
|
|
|
|
|
<boolProp name="HTTPArgument.always_encode">false</boolProp>
|
|
|
|
|
<stringProp name="Argument.value">gis</stringProp>
|
|
|
|
|
<stringProp name="Argument.metadata">=</stringProp>
|
|
|
|
|
<boolProp name="HTTPArgument.use_equals">true</boolProp>
|
|
|
|
|
<stringProp name="Argument.name">password</stringProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
</collectionProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
<stringProp name="HTTPSampler.domain"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.port"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.protocol"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.path">/auth-ws/authenticate</stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.method">POST</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>
|
|
|
|
|
<boolProp name="HTTPSampler.monitor">false</boolProp>
|
|
|
|
|
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
|
|
|
|
</HTTPSamplerProxy>
|
|
|
|
|
<hashTree>
|
|
|
|
|
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor" enabled="true">
|
|
|
|
|
<stringProp name="RegexExtractor.useHeaders">false</stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.refname">currentToken</stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.regex">"currentToken":"([^"]*)"</stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.template">$1$</stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.default"></stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.match_number">1</stringProp>
|
|
|
|
|
</RegexExtractor>
|
|
|
|
|
<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.test_field">Assertion.response_code</stringProp>
|
|
|
|
|
<boolProp name="Assertion.assume_success">false</boolProp>
|
|
|
|
|
<intProp name="Assertion.test_type">8</intProp>
|
|
|
|
|
</ResponseAssertion>
|
|
|
|
|
<hashTree/>
|
|
|
|
|
</hashTree>
|
|
|
|
|
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get user info" enabled="true">
|
|
|
|
|
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
|
|
|
|
|
<collectionProp name="Arguments.arguments">
|
|
|
|
|
<elementProp name="token" elementType="HTTPArgument">
|
|
|
|
|
<boolProp name="HTTPArgument.always_encode">false</boolProp>
|
|
|
|
|
<stringProp name="Argument.value">${currentToken}</stringProp>
|
|
|
|
|
<stringProp name="Argument.metadata">=</stringProp>
|
|
|
|
|
<boolProp name="HTTPArgument.use_equals">true</boolProp>
|
|
|
|
|
<stringProp name="Argument.name">token</stringProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
</collectionProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
<stringProp name="HTTPSampler.domain"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.port"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.protocol"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.path">/auth-ws/getUserForToken</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>
|
|
|
|
|
<boolProp name="HTTPSampler.monitor">false</boolProp>
|
|
|
|
|
<stringProp name="HTTPSampler.embedded_url_re"></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.test_field">Assertion.response_code</stringProp>
|
|
|
|
|
<boolProp name="Assertion.assume_success">false</boolProp>
|
|
|
|
|
<intProp name="Assertion.test_type">8</intProp>
|
|
|
|
|
</ResponseAssertion>
|
|
|
|
|
<hashTree/>
|
|
|
|
|
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
|
|
|
|
|
<collectionProp name="Asserion.test_strings">
|
|
|
|
|
<stringProp name="-1552027180">"login":"gis"</stringProp>
|
|
|
|
|
</collectionProp>
|
|
|
|
|
<stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
|
|
|
|
|
<boolProp name="Assertion.assume_success">false</boolProp>
|
|
|
|
|
<intProp name="Assertion.test_type">2</intProp>
|
|
|
|
|
</ResponseAssertion>
|
|
|
|
|
<hashTree/>
|
|
|
|
|
</hashTree>
|
|
|
|
|
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="CheckPermission" enabled="true">
|
|
|
|
|
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
|
|
|
|
|
<collectionProp name="Arguments.arguments">
|
|
|
|
|
<elementProp name="token" elementType="HTTPArgument">
|
|
|
|
|
<boolProp name="HTTPArgument.always_encode">false</boolProp>
|
|
|
|
|
<stringProp name="Argument.value">${currentToken}</stringProp>
|
|
|
|
|
<stringProp name="Argument.metadata">=</stringProp>
|
|
|
|
|
<boolProp name="HTTPArgument.use_equals">true</boolProp>
|
|
|
|
|
<stringProp name="Argument.name">token</stringProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
<elementProp name="permission" elementType="HTTPArgument">
|
|
|
|
|
<boolProp name="HTTPArgument.always_encode">false</boolProp>
|
|
|
|
|
<stringProp name="Argument.value">GIS_CRUD</stringProp>
|
|
|
|
|
<stringProp name="Argument.metadata">=</stringProp>
|
|
|
|
|
<boolProp name="HTTPArgument.use_equals">true</boolProp>
|
|
|
|
|
<stringProp name="Argument.name">permission</stringProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
</collectionProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
<stringProp name="HTTPSampler.domain"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.port"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.protocol"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.path">/auth-ws/checkPermissionForToken</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>
|
|
|
|
|
<boolProp name="HTTPSampler.monitor">false</boolProp>
|
|
|
|
|
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
|
|
|
|
</HTTPSamplerProxy>
|
|
|
|
|
<hashTree>
|
|
|
|
|
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
|
|
|
|
|
<collectionProp name="Asserion.test_strings">
|
|
|
|
|
<stringProp name="3569038">true</stringProp>
|
|
|
|
|
</collectionProp>
|
|
|
|
|
<stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
|
|
|
|
|
<boolProp name="Assertion.assume_success">false</boolProp>
|
|
|
|
|
<intProp name="Assertion.test_type">16</intProp>
|
|
|
|
|
</ResponseAssertion>
|
|
|
|
|
<hashTree/>
|
|
|
|
|
</hashTree>
|
|
|
|
|
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Invalidate" enabled="true">
|
|
|
|
|
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
|
|
|
|
|
<collectionProp name="Arguments.arguments">
|
|
|
|
|
<elementProp name="token" elementType="HTTPArgument">
|
|
|
|
|
<boolProp name="HTTPArgument.always_encode">false</boolProp>
|
|
|
|
|
<stringProp name="Argument.value">${currentToken}</stringProp>
|
|
|
|
|
<stringProp name="Argument.metadata">=</stringProp>
|
|
|
|
|
<boolProp name="HTTPArgument.use_equals">true</boolProp>
|
|
|
|
|
<stringProp name="Argument.name">token</stringProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
</collectionProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
<stringProp name="HTTPSampler.domain"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.port"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.protocol"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.path">/auth-ws/invalidateToken</stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.method">POST</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>
|
|
|
|
|
<boolProp name="HTTPSampler.monitor">false</boolProp>
|
|
|
|
|
<stringProp name="HTTPSampler.embedded_url_re"></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.test_field">Assertion.response_code</stringProp>
|
|
|
|
|
<boolProp name="Assertion.assume_success">false</boolProp>
|
|
|
|
|
<intProp name="Assertion.test_type">16</intProp>
|
|
|
|
|
</ResponseAssertion>
|
|
|
|
|
<hashTree/>
|
|
|
|
|
</hashTree>
|
|
|
|
|
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="CheckPermission is false" enabled="true">
|
|
|
|
|
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
|
|
|
|
|
<collectionProp name="Arguments.arguments">
|
|
|
|
|
<elementProp name="token" elementType="HTTPArgument">
|
|
|
|
|
<boolProp name="HTTPArgument.always_encode">false</boolProp>
|
|
|
|
|
<stringProp name="Argument.value">${currentToken}</stringProp>
|
|
|
|
|
<stringProp name="Argument.metadata">=</stringProp>
|
|
|
|
|
<boolProp name="HTTPArgument.use_equals">true</boolProp>
|
|
|
|
|
<stringProp name="Argument.name">token</stringProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
<elementProp name="permission" elementType="HTTPArgument">
|
|
|
|
|
<boolProp name="HTTPArgument.always_encode">false</boolProp>
|
|
|
|
|
<stringProp name="Argument.value">GIS_CRUD</stringProp>
|
|
|
|
|
<stringProp name="Argument.metadata">=</stringProp>
|
|
|
|
|
<boolProp name="HTTPArgument.use_equals">true</boolProp>
|
|
|
|
|
<stringProp name="Argument.name">permission</stringProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
</collectionProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
<stringProp name="HTTPSampler.domain"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.port"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.protocol"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.path">/auth-ws/checkPermissionForToken</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>
|
|
|
|
|
<boolProp name="HTTPSampler.monitor">false</boolProp>
|
|
|
|
|
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
|
|
|
|
</HTTPSamplerProxy>
|
|
|
|
|
<hashTree>
|
|
|
|
|
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
|
|
|
|
|
<collectionProp name="Asserion.test_strings">
|
|
|
|
|
<stringProp name="51508">400</stringProp>
|
|
|
|
|
</collectionProp>
|
|
|
|
|
<stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
|
|
|
|
|
<boolProp name="Assertion.assume_success">true</boolProp>
|
|
|
|
|
<intProp name="Assertion.test_type">8</intProp>
|
|
|
|
|
</ResponseAssertion>
|
|
|
|
|
<hashTree/>
|
|
|
|
|
</hashTree>
|
|
|
|
|
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Session should not exist" enabled="true">
|
|
|
|
|
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
|
|
|
|
|
<collectionProp name="Arguments.arguments">
|
|
|
|
|
<elementProp name="token" elementType="HTTPArgument">
|
|
|
|
|
<boolProp name="HTTPArgument.always_encode">false</boolProp>
|
|
|
|
|
<stringProp name="Argument.value">${currentToken}</stringProp>
|
|
|
|
|
<stringProp name="Argument.metadata">=</stringProp>
|
|
|
|
|
<boolProp name="HTTPArgument.use_equals">true</boolProp>
|
|
|
|
|
<stringProp name="Argument.name">token</stringProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
</collectionProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
<stringProp name="HTTPSampler.domain"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.port"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.protocol"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.path">/auth-ws/getUserForToken</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>
|
|
|
|
|
<boolProp name="HTTPSampler.monitor">false</boolProp>
|
|
|
|
|
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
|
|
|
|
</HTTPSamplerProxy>
|
|
|
|
|
<hashTree>
|
|
|
|
|
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
|
|
|
|
|
<collectionProp name="Asserion.test_strings">
|
|
|
|
|
<stringProp name="51508">400</stringProp>
|
|
|
|
|
</collectionProp>
|
|
|
|
|
<stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
|
|
|
|
|
<boolProp name="Assertion.assume_success">true</boolProp>
|
|
|
|
|
<intProp name="Assertion.test_type">8</intProp>
|
|
|
|
|
</ResponseAssertion>
|
|
|
|
|
<hashTree/>
|
|
|
|
|
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
|
|
|
|
|
<collectionProp name="Asserion.test_strings">
|
|
|
|
|
<stringProp name="1683884892">No active session found for given token</stringProp>
|
|
|
|
|
</collectionProp>
|
|
|
|
|
<stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
|
|
|
|
|
<boolProp name="Assertion.assume_success">false</boolProp>
|
|
|
|
|
<intProp name="Assertion.test_type">16</intProp>
|
|
|
|
|
</ResponseAssertion>
|
|
|
|
|
<hashTree/>
|
|
|
|
|
</hashTree>
|
|
|
|
|
</hashTree>
|
|
|
|
|
<TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="Log in and check permission which is forbidden" enabled="true">
|
|
|
|
|
<boolProp name="TransactionController.includeTimers">false</boolProp>
|
|
|
|
|
<boolProp name="TransactionController.parent">false</boolProp>
|
|
|
|
|
</TransactionController>
|
|
|
|
|
<hashTree>
|
|
|
|
|
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Authenticate" enabled="true">
|
|
|
|
|
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
|
|
|
|
|
<collectionProp name="Arguments.arguments">
|
|
|
|
|
<elementProp name="login" elementType="HTTPArgument">
|
|
|
|
|
<boolProp name="HTTPArgument.always_encode">false</boolProp>
|
|
|
|
|
<stringProp name="Argument.value">gis</stringProp>
|
|
|
|
|
<stringProp name="Argument.metadata">=</stringProp>
|
|
|
|
|
<boolProp name="HTTPArgument.use_equals">true</boolProp>
|
|
|
|
|
<stringProp name="Argument.name">login</stringProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
<elementProp name="password" elementType="HTTPArgument">
|
|
|
|
|
<boolProp name="HTTPArgument.always_encode">false</boolProp>
|
|
|
|
|
<stringProp name="Argument.value">gis</stringProp>
|
|
|
|
|
<stringProp name="Argument.metadata">=</stringProp>
|
|
|
|
|
<boolProp name="HTTPArgument.use_equals">true</boolProp>
|
|
|
|
|
<stringProp name="Argument.name">password</stringProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
</collectionProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
<stringProp name="HTTPSampler.domain"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.port"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.protocol"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.path">/auth-ws/authenticate</stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.method">POST</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>
|
|
|
|
|
<boolProp name="HTTPSampler.monitor">false</boolProp>
|
|
|
|
|
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
|
|
|
|
</HTTPSamplerProxy>
|
|
|
|
|
<hashTree>
|
|
|
|
|
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor" enabled="true">
|
|
|
|
|
<stringProp name="RegexExtractor.useHeaders">false</stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.refname">currentToken</stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.regex">"currentToken":"([^"]*)"</stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.template">$1$</stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.default"></stringProp>
|
|
|
|
|
<stringProp name="RegexExtractor.match_number">1</stringProp>
|
|
|
|
|
</RegexExtractor>
|
|
|
|
|
<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.test_field">Assertion.response_code</stringProp>
|
|
|
|
|
<boolProp name="Assertion.assume_success">false</boolProp>
|
|
|
|
|
<intProp name="Assertion.test_type">8</intProp>
|
|
|
|
|
</ResponseAssertion>
|
|
|
|
|
<hashTree/>
|
|
|
|
|
</hashTree>
|
|
|
|
|
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get user info" enabled="true">
|
|
|
|
|
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
|
|
|
|
|
<collectionProp name="Arguments.arguments">
|
|
|
|
|
<elementProp name="token" elementType="HTTPArgument">
|
|
|
|
|
<boolProp name="HTTPArgument.always_encode">false</boolProp>
|
|
|
|
|
<stringProp name="Argument.value">${currentToken}</stringProp>
|
|
|
|
|
<stringProp name="Argument.metadata">=</stringProp>
|
|
|
|
|
<boolProp name="HTTPArgument.use_equals">true</boolProp>
|
|
|
|
|
<stringProp name="Argument.name">token</stringProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
</collectionProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
<stringProp name="HTTPSampler.domain"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.port"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.protocol"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.path">/auth-ws/getUserForToken</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>
|
|
|
|
|
<boolProp name="HTTPSampler.monitor">false</boolProp>
|
|
|
|
|
<stringProp name="HTTPSampler.embedded_url_re"></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.test_field">Assertion.response_code</stringProp>
|
|
|
|
|
<boolProp name="Assertion.assume_success">false</boolProp>
|
|
|
|
|
<intProp name="Assertion.test_type">8</intProp>
|
|
|
|
|
</ResponseAssertion>
|
|
|
|
|
<hashTree/>
|
|
|
|
|
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
|
|
|
|
|
<collectionProp name="Asserion.test_strings">
|
|
|
|
|
<stringProp name="-1552027180">"login":"gis"</stringProp>
|
|
|
|
|
</collectionProp>
|
|
|
|
|
<stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
|
|
|
|
|
<boolProp name="Assertion.assume_success">false</boolProp>
|
|
|
|
|
<intProp name="Assertion.test_type">2</intProp>
|
|
|
|
|
</ResponseAssertion>
|
|
|
|
|
<hashTree/>
|
|
|
|
|
</hashTree>
|
|
|
|
|
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="CheckPermission is false" enabled="true">
|
|
|
|
|
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
|
|
|
|
|
<collectionProp name="Arguments.arguments">
|
|
|
|
|
<elementProp name="token" elementType="HTTPArgument">
|
|
|
|
|
<boolProp name="HTTPArgument.always_encode">false</boolProp>
|
|
|
|
|
<stringProp name="Argument.value">${currentToken}</stringProp>
|
|
|
|
|
<stringProp name="Argument.metadata">=</stringProp>
|
|
|
|
|
<boolProp name="HTTPArgument.use_equals">true</boolProp>
|
|
|
|
|
<stringProp name="Argument.name">token</stringProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
<elementProp name="permission" elementType="HTTPArgument">
|
|
|
|
|
<boolProp name="HTTPArgument.always_encode">false</boolProp>
|
|
|
|
|
<stringProp name="Argument.value">PROFILES_CRUD</stringProp>
|
|
|
|
|
<stringProp name="Argument.metadata">=</stringProp>
|
|
|
|
|
<boolProp name="HTTPArgument.use_equals">true</boolProp>
|
|
|
|
|
<stringProp name="Argument.name">permission</stringProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
</collectionProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
<stringProp name="HTTPSampler.domain"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.port"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.protocol"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.path">/auth-ws/checkPermissionForToken</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>
|
|
|
|
|
<boolProp name="HTTPSampler.monitor">false</boolProp>
|
|
|
|
|
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
|
|
|
|
</HTTPSamplerProxy>
|
|
|
|
|
<hashTree>
|
|
|
|
|
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
|
|
|
|
|
<collectionProp name="Asserion.test_strings">
|
|
|
|
|
<stringProp name="97196323">false</stringProp>
|
|
|
|
|
</collectionProp>
|
|
|
|
|
<stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
|
|
|
|
|
<boolProp name="Assertion.assume_success">true</boolProp>
|
|
|
|
|
<intProp name="Assertion.test_type">8</intProp>
|
|
|
|
|
</ResponseAssertion>
|
|
|
|
|
<hashTree/>
|
|
|
|
|
</hashTree>
|
|
|
|
|
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Invalidate" enabled="true">
|
|
|
|
|
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
|
|
|
|
|
<collectionProp name="Arguments.arguments">
|
|
|
|
|
<elementProp name="token" elementType="HTTPArgument">
|
|
|
|
|
<boolProp name="HTTPArgument.always_encode">false</boolProp>
|
|
|
|
|
<stringProp name="Argument.value">${currentToken}</stringProp>
|
|
|
|
|
<stringProp name="Argument.metadata">=</stringProp>
|
|
|
|
|
<boolProp name="HTTPArgument.use_equals">true</boolProp>
|
|
|
|
|
<stringProp name="Argument.name">token</stringProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
</collectionProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
<stringProp name="HTTPSampler.domain"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.port"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.protocol"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.path">/auth-ws/invalidateToken</stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.method">POST</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>
|
|
|
|
|
<boolProp name="HTTPSampler.monitor">false</boolProp>
|
|
|
|
|
<stringProp name="HTTPSampler.embedded_url_re"></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.test_field">Assertion.response_code</stringProp>
|
|
|
|
|
<boolProp name="Assertion.assume_success">false</boolProp>
|
|
|
|
|
<intProp name="Assertion.test_type">16</intProp>
|
|
|
|
|
</ResponseAssertion>
|
|
|
|
|
<hashTree/>
|
|
|
|
|
</hashTree>
|
|
|
|
|
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Session should not exist" enabled="true">
|
|
|
|
|
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
|
|
|
|
|
<collectionProp name="Arguments.arguments">
|
|
|
|
|
<elementProp name="token" elementType="HTTPArgument">
|
|
|
|
|
<boolProp name="HTTPArgument.always_encode">false</boolProp>
|
|
|
|
|
<stringProp name="Argument.value">${currentToken}</stringProp>
|
|
|
|
|
<stringProp name="Argument.metadata">=</stringProp>
|
|
|
|
|
<boolProp name="HTTPArgument.use_equals">true</boolProp>
|
|
|
|
|
<stringProp name="Argument.name">token</stringProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
<elementProp name="permission" elementType="HTTPArgument">
|
|
|
|
|
<boolProp name="HTTPArgument.always_encode">false</boolProp>
|
|
|
|
|
<stringProp name="Argument.value">GIS_CRUD</stringProp>
|
|
|
|
|
<stringProp name="Argument.metadata">=</stringProp>
|
|
|
|
|
<boolProp name="HTTPArgument.use_equals">true</boolProp>
|
|
|
|
|
<stringProp name="Argument.name">permission</stringProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
</collectionProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
<stringProp name="HTTPSampler.domain"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.port"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.protocol"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.path">/auth-ws/getUserForToken</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>
|
|
|
|
|
<boolProp name="HTTPSampler.monitor">false</boolProp>
|
|
|
|
|
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
|
|
|
|
</HTTPSamplerProxy>
|
|
|
|
|
<hashTree>
|
|
|
|
|
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
|
|
|
|
|
<collectionProp name="Asserion.test_strings">
|
|
|
|
|
<stringProp name="51508">400</stringProp>
|
|
|
|
|
</collectionProp>
|
|
|
|
|
<stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
|
|
|
|
|
<boolProp name="Assertion.assume_success">true</boolProp>
|
|
|
|
|
<intProp name="Assertion.test_type">8</intProp>
|
|
|
|
|
</ResponseAssertion>
|
|
|
|
|
<hashTree/>
|
|
|
|
|
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
|
|
|
|
|
<collectionProp name="Asserion.test_strings">
|
|
|
|
|
<stringProp name="1683884892">No active session found for given token</stringProp>
|
|
|
|
|
</collectionProp>
|
|
|
|
|
<stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
|
|
|
|
|
<boolProp name="Assertion.assume_success">false</boolProp>
|
|
|
|
|
<intProp name="Assertion.test_type">16</intProp>
|
|
|
|
|
</ResponseAssertion>
|
|
|
|
|
<hashTree/>
|
|
|
|
|
</hashTree>
|
|
|
|
|
</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>false</fieldNames>
|
|
|
|
|
<responseHeaders>false</responseHeaders>
|
|
|
|
|
<requestHeaders>false</requestHeaders>
|
|
|
|
|
<responseDataOnError>false</responseDataOnError>
|
|
|
|
|
<saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage>
|
|
|
|
|
<assertionsResultsToSave>0</assertionsResultsToSave>
|
|
|
|
|
<bytes>true</bytes>
|
|
|
|
|
<threadCounts>true</threadCounts>
|
|
|
|
|
</value>
|
|
|
|
|
</objProp>
|
|
|
|
|
<stringProp name="filename"></stringProp>
|
|
|
|
|
</ResultCollector>
|
|
|
|
|
<hashTree/>
|
|
|
|
|
<TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="Check permission using invalid token" enabled="true">
|
|
|
|
|
<boolProp name="TransactionController.includeTimers">false</boolProp>
|
|
|
|
|
<boolProp name="TransactionController.parent">false</boolProp>
|
|
|
|
|
</TransactionController>
|
|
|
|
|
<hashTree>
|
|
|
|
|
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="CheckPermission" enabled="true">
|
|
|
|
|
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
|
|
|
|
|
<collectionProp name="Arguments.arguments">
|
|
|
|
|
<elementProp name="token" elementType="HTTPArgument">
|
|
|
|
|
<boolProp name="HTTPArgument.always_encode">false</boolProp>
|
|
|
|
|
<stringProp name="Argument.value">token-not-existing</stringProp>
|
|
|
|
|
<stringProp name="Argument.metadata">=</stringProp>
|
|
|
|
|
<boolProp name="HTTPArgument.use_equals">true</boolProp>
|
|
|
|
|
<stringProp name="Argument.name">token</stringProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
<elementProp name="permission" elementType="HTTPArgument">
|
|
|
|
|
<boolProp name="HTTPArgument.always_encode">false</boolProp>
|
|
|
|
|
<stringProp name="Argument.value">GIS_CRUD</stringProp>
|
|
|
|
|
<stringProp name="Argument.metadata">=</stringProp>
|
|
|
|
|
<boolProp name="HTTPArgument.use_equals">true</boolProp>
|
|
|
|
|
<stringProp name="Argument.name">permission</stringProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
</collectionProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
<stringProp name="HTTPSampler.domain"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.port"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.protocol"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.path">/auth-ws/checkPermissionForToken</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>
|
|
|
|
|
<boolProp name="HTTPSampler.monitor">false</boolProp>
|
|
|
|
|
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
|
|
|
|
</HTTPSamplerProxy>
|
|
|
|
|
<hashTree>
|
|
|
|
|
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
|
|
|
|
|
<collectionProp name="Asserion.test_strings">
|
|
|
|
|
<stringProp name="51508">400</stringProp>
|
|
|
|
|
</collectionProp>
|
|
|
|
|
<stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
|
|
|
|
|
<boolProp name="Assertion.assume_success">true</boolProp>
|
|
|
|
|
<intProp name="Assertion.test_type">16</intProp>
|
|
|
|
|
</ResponseAssertion>
|
|
|
|
|
<hashTree/>
|
|
|
|
|
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
|
|
|
|
|
<collectionProp name="Asserion.test_strings">
|
|
|
|
|
<stringProp name="1683884892">No active session found for given token</stringProp>
|
|
|
|
|
</collectionProp>
|
|
|
|
|
<stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
|
|
|
|
|
<boolProp name="Assertion.assume_success">false</boolProp>
|
|
|
|
|
<intProp name="Assertion.test_type">16</intProp>
|
|
|
|
|
</ResponseAssertion>
|
|
|
|
|
<hashTree/>
|
|
|
|
|
</hashTree>
|
|
|
|
|
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get user info" enabled="true">
|
|
|
|
|
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
|
|
|
|
|
<collectionProp name="Arguments.arguments">
|
|
|
|
|
<elementProp name="token" elementType="HTTPArgument">
|
|
|
|
|
<boolProp name="HTTPArgument.always_encode">false</boolProp>
|
|
|
|
|
<stringProp name="Argument.value">token-not-existing</stringProp>
|
|
|
|
|
<stringProp name="Argument.metadata">=</stringProp>
|
|
|
|
|
<boolProp name="HTTPArgument.use_equals">true</boolProp>
|
|
|
|
|
<stringProp name="Argument.name">token</stringProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
</collectionProp>
|
|
|
|
|
</elementProp>
|
|
|
|
|
<stringProp name="HTTPSampler.domain"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.port"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.response_timeout"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.protocol"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
|
|
|
|
|
<stringProp name="HTTPSampler.path">/auth-ws/getUserForToken</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>
|
|
|
|
|
<boolProp name="HTTPSampler.monitor">false</boolProp>
|
|
|
|
|
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
|
|
|
|
</HTTPSamplerProxy>
|
|
|
|
|
<hashTree>
|
|
|
|
|
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
|
|
|
|
|
<collectionProp name="Asserion.test_strings">
|
|
|
|
|
<stringProp name="51508">400</stringProp>
|
|
|
|
|
</collectionProp>
|
|
|
|
|
<stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
|
|
|
|
|
<boolProp name="Assertion.assume_success">true</boolProp>
|
|
|
|
|
<intProp name="Assertion.test_type">16</intProp>
|
|
|
|
|
</ResponseAssertion>
|
|
|
|
|
<hashTree/>
|
|
|
|
|
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
|
|
|
|
|
<collectionProp name="Asserion.test_strings">
|
|
|
|
|
<stringProp name="1683884892">No active session found for given token</stringProp>
|
|
|
|
|
</collectionProp>
|
|
|
|
|
<stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
|
|
|
|
|
<boolProp name="Assertion.assume_success">false</boolProp>
|
|
|
|
|
<intProp name="Assertion.test_type">16</intProp>
|
|
|
|
|
</ResponseAssertion>
|
|
|
|
|
<hashTree/>
|
|
|
|
|
</hashTree>
|
|
|
|
|
</hashTree>
|
|
|
|
|
</hashTree>
|
|
|
|
|
</hashTree>
|
|
|
|
|
</hashTree>
|
|
|
|
|
</jmeterTestPlan>
|