Forum Discussion

Senthil007's avatar
Senthil007
Occasional Contributor
8 years ago

how to override endpoints and database names from external shell script in SOAPUI NG?

we have defined Database connection strings and endpoints for multiple environments. When I pass the Environment names, it picks up the right database connection and endpoints and executes test correctly. When we run our script from Jenkins, we want to run on the new deployed instances, so we need to capture the endpoint from the CD job in jenkins and pass it to script. When we do this it takes the end point correctly, but it is not able to change the database connections. So, how do we override endpoints and database names from external shell script?

 

I tried the below, it didn't work

 

/var/lib/jenkins-wrk/SmartBear/ReadyAPI-1.9.0/bin/testrunner.sh -sdeployment "-RProject Report"  -ehttp://xyz_test_1.10" ${WORKSPACE}