|
JMeter example source code file (AssertionTestPlan.jmx)
The JMeter AssertionTestPlan.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"> <collectionProp name="TestPlan.thread_groups"/> <elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> <collectionProp name="Arguments.arguments"/> </elementProp> <boolProp name="TestPlan.serialize_threadgroups">false <boolProp name="TestPlan.functional_mode">false <stringProp name="TestPlan.comments"> </TestPlan> <hashTree> <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Thread Group" enabled="true"> <longProp name="ThreadGroup.start_time">0 <stringProp name="ThreadGroup.delay"> <stringProp name="ThreadGroup.duration"> <stringProp name="ThreadGroup.num_threads">1 <boolProp name="ThreadGroup.scheduler">false <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true"> <boolProp name="LoopController.continue_forever">false <stringProp name="LoopController.loops">1 </elementProp> <longProp name="ThreadGroup.end_time">0 <stringProp name="ThreadGroup.on_sample_error">continue <stringProp name="ThreadGroup.ramp_time">0 </ThreadGroup> <hashTree> <HTTPSampler guiclass="HttpTestSampleGui" testclass="HTTPSampler" testname="HTTP Request" enabled="true"> <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true"> <collectionProp name="Arguments.arguments"/> </elementProp> <stringProp name="HTTPSampler.path">/ <stringProp name="HTTPSampler.method">GET <boolProp name="HTTPSampler.use_keepalive">false <stringProp name="HTTPSampler.protocol">http <boolProp name="HTTPSampler.image_parser">false <boolProp name="HTTPSampler.follow_redirects">false <stringProp name="HTTPSampler.port"> <stringProp name="HTTPSampler.domain">jakarta.apache.org <stringProp name="HTTPSampler.monitor">false <boolProp name="HTTPSampler.auto_redirects">false </HTTPSampler> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assertion" enabled="true"> <collectionProp name="Asserion.test_strings"> <stringProp name="-1139173792"></html> </collectionProp> <stringProp name="Assertion.test_field">Assertion.response_data <stringProp name="Assertion.assume_success">false <intProp name="Assertion.test_type">2 </ResponseAssertion> <hashTree/> </hashTree> <ResultCollector guiclass="GraphVisualizer" testclass="ResultCollector" testname="File Reporter" 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>false <dataType>true <encoding>true <assertions>false <subresults>false <responseData>false <samplerData>false <xml>true <fieldNames>true <responseHeaders>false <requestHeaders>false <responseDataOnError>false <saveAssertionResultsFailureMessage>false <assertionsResultsToSave>0 </value> </objProp> <stringProp name="filename">assertion.dat </ResultCollector> <hashTree/> <ResultCollector guiclass="AssertionVisualizer" testclass="ResultCollector" testname="Assertion Results" 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>false <dataType>true <encoding>true <assertions>false <subresults>false <responseData>false <samplerData>false <xml>true <fieldNames>true <responseHeaders>false <requestHeaders>false <responseDataOnError>false <saveAssertionResultsFailureMessage>false <assertionsResultsToSave>0 </value> </objProp> <stringProp name="filename"> </ResultCollector> <hashTree/> </hashTree> </hashTree> </hashTree> </jmeterTestPlan> Other JMeter examples (source code examples)Here is a short list of links related to this JMeter AssertionTestPlan.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.