Hi What's the Pool configuration? It might be that you are trying to open many connections and the first sample occurs too soon. Try either: 1. Setting the connection pool to 1s and make sure you have a single thread in your thread group. 2. Put a sleep of couple of seconds before the first JDBC sample occurs.
Best, Shmuel Krakower. www.Beatsoo.org - re-use your jmeter scripts for application performance monitoring from worldwide locations for free. On Tue, Jan 8, 2013 at 8:56 AM, 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. > 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] > >
