vintage52
13 years agoOccasional Contributor
[Resolved] Environment Handling - Env to JDBC
Hello all
I've set up two environments at Project level using the following guide as per the link below:
http://www.soapui.org/Working-with-Projects/environment-handling-in-soapui.html
I have two JDBC connections configured.
I have added custom dbDriver and dbConnection properties at env project level.
I have assigned the driver and connection strings to each property respectively.
I then reference the properties in each of my JDBC request steps like this: ${#Project#dbDriver} and {#Project#dbConnection}.
When running the entire test suite or just a test case within the suite with an environment selected in the TestSuites tab, the JDBC Requests fail.
When I look at the guide it does not say how to point a specific env to a specific JDBC.
Appreciate any help I can get.
Cheers
Bill
I've set up two environments at Project level using the following guide as per the link below:
http://www.soapui.org/Working-with-Projects/environment-handling-in-soapui.html
I have two JDBC connections configured.
I have added custom dbDriver and dbConnection properties at env project level.
I have assigned the driver and connection strings to each property respectively.
I then reference the properties in each of my JDBC request steps like this: ${#Project#dbDriver} and {#Project#dbConnection}.
When running the entire test suite or just a test case within the suite with an environment selected in the TestSuites tab, the JDBC Requests fail.
When I look at the guide it does not say how to point a specific env to a specific JDBC.
Appreciate any help I can get.
Cheers
Bill