On Fri, Jan 27, 2012 at 6:03 AM, Deepak Shetty <[email protected]> wrote:

> String value = props.getProperty("propertyName");
>

Thanks a lot Deepak.

>
> On Thu, Jan 26, 2012 at 4:31 PM, Nirodha Pramod <[email protected]> wrote:
>
> > On Fri, Jan 27, 2012 at 4:46 AM, Deepak Shetty <[email protected]>
> wrote:
> >
> > > the jmeter properties is passed as the props object to beanshell. You
> can
> > > use that
> > >
> >
> > Can you please explain with the syntax, since I'm a beginner for Jmeter.
> >
> > Thanks,
> > Nirodha
> >
> > >
> > > On Thu, Jan 26, 2012 at 3:04 PM, Nirodha Pramod <[email protected]>
> > wrote:
> > >
> > > > Hi,
> > > >
> > > > I'm running jmeter scripts via an ANT task. So I pass My own property
> > > > called "csvread.filename" in that ANT task. But I could not find the
> > > syntax
> > > > to use in order to retrieve that property value inside beanshell PP.
> I
> > > > tried vars.get("_property(csvread.filename)"); but it didn't work.
> > > >
> > > > Can someone tell me the correct way to retrieve a property value
> inside
> > > the
> > > > beanshell.
> > > >
> > > > Thanks & regards,
> > > > Nirodha
> > > >
> > > > --
> > > > *Nirodha Gallage*
> > > > Software Engineer, QA.
> > > > WSO2 Inc.: http://wso2.com/
> > > > Email: [email protected]   Mobile: +94716429078
> > > >
> > >
> >
> >
> >
> > --
> > *Nirodha Gallage*
> > Software Engineer, QA.
> > WSO2 Inc.: http://wso2.com/
> > Email: [email protected]   Mobile: +94716429078
> >
>



-- 
*Nirodha Gallage*
Software Engineer, QA.
WSO2 Inc.: http://wso2.com/
Email: [email protected]   Mobile: +94716429078

Reply via email to