JMeterUtils.getJMeterVersion() In JMX : <jmeterTestPlan ... jmeter="" >
On Wed, Sep 12, 2012 at 8:54 PM, Anthony Johnson <[email protected]> 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 > <[email protected]> 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 <[email protected]> > 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. <[email protected] > > > >> 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: [email protected] > >> For additional commands, e-mail: [email protected] > >> > >> > > > > > > -- > > Cordialement. > > Philippe Mouawad. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Cordialement. Philippe Mouawad.
