jdbc error getting response for myTeststep; null
I've tried to connect to a Cassandra-DB with the following driver:
com.dbschema.CassandraJdbcDriver
https://github.com/DataGrip/cassandra-jdbc-driver
After configured the JDBC-Request Step and running them, I get two messages in the ReadyAPI Log and no StackTrace in the error log:
The JDBC driver [com.dbschema.CassandraJdbcDriver] is already registered.
Thu Mar 19 17:40:37 CET 2020: INFO: Error getting response for [myTestStep]; null
By passing a wrong Connection-String to the driver, a driver-exception occurs. So I think I use the correct Connection-String.
jdbc:cassandra://localhost:9042/mykeyspace?user=myusername&password=PASS_VALUE
I have solved my problem. Because of trying difference jdbc-drivers, there was a wrong jar-file version.
Using my java-code in a groovy step, it has returned a Class-not-found-exception. Then I checked the jars and found a wrong version. The jdbc-driver expected a newer version of the cassandra-driver-core. On trying an earlier jdbc-driver, there was an older version in the lib directory.
Why is this exception not thrown in the normal JDBC-Request-Step?