DataBase inserts while overriding region with -e commandline argument
We have full fledge ready api tests in our projects where in we have regions defined(Dev1, Dev2..) and for every step we inserts data using jdbc insert /update steps , run api and delete data .
So my question is when we run scripts from command line using -e statement where in it will override endpoints to be called , how will ready api determine region of data to be inserted .
C:\SmartBear\ReadyAPI-3.3.2\bin\testrunner.bat -sService -r -a -j -fC:\Path\MyService "-RTestSuite Report" -ehttp://region-dev0-blah.net/demf-my-test <path>
In above example api calls are working fine as its going to region http://region-dev0-blah.net/demf-my-test but my database inserts are failing as region is not specified . In this example how can i say that use url as "-ehttp://region-dev0-blah.net/demf-my-test" but do inserts in "Dev" environment
please help i am completely stuck here
Solved! Go to Solution.
Here is the documentation how you can pass the commandline option for the same
Please try as per documentation and revert back.