I am writing a load test where in a post request i need to send a value that has unique id in the payload for each request.
We are using ruby-jmeter for performance testing. I see a lot of documents suggesting for jmeter but no mention of how to achieve the same in ruby-jmeter.
Just use JMeter's UUID() function in the place where you need to send the unique ID,
ruby-jmeter
is nothing more than a wrapper hence it fully supports normal syntax for JMeter Functions and VariablesHere is an example in Ruby:
More information on JMeter Functions concept: Apache JMeter Functions - An Introduction