On 26 April 2012 09:01, nikolaos prodromidis
<[email protected]> wrote:
> Hello Everyone,
>
> I am trying to write some code (PHP) to detect the version of JMeter a
> script (jmx file) is recorded in. I am parsing the XML, but do not see any
> version information there.

The test plan starts with something like:

<jmeterTestPlan version="1.2" properties="2.2">

The properties version is the value of _version in
saveservice.properties which is supposed to be updated when the file
is updated.
The file is updated when new samplers are added.
However, sometimes that gets forgotten.

> Do you have any suggestions or guidelines for achieving that? It doesn't
> have to be PHP specific, it can be any language, I just want to find a way
> to detect the correct JMeter version.

The latest JMeter version is always the correct JMeter version.

Apart from some deprecated and obsolete samplers, JMeter test plans
should be upwards compatible.

> I have been trying to find an answer for this for quite some time now and
> don't have any luck, please excuse with me if the question is not relevant
> to this forum.
>
> Regards,
> Nikos.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to