ContributionsMost RecentMost LikesSolutionsRe: Contains assertion add a groovy step to create your variable date If you want today's date as the date to check you can add this myDate = new Date() context.testCase.setPropertyValue("date", myDate.format("MM-dd-yyyy 00:00:00")) and then in your assertion step put this in to pull the variable from your property ${#TestCase#date} if you are wanting to dynamically get tomorrows date then myDate = new Date() myDate = myDate - 1 context.testCase.setPropertyValue("date", myDate.format("MM-dd-yyyy 00:00:00")) Re: Keep Alive try putting in a value in this locationFile -> Preferences -> HTTP Settings -> Socket Timeout Re: SOAP UI responses -How to check the format of a node value // Iterate through your nodes grabbing the value of each tag you are needing to validate and check for the acceptable patterns. Assert pass or failure accordingly a = "alDMMKG-JJG'Haja" // passes for all acceptable patterns b = "sliuugie3jksl" // fails for a number in the string c = "-ksaieJKLU" // fails for begining with a special character // this will look for all of the acceptable characters are present and if something else appears then you can assert a failure if (a ==~ /^[a-zA-Z-']+$/) { log.info "pass" }else{ log.info "fail" } // this will look at the first digit for non alpha characters and will fail if anything other than an alpha character appears at the beginning of the string if ( a.take(1) ==~ /^[a-zA-Z]+$/) { log.info "pass" }else{ log.info "fail" } Re: Check File Upload REST API in SOAP UI Are you using the attachment tab in your POST request? For a project I have I added a groovy step to encode an attachment to use in the body of my POST request // Set results file path def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context) def projectDir = groovyUtils.projectPath folder = projectDir+"\\Results\\"; resultFile = context.testCase.getPropertyValue("TestResultsFile") if (resultFile != '') { resultFilePath = folder + resultFile testRunner.testCase.setPropertyValue("resultFilePath", resultFilePath ) // encode file ResultsPath = context.testCase.getPropertyValue("resultFilePath") def inputFile = new File(ResultsPath) String encoded = inputFile.bytes.encodeBase64().toString() testRunner.testCase.setPropertyValue("EncodedFileRequest", "$encoded" ) // get request def request = testRunner.testCase.getTestStepByName( "AttachmentContentRequest" ).testRequest log.info request // clear existing attachments for( a in request.attachments ) { request.removeAttachment( a ) } // get file to attach //ResultsPath = context.testCase.getPropertyValue("resultFilePath") def file = new File(ResultsPath) log.info file if ( file == null) { log.info "bad filename" } else { // attach and set properties def attachment = request.attachFile( file, true ) //attachment.contentType = "application/octet-stream" attachment.contentType = "base64Binary" attachment.setPart( "Message" ) } }else{ testRunner.gotoStepByName("Loop") } Then pass the values that are need in the attachment tab. The image of from SoapUI Pro but it also works with the non pro Re: SOAP UI responses -How to check the format of a node value can you give an example of the response you are wanting to compare? What formats are you comparing? Re: Can we clone one test case to multiple test cases using SOAPUI PRO Given your response I can only assume you do not have a license for LoadUI. Without a license you can only create 10 virtual users. Your other option is to get familiar with JMeter whichis an open source load tool. Re: Can we clone one test case to multiple test cases using SOAPUI PRO If you are needing it to run a load test with 500 instances then why not have one test case for 500 virtual users/threads. Would this not accomplish the same goal? Having that many test cases might get a little messy. Re: XPAth query def infoKey = context.expand( '${SoapServiceStep#declare namespace ac=\'http://www.moneygram.com/AgentConnect1705\'; //ac:transactionLookupResponse[1]/ac:Payload[1]/ac:infos[1]/ac:info[2]/ac:infos[1]/ac:info[18]/ac:infoKey[1]}' ) log.info infoKey This should find your value. Add a groovy step and paste this and update the name of the step where I called it "SoapServiceStep"When you run it you should get the value you are looking to find. Re: raeadyapi cli issue I used to have two projects that would run within a single execution in Jenkins. Both projects would share an excel spreadsheet. When the first project would run it would log information into the spreadsheet that wouldthen be used by the second project. In order to run them both from a single Jenkins jobI added this code as the teardown script at the Suite Level of the first project. And what it does is runthe second project withinthe same workspace. It's not the easiest solution but it did work. import com.eviware.soapui.impl.wsdl.WsdlProject def project = null projectPath=context.expand('${projectDir}') def workspace = testSuite.project.getWorkspace(); try{ if(workspace != null){ project = workspace.getProjectByName("Project2") project = new WsdlProject(projectPath+"/Project2-soapui-project.xml"); } //if running in Jenkins/Hudson else{ project = new WsdlProject(projectPath+"/Project2-soapui-project.xml"); } } catch(Exception e) { log.error("Service Exception desc : " + e.getMessage()); } try{ if(project.open && project.name == "Project2" ) { def properties = new com.eviware.soapui.support.types.StringToObjectMap () def testCase = project.getTestSuiteByName("Project2_TestSuite").getTestCaseByName("Project2Case"); if(testCase == null) { throw new RuntimeException("Could not locate testcase 'Project2Case'! "); } else{ testCase.setPropertyValue("projectPath_1", projectPath ) def runner = testCase.run(properties, false); } } else{ throw new RuntimeException("Could not find project 'Project2' !") } } catch(Exception e) { log.error("Service Exception desc : " + e.getMessage()); } project = null Re: Passing a value in a Groovy request and catching the response If you are needing to get your response use this instead def response = context.expand( '${RetrieveEquipmentModelDetail#Response}')