hi
 
     please find the attaches JMX file.According to script,my URl needs to be executed 3 times.But it is executing for 4 times.Am I doing anything wrong.If not what can i do solve this issue.I am using JMeter2.1.I tried it in JMeter2.1.1 also.
 
thanks
 
Ravi

 


Yahoo! India Matrimony: Find your partner now.
<jmeterTestPlan version="1.1" properties="1.7">
  <hashTree>
    <TestPlan>
      <elementProp name="TestPlan.user_defined_variables" 
elementType="org.apache.jmeter.config.Arguments">
        <stringProp 
name="TestElement.gui_class">org.apache.jmeter.config.gui.ArgumentsPanel</stringProp>
        <stringProp 
name="TestElement.test_class">org.apache.jmeter.config.Arguments</stringProp>
        <collectionProp name="Arguments.arguments"/>
        <stringProp name="TestElement.name">User Defined Variables</stringProp>
        <boolProp name="TestElement.enabled">true</boolProp>
      </elementProp>
      <stringProp 
name="TestElement.gui_class">org.apache.jmeter.control.gui.TestPlanGui</stringProp>
      <boolProp name="TestPlan.serialize_threadgroups">false</boolProp>
      <stringProp 
name="TestElement.test_class">org.apache.jmeter.testelement.TestPlan</stringProp>
      <stringProp name="TestElement.name">Test Plan</stringProp>
      <boolProp name="TestPlan.functional_mode">false</boolProp>
      <boolProp name="TestElement.enabled">true</boolProp>
      <stringProp name="TestPlan.comments"></stringProp>
    </TestPlan>
    <hashTree>
      <ThreadGroup>
        <longProp name="ThreadGroup.start_time">1129702071000</longProp>
        <stringProp 
name="TestElement.test_class">org.apache.jmeter.threads.ThreadGroup</stringProp>
        <stringProp name="ThreadGroup.delay"></stringProp>
        <stringProp name="ThreadGroup.duration"></stringProp>
        <boolProp name="TestElement.enabled">true</boolProp>
        <stringProp name="ThreadGroup.num_threads">1</stringProp>
        <boolProp name="ThreadGroup.scheduler">false</boolProp>
        <stringProp 
name="TestElement.gui_class">org.apache.jmeter.threads.gui.ThreadGroupGui</stringProp>
        <elementProp name="ThreadGroup.main_controller" 
elementType="org.apache.jmeter.control.LoopController">
          <stringProp 
name="TestElement.gui_class">org.apache.jmeter.control.gui.LoopControlPanel</stringProp>
          <stringProp name="LoopController.loops">1</stringProp>
          <stringProp 
name="TestElement.test_class">org.apache.jmeter.control.LoopController</stringProp>
          <stringProp name="TestElement.name">Loop Controller</stringProp>
          <boolProp name="TestElement.enabled">true</boolProp>
          <boolProp name="LoopController.continue_forever">false</boolProp>
        </elementProp>
        <stringProp name="TestElement.name">Thread Group</stringProp>
        <longProp name="ThreadGroup.end_time">1129702071000</longProp>
        <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
        <stringProp name="ThreadGroup.ramp_time">1</stringProp>
      </ThreadGroup>
      <hashTree>
        <HTTPSampler>
          <stringProp name="HTTPSampler.path">/</stringProp>
          <stringProp 
name="TestElement.test_class">org.apache.jmeter.protocol.http.sampler.HTTPSampler</stringProp>
          <stringProp name="HTTPSampler.method">GET</stringProp>
          <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
          <stringProp name="HTTPSampler.protocol">http</stringProp>
          <boolProp name="TestElement.enabled">true</boolProp>
          <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
          <stringProp name="HTTPSampler.port">80</stringProp>
          <elementProp name="HTTPsampler.Arguments" 
elementType="org.apache.jmeter.config.Arguments">
            <stringProp 
name="TestElement.gui_class">org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel</stringProp>
            <stringProp 
name="TestElement.test_class">org.apache.jmeter.config.Arguments</stringProp>
            <collectionProp name="Arguments.arguments"/>
            <stringProp name="TestElement.name"></stringProp>
            <boolProp name="TestElement.enabled">true</boolProp>
          </elementProp>
          <stringProp name="HTTPSampler.mimetype"></stringProp>
          <stringProp 
