jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 62082] __groovy function seems to have useless synchronized in execute
Date Sat, 10 Mar 2018 19:54:50 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=62082

--- Comment #3 from Vladimir Sitnikov <sitnikov.vladimir@gmail.com> ---
>- https://stackoverflow.com/q/48648931/460802

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.
Mime
View raw message