hm, apparently attachements do not work,
here are the files:

filename: simple_request.jmx

<jmeterTestPlan version="1.2" properties="1.8">
  <hashTree>
<GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="simple request" enabled="true"/>
    <hashTree>
<HTTPSampler guiclass="HttpTestSampleGui" testclass="HTTPSampler" testname="simple request" enabled="true">
        <stringProp name="HTTPSampler.path"></stringProp>
        <stringProp name="HTTPSampler.method">GET</stringProp>
        <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
        <stringProp name="HTTPSampler.protocol"></stringProp>
        <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
        <stringProp name="HTTPSampler.port"></stringProp>
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
          <collectionProp name="Arguments.arguments"/>
        </elementProp>
        <stringProp name="HTTPSampler.mimetype"></stringProp>
        <stringProp name="HTTPSampler.FILE_FIELD"></stringProp>
        <stringProp name="HTTPSampler.monitor">false</stringProp>
<stringProp name="HTTPSampler.domain">www.google.com</ stringProp>
        <stringProp name="HTTPSampler.FILE_NAME"></stringProp>
        <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
      </HTTPSampler>
      <hashTree/>
    </hashTree>
  </hashTree>
</jmeterTestPlan>


filename: TestPlan.jmx

<jmeterTestPlan version="1.2" properties="1.8">
  <hashTree>
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Test Plan" enabled="true"> <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>
      <boolProp name="TestPlan.serialize_threadgroups">false</boolProp>
      <boolProp name="TestPlan.functional_mode">false</boolProp>
      <stringProp name="TestPlan.comments"></stringProp>
    </TestPlan>
    <hashTree>
<ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Thread Group" enabled="true"> <longProp name="ThreadGroup.start_time">1142609477000</ longProp>
        <stringProp name="ThreadGroup.delay"></stringProp>
        <stringProp name="ThreadGroup.duration"></stringProp>
        <stringProp name="ThreadGroup.num_threads">1</stringProp>
        <boolProp name="ThreadGroup.scheduler">false</boolProp>
<elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
          <stringProp name="LoopController.loops">1</stringProp>
<boolProp name="LoopController.continue_forever">false</ boolProp>
        </elementProp>
        <longProp name="ThreadGroup.end_time">1142609477000</longProp>
<stringProp name="ThreadGroup.on_sample_error">continue</ stringProp>
        <stringProp name="ThreadGroup.ramp_time">1</stringProp>
      </ThreadGroup>
      <hashTree>
<org.apache.jmeter.control.IncludeController guiclass="org.apache.jmeter.control.gui.IncludeControllerGui" testclass="org.apache.jmeter.control.IncludeController" testname="Include Controller" enabled="true"> <stringProp name="IncludeController.includepath">/Users/ oleg/Desktop/simple_request.jmx</stringProp>
        </org.apache.jmeter.control.IncludeController>
        <hashTree/>
<ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
          <objProp>
            <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>
              <delimiter>,</delimiter>
              <printMilliseconds>true</printMilliseconds>
            </value>
            <name>saveConfig</name>
          </objProp>
          <stringProp name="filename"></stringProp>
<boolProp name="ResultCollector.error_logging">false</ boolProp>
        </ResultCollector>
        <hashTree/>
      </hashTree>
    </hashTree>
  </hashTree>
</jmeterTestPlan>





- Oleg.



On 16-Mar-06, at 12:48 PM, sebb wrote:

They did for me when I tested - that's how I know it worked.

Can you provide a test case?

S.
On 16/03/06, Oleg Gutsol <[EMAIL PROTECTED]> wrote:
Yes, it seems to work in non-gui mode now, but listeners do not
output any test results.

- Oleg.



On 15-Mar-06, at 9:55 AM, sebb wrote:

Actually, it was some comments in the code that gave me the fix...

This said that clone() is always called before getReplacement, so I
took just did that for the non-GUI case as well.

I'm not 100% convinced it is the correct fix, but it only affects
Replaceable Controllers in non-GUI mode, and they weren't working
anyway.

S.
On 15/03/06, Peter Lin <[EMAIL PROTECTED]> wrote:
I wouldn't have thought of that trick myself, but glad to see you
were able
to find a way to get it to work in console mode.

peter



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




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



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



Reply via email to