jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: csv and xml logs
Date Thu, 19 May 2005 09:50:22 GMT
Yes, the formats have changed. You can force the 2.0 format by setting
the appropriate property in jmeter.properties - have a look there.

S.
On 5/19/05, Yuval <yuvalken@gmail.com> wrote:
> Thanks sebb,
>  
> Well, I checked it and it's pretty strange. When I tried to use the 2.03
> version it worked fine.
> But I'm using the version from the cvs, the test plan is being saved in a
> different format:
>  
> <jmeterTestPlan version="1.0" properties="1.6">
>   <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">1116481023000</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 ">1116481023000</longProp>
>         <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
>         <stringProp name="ThreadGroup.ramp_time">1</stringProp> 
>       </ThreadGroup>
>       <hashTree>
>         <GenericController>
>           <stringProp
> name="TestElement.gui_class">org.apache.jmeter.control.gui.LogicControllerGui</stringProp>
>           <stringProp
> name="TestElement.test_class">org.apache.jmeter.control.GenericController</stringProp>
>           <stringProp name="TestElement.name
> ">Simple+Controller</stringProp>
>           <boolProp name="TestElement.enabled">true</boolProp>
>         </GenericController>
>         <hashTree>
>           <
> org.apache.jmeter.protocol.tcp.sampler.TCPSampler>
>             <stringProp
> name="TestElement.gui_class">org.apache.jmeter.protocol.tcp.control.gui.TCPSamplerGui</stringProp>
>             <stringProp name="
> TestElement.test_class">org.apache.jmeter.protocol.tcp.sampler.TCPSampler</stringProp>
>             <stringProp name="TCPSampler.port">14000</stringProp>
>             <stringProp name=" TCPSampler.request">ghfhfghfgh</stringProp>
>             <stringProp name="TestElement.name">TCP+Sampler</stringProp>
>             <stringProp name=" ConfigTestElement.username"></stringProp>
>             <stringProp name="TCPSampler.nodelay">false</stringProp>
>             <boolProp name="TestElement.enabled">true</boolProp> 
>             <stringProp name="TCPSampler.server">10.90.17.124</stringProp>
>             <stringProp name="ConfigTestElement.password"></stringProp> 
>             <stringProp name="TCPSampler.timeout">5</stringProp>
>          
> </org.apache.jmeter.protocol.tcp.sampler.TCPSampler>
>           <hashTree/>
>         </hashTree> 
>       </hashTree>
>     </hashTree>
>   </hashTree>
> </jmeterTestPlan>
>  
>  
> I did some changes in the code but I didn't touch the structure of the test
> plan.
>  
> Any ideas?
> 
> 
>  
> On 5/18/05, sebb <sebbaz@gmail.com> wrote: 
> > Which version of JMeter are you using?
> > 
> > The properties work OK in most versions of JMeter.
> > 
> > S. 
> > On 5/18/05, Yuval <yuvalken@gmail.com> wrote:
> > > Hi,
> > > I'm trying to work with the TCP sampler.
> > > When I tried to change the log format from xml to csv in the 
> > > jmeter.properties it had no affect.
> > > After digging in the code I found out that the xml is set to true at the
> jmx
> > > file (the test plan).
> > > Only after changing it to false it created me csv files. 
> > > Are the log settings at the jmeter.properties have any affect on the TCP
> > > sampler?
> > > Thanks,
> > > Y.
> > >
> > >
> > 
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message