You can use the Test Action Sampler:

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Test_Action

which does not generate a sample.

Or you can use the setProperty function call in any other existing sampler.

On 08/08/07, David Bronner <[EMAIL PROTECTED]> wrote:
> I've used setProperty for exactly this purpose in the past.
>
> In general, when I want to call functions outside the context of a specific
> request, I add a new Java Request sampler, set Sleep_Time to 0 and put my
> function into any of the fields.  This is annoying since the Java Request
> shows up in the test output, but I don't know of any no-op GUI elements that
> can be used instead.
>
> -Dave
>
> On 8/2/07, norken76 <[EMAIL PROTECTED]> wrote:
> >
> >
> > ok. it looks like no one has used setProperty function.
> >
> > does anyone know of other way to achieve this purpose ? (to get a value
> > from
> > a task group and passe it to another task group later in the test ) ?
> >
> > thanks
> >
> >
> >
> >
> > norken76 wrote:
> > >
> > > No one has used this function before ???
> > >
> > >
> > >
> > > norken76 wrote:
> > >>
> > >> has any one used this function (setProperty) from a GUI element.
> > >> I can't find a way to use it after a RE extractor on JDBC request in
> > >> order to set a property that I need to use later in the test (in a diff
> > >> task group).
> > >> any idea ??
> > >>
> > >> thanks
> > >>
> > >> norken76 wrote:
> > >>>
> > >>> Hello Guys,
> > >>> I am trying to pass a property from one thread group to another later
> > in
> > >>> the test. I assume that setProperty function is the way to achieve it,
> > >>> however I don't seem to find where to call that function from, knowing
> > >>> that I am building this test from GUI, and I am using RE-extractor to
> > >>> get the property I am trying to set from a sampler "JDBC request". any
> > >>> thoughts ?
> > >>>
> > >>> thanks
> > >>>
> > >>
> > >>
> > >
> > >
> >
> > --
> > View this message in context:
> > http://www.nabble.com/setProperty-function-tf4136285.html#a11965053
> > Sent from the JMeter - User mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>

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

Reply via email to