zsousa
10 years agoContributor
Environments
is there a way to link environments with certain databases? so I have several environments and several databases. What I want to do is when I switch to a new environment I want the system to also sel...
1. Create a new database connection under 'Databases' for your project.
2. Name is something which makes sense for your application like 'APP1_DB'
3. Now go to 'Environments' module and do below for each environment
a. Go to JDBC Connections tab in environment
b. The new DB you created under Databases should show up there
c. Change the DB Driver/ Connection string value to what's specific to the environment.
4. Use the saved DB Name in JDBC Tests Steps, JDBC Data Sources etc.
5. When you switch environment for execution, Ready API should should use the appropriate DB Conneciton settings as you specified in step 3 for each environment.
Regards,
Gilu Gopi