Apache Jmeter + Random Double
- by Filipe Batista
Is it possible to generate random double numbers in JMeter?
I tried to use the Random in the config element where i have defined the
Minimum value: 47.9999 (RND1)
Maximum value: 30.9999 (RND2)
Then in the selected Prepared Selected Statement i placed this values:
Parameter values:${RND1},${RND1},${RND2}
Parameter types:DOUBLE,DOUBLE,DOUBLE
But it seems not work, because i receive an error:
Response message: java.sql.SQLException: Cannot convert class
java.lang.String to SQL type requested due to
java.lang.NumberFormatException - For input string: "${RND1}"