You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by chris <hi...@gmx.at> on 2007/08/30 14:42:14 UTC

fileformat 2.0 not supported in jmeter 2.3 ?

hi, our xml-output files expect the file_format.testlog=2.0
it seems that this is not working with release 2.3 ?

any ideas ?

cheers,
  chris 




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


Re: fileformat 2.0 not supported in jmeter 2.3 ?

Posted by sebb <se...@gmail.com>.
On 31/08/2007, sebb <se...@gmail.com> wrote:
> On 31/08/2007, chris <hi...@gmx.at> wrote:
> > > That is a problem with your JMeter or Java installation.
> > > Perhaps you have a spurious xml library somewhere.
> >
> > hi, thanks for your answer. i've downloaded jmeter installation and did not
> > change anything to the /lib folder. i also tested this problem on 3
> > different PC's (windows, solaris).... i have the problem everywhere.
> >
> > but i finally found the problem, it is the jar-file /lib/xalan.jar. i
> > replaced xalan.jar with the version that came with jmeter release 2.2 and it
> > works now!!
> >
> > did you run the test with all the jar-files than come with jmeter release
> > 2.3 ?
>
> Yes, I did.
>
> I updated xalan to xalan-j_2_7_0 on 25/02/07, so it has been in lots
> of nightlies.
>
> I tried again, and it still works for me.
>
> However googling for the error gives:
>
> http://www.nabble.com/2.7.0-and-TreeWalker-t214547.html
>
> which says that I should have added serializer.jar as well.
>
> I've just run a test with Java 1.5, and I now see the error -
> presumably my Java 1.4.2 must include the missing class.
>
> However if I remove the file_format.testlog property setting, I don't
> get the problem with Java 1.5. Curious.

It's because the 2.0 format uses a different serialisation.

> I'll update the library files and create a new nightly.

Nightly  571422 contains the missing jar.

> Thanks for reporting (and finding the cause of) the problem.
>
>
> S
> > //chris
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
>

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


Re: fileformat 2.0 not supported in jmeter 2.3 ?

Posted by sebb <se...@gmail.com>.
On 31/08/2007, chris <hi...@gmx.at> wrote:
> > That is a problem with your JMeter or Java installation.
> > Perhaps you have a spurious xml library somewhere.
>
> hi, thanks for your answer. i've downloaded jmeter installation and did not
> change anything to the /lib folder. i also tested this problem on 3
> different PC's (windows, solaris).... i have the problem everywhere.
>
> but i finally found the problem, it is the jar-file /lib/xalan.jar. i
> replaced xalan.jar with the version that came with jmeter release 2.2 and it
> works now!!
>
> did you run the test with all the jar-files than come with jmeter release
> 2.3 ?

Yes, I did.

I updated xalan to xalan-j_2_7_0 on 25/02/07, so it has been in lots
of nightlies.

I tried again, and it still works for me.

However googling for the error gives:

http://www.nabble.com/2.7.0-and-TreeWalker-t214547.html

which says that I should have added serializer.jar as well.

I've just run a test with Java 1.5, and I now see the error -
presumably my Java 1.4.2 must include the missing class.

However if I remove the file_format.testlog property setting, I don't
get the problem with Java 1.5. Curious.

I'll update the library files and create a new nightly.

Thanks for reporting (and finding the cause of) the problem.


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

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


Re: fileformat 2.0 not supported in jmeter 2.3 ?

Posted by chris <hi...@gmx.at>.
> That is a problem with your JMeter or Java installation.
> Perhaps you have a spurious xml library somewhere.

hi, thanks for your answer. i've downloaded jmeter installation and did not 
change anything to the /lib folder. i also tested this problem on 3 
different PC's (windows, solaris).... i have the problem everywhere.

but i finally found the problem, it is the jar-file /lib/xalan.jar. i 
replaced xalan.jar with the version that came with jmeter release 2.2 and it 
works now!!

did you run the test with all the jar-files than come with jmeter release 
2.3 ?

//chris 




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


Re: fileformat 2.0 not supported in jmeter 2.3 ?

Posted by sebb <se...@gmail.com>.
On 31/08/2007, chris <hi...@gmx.at> wrote:
> hi, i've downloaded jmeter-bin release 2.3 from jmeter homepage and set
> file_format.testlog=2.0 in jmeter.properties.
>
> the simple testplan attached has only 1 request, if i run this testplan in
> non-gui mode with following command:
>   java -jar ApacheJMeter.jar -t fileformat.jmx -l fileformat.xml -p
> jmeter.properties -n
> this request is not shown in the output xml-file, and in jmeter.log i see
> following exeption:
>
> 2007/08/31 09:22:42 ERROR - jmeter.threads.JMeterThread: Test failed!
> java.lang.NoClassDefFoundError: org/apache/xml/serializer/TreeWalker

That is a problem with your JMeter or Java installation.

Perhaps you have a spurious xml library somewhere.

>  at
> org.apache.xalan.processor.TransformerFactoryImpl.newTransformerHandler(TransformerFactoryImpl.java:753)
>  at
> org.apache.avalon.framework.configuration.DefaultConfigurationSerializer.createContentHandler(DefaultConfigurationSerializer.java:112)
>  at
> org.apache.avalon.framework.configuration.DefaultConfigurationSerializer.serialize(DefaultConfigurationSerializer.java:313)
>  at
> org.apache.jmeter.reporters.ResultCollector.getSerializedSampleResult(ResultCollector.java:448)
>  at
> org.apache.jmeter.reporters.ResultCollector.recordResult(ResultCollector.java:436)
>  at
> org.apache.jmeter.reporters.ResultCollector.sampleOccurred(ResultCollector.java:416)
>  at
> org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:240)
>  at
> org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:572)
>  at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:309)
>  at java.lang.Thread.run(Thread.java:595)
>
> cheers,
>   chris
>
>
> begin 666 fileformat.jmx
<snip/>

Works fine for me.

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


Re: fileformat 2.0 not supported in jmeter 2.3 ?

Posted by chris <hi...@gmx.at>.
hi, i've downloaded jmeter-bin release 2.3 from jmeter homepage and set 
file_format.testlog=2.0 in jmeter.properties.

the simple testplan attached has only 1 request, if i run this testplan in 
non-gui mode with following command:
   java -jar ApacheJMeter.jar -t fileformat.jmx -l fileformat.xml -p 
jmeter.properties -n
this request is not shown in the output xml-file, and in jmeter.log i see 
following exeption:

2007/08/31 09:22:42 ERROR - jmeter.threads.JMeterThread: Test failed! 
java.lang.NoClassDefFoundError: org/apache/xml/serializer/TreeWalker
 at 
org.apache.xalan.processor.TransformerFactoryImpl.newTransformerHandler(TransformerFactoryImpl.java:753)
 at 
org.apache.avalon.framework.configuration.DefaultConfigurationSerializer.createContentHandler(DefaultConfigurationSerializer.java:112)
 at 
org.apache.avalon.framework.configuration.DefaultConfigurationSerializer.serialize(DefaultConfigurationSerializer.java:313)
 at 
org.apache.jmeter.reporters.ResultCollector.getSerializedSampleResult(ResultCollector.java:448)
 at 
org.apache.jmeter.reporters.ResultCollector.recordResult(ResultCollector.java:436)
 at 
org.apache.jmeter.reporters.ResultCollector.sampleOccurred(ResultCollector.java:416)
 at 
org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:240)
 at 
org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:572)
 at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:309)
 at java.lang.Thread.run(Thread.java:595)

cheers,
   chris 


begin 666 fileformat.jmx
M/#]X;6P@=F5R<VEO;CTB,2XP(B!E;F-O9&EN9STB551&+3@B/SX*/&IM971E
M<E1E<W10;&%N('9E<G-I;VX](C$N,B(@<')O<&5R=&EE<STB,2XX(CX*(" \
M:&%S:%1R964^"B @(" \5&5S=%!L86X@9W5I8VQA<W,](E1E<W10;&%N1W5I
M(B!T97-T8VQA<W,](E1E<W10;&%N(B!T97-T;F%M93TB5&5S="!0;&%N(B!E
M;F%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A;7!L97(@9W5I8VQA<W,](DAT='!497-T4V%M<&QE1W5I(B!T97-T
M8VQA<W,](DA45%!386UP;&5R(B!T97-T;F%M93TB9V]O9VQE(B!E;F%B;&5D
M/2)T<G5E(CX*(" @(" @(" @(#QE;&5M96YT4')O<"!N86UE/2)(5%10<V%M
M<&QE<BY!<F=U;65N=',B(&5L96UE;G14>7!E/2)!<F=U;65N=',B(&=U:6-L
M87-S/2)(5%1007)G=6UE;G1S4&%N96PB('1E<W1C;&%S<STB07)G=6UE;G1S
M(B!T97-T;F%M93TB0F5N=71Z97(@9&5F:6YI97)T92!687)I86)L96XB(&5N
M86)L960](G1R=64B/@H@(" @(" @(" @(" \8V]L;&5C=&EO;E!R;W @;F%M
M93TB07)G=6UE;G1S+F%R9W5M96YT<R(O/@H@(" @(" @(" @/"]E;&5M96YT
M4')O<#X*(" @(" @(" @(#QS=')I;F=0<F]P(&YA;64](DA45%!386UP;&5R
M+F1O;6%I;B(^=W=W+F=O;V=L92YA=#PO<W1R:6YG4')O<#X*(" @(" @(" @
M(#QS=')I;F=0<F]P(&YA;64](DA45%!386UP;&5R+G!O<G0B/CPO<W1R:6YG
M4')O<#X*(" @(" @(" @(#QS=')I;F=0<F]P(&YA;64](DA45%!386UP;&5R
M+G!R;W1O8V]L(CX\+W-T<FEN9U!R;W ^"B @(" @(" @(" \<W1R:6YG4')O
M<"!N86UE/2)(5%104V%M<&QE<BYM971H;V0B/D=%5#PO<W1R:6YG4')O<#X*
M(" @(" @(" @(#QS=')I;F=0<F]P(&YA;64](DA45%!386UP;&5R+F-O;G1E
M;G1%;F-O9&EN9R(^/"]S=')I;F=0<F]P/@H@(" @(" @(" @/'-T<FEN9U!R
M;W @;F%M93TB2%144%-A;7!L97(N<&%T:"(^/"]S=')I;F=0<F]P/@H@(" @
M(" @(" @/&)O;VQ0<F]P(&YA;64](DA45%!386UP;&5R+F9O;&QO=U]R961I
M<F5C=',B/F9A;'-E/"]B;V]L4')O<#X*(" @(" @(" @(#QB;V]L4')O<"!N
M86UE/2)(5%104V%M<&QE<BYA=71O7W)E9&ER96-T<R(^9F%L<V4\+V)O;VQ0
M<F]P/@H@(" @(" @(" @/&)O;VQ0<F]P(&YA;64](DA45%!386UP;&5R+G5S
M95]K965P86QI=F4B/G1R=64\+V)O;VQ0<F]P/@H@(" @(" @(" @/&)O;VQ0
M<F]P(&YA;64](DA45%!386UP;&5R+D1/7TU53%1)4$%25%]03U-4(CYF86QS
M93PO8F]O;%!R;W ^"B @(" @(" @(" \<W1R:6YG4')O<"!N86UE/2)(5%10
M4V%M<&QE<BYM:6UE='EP92(^/"]S=')I;F=0<F]P/@H@(" @(" @(" @/'-T
M<FEN9U!R;W @;F%M93TB2%144%-A;7!L97(N1DE,15].04U%(CX\+W-T<FEN
M9U!R;W ^"B @(" @(" @(" \<W1R:6YG4')O<"!N86UE/2)(5%104V%M<&QE
M<BY&24Q%7T9)14Q$(CX\+W-T<FEN9U!R;W ^"B @(" @(" @(" \<W1R:6YG
M4')O<"!N86UE/2)(5%104V%M<&QE<BYM;VYI=&]R(CYF86QS93PO<W1R:6YG
M4')O<#X*(" @(" @(" @(#QS=')I;F=0<F]P(&YA;64](DA45%!386UP;&5R
M+F5M8F5D9&5D7W5R;%]R92(^/"]S=')I;F=0<F]P/@H@(" @(" @(#PO2%14
M4%-A;7!L97(^"B @(" @(" @/&AA<VA4<F5E+SX*(" @(" @/"]H87-H5')E
M93X*(" @(" @/%)E<W5L=$-O;&QE8W1O<B!G=6EC;&%S<STB5FEE=U)E<W5L
M='-&=6QL5FES=6%L:7IE<B(@=&5S=&-L87-S/2)297-U;'1#;VQL96-T;W(B
M('1E<W1N86UE/2)6:65W(%)E<W5L=',@5')E92(@96YA8FQE9#TB=')U92(^
M"B @(" @(" @/&)O;VQ0<F]P(&YA;64](E)E<W5L=$-O;&QE8W1O<BYE<G)O
M<E]L;V=G:6YG(CYF86QS93PO8F]O;%!R;W ^"B @(" @(" @/&]B:E!R;W ^
M"B @(" @(" @(" \=F%L=64@8VQA<W,](E-A;7!L95-A=F5#;VYF:6=U<F%T
M:6]N(CX*(" @(" @(" @(" @/'1I;64^=')U93PO=&EM93X*(" @(" @(" @
M(" @/&QA=&5N8WD^=')U93PO;&%T96YC>3X*(" @(" @(" @(" @/'1I;65S
M=&%M<#YT<G5E/"]T:6UE<W1A;7 ^"B @(" @(" @(" @(#QS=6-C97-S/G1R
M=64\+W-U8V-E<W,^"B @(" @(" @(" @(#QL86)E;#YT<G5E/"]L86)E;#X*
M(" @(" @(" @(" @/&-O9&4^=')U93PO8V]D93X*(" @(" @(" @(" @/&UE
M<W-A9V4^=')U93PO;65S<V%G93X*(" @(" @(" @(" @/'1H<F5A9$YA;64^
M=')U93PO=&AR96%D3F%M93X*(" @(" @(" @(" @/&1A=&%4>7!E/G1R=64\
M+V1A=&%4>7!E/@H@(" @(" @(" @(" \96YC;V1I;F<^9F%L<V4\+V5N8V]D
M:6YG/@H@(" @(" @(" @(" \87-S97)T:6]N<SYT<G5E/"]A<W-E<G1I;VYS
M/@H@(" @(" @(" @(" \<W5B<F5S=6QT<SYT<G5E/"]S=6)R97-U;'1S/@H@
M(" @(" @(" @(" \<F5S<&]N<V5$871A/F9A;'-E/"]R97-P;VYS941A=&$^
M"B @(" @(" @(" @(#QS86UP;&5R1&%T83YF86QS93PO<V%M<&QE<D1A=&$^
M"B @(" @(" @(" @(#QX;6P^=')U93PO>&UL/@H@(" @(" @(" @(" \9FEE
M;&1.86UE<SYF86QS93PO9FEE;&1.86UE<SX*(" @(" @(" @(" @/')E<W!O
M;G-E2&5A9&5R<SYF86QS93PO<F5S<&]N<V5(96%D97)S/@H@(" @(" @(" @
M(" \<F5Q=65S=$AE861E<G,^9F%L<V4\+W)E<75E<W1(96%D97)S/@H@(" @
M(" @(" @(" \<F5S<&]N<V5$871A3VY%<G)O<CYF86QS93PO<F5S<&]N<V5$
M871A3VY%<G)O<CX*(" @(" @(" @(" @/'-A=F5!<W-E<G1I;VY297-U;'1S
M1F%I;'5R94UE<W-A9V4^9F%L<V4\+W-A=F5!<W-E<G1I;VY297-U;'1S1F%I
M;'5R94UE<W-A9V4^"B @(" @(" @(" @(#QA<W-E<G1I;VYS4F5S=6QT<U1O
M4V%V93XP/"]A<W-E<G1I;VYS4F5S=6QT<U1O4V%V93X*(" @(" @(" @(" @
M/&)Y=&5S/G1R=64\+V)Y=&5S/@H@(" @(" @(" @/"]V86QU93X*(" @(" @
M(" @(#QN86UE/G-A=F5#;VYF:6<\+VYA;64^"B @(" @(" @/"]O8FI0<F]P
M/@H@(" @(" @(#QS=')I;F=0<F]P(&YA;64](F9I;&5N86UE(CX\+W-T<FEN
M9U!R;W ^"B @(" @(#PO4F5S=6QT0V]L;&5C=&]R/@H@(" @(" \:&%S:%1R
M964O/@H@(" @/"]H87-H5')E93X*(" \+VAA<VA4<F5E/@H\+VIM971E<E1E
(<W10;&%N/@H`
`
end



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


Re: fileformat 2.0 not supported in jmeter 2.3 ?

Posted by sebb <se...@gmail.com>.
That should be working - what symptoms are you seeing?

On 30/08/2007, chris <hi...@gmx.at> wrote:
> hi, our xml-output files expect the file_format.testlog=2.0
> it seems that this is not working with release 2.3 ?
>
> any ideas ?
>
> cheers,
>  chris
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

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