I'm still coming up to speed with jmeter and I read and googled a lot of pages so far but haven't found the answer to my question.
with the web app I testing I need to set up several user defined variables including dates in specific formats. they don't have to be part of a thread group or updated. they aren't specific to any one response but will be used multiple times.
All the pages I've read the UDV's just seem to be static. and the jmeter docs are too helpful on the matter. I could use bsh if needed.
var monthNames =["-Jan-","-Feb-","-Mar-","-Apr-","-May-","-Jun-","-Jul-", "-Aug-", "-Sep-", "-Oct-", "-Nov-","-Dec-"];
var dt = new Date();
var newDate = dt.getDate() + monthNames[dt.getMonth()] + dt.getFullYear();
If there is a better / different way please enlighten me.
Thanks in advance.