First, I am not sure why you're working with a csv file to define
properties, you can simply create a properties file and pass it to JMeter
with -p filename.properties.

My only suggestion is for you to use static values directly both in the
config element and in the JDBC sampler. Start from there again, just to see
that it doesn't have to do with variables/properties or the
StringFromFile() that you're using..

Last - you can move the mysql-connector-java-5.1.22-bin.jar to lib/ext and
it should get loaded automatically for you as part of the class path, I
think it should work for you also if it's in the lib folder, so you don't
need the reference in the testplan root element. This will save you time in
case you'll move the script to other computers where jmeter may live in
other paths.

Best,
Shmuel Krakower.
www.Beatsoo.org - re-use your jmeter scripts for application performance
monitoring from worldwide locations for free.


On Thu, Jan 10, 2013 at 8:41 AM, Dzmitry_Kashlach <[email protected]
> wrote:

> 2sebb-2-2
>   No, changing property reference to fixed port number does not give
> expected result(See screenshots from below).
>
> View Results Tree:
> <http://jmeter.512774.n5.nabble.com/file/n5715771/13.jpg>
>
>  I suppose, that this issue may not be connected with port number but with
> some MySQL configuration. How know, is it possible?
>
> Script is and CSV file are attached.
> mysql.zip <http://jmeter.512774.n5.nabble.com/file/n5715771/mysql.zip>
>
> 2Shmuel Krakower:
>   <http://jmeter.512774.n5.nabble.com/file/n5715771/14.jpg>
>  It seems like this issue does not depend on delay, because I already have
> timer in tesplan, about 5-8 seconds, and it has no influence.
>
>
>
>
> --
> View this message in context:
> http://jmeter.512774.n5.nabble.com/How-to-cast-String-to-Integer-in-JMeter-tp5715669p5715771.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]
>
>

Reply via email to