name="TestElement.gui_class">org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui</stringProp>
          <stringProp name="HTTPSampler.FILE_FIELD"></stringProp>
          <stringProp name="TestElement.name">/</stringProp>
          <stringProp name="HTTPSampler.monitor">false</stringProp>
          <stringProp name="HTTPSampler.domain">www.google.co.in</stringProp>
          <stringProp name="HTTPSampler.FILE_NAME"></stringProp>
          <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
        </HTTPSampler>
        <hashTree>
          <HeaderManager>
            <stringProp 
name="TestElement.gui_class">org.apache.jmeter.protocol.http.gui.HeaderPanel</stringProp>
            <stringProp 
name="TestElement.test_class">org.apache.jmeter.protocol.http.control.HeaderManager</stringProp>
            <stringProp name="TestElement.name">Browser-derived 
headers</stringProp>
            <collectionProp name="HeaderManager.headers">
              <elementProp name="" 
elementType="org.apache.jmeter.protocol.http.control.Header">
                <stringProp name="Header.value">www.google.co.in</stringProp>
                <stringProp name="Header.name">Host</stringProp>
              </elementProp>
              <elementProp name="" 
elementType="org.apache.jmeter.protocol.http.control.Header">
                <stringProp name="Header.value">en-us</stringProp>
                <stringProp name="Header.name">Accept-Language</stringProp>
              </elementProp>
              <elementProp name="" 
elementType="org.apache.jmeter.protocol.http.control.Header">
                <stringProp name="Header.value">Mozilla/4.0 (compatible; MSIE 
6.0; Windows NT 5.0; FunWebProducts)</stringProp>
                <stringProp name="Header.name">User-Agent</stringProp>
              </elementProp>
              <elementProp name="" 
elementType="org.apache.jmeter.protocol.http.control.Header">
                <stringProp name="Header.value">image/gif, image/x-xbitmap, 
