Does anyone know how to connect to cassandra using JDBC connection string in SoapUI.
I have tried from my side, but not able to connect. Based on the research I came
I was able to do it with a creation of Cassandra cluster and using it to connect to the cassandra as following:
import com.datastax.driver.core.Cluster;
import com.datastax.driver.core.Session;
def rs;
//query
def qry = "select id soapuikeyspace.users where id='aaa';"
//create cluster for cassandra
Cluster cluster = new Cluster.Builder().addContactPoint("localhost").withCredentials("cassandra", "cassandra").withPort(9042).build();
//get seesionm from cassandra claster
session = cluster.connect();
//get result set
rs = session.execute(qry);
Required jar's: