I think i didn't express what I meant well... In this case, the whole

SELECT * FROM table WHERE id = ${__threadNum};

is contained in a ${query} variable, read from a file using a csv data set

the ${query} var is being read by a jdbc sampler ... but the $ {__threadNum} portion of the value of ${query} is not being replaced with the thread number ( i assume it is because the whole string is inside a variable)... Is this replacing of a var with a value inside of another var value at all possible? I'll research more on the functions still...

Thanks!


On Jan 11, 2007, at 4:59 AM, sebb wrote:

On 10/01/07, Alexander Wallace <[EMAIL PROTECTED]> wrote:
Is it possible by any chance that if i read data from a csv file,
that strings of the type ${whatever} would be substituted by the
value in jmeter?

such that

SELECT * FROM table WHERE id = ${__threadNum};

would actually but a number for the id?

The SQL text is a string - parameters are not numbers - so it will work OK.

See:

http://jakarta.apache.org/jmeter/usermanual/functions.html#Where

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to