Skip to content

Instantly share code, notes, and snippets.

@TharmiganK
Created April 24, 2024 10:11
Show Gist options
  • Save TharmiganK/8f78d8a3ec820661c4fdab7ee723ad7e to your computer and use it in GitHub Desktop.
Save TharmiganK/8f78d8a3ec820661c4fdab7ee723ad7e to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.6.3">
<hashTree>
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Test Plan">
<boolProp name="TestPlan.tearDown_on_shutdown">true</boolProp>
<elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
<collectionProp name="Arguments.arguments"/>
</elementProp>
</TestPlan>
<hashTree>
<ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Users">
<boolProp name="ThreadGroup.delayedStart">true</boolProp>
<intProp name="ThreadGroup.num_threads">200</intProp>
<intProp name="ThreadGroup.ramp_time">60</intProp>
<longProp name="ThreadGroup.duration">300</longProp>
<boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
<boolProp name="ThreadGroup.scheduler">true</boolProp>
<stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
<elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller">
<intProp name="LoopController.loops">-1</intProp>
<boolProp name="LoopController.continue_forever">false</boolProp>
</elementProp>
</ThreadGroup>
<hashTree>
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="HTTP Request">
<intProp name="HTTPSampler.connect_timeout">10000</intProp>
<intProp name="HTTPSampler.response_timeout">30000</intProp>
<stringProp name="HTTPSampler.domain">localhost</stringProp>
<stringProp name="HTTPSampler.port">9090</stringProp>
<stringProp name="HTTPSampler.protocol">https</stringProp>
<stringProp name="HTTPSampler.path">transform</stringProp>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<stringProp name="HTTPSampler.method">POST</stringProp>
<boolProp name="HTTPSampler.use_keepalive">true</boolProp>
<elementProp name="HTTPsampler.Files" elementType="HTTPFileArgs">
<collectionProp name="HTTPFileArgs.files">
<elementProp name="${__P(payload, /home/anjana/repos/ballerina-performance/scripts/payloads/1024B.json)}" elementType="HTTPFileArg">
<stringProp name="File.path">${__P(payload, /home/anjana/repos/ballerina-performance/scripts/payloads/1024B.json)}</stringProp>
<stringProp name="File.paramname"></stringProp>
<stringProp name="File.mimetype"></stringProp>
</elementProp>
</collectionProp>
</elementProp>
<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">{&quot;size&quot;:&quot;1024B&quot;,&quot;payload&quot;:[&quot;0123456789&quot;,&quot;ABCDEFGHIJ&quot;,&quot;KLMNOPQRST&quot;,&quot;UVWXYZabcd&quot;,&quot;efghijklmn&quot;,&quot;opqrstuvwx&quot;,&quot;yz01234567&quot;,&quot;89ABCDEFGH&quot;,&quot;IJKLMNOPQR&quot;,&quot;STUVWXYZab&quot;,&quot;cdefghijkl&quot;,&quot;mnopqrstuv&quot;,&quot;wxyz012345&quot;,&quot;6789ABCDEF&quot;,&quot;GHIJKLMNOP&quot;,&quot;QRSTUVWXYZ&quot;,&quot;abcdefghij&quot;,&quot;klmnopqrst&quot;,&quot;uvwxyz0123&quot;,&quot;456789ABCD&quot;,&quot;EFGHIJKLMN&quot;,&quot;OPQRSTUVWX&quot;,&quot;YZabcdefgh&quot;,&quot;ijklmnopqr&quot;,&quot;stuvwxyz01&quot;,&quot;23456789AB&quot;,&quot;CDEFGHIJKL&quot;,&quot;MNOPQRSTUV&quot;,&quot;WXYZabcdef&quot;,&quot;ghijklmnop&quot;,&quot;qrstuvwxyz&quot;,&quot;0123456789&quot;,&quot;ABCDEFGHIJ&quot;,&quot;KLMNOPQRST&quot;,&quot;UVWXYZabcd&quot;,&quot;efghijklmn&quot;,&quot;opqrstuvwx&quot;,&quot;yz01234567&quot;,&quot;89ABCDEFGH&quot;,&quot;IJKLMNOPQR&quot;,&quot;STUVWXYZab&quot;,&quot;cdefghijkl&quot;,&quot;mnopqrstuv&quot;,&quot;wxyz012345&quot;,&quot;6789ABCDEF&quot;,&quot;GHIJKLMNOP&quot;,&quot;QRSTUVWXYZ&quot;,&quot;abcdefghij&quot;,&quot;klmnopqrst&quot;,&quot;uvwxyz0123&quot;,&quot;456789ABCD&quot;,&quot;EFGHIJKLMN&quot;,&quot;OPQRSTUVWX&quot;,&quot;YZabcdefgh&quot;,&quot;ijklmnopqr&quot;,&quot;stuvwxyz01&quot;,&quot;23456789AB&quot;,&quot;CDEFGHIJKL&quot;,&quot;MNOPQRSTUV&quot;,&quot;WXYZabcdef&quot;,&quot;ghijklmnop&quot;,&quot;qrstuvwxyz&quot;,&quot;0123456789&quot;,&quot;ABCDEFGHIJ&quot;,&quot;KLMNOPQRST&quot;,&quot;UVWXYZabcd&quot;,&quot;efghijklmn&quot;,&quot;opqrstuvwx&quot;,&quot;yz01234567&quot;,&quot;89ABCDEFGH&quot;,&quot;IJKLMNOPQR&quot;,&quot;STUVWXYZab&quot;,&quot;cdefghijkl&quot;,&quot;mnopqrstuv&quot;,&quot;wxyz012345&quot;,&quot;6789ABCDEF&quot;,&quot;GHIJK&quot;]}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
</collectionProp>
</elementProp>
<stringProp name="HTTPSampler.implementation">HttpClient4</stringProp>
</HTTPSamplerProxy>
<hashTree>
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager">
<collectionProp name="HeaderManager.headers">
<elementProp name="" elementType="Header">
<stringProp name="Header.name">Content-Type</stringProp>
<stringProp name="Header.value">application/json</stringProp>
</elementProp>
</collectionProp>
</HeaderManager>
<hashTree/>
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion">
<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>
<ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree">
<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">
<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/>
</hashTree>
</hashTree>
</hashTree>
</jmeterTestPlan>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment