Skip to content

wiki_put_test

Denis Sheahan edited this page Feb 29, 2012 · 20 revisions
<?xml version="1.0" encoding="UTF-8"?>
<jmeterTestPlan version="1.2" properties="2.2">
 <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>
     <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">1</stringProp>
       <stringProp name="ThreadGroup.ramp_time">1</stringProp>
       <longProp name="ThreadGroup.start_time">1330388220000</longProp>
       <longProp name="ThreadGroup.end_time">1330388220000</longProp>
       <boolProp name="ThreadGroup.scheduler">false</boolProp>
       <stringProp name="ThreadGroup.duration"></stringProp>
       <stringProp name="ThreadGroup.delay"></stringProp>
     </ThreadGroup>
     <hashTree>
       <com.netflix.jmeter.properties.CassandraProperties guiclass="TestBeanGUI" testclass="com.netflix.jmeter.properties.CassandraProperties" testname="MyTestCluster" enabled="true">
         <stringProp name="cassandraServers">ec2-23-20-16-129.compute-1.amazonaws.com:7102,ec2-23-20-100-192.compute-1.amazonaws.com:7102,ec2-107-21-72-223.compute-1.amazonaws.com:7102,ec2-184-73-65-42.compute-1.amazonaws.com:7102,ec2-107-21-178-59.compute-1.amazonaws.com:7102,ec2-107-22-151-32.compute-1.amazonaws.com:7102</stringProp>
         <stringProp name="clientType">com.netflix.jmeter.connections.a6x.AstyanaxConnection</stringProp>
         <stringProp name="clusterName">cass_test_client</stringProp>
         <stringProp name="keyspace">MemberKeySp</stringProp>
         <stringProp name="maxConnsPerHost">100</stringProp>
         <stringProp name="readConsistency">CL_ONE</stringProp>
         <stringProp name="writeConsistency">CL_QUORUM</stringProp>
       </com.netflix.jmeter.properties.CassandraProperties>
       <hashTree/>
       <CSVDataSet guiclass="TestBeanGUI" testclass="CSVDataSet" testname="CSV Data Set Config" enabled="true">
         <stringProp name="delimiter">,</stringProp>
         <stringProp name="fileEncoding"></stringProp>
         <stringProp name="filename">wiki_example_put.csv</stringProp>
         <boolProp name="quotedData">false</boolProp>
         <boolProp name="recycle">false</boolProp>
         <stringProp name="shareMode">All threads</stringProp>
         <boolProp name="stopThread">true</boolProp>
         <stringProp name="variableNames">rowid,value</stringProp>
       </CSVDataSet>
       <hashTree/>
       <com.netflix.jmeter.sampler.PutSampler guiclass="com.netflix.jmeter.gui.Put" testclass="com.netflix.jmeter.sampler.PutSampler" testname="Cassandra Put" enabled="true">
         <stringProp name="TestPlan.comments">test comment</stringProp>
         <stringProp name="KEY_SERIALIZER_TYPE">StringSerializer</stringProp>
         <stringProp name="KEY">${rowid}</stringProp>
         <stringProp name="COLUMN_FAMILY">Customer</stringProp>
         <stringProp name="COLUMN_SERIALIZER_TYPE">AsciiSerializer</stringProp>
         <stringProp name="VALUE_SERIALIZER_TYPE">AsciiSerializer</stringProp>
         <stringProp name="COLUMN_NAME">${__Random(1,1000)}</stringProp>
         <stringProp name="VALUE">${value}</stringProp>
         <boolProp name="IS_COUNTER">false</boolProp>
       </com.netflix.jmeter.sampler.PutSampler>
       <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>true</dataType>
             <encoding>false</encoding>
             <assertions>true</assertions>
             <subresults>true</subresults>
             <responseData>false</responseData>
             <samplerData>false</samplerData>
             <xml>true</xml>
             <fieldNames>false</fieldNames>
             <responseHeaders>false</responseHeaders>
             <requestHeaders>false</requestHeaders>
             <responseDataOnError>false</responseDataOnError>
             <saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage>
             <assertionsResultsToSave>0</assertionsResultsToSave>
             <bytes>true</bytes>
           </value>
         </objProp>
         <stringProp name="filename"></stringProp>
       </ResultCollector>
       <hashTree/>
     </hashTree>
   </hashTree>
 </hashTree>
</jmeterTestPlan>
Clone this wiki locally