jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Johnson <ans...@gmail.com>
Subject Re: Any way to obtain the JMeter version from the inside?
Date Wed, 12 Sep 2012 19:33:15 GMT
Submitted an enhancement request to have a function or property that
defines the version.  The JMeter version is a pretty basic reporting
need and shouldn't require a BSF Sampler hack to dive into the JMeter
internals IMHO.

https://issues.apache.org/bugzilla/show_bug.cgi?id=53862

Thanks,

Anthony

On Wed, Sep 12, 2012 at 3:21 PM, Deepak Shetty <shettyd@gmail.com> wrote:
> Hi
> Arent we dealing with two different versions here
> a. the version in which the test plan was created (which is what will get
> saved in the JMX script right?)
> b. The current version of jmeter thats running (Jmeterutils)
>
> regards
> deepak
>
> On Wed, Sep 12, 2012 at 12:17 PM, Philippe Mouawad <
> philippe.mouawad@gmail.com> wrote:
>
>> JMeterUtils.getJMeterVersion()
>> In JMX :
>>
>> <jmeterTestPlan ... jmeter="" >
>>
>> On Wed, Sep 12, 2012 at 8:54 PM, Anthony Johnson <ansoni@gmail.com> wrote:
>>
>> > Hey Philippe,
>> >     How would someone obtain that version information in the JMX file
>> > in 2.8?  Is it going to reachable via a property or function?
>> >
>> > Just curious,
>> >
>> > Anthony
>> >
>> > On Wed, Sep 12, 2012 at 2:46 PM, Philippe Mouawad
>> > <philippe.mouawad@gmail.com> wrote:
>> > > And when 2.8 will be available version will be in JMX file.
>> > >
>> > > Regards
>> > > Philippe M
>> > >
>> > > On Wed, Sep 12, 2012 at 8:27 PM, Anthony Johnson <ansoni@gmail.com>
>> > wrote:
>> > >
>> > >> Easiest way I know of is to use a Beanshell/BSF Sampler with the
>> > following:
>> > >>
>> > >> import org.apache.jmeter.util.*;
>> > >> return JMeterUtils.getJMeterVersion();
>> > >>
>> > >> You can save the version to a var or property via the vars or props
>> > >> variable.
>> > >>
>> > >>
>> > >> On Wed, Sep 12, 2012 at 12:54 PM, Mikhail T. <
>> mi+thun@aldan.algebra.com
>> > >
>> > >> wrote:
>> > >> > It does not seem to be among variables or properties listed by
debug
>> > >> > samplers... It, probably, should be there.
>> > >> >
>> > >> > Is there any other way to obtain it from the test-plan's code?
>> Thanks!
>> > >> >
>> > >> >    -mi
>> > >> >
>> > >>
>> > >> ---------------------------------------------------------------------
>> > >> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
>> > >> For additional commands, e-mail: user-help@jmeter.apache.org
>> > >>
>> > >>
>> > >
>> > >
>> > > --
>> > > Cordialement.
>> > > Philippe Mouawad.
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
>> > For additional commands, e-mail: user-help@jmeter.apache.org
>> >
>> >
>>
>>
>> --
>> Cordialement.
>> Philippe Mouawad.
>>

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


Mime
View raw message