|
JMeter example source code file (TestDisable.jmx)
The JMeter TestDisable.jmx source code<?xml version="1.0" encoding="UTF-8"?> <jmeterTestPlan version="1.2" properties="2.1"> <hashTree> <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Test Plan" enabled="true"> <elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="Argument List" enabled="true"> <collectionProp name="Arguments.arguments"/> </elementProp> <collectionProp name="TestPlan.thread_groups"/> <boolProp name="TestPlan.serialize_threadgroups">false <boolProp name="TestPlan.functional_mode">false <stringProp name="TestPlan.comments"> <stringProp name="TestPlan.user_define_classpath"> </TestPlan> <hashTree> <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Disable" enabled="true"> <longProp name="ThreadGroup.start_time">0 <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="false"> <boolProp name="LoopController.continue_forever">false <stringProp name="LoopController.loops">5 </elementProp> <longProp name="ThreadGroup.end_time">0 <stringProp name="ThreadGroup.duration"> <stringProp name="ThreadGroup.on_sample_error">continue <stringProp name="ThreadGroup.num_threads">3 <boolProp name="ThreadGroup.scheduler">false <stringProp name="ThreadGroup.ramp_time">0 <stringProp name="ThreadGroup.delay"> </ThreadGroup> <hashTree> <JavaSampler guiclass="JavaTestSamplerGui" testclass="JavaSampler" testname="Java 1" enabled="true"> <elementProp name="arguments" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" enabled="true"> <collectionProp name="Arguments.arguments"> <elementProp name="Sleep_Time" elementType="Argument"> <stringProp name="Argument.name">Sleep_Time <stringProp name="Argument.value">100 <stringProp name="Argument.metadata">= </elementProp> <elementProp name="Sleep_Mask" elementType="Argument"> <stringProp name="Argument.name">Sleep_Mask <stringProp name="Argument.value">0xFF <stringProp name="Argument.metadata">= </elementProp> <elementProp name="Label" elementType="Argument"> <stringProp name="Argument.name">Label <stringProp name="Argument.value">Java1 <stringProp name="Argument.metadata">= </elementProp> <elementProp name="ResponseCode" elementType="Argument"> <stringProp name="Argument.name">ResponseCode <stringProp name="Argument.value"> <stringProp name="Argument.metadata">= </elementProp> <elementProp name="ResponseMessage" elementType="Argument"> <stringProp name="Argument.name">ResponseMessage <stringProp name="Argument.value"> <stringProp name="Argument.metadata">= </elementProp> <elementProp name="Status" elementType="Argument"> <stringProp name="Argument.name">Status <stringProp name="Argument.value">OK <stringProp name="Argument.metadata">= </elementProp> <elementProp name="SamplerData" elementType="Argument"> <stringProp name="Argument.name">SamplerData <stringProp name="Argument.value"> <stringProp name="Argument.metadata">= </elementProp> <elementProp name="ResultData" elementType="Argument"> <stringProp name="Argument.name">ResultData <stringProp name="Argument.value"> <stringProp name="Argument.metadata">= </elementProp> </collectionProp> </elementProp> <stringProp name="classname">org.apache.jmeter.protocol.java.test.JavaTest </JavaSampler> <hashTree/> <JavaSampler guiclass="JavaTestSamplerGui" testclass="JavaSampler" testname="Java2" enabled="false"> <elementProp name="arguments" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" enabled="true"> <collectionProp name="Arguments.arguments"> <elementProp name="Sleep_Time" elementType="Argument"> <stringProp name="Argument.name">Sleep_Time <stringProp name="Argument.value">100 <stringProp name="Argument.metadata">= </elementProp> <elementProp name="Sleep_Mask" elementType="Argument"> <stringProp name="Argument.name">Sleep_Mask <stringProp name="Argument.value">0xFF <stringProp name="Argument.metadata">= </elementProp> <elementProp name="Label" elementType="Argument"> <stringProp name="Argument.name">Label <stringProp name="Argument.value">Java2 - disabled <stringProp name="Argument.metadata">= </elementProp> <elementProp name="ResponseCode" elementType="Argument"> <stringProp name="Argument.name">ResponseCode <stringProp name="Argument.value"> <stringProp name="Argument.metadata">= </elementProp> <elementProp name="ResponseMessage" elementType="Argument"> <stringProp name="Argument.name">ResponseMessage <stringProp name="Argument.value"> <stringProp name="Argument.metadata">= </elementProp> <elementProp name="Status" elementType="Argument"> <stringProp name="Argument.name">Status <stringProp name="Argument.value">OK <stringProp name="Argument.metadata">= </elementProp> <elementProp name="SamplerData" elementType="Argument"> <stringProp name="Argument.name">SamplerData <stringProp name="Argument.value"> <stringProp name="Argument.metadata">= </elementProp> <elementProp name="ResultData" elementType="Argument"> <stringProp name="Argument.name">ResultData <stringProp name="Argument.value"> <stringProp name="Argument.metadata">= </elementProp> </collectionProp> </elementProp> <stringProp name="classname">org.apache.jmeter.protocol.java.test.JavaTest </JavaSampler> <hashTree/> <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Enabled" enabled="true"/> <hashTree> <JavaSampler guiclass="JavaTestSamplerGui" testclass="JavaSampler" testname="Java3" enabled="true"> <elementProp name="arguments" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" enabled="true"> <collectionProp name="Arguments.arguments"> <elementProp name="Sleep_Time" elementType="Argument"> <stringProp name="Argument.name">Sleep_Time <stringProp name="Argument.value">100 <stringProp name="Argument.metadata">= </elementProp> <elementProp name="Sleep_Mask" elementType="Argument"> <stringProp name="Argument.name">Sleep_Mask <stringProp name="Argument.value">0xFF <stringProp name="Argument.metadata">= </elementProp> <elementProp name="Label" elementType="Argument"> <stringProp name="Argument.name">Label <stringProp name="Argument.value">Java3 <stringProp name="Argument.metadata">= </elementProp> <elementProp name="ResponseCode" elementType="Argument"> <stringProp name="Argument.name">ResponseCode <stringProp name="Argument.value"> <stringProp name="Argument.metadata">= </elementProp> <elementProp name="ResponseMessage" elementType="Argument"> <stringProp name="Argument.name">ResponseMessage <stringProp name="Argument.value"> <stringProp name="Argument.metadata">= </elementProp> <elementProp name="Status" elementType="Argument"> <stringProp name="Argument.name">Status <stringProp name="Argument.value">OK <stringProp name="Argument.metadata">= </elementProp> <elementProp name="SamplerData" elementType="Argument"> <stringProp name="Argument.name">SamplerData <stringProp name="Argument.value"> <stringProp name="Argument.metadata">= </elementProp> <elementProp name="ResultData" elementType="Argument"> <stringProp name="Argument.name">ResultData <stringProp name="Argument.value"> <stringProp name="Argument.metadata">= </elementProp> </collectionProp> </elementProp> <stringProp name="classname">org.apache.jmeter.protocol.java.test.JavaTest </JavaSampler> <hashTree/> <JavaSampler guiclass="JavaTestSamplerGui" testclass="JavaSampler" testname="Java4" enabled="false"> <elementProp name="arguments" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" enabled="true"> <collectionProp name="Arguments.arguments"> <elementProp name="Sleep_Time" elementType="Argument"> <stringProp name="Argument.name">Sleep_Time <stringProp name="Argument.value">100 <stringProp name="Argument.metadata">= </elementProp> <elementProp name="Sleep_Mask" elementType="Argument"> <stringProp name="Argument.name">Sleep_Mask <stringProp name="Argument.value">0xFF <stringProp name="Argument.metadata">= </elementProp> <elementProp name="Label" elementType="Argument"> <stringProp name="Argument.name">Label <stringProp name="Argument.value">Java4 - disabled <stringProp name="Argument.metadata">= </elementProp> <elementProp name="ResponseCode" elementType="Argument"> <stringProp name="Argument.name">ResponseCode <stringProp name="Argument.value"> <stringProp name="Argument.metadata">= </elementProp> <elementProp name="ResponseMessage" elementType="Argument"> <stringProp name="Argument.name">ResponseMessage <stringProp name="Argument.value"> <stringProp name="Argument.metadata">= </elementProp> <elementProp name="Status" elementType="Argument"> <stringProp name="Argument.name">Status <stringProp name="Argument.value">OK <stringProp name="Argument.metadata">= </elementProp> <elementProp name="SamplerData" elementType="Argument"> <stringProp name="Argument.name">SamplerData <stringProp name="Argument.value"> <stringProp name="Argument.metadata">= </elementProp> <elementProp name="ResultData" elementType="Argument"> <stringProp name="Argument.name">ResultData <stringProp name="Argument.value"> <stringProp name="Argument.metadata">= </elementProp> </collectionProp> </elementProp> <stringProp name="classname">org.apache.jmeter.protocol.java.test.JavaTest </JavaSampler> <hashTree/> </hashTree> <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Disabled" enabled="false"/> <hashTree> <JavaSampler guiclass="JavaTestSamplerGui" testclass="JavaSampler" testname="Java5" enabled="true"> <elementProp name="arguments" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" enabled="true"> <collectionProp name="Arguments.arguments"> <elementProp name="Sleep_Time" elementType="Argument"> <stringProp name="Argument.name">Sleep_Time <stringProp name="Argument.value">100 <stringProp name="Argument.metadata">= </elementProp> <elementProp name="Sleep_Mask" elementType="Argument"> <stringProp name="Argument.name">Sleep_Mask <stringProp name="Argument.value">0xFF <stringProp name="Argument.metadata">= </elementProp> <elementProp name="Label" elementType="Argument"> <stringProp name="Argument.name">Label <stringProp name="Argument.value">Java5 <stringProp name="Argument.metadata">= </elementProp> <elementProp name="ResponseCode" elementType="Argument"> <stringProp name="Argument.name">ResponseCode <stringProp name="Argument.value"> <stringProp name="Argument.metadata">= </elementProp> <elementProp name="ResponseMessage" elementType="Argument"> <stringProp name="Argument.name">ResponseMessage <stringProp name="Argument.value"> <stringProp name="Argument.metadata">= </elementProp> <elementProp name="Status" elementType="Argument"> <stringProp name="Argument.name">Status <stringProp name="Argument.value">OK <stringProp name="Argument.metadata">= </elementProp> <elementProp name="SamplerData" elementType="Argument"> <stringProp name="Argument.name">SamplerData <stringProp name="Argument.value"> <stringProp name="Argument.metadata">= </elementProp> <elementProp name="ResultData" elementType="Argument"> <stringProp name="Argument.name">ResultData <stringProp name="Argument.value"> <stringProp name="Argument.metadata">= </elementProp> </collectionProp> </elementProp> <stringProp name="classname">org.apache.jmeter.protocol.java.test.JavaTest </JavaSampler> <hashTree/> <JavaSampler guiclass="JavaTestSamplerGui" testclass="JavaSampler" testname="Java6" enabled="false"> <elementProp name="arguments" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" enabled="true"> <collectionProp name="Arguments.arguments"> <elementProp name="Sleep_Time" elementType="Argument"> <stringProp name="Argument.name">Sleep_Time <stringProp name="Argument.value">100 <stringProp name="Argument.metadata">= </elementProp> <elementProp name="Sleep_Mask" elementType="Argument"> <stringProp name="Argument.name">Sleep_Mask <stringProp name="Argument.value">0xFF <stringProp name="Argument.metadata">= </elementProp> <elementProp name="Label" elementType="Argument"> <stringProp name="Argument.name">Label <stringProp name="Argument.value">Java5 - disabled <stringProp name="Argument.metadata">= </elementProp> <elementProp name="ResponseCode" elementType="Argument"> <stringProp name="Argument.name">ResponseCode <stringProp name="Argument.value"> <stringProp name="Argument.metadata">= </elementProp> <elementProp name="ResponseMessage" elementType="Argument"> <stringProp name="Argument.name">ResponseMessage <stringProp name="Argument.value"> <stringProp name="Argument.metadata">= </elementProp> <elementProp name="Status" elementType="Argument"> <stringProp name="Argument.name">Status <stringProp name="Argument.value">OK <stringProp name="Argument.metadata">= </elementProp> <elementProp name="SamplerData" elementType="Argument"> <stringProp name="Argument.name">SamplerData <stringProp name="Argument.value"> <stringProp name="Argument.metadata">= </elementProp> <elementProp name="ResultData" elementType="Argument"> <stringProp name="Argument.name">ResultData <stringProp name="Argument.value"> <stringProp name="Argument.metadata">= </elementProp> </collectionProp> </elementProp> <stringProp name="classname">org.apache.jmeter.protocol.java.test.JavaTest </JavaSampler> <hashTree/> </hashTree> </hashTree> <ResultCollector guiclass="TableVisualizer" testclass="ResultCollector" testname="View Results in Table" enabled="true"> <boolProp name="ResultCollector.error_logging">false <objProp> <name>saveConfig <value class="SampleSaveConfiguration"> <time>true <latency>true <timestamp>true <success>true <label>true <code>true <message>true <threadName>true <dataType>true <encoding>false <assertions>true <subresults>true <responseData>false <samplerData>false <xml>true <fieldNames>false <responseHeaders>false <requestHeaders>false <responseDataOnError>false <saveAssertionResultsFailureMessage>false <assertionsResultsToSave>0 <bytes>true </value> </objProp> <stringProp name="filename"> </ResultCollector> <hashTree/> </hashTree> </hashTree> </jmeterTestPlan> Other JMeter examples (source code examples)Here is a short list of links related to this JMeter TestDisable.jmx source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.