Re: Adding script before loading configuration

2018-08-28 Thread Philippe Mouawad
Setup thread group would not work for a user needing some init code for recording. On Wednesday, August 29, 2018, sebb wrote: > On 28 August 2018 at 19:40, Philippe Mouawad > wrote: > > Hello, > > This exists currently with Beanshell and I agree this should be possible > > with JSR223 as we adv

Re: Adding script before loading configuration

2018-08-28 Thread Jmeter Tea
Hi Setup thread group doesn't work, for example, HTTP Header Manager with variables can't be set with User Parameters in setup thread group (although variables are set ok) On Wed, Aug 29, 2018 at 2:10 AM sebb wrote: > On 28 August 2018 at 19:40, Philippe Mouawad > wrote: > > Hello, > > This ex

Re: Adding script before loading configuration

2018-08-28 Thread sebb
On 28 August 2018 at 19:40, Philippe Mouawad wrote: > Hello, > This exists currently with Beanshell and I agree this should be possible > with JSR223 as we advise to move out from Beanshell and it's the last place > where Beanshell is needed. I don't think that's quite true. Beanshell allows the

Re: Adding script before loading configuration

2018-08-28 Thread Philippe Mouawad
Hello, This exists currently with Beanshell and I agree this should be possible with JSR223 as we advise to move out from Beanshell and it's the last place where Beanshell is needed. Property: - beanshell.init.file= See JMeter#startOptionalServers So if you propose a patch, I'll be happy to

Adding script before loading configuration

2018-08-28 Thread Jmeter Tea
Hello, Many times users expect to setup configuration elements before execution (as below question) I wonder if we can add a option to run a JSR223 script on load or before executing a run to setup some variables/properties that can be used in configuration elements Thank you https://stackoverfl