I am currently following the 'Blazemeter Jmeter Pro' certification training and while working on an exercise, I noticed that for some reason, the groovy functions aren't working for me. Let me show you:
I wrote a couple of functions in a dummy sampler like this:
Then when I ran, I got the username, password and time as expected
but the token response is just empty.
I got no clue and am just dumbstruck with this issue. This happened to me with the other lecture videos as well. I am guessing that this is a configuration issue. Any help is appreciated.
P.S. This is the function mentioned in the picture:
{"token": ${__groovy(new StringBuilder().append(${counter_variable}).append(${password_variable}).append(${time_variable}),)}}