I have a page that uses JQuery. This page also has hidden fields whose value is populated dynamically by JQuery (upon dropdown selection).
Now I have an javascript/jquery expression similar to this $('*[name=staffid]').val() - this expression provides me the selected value. I would like to store this value in a variable within JMeter so that I can pass it to subsequent calls or during submit.
How do I evaluate/execute this expression within JMeter so that I can pass these values to subsequent request(s) or store it in a variable for further use.