Hi Kai,

Functions are generally described in
http://jakarta.apache.org/jmeter/usermanual/functions.html
and
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#functions

To use __threadnum do the following
1) create the request object
2) create a param
3) Open function helper dlg
4) Choose __threadNum. This function needs no additional parameters.
5) click generate
6) copy what it generates and paste it as a value to sampler param. It should 
look like ${__threadNum}, nothing more nothing less...

Another functions are used in similar way, you need to fill only requested 
fields in helper dialog. 
Referencing to the result of a function in following requests is a bit tricky, 
it depends on functions and I personally saw no documentation about this. For 
example to refer to previous regex result, matching group one, named for 
example id, you should write ${id_g1} (for further reference check in this 
mailng list archive and if that fails, ask on this list)

best regards
Michal Kostrzewa


--
To unsubscribe, e-mail:   <mailto:jmeter-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:jmeter-user-help@;jakarta.apache.org>

Reply via email to