orion1
15 years agoNew Contributor
JDBC Connection Problem in a Loop
Hello,
I need your help for this problem: i'm trying to create a testCase using a JDBC TestStep in a Loop.
The problem is that one time on two, i have an error on my JDBC TestStep, i mean an error message like 'authentification denied...'.
I guess the database i'm calling doesn't authorize more than one connection per user simultanously.
So, i think the solution could be to make a '.close()' on my current connection. That's why i'm asking you:
What is the name of the connection object in my JDBC TestStep on which i could call a .close()? Have you such code lines example?
Thanks for your help,
Regards
I need your help for this problem: i'm trying to create a testCase using a JDBC TestStep in a Loop.
The problem is that one time on two, i have an error on my JDBC TestStep, i mean an error message like 'authentification denied...'.
I guess the database i'm calling doesn't authorize more than one connection per user simultanously.
So, i think the solution could be to make a '.close()' on my current connection. That's why i'm asking you:
What is the name of the connection object in my JDBC TestStep on which i could call a .close()? Have you such code lines example?
Thanks for your help,
Regards