-
Notifications
You must be signed in to change notification settings - Fork 295
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Secrets changes, config.json * Bugfix * Review comments * SampleApp secret Co-authored-by: Example man <[email protected]>
- Loading branch information
1 parent
449b9b1
commit f6fc8a8
Showing
3 changed files
with
190 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,176 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.4.1"> | ||
<hashTree> | ||
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Test Plan" 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="User Defined Variables" enabled="true"> | ||
<collectionProp name="Arguments.arguments"> | ||
<elementProp name="appToken" elementType="Argument"> | ||
<stringProp name="Argument.name">appToken</stringProp> | ||
<stringProp name="Argument.value">${__GetSecret(appToken)}</stringProp> | ||
<stringProp name="Argument.desc">Value for x-secret header </stringProp> | ||
<stringProp name="Argument.metadata">=</stringProp> | ||
</elementProp> | ||
</collectionProp> | ||
</Arguments> | ||
<hashTree/> | ||
<kg.apc.jmeter.threads.UltimateThreadGroup guiclass="kg.apc.jmeter.threads.UltimateThreadGroupGui" testclass="kg.apc.jmeter.threads.UltimateThreadGroup" testname="jp@gc - Ultimate Thread Group" enabled="true"> | ||
<collectionProp name="ultimatethreadgroupdata"> | ||
<collectionProp name="1400604752"> | ||
<stringProp name="1567">10</stringProp> | ||
<stringProp name="0">0</stringProp> | ||
<stringProp name="48873">180</stringProp> | ||
<stringProp name="49710">240</stringProp> | ||
<stringProp name="10">10</stringProp> | ||
</collectionProp> | ||
</collectionProp> | ||
<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.on_sample_error">continue</stringProp> | ||
</kg.apc.jmeter.threads.UltimateThreadGroup> | ||
<hashTree> | ||
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true"> | ||
<collectionProp name="HeaderManager.headers"> | ||
<elementProp name="" elementType="Header"> | ||
<stringProp name="Header.name">x-secret</stringProp> | ||
<stringProp name="Header.value">${appToken}</stringProp> | ||
</elementProp> | ||
</collectionProp> | ||
</HeaderManager> | ||
<hashTree/> | ||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="lasttimestamp" 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">isaacnitinwus2.azurewebsites.net</stringProp> | ||
<stringProp name="HTTPSampler.port"></stringProp> | ||
<stringProp name="HTTPSampler.protocol">https</stringProp> | ||
<stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
<stringProp name="HTTPSampler.path">lasttimestamp</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.implementation">HttpClient4</stringProp> | ||
<stringProp name="HTTPSampler.connect_timeout">60000</stringProp> | ||
<stringProp name="HTTPSampler.response_timeout">60000</stringProp> | ||
</HTTPSamplerProxy> | ||
<hashTree/> | ||
</hashTree> | ||
<kg.apc.jmeter.threads.UltimateThreadGroup guiclass="kg.apc.jmeter.threads.UltimateThreadGroupGui" testclass="kg.apc.jmeter.threads.UltimateThreadGroup" testname="jp@gc - Ultimate Thread Group" enabled="true"> | ||
<collectionProp name="ultimatethreadgroupdata"> | ||
<collectionProp name="1400604752"> | ||
<stringProp name="1567">10</stringProp> | ||
<stringProp name="0">0</stringProp> | ||
<stringProp name="48873">180</stringProp> | ||
<stringProp name="49710">240</stringProp> | ||
<stringProp name="10">10</stringProp> | ||
</collectionProp> | ||
</collectionProp> | ||
<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.on_sample_error">continue</stringProp> | ||
</kg.apc.jmeter.threads.UltimateThreadGroup> | ||
<hashTree> | ||
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true"> | ||
<collectionProp name="HeaderManager.headers"> | ||
<elementProp name="" elementType="Header"> | ||
<stringProp name="Header.name">x-secret</stringProp> | ||
<stringProp name="Header.value">${appToken}</stringProp> | ||
</elementProp> | ||
</collectionProp> | ||
</HeaderManager> | ||
<hashTree/> | ||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="add" 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">2</stringProp> | ||
<stringProp name="Argument.metadata">=</stringProp> | ||
</elementProp> | ||
</collectionProp> | ||
</elementProp> | ||
<stringProp name="HTTPSampler.domain">isaacnitinwus2.azurewebsites.net</stringProp> | ||
<stringProp name="HTTPSampler.port"></stringProp> | ||
<stringProp name="HTTPSampler.protocol">https</stringProp> | ||
<stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
<stringProp name="HTTPSampler.path">add</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> | ||
<stringProp name="HTTPSampler.embedded_url_re"></stringProp> | ||
<stringProp name="HTTPSampler.implementation">HttpClient4</stringProp> | ||
<stringProp name="HTTPSampler.connect_timeout">60000</stringProp> | ||
<stringProp name="HTTPSampler.response_timeout">60000</stringProp> | ||
</HTTPSamplerProxy> | ||
<hashTree/> | ||
</hashTree> | ||
<kg.apc.jmeter.threads.UltimateThreadGroup guiclass="kg.apc.jmeter.threads.UltimateThreadGroupGui" testclass="kg.apc.jmeter.threads.UltimateThreadGroup" testname="jp@gc - Ultimate Thread Group" enabled="true"> | ||
<collectionProp name="ultimatethreadgroupdata"> | ||
<collectionProp name="1400604752"> | ||
<stringProp name="1567">10</stringProp> | ||
<stringProp name="0">0</stringProp> | ||
<stringProp name="48873">180</stringProp> | ||
<stringProp name="49710">240</stringProp> | ||
<stringProp name="10">10</stringProp> | ||
</collectionProp> | ||
</collectionProp> | ||
<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.on_sample_error">continue</stringProp> | ||
</kg.apc.jmeter.threads.UltimateThreadGroup> | ||
<hashTree> | ||
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true"> | ||
<collectionProp name="HeaderManager.headers"> | ||
<elementProp name="" elementType="Header"> | ||
<stringProp name="Header.name">x-secret</stringProp> | ||
<stringProp name="Header.value">${appToken}</stringProp> | ||
</elementProp> | ||
</collectionProp> | ||
</HeaderManager> | ||
<hashTree/> | ||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="get" 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">isaacnitinwus2.azurewebsites.net</stringProp> | ||
<stringProp name="HTTPSampler.port"></stringProp> | ||
<stringProp name="HTTPSampler.protocol">https</stringProp> | ||
<stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
<stringProp name="HTTPSampler.path">get</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.implementation">HttpClient4</stringProp> | ||
<stringProp name="HTTPSampler.connect_timeout">60000</stringProp> | ||
<stringProp name="HTTPSampler.response_timeout">60000</stringProp> | ||
</HTTPSamplerProxy> | ||
<hashTree/> | ||
</hashTree> | ||
</hashTree> | ||
</hashTree> | ||
</jmeterTestPlan> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"enableSecretsFeature": false, | ||
"secretHeaderValue": "1797669089" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters