jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 62082] __groovy function seems to have useless synchronized in execute
Date Sat, 10 Mar 2018 19:54:50 GMT

--- Comment #3 from Vladimir Sitnikov <> ---

The link seems to not related to Groovy.

>- there is a risk if Groovy script uses global variables, there is no reason to do that

I agree, there's a little reason to do that. We might want to document how to
avoid global variables.

>- I am not sure about the risk on GroovyClassLoader. I don't think there is as per what
is described here:

As far as I can understand, it means "use of Apache JMeter string interpolation
inside Groovy scripts would result in OutOfMemoryError". In other words, the
best practice is to keep script string constant and pass all the params via
parameters and/or Apache JMeter variables.

You are receiving this mail because:
You are the assignee for the bug.
View raw message