Created
April 17, 2024 05:06
-
-
Save TharmiganK/6098afe243c8032c69bcb73d42ba380c to your computer and use it in GitHub Desktop.
Load test configuration
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
<?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" 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> | |
<ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Users"> | |
<intProp name="ThreadGroup.num_threads">60</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">9999</stringProp> | |
<stringProp name="HTTPSampler.protocol">http</stringProp> | |
<stringProp name="HTTPSampler.path">passthrough</stringProp> | |
<boolProp name="HTTPSampler.follow_redirects">true</boolProp> | |
<stringProp name="HTTPSampler.method">POST</stringProp> | |
<boolProp name="HTTPSampler.use_keepalive">true</boolProp> | |
<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">{
 | |
"users": [
 | |
{
 | |
"id": 1,
 | |
"username": "user1",
 | |
"email": "user1@example.com",
 | |
"age": 25,
 | |
"gender": "male",
 | |
"address": {
 | |
"street": "123 Main St",
 | |
"city": "New York",
 | |
"state": "NY",
 | |
"zip": "10001"
 | |
}
 | |
},
 | |
{
 | |
"id": 2,
 | |
"username": "user2",
 | |
"email": "user2@example.com",
 | |
"age": 30,
 | |
"gender": "female",
 | |
"address": {
 | |
"street": "456 Elm St",
 | |
"city": "Los Angeles",
 | |
"state": "CA",
 | |
"zip": "90001"
 | |
}
 | |
},
 | |
{
 | |
"id": 3,
 | |
"username": "user3",
 | |
"email": "user3@example.com",
 | |
"age": 28,
 | |
"gender": "male",
 | |
"address": {
 | |
"street": "789 Oak St",
 | |
"city": "Chicago",
 | |
"state": "IL",
 | |
"zip": "60001"
 | |
}
 | |
},
 | |
{
 | |
"id": 4,
 | |
"username": "user4",
 | |
"email": "user4@example.com",
 | |
"age": 35,
 | |
"gender": "female",
 | |
"address": {
 | |
"street": "1011 Pine St",
 | |
"city": "Houston",
 | |
"state": "TX",
 | |
"zip": "77001"
 | |
}
 | |
},
 | |
{
 | |
"id": 5,
 | |
"username": "user5",
 | |
"email": "user5@example.com",
 | |
"age": 27,
 | |
"gender": "male",
 | |
"address": {
 | |
"street": "1213 Maple St",
 | |
"city": "Miami",
 | |
"state": "FL",
 | |
"zip": "33001"
 | |
}
 | |
}
 | |
]
 | |
}</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">1</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