Skip to content

Instantly share code, notes, and snippets.

@hpwit
Created March 15, 2019 20:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hpwit/7b46ccc0d02846564d3fdea7222a69ab to your computer and use it in GitHub Desktop.
Save hpwit/7b46ccc0d02846564d3fdea7222a69ab to your computer and use it in GitHub Desktop.
ss.xml
<?xml version="1.0" encoding="UTF-8"?>
<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.1 r1853635">
<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.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="host" elementType="Argument">
<stringProp name="Argument.name">host</stringProp>
<stringProp name="Argument.value">localhost</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="scheme" elementType="Argument">
<stringProp name="Argument.name">scheme</stringProp>
<stringProp name="Argument.value">https</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
</collectionProp>
</Arguments>
<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 name="" elementType="HTTPArgument">
<boolProp name="HTTPArgument.always_encode">false</boolProp>
<stringProp name="Argument.value"></stringProp>
<stringProp name="Argument.metadata"></stringProp>
<boolProp name="HTTPArgument.use_equals">true</boolProp>
<stringProp name="HTTPArgument.content_type">application/json</stringProp>
</elementProp>
</collectionProp>
</elementProp>
<stringProp name="HTTPSampler.domain">localhost</stringProp>
<stringProp name="HTTPSampler.port">8182</stringProp>
<stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
<stringProp name="HTTPSampler.path">/sncbOntoPricing/season</stringProp>
<stringProp name="HTTPSampler.concurrentPool">6</stringProp>
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
<stringProp name="HTTPSampler.response_timeout"></stringProp>
</ConfigTestElement>
<hashTree/>
<CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager" enabled="true">
<collectionProp name="CookieManager.cookies"/>
<boolProp name="CookieManager.clearEachIteration">false</boolProp>
</CookieManager>
<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>
<intProp name="LoopController.loops">-1</intProp>
</elementProp>
<stringProp name="ThreadGroup.num_threads">2500</stringProp>
<stringProp name="ThreadGroup.ramp_time">10</stringProp>
<longProp name="ThreadGroup.start_time">1370726934000</longProp>
<longProp name="ThreadGroup.end_time">1370726934000</longProp>
<boolProp name="ThreadGroup.scheduler">false</boolProp>
<stringProp name="ThreadGroup.duration"></stringProp>
<stringProp name="ThreadGroup.delay"></stringProp>
</ThreadGroup>
<hashTree>
<RecordingController guiclass="RecordController" testclass="RecordingController" testname="Recording Controller" enabled="true"/>
<hashTree>
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="post2Request" 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">{&#xd;
&quot;@id&quot; : &quot;http://www.sncb.be/ontoPricing/ontologies/import/seasonTicket.swd#ticket1&quot;,&#xd;
&quot;@type&quot; : [ &quot;p2:Ticket&quot; ],&#xd;
&quot;p2:travellerAge&quot; : null,&#xd;
&quot;p2:hasStartStation&quot; : {&#xd;
&quot;@id&quot; : &quot;http://www.sncb.be/ontoPricing/ontologies/import/seasonTicket.swd#Gent&quot;,&#xd;
&quot;@type&quot; : [ &quot;p2:Station&quot; ],&#xd;
&quot;p2:X&quot; : 3710675.0,&#xd;
&quot;p2:Y&quot; : 51035897.0&#xd;
},&#xd;
&quot;p2:priceValue&quot; : 415.0,&#xd;
&quot;p2:isForProduct&quot; : {&#xd;
&quot;@id&quot; : &quot;http://www.sncb.be/ontoPricing/ontologies/productsDefinition/season.swd#season-ticket&quot;&#xd;
},&#xd;
&quot;p2:distance&quot; : 49.0,&#xd;
&quot;p2:hasDestinationStation&quot; : {&#xd;
&quot;@id&quot; : &quot;http://www.sncb.be/ontoPricing/ontologies/import/seasonTicket.swd#BrusselsMidi&quot;,&#xd;
&quot;@type&quot; : [ &quot;p2:Station&quot; ],&#xd;
&quot;p2:X&quot; : 4336531.0,&#xd;
&quot;p2:Y&quot; : 50835707.0&#xd;
},&#xd;
&quot;p2:addCard&quot; : true,&#xd;
&quot;p2:calculatedPrice&quot; : 415.13,&#xd;
&quot;p2:travelsInClass&quot; : {&#xd;
&quot;@id&quot; : &quot;p2:second&quot;&#xd;
},&#xd;
&quot;p2:duration&quot; : 3.0,&#xd;
&quot;@context&quot; : {&#xd;
&quot;p2&quot; : &quot;http://www.sncb.be/ontoPricing/ontologies/pricingModel.owl#&quot;,&#xd;
&quot;p2:priceValue&quot; : {&#xd;
&quot;@type&quot; : &quot;http://www.w3.org/2001/XMLSchema#decimal&quot;&#xd;
},&#xd;
&quot;p2:X&quot; : {&#xd;
&quot;@type&quot; : &quot;http://www.w3.org/2001/XMLSchema#decimal&quot;&#xd;
},&#xd;
&quot;p2:Y&quot; : {&#xd;
&quot;@type&quot; : &quot;http://www.w3.org/2001/XMLSchema#decimal&quot;&#xd;
},&#xd;
&quot;p2:distance&quot; : {&#xd;
&quot;@type&quot; : &quot;http://www.w3.org/2001/XMLSchema#decimal&quot;&#xd;
},&#xd;
&quot;p2:calculatedPrice&quot; : {&#xd;
&quot;@type&quot; : &quot;http://www.w3.org/2001/XMLSchema#decimal&quot;&#xd;
},&#xd;
&quot;p2:duration&quot; : {&#xd;
&quot;@type&quot; : &quot;http://www.w3.org/2001/XMLSchema#decimal&quot;&#xd;
}&#xd;
}&#xd;
}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
</collectionProp>
</elementProp>
<stringProp name="HTTPSampler.domain">localhost</stringProp>
<stringProp name="HTTPSampler.port">8182</stringProp>
<stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
<stringProp name="HTTPSampler.path">/sncbOntoPricing/season</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.connect_timeout"></stringProp>
<stringProp name="HTTPSampler.response_timeout"></stringProp>
</HTTPSamplerProxy>
<hashTree/>
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="HTTP Request" enabled="false">
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
<collectionProp name="Arguments.arguments">
<elementProp name="" elementType="HTTPArgument">
<boolProp name="HTTPArgument.always_encode">false</boolProp>
<stringProp name="Argument.value"></stringProp>
<stringProp name="Argument.metadata"></stringProp>
<boolProp name="HTTPArgument.use_equals">false</boolProp>
<stringProp name="HTTPArgument.content_type">application/json</stringProp>
</elementProp>
</collectionProp>
</elementProp>
<stringProp name="HTTPSampler.domain">ghjghj</stringProp>
<stringProp name="HTTPSampler.port"></stringProp>
<stringProp name="HTTPSampler.protocol">http</stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
<stringProp name="HTTPSampler.path"></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/>
</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>false</dataType>
<encoding>false</encoding>
<assertions>true</assertions>
<subresults>false</subresults>
<responseData>false</responseData>
<samplerData>false</samplerData>
<xml>false</xml>
<fieldNames>true</fieldNames>
<responseHeaders>false</responseHeaders>
<requestHeaders>false</requestHeaders>
<responseDataOnError>true</responseDataOnError>
<saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
<assertionsResultsToSave>0</assertionsResultsToSave>
<bytes>true</bytes>
<hostname>true</hostname>
<threadCounts>true</threadCounts>
<sampleCount>true</sampleCount>
</value>
</objProp>
<stringProp name="filename"></stringProp>
</ResultCollector>
<hashTree/>
<ProxyControl guiclass="ProxyControlGui" testclass="ProxyControl" testname="HTTP(S) Test Script Recorder" enabled="false">
<stringProp name="ProxyControlGui.port">8888</stringProp>
<collectionProp name="ProxyControlGui.exclude_list">
<stringProp name="805311387">windowsupdate\.microsoft\.com.*</stringProp>
<stringProp name="1179605444">(?i).*\.(bmp|css|js|gif|ico|jpe?g|png|swf|eot|otf|ttf|mp4|woff|woff2)</stringProp>
<stringProp name="110431874">.*msg\.yahoo\.com.*</stringProp>
<stringProp name="-88591710">www\.download\.windowsupdate\.com.*</stringProp>
<stringProp name="1323576868">toolbarqueries\.google\..*</stringProp>
<stringProp name="1739087931">http?://self-repair\.mozilla\.org.*</stringProp>
<stringProp name="1206954446">tiles.*\.mozilla\.com.*</stringProp>
<stringProp name="-1424663473">.*detectportal\.firefox\.com.*</stringProp>
<stringProp name="1779943373">us\.update\.toolbar\.yahoo\.com.*</stringProp>
<stringProp name="-190610036">.*\.google\.com.*/safebrowsing/.*</stringProp>
<stringProp name="-1899150273">api\.bing\.com.*</stringProp>
<stringProp name="-958112859">toolbar\.google\.com.*</stringProp>
<stringProp name="-192420923">.*yimg\.com.*</stringProp>
<stringProp name="-576820688">toolbar\.msn\.com.*</stringProp>
<stringProp name="305776760">(?i).*\.(bmp|css|js|gif|ico|jpe?g|png|swf|eot|otf|ttf|mp4|woff|woff2)[\?;].*</stringProp>
<stringProp name="-1435252351">toolbar\.avg\.com/.*</stringProp>
<stringProp name="2118375536">www\.google-analytics\.com.*</stringProp>
<stringProp name="-1279148329">pgq\.yahoo\.com.*</stringProp>
<stringProp name="1815174768">safebrowsing.*\.google\.com.*</stringProp>
<stringProp name="-1314416226">sqm\.microsoft\.com.*</stringProp>
<stringProp name="587935979">g\.msn.*</stringProp>
<stringProp name="1629558731">clients.*\.google.*</stringProp>
<stringProp name="11072252">.*toolbar\.yahoo\.com.*</stringProp>
<stringProp name="1726898318">geo\.yahoo\.com.*</stringProp>
</collectionProp>
<collectionProp name="ProxyControlGui.include_list"/>
<boolProp name="ProxyControlGui.capture_http_headers">true</boolProp>
<intProp name="ProxyControlGui.grouping_mode">4</intProp>
<boolProp name="ProxyControlGui.add_assertion">false</boolProp>
<stringProp name="ProxyControlGui.sampler_type_name"></stringProp>
<boolProp name="ProxyControlGui.sampler_redirect_automatically">false</boolProp>
<boolProp name="ProxyControlGui.sampler_follow_redirects">true</boolProp>
<boolProp name="ProxyControlGui.use_keepalive">true</boolProp>
<boolProp name="ProxyControlGui.sampler_download_images">false</boolProp>
<boolProp name="ProxyControlGui.regex_match">true</boolProp>
<stringProp name="ProxyControlGui.content_type_include"></stringProp>
<stringProp name="ProxyControlGui.content_type_exclude"></stringProp>
<boolProp name="ProxyControlGui.notify_child_sl_filtered">false</boolProp>
<stringProp name="ProxyControlGui.proxy_prefix_http_sampler_name"></stringProp>
<intProp name="ProxyControlGui.proxy_http_sampler_naming_mode">1</intProp>
<stringProp name="ProxyControlGui.proxy_pause_http_sampler"></stringProp>
</ProxyControl>
<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>true</encoding>
<assertions>true</assertions>
<subresults>true</subresults>
<responseData>true</responseData>
<samplerData>true</samplerData>
<xml>true</xml>
<fieldNames>false</fieldNames>
<responseHeaders>true</responseHeaders>
<requestHeaders>true</requestHeaders>
<responseDataOnError>true</responseDataOnError>
<saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
<assertionsResultsToSave>0</assertionsResultsToSave>
<bytes>true</bytes>
<url>true</url>
<fileName>true</fileName>
<hostname>true</hostname>
<threadCounts>true</threadCounts>
<sampleCount>true</sampleCount>
<idleTime>true</idleTime>
<connectTime>true</connectTime>
</value>
</objProp>
<stringProp name="filename">C:\Users\yves\Downloads\apache-jmeter-5.1\test.csv</stringProp>
</ResultCollector>
<hashTree/>
</hashTree>
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
<collectionProp name="HeaderManager.headers">
<elementProp name="" elementType="Header">
<stringProp name="Header.name">Content-type</stringProp>
<stringProp name="Header.value">application/json</stringProp>
</elementProp>
<elementProp name="" elementType="Header">
<stringProp name="Header.name"></stringProp>
<stringProp name="Header.value"></stringProp>
</elementProp>
</collectionProp>
</HeaderManager>
<hashTree/>
</hashTree>
</hashTree>
</jmeterTestPlan>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment