I am using Devtest10.3 to read values from Maria DB(Mysql tool). I am using step "Read Rows from a JDBC Table" . I have specified the password and all other parameters.
When I am running the test locally it is working fine and I am able to create connection through JDBC. However, if the test is running thorugh command prompt or build.xml (ANT), I am getting below error :
Standard Output from JUnitRunLISA
java.sql.SQLInvalidAuthorizationSpecException: Access denied for user 'username'@'machine name' (using password: NO)It seems it is not picking the password. Require urgent help.
How are you executing this from the command line?
Is this through command line on the same machine you tested locally?
It is actually working now with command line through Test Runner but it is not working through Ant build.xml.
Also, is there a way we can parameterize the password in "Read Rows from a JDBC Table" step becaise if the password change tomorrow, I would have to go to all scripts manually and change the password.. Can it be defined at a single place ?
To add here is I am running on local