ContributionsMost RecentMost LikesSolutionsReadyAPI - Database Configuration Hi, I am creating a JDBC connection under Projects-> Environments and Endpoints. I was wondering if there is a way to get the password for JDBC from a local csv file rather than inputting it under the database configuration section. Re: Setting ReadyAPI active environment from GitLab CI/CD pipeline Thanks for the reply. There is a POST request in the command and the environment is mentioned as env1. POST "http://remoteServer/environment=env1 If I define a variable for the environment and pass the value in the command, would the process use this as the active environment when executing the test suite in ReadyAPI? Re: Setting ReadyAPI active environment from GitLab CI/CD pipeline A curl command is defined in the .yml file. In this file ReadyAPI tests are executed through testEngine. Setting ReadyAPI active environment from GitLab CI/CD pipeline Our regression test suite runs daily against the environment env1. Occasionally we need to run the test suite against the environment env2. As of now we modify the environment in ReadyAPI and commit the code to the GitLab master branch. This modified code will be run during the daily CI/CD pipeline schedule. Once completed, we again modify the environment in ReadyAPI and commit the code. I was wondering if there is any way to pass the active environment from GitLab to ReadyAPI. This will avoid modifying the code every time we need to run the test against a different environment. Re: Assigning active environment name to a variable in ReadyAPI Thanks Karel. This is perfect Re: Assigning active environment name to a variable in ReadyAPI Thanks Karel for the response. I had simplified the question a lot. The file path for the data source is ${projDir}/Banking_Application/${env}/data/filename.csv The environment name should appear within the path. ${projDir} is another variable that will help to run the project on multiple machines. We have different environments like test1, test2 .... Our goal is to have separate data tables for each environment in their respective folders. Assigning active environment name to a variable in ReadyAPI I have two environments set up for a project. Let's call them env1 and env2. When I set env1 as the active one, the data source used in the test should point to c:/env1/data.csv. Similarly, if env2 is the active environment, the data source should point to c:/env2/data.csv. Please let me know how to do this. SolvedAny idea why the result is in the form of a matrix This is part of my SOAP response. I am trying to extract the value of given i.e Keely . <v3:name use="L"> <v3:family partType="FAM" representation="TXT" mediaType="text/plain">Wiley</v3:family> <v3:given partType="GIV" representation="TXT" mediaType="text/plain">Keely</v3:given> <v3:given partType="GIV" representation="TXT" mediaType="text/plain"/> </v3:name> ---------------------------------- I wrote this script to extract the value. But the result returned is [Keely,null] . Any help would be appreciated. context.utils = new com.eviware.soapui.support.GroovyUtils(context) def response = context.expand( '${SearchQuery#Response}' ) context.holder = context.utils.getXmlHolder(response) // context.holder.getNodeValues("//Put the tagname as below") context.Dueval = context.holder.getNodeValues("//v3:given") //def sVal = context.Dueval.toString() log.info(context.Dueval.toString()) How to assert name from a SOAP response and REST response SOAP request returns first name as '${Query For Name#Response#declare namespace v3=\'urn:hl7-org:v3\'; //v3:PRPA_IN101102CA[1]/v3:controlActEvent[1]/v3:subject[1]/v3:registrationEvent[1]/v3:subject[1]/v3:identifiedEntity[1]/v3:identifiedPerson[1]/v3:name[1]/v3:given[1]}' REST returns first name as '${Search in System#Response#$[\'clients\'][0][\'client\'][\'firstName\']}' is there any way to assert these values using GUI or do I have to use the script assertion method? Re: How to access the variable defined in the setup script from a groovy script Thank you for the detailed explanation