image/jpeg, image/pjpeg, application/x-shockwave-flash, 
application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, 
*/*</stringProp>
                <stringProp name="Header.name">Accept</stringProp>
              </elementProp>
            </collectionProp>
            <boolProp name="TestElement.enabled">true</boolProp>
          </HeaderManager>
          <hashTree/>
        </hashTree>
        <org.apache.jmeter.control.WhileController>
          <stringProp 
name="TestElement.gui_class">org.apache.jmeter.control.gui.WhileControllerGui</stringProp>
          <stringProp 
name="TestElement.test_class">org.apache.jmeter.control.WhileController</stringProp>
          <stringProp name="TestElement.name">While Controller</stringProp>
          <boolProp name="TestElement.enabled">true</boolProp>
          <stringProp 
name="WhileController.condition">${__javaScript(${C}&lt;=10,test)}</stringProp>
        </org.apache.jmeter.control.WhileController>
        <hashTree>
          <HTTPSampler>
            <stringProp name="HTTPSampler.path">/search__${C}</stringProp>
            <stringProp 
name="TestElement.test_class">org.apache.jmeter.protocol.http.sampler.HTTPSampler</stringProp>
            <stringProp name="HTTPSampler.method">GET</stringProp>
            <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
            <stringProp name="HTTPSampler.protocol">http</stringProp>
            <boolProp name="TestElement.enabled">true</boolProp>
            <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
            <stringProp name="HTTPSampler.port">80</stringProp>
            <elementProp name="HTTPsampler.Arguments" 
elementType="org.apache.jmeter.config.Arguments">
              <stringProp 
name="TestElement.gui_class">org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel</stringProp>
              <stringProp 
name="TestElement.test_class">org.apache.jmeter.config.Arguments</stringProp>
              <collectionProp name="Arguments.arguments">
                <elementProp name="" 
elementType="org.apache.jmeter.protocol.http.util.HTTPArgument">
                  <stringProp name="Argument.metadata">=</stringProp>
                  <stringProp name="Argument.value">en</stringProp>
                  <boolProp name="HTTPArgument.use_equals">true</boolProp>
                  <stringProp name="Argument.name">hl</stringProp>
                  <boolProp name="HTTPArgument.always_encode">false</boolProp>
                </elementProp>
                <elementProp name="" 
elementType="org.apache.jmeter.protocol.http.util.HTTPArgument">
                  <stringProp name="Argument.metadata">=</stringProp>
                  <stringProp name="Argument.value">jmeter</stringProp>
                  <boolProp name="HTTPArgument.use_equals">true</boolProp>
                  <stringProp name="Argument.name">q</stringProp>
                  <boolProp name="HTTPArgument.always_encode">false</boolProp>
                </elementProp>
                <elementProp name="" 
elementType="org.apache.jmeter.protocol.http.util.HTTPArgument">
                  <stringProp name="Argument.metadata">=</stringProp>
                  <stringProp name="Argument.value"></stringProp>
                  <boolProp name="HTTPArgument.use_equals">true</boolProp>
                  <stringProp name="Argument.name">meta</stringProp>
                  <boolProp name="HTTPArgument.always_encode">false</boolProp>
                </elementProp>
              </collectionProp>
              <stringProp name="TestElement.name"></stringProp>
              <boolProp name="TestElement.enabled">true</boolProp>
            </elementProp>
            <stringProp name="HTTPSampler.mimetype"></stringProp>
            <stringProp 
name="TestElement.gui_class">org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui</stringProp>
            <stringProp name="HTTPSampler.FILE_FIELD"></stringProp>
            <stringProp name="TestElement.name">HTTP Request</stringProp>
            <stringProp name="HTTPSampler.monitor">false</stringProp>
            <stringProp name="HTTPSampler.domain">www.google.co.in</stringProp>
            <stringProp name="HTTPSampler.FILE_NAME"></stringProp>
            <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
          </HTTPSampler>
          <hashTree/>
          <CounterConfig>
            <stringProp 
name="TestElement.gui_class">org.apache.jmeter.modifiers.gui.CounterConfigGui</stringProp>
            <stringProp name="CounterConfig.start">8</stringProp>
            <stringProp name="CounterConfig.incr">1</stringProp>
            <stringProp 
name="TestElement.test_class">org.apache.jmeter.modifiers.CounterConfig</stringProp>
            <stringProp name="CounterConfig.name">C</stringProp>
            <stringProp name="TestElement.name">Counter</stringProp>
            <boolProp name="CounterConfig.per_user">false</boolProp>
            <boolProp name="TestElement.enabled">true</boolProp>
            <stringProp name="CounterConfig.end">15</stringProp>
          </CounterConfig>
          <hashTree/>
        </hashTree>
        <ResultCollector>
          <stringProp 
name="TestElement.gui_class">org.apache.jmeter.visualizers.StatVisualizer</stringProp>
          <stringProp 
name="TestElement.test_class">org.apache.jmeter.reporters.ResultCollector</stringProp>
          <stringProp name="TestElement.name">Aggregate Report</stringProp>
          <objProp>
            <value class="org.apache.jmeter.samplers.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>
              <delimiter>,</delimiter>
              <printMilliseconds>true</printMilliseconds>
            </value>
            <name>saveConfig</name>
          </objProp>
          <boolProp name="TestElement.enabled">true</boolProp>
          <stringProp name="filename"></stringProp>
          <boolProp name="ResultCollector.error_logging">false</boolProp>
        </ResultCollector>
        <hashTree/>
        <ResultCollector>
          <stringProp 
name="TestElement.gui_class">org.apache.jmeter.visualizers.ViewResultsFullVisualizer</stringProp>
          <stringProp 
name="TestElement.test_class">org.apache.jmeter.reporters.ResultCollector</stringProp>
          <stringProp name="TestElement.name">View Results Tree</stringProp>
          <objProp>
            <value class="org.apache.jmeter.samplers.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>
              <delimiter>,</delimiter>
              <printMilliseconds>true</printMilliseconds>
            </value>
            <name>saveConfig</name>
          </objProp>
          <boolProp name="TestElement.enabled">true</boolProp>
          <stringProp name="filename"></stringProp>
          <boolProp name="ResultCollector.error_logging">false</boolProp>
        </ResultCollector>
        <hashTree/>
      </hashTree>
    </hashTree>
  </hashTree>
</jmeterTestPlan>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to