Hi!

Instead of using Random function try use 'Random Variable'
configuration element.

Before you use data from db you have to fetch those data. To fetch
data use 'JDBC Connection Configuration' and 'JDBC Request' elements.
Read this: http://jakarta.apache.org/jmeter/usermanual/build-db-test-plan.html.


Best regards,
Jakub


2009/9/7 dilantha <dilantha.tyr...@gmail.com>:
>
> Hi All,
>  I'm bit new to jmeter so at the moment im facing some problems with load
> testing. Currently im using jmeter for load testing in a web application. I
> just want to know how can i generate a random value with the http request
> and send . For example just assume that i have a parameter called "id" how
> can i generate a random id to send with the http request..What should i type
> under the value field?..i just type ${_Random(1,10)} under the value field
> but it did not work..and the other thing is if i want to assign a value to a
> field from a set of values which are stored in the data base how can i do
> that?..is it possible?:-(..If some one know the solution please be kind
> enough to send it..Thanks a lot..
> --
> View this message in context: 
> http://www.nabble.com/How-to-add-random-values..-tp25330799p25330799.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org

Reply via email to