Where i have to pass the split function in JMeter? I want to split the string such as V_12 I want the V for the if controller so how can I do this I tried to like this but it is not splitting the string
${__split(v_12,test_2,_)}
See :
You would use ${__split(v_12, varName, _)}
Then access $varName_1 which would contain v
Make sure you're following proper syntax for variable names, etc. See the documentation of the split function.
Also, you'd want to place it before the If controller as part of a beanshell script, OR as the logic for the IF controller.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With