On Tue, Dec 1, 2020 at 11:21 AM glin...@live.com <glin...@live.com> wrote:
>
> You can set a JMeter Property via  __setProperty() function
> <https://jmeter.apache.org/usermanual/functions.html#__setProperty>   like:
>
>
> > ${__setProperty(foo,bar,)}
>
> will create a JMeter property "foo" with the value of "bar" which you can
> read using  __P() function
> <https://jmeter.apache.org/usermanual/functions.html#__P>   like
>
>
> > ${__P(foo,)}
>
> where required.
>
> More information: Knit One Pearl Two: How to Use Variables in Different
> Thread Groups
> <https://www.blazemeter.com/blog/knit-one-pearl-two-how-use-variables-different-thread-groups>
>

>From https://www.blazemeter.com/blog/apache-jmeter-properties-customization,

There are 2 types of properties which are in use by Apache JMeter ...:

- System Properties
- JMeter Properties

I know one can set a *JMeter* Property via  __setProperty() function,
but it is the "*System* Properties" that I was talking about.

I need to set a system property programmatically *within* JMeter.

thanks

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

Reply via email to