On 29 December 2012 06:34, Dzmitry_Kashlach <[email protected]> wrote:
> No,  I get correct value, screenshot is attached.
> Besides, it happens only when I run test-plan for the first time after
> starting JMeter. If I re-run test-plan - everything is ok. So, I suppose,
> that correct value is applied, but after it is passed to JDBC Connection
> Configuration for the first time.
> <http://jmeter.512774.n5.nabble.com/file/n5715671/9.jpg>

At that point, the port property is defined.
The JDBC Config runs earlier, so the property may not have been defined then.
Note that the property function returns the property name if the
property is not defined, so a complaint that 'port' is not numeric
means that 'port' was not defined at the point of use.

Try definining port as a Test Plan variable (at least initially).

>
>
> --
> View this message in context: 
> http://jmeter.512774.n5.nabble.com/How-to-cast-String-to-Integer-in-JMeter-tp5715669p5715671.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