Contributions
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?2 years agoPlace ReadyAPI QuestionsReadyAPI Questions733Views0likes0CommentsSetting 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.791Views0likes4Comments- 2 years agoPlace ReadyAPI QuestionsReadyAPI Questions716Views0likes0Comments
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.2 years agoPlace ReadyAPI QuestionsReadyAPI Questions760Views0likes1CommentAssigning active environment name to a variable in ReadyAPI
I have two environments set up for a project. Let's call themenv1andenv2. When I setenv1as the active one, the data source used in the test should point to c:/env1/data.csv. Similarly, ifenv2is the active environment, the data source should point to c:/env2/data.csv. Please let me know how to do this.Solved784Views0likes4CommentsAny 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())490Views0likes1CommentHow 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?393Views0likes0Comments