On 8 January 2013 06:56, Dzmitry_Kashlach <[email protected]> wrote:
>    I have tried this approach. As I can understand, if I set port as Test
> Plan variable - it works. But I have another issue, related to reading data
> from database.
> and that is what I've received, when I run test-plan for the first time:
>
> <http://jmeter.512774.n5.nabble.com/file/n5715742/10.jpg>
>
>   At the same time, SQL query is processed correctly when I run test-plan
> for the second time, third time, etc.
> It seems like the problem is very similar to the issue with database port,
> but I cannot understand, how to fix it.

JDBC Config is processed before CSV Dataset, This is documented for
CSV Dataset [1]

For such variables, you will need to define them as properties on the
command-line (or in user.properties) and reference them using __P().

[1] 
http://jmeter.apache.org/usermanual/component_reference.html#CSV_Data_Set_Config
>   Does anybody have any ideas?
>
>
>
> --
> View this message in context: 
> http://jmeter.512774.n5.nabble.com/How-to-cast-String-to-Integer-in-JMeter-tp5715669p5715742.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> 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