On 01/12/05, Benjamin Francisoud <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
>
> >http://issues.apache.org/bugzilla/show_bug.cgi?id=37716
> >
> >------- Additional Comments From [EMAIL PROTECTED]  2005-12-01 00:10 -------
> >Thanks very much - it's particularly useful to have the JUnit testcase.
> >
> >
> Your welcome :)
>
> >I've applied the patch to the 2.1 branch.
> >
> >
> Thank you very much to applied my patch so quickly :)
>
> >BTW, PostWriter.CRLF and PostWriterTest.CRLF need to remain private - final
> >arrays are mutable (unless they have zero entries), so it's not completely 
> >safe
> >to share them.
> >
> >
> I didn't knew that, I learned something today ;)

I think I got that from Joshua Bloch - Effective Java. Well worth
reading (and re-reading).

> I get the latest svn files from svn today and made my own custom jmeter
> distribution... so I can provide a patch to my client (actually a full
> new dist).
> It worked well but a TestPlan made my dist is not compatible (can't be
> opened) with the official release 2.1.1
>
> I know that since I'm using the latest svn I am not using jmeter as a
> normal user should...
> Is there any simple way to make a descendant compatibility between jmx ?

Backwards compatibility is difficult with the new Xstream format, but
the 2.0 format should be compatible (assuming the earlier release
supports the test element at all).

> Was such a thing ever possible with jmx (test plan made with 2.1 can be
> use with 2.0 for example...) ?

Save in 2.0 format.

> A more general question: how do you achieve ascendant compatibility
> between TestPlan (users'jmx) and jmeter releases

Upward compatibilty is possible; this depends on
saveservice.properties and upgrade.properties plus code support if
necessary.

The 2.0 format always saved the full class names; upgrade.properties
was used purely to allow class name changes.

SInce 2.1, the JMX format is also abbreviated. This is based on
saveservice.properties. In order to decode the abbreviations, one has
to have the appropriate mappings defined. Also, further abbreviation
can be done by the marshal() procedures.

> I didn't find anything on the wiki... where should I dig? (just to
> understand how this works) ...

It's not documented, as far as I know. One needs to test with
different versions of JMX files.

> --
> Benjamin Francisoud
>
> ------------------------------------------------------------------------------------------------------------------
> I don't open this as a bug because I know this is not a normal use of
> jmeter... but here's the error log I get:
>
> 2005/12/01 15:16:56 INFO  - jmeter.gui.action.Load: Loading file:
> C:\Temp\jmeter\dist-2.1.1.20051201\PlanTest.jmx
> 2005/12/01 15:16:56 INFO  - jmeter.protocol.http.sampler.HTTPSampler2:
> httpsampler2.basicauth=false
> 2005/12/01 15:16:56 INFO  - jmeter.save.SaveService: Using SaveService
> properties file 1.7
> 2005/12/01 15:16:56 WARN  - jmeter.save.SaveService: Could not set up
> alias WebServiceSampler java.lang.NoClassDefFoundError:
> javax/mail/MessagingException
> 2005/12/01 15:16:56 INFO  - jmeter.save.SaveService: All converter
> versions present and correct
> 2005/12/01 15:16:56 ERROR -
> jmeter.save.converters.TestElementPropertyConverter: Couldn't unmarshall
> TestElementProperty java.lang.ClassNotFoundException: Arguments

Looks like the Arguments alias has not been defined.

S.

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

Reply via email to