ContributionsMost RecentMost LikesSolutionsSOAPUI- WEB API secures - using burp suite seems able to run the automation with domain setup only 1) I have created a project which REST API executed via SOAPUI free version 2) Previously the execution was run perfectly 3) Some changes made to the Web API to be more secure, then this makes the project failed when runs 4) By setting up the machine following this steps seems makes the project runs again with Proxy setting on SOAPUI following the domain user & password setup. https://stackoverflow.com/questions/914899/testing-web-service-with-soapui-and-windows-authentication 5) But only the machine that has setup as domain is working. Not the one with setup as WorkGroup. Any idea what are the setting should I perform so the automation will run on this workgroup setup PC? Thanks in advanced. REST api - How to run 2 different IDs parallel I'm using 1 TestSuite that getting the response ID from Property Transfer for 2 IDS. I want to run both at the same time. Example: ID1 - Parent ID2 - Child How do I use the SOAPUI free source of the feature or using groovy script? SOAPUI free version - available integrate with teamcity? Is it possible to integrate soapui with build that runs on TeamCity? Re: Getting array value from property transfer Thanks, this can be work if using groovy script. But I just want to retrieve it from the project. What I did is: 1 created 2 IDs from Property Transfer: sendID - $.ResultValue.BackupJobIds[0] sendID2 - $.ResultValue.BackupJobIds[1] NOTE: at the bottom of the PropertyTransfer screen, tick Entitize transferred values(s) - as the original response giving the value [[123]], so I need to get it as [123] Re: How to add double slash as custom properties - example \\networkName ThanksHimanshuTayal, Well I did the double slash but doesnt work, so I put it as \\\\network, then it's working. Btw thanks for the idea Getting array value from property transfer Hi, The response that I get is something like this: { "OperationResultType": "Success", "Code": 0, "Message": "", "Details": "", "ResultValue": { "Ids": [ "177", "178" ], "Errors": [ "", "" ] } } How do I get the array value of "Ids" transferred to next test case? SolvedHow to add double slash as custom properties - example \\networkName Any idea how to add \\ to the custom properties. Seems when I add it, only a slash has been added to the project. Added in custom properties: \\networkName When added the code: "ServerName": "${#Project#Network-location}", excpected --> \\networkName actual--> \networkName SolvedRe: Is it possible to pass custom properties value to command prompt? I finally made a decision to store the value to a file on C:\temp and batch file picks up the value and run the batch based on that ID import groovy.io.FileType project = testRunner.testCase.testSuite.project ; tcase = project.testSuites["TSuiteName"].testCases["TCaseName"] ; def idValue // Get a project property def projectProperty = tcase.getPropertyValue( "ID" ) log.info(projectProperty) def fileName = "test.txt" // Defining a file handler/pointer to handle the file. def inputFile = new File("C:\\Temp\\"+fileName) inputFile.write(projectProperty) //this will solve your issue if the folder name has space //on command prompt, use this command to check //dir /X ~1 c:\ Process proc=Runtime.getRuntime().exec("cmd /c start c:\\PROGRA~2\\test.bat"); proc.waitFor() NOTE: for the batch to picks up the value from text, add this to batch file Echo OFF set /p Id=<"C:\\Temp\\test.txt" echo %Id% echo "This is ID" %Id% Is it possible to pass custom properties value to command prompt? 1) I have a TestCaseA that store some value : Name: ID Value: 10 2) I need one batch file able to pick up the ID that has been store to SOAPUI Custom Properties. 3) Run the batch file Reason: The batch file will run the TestCaseA multiple times and in the batch file, there will be some action where the command will store file into C and transfer file. Question: Is it possible groovy script able to do the same? SolvedUse JSON respond to run TestStep2 after TestStep1 change respond from Running to Completed Hi, I'm new to groovy script, I have to check the value of the JSON respond (Status) that able to change from: 1)Pending 2)Queue 3)Running 4)Completed JSON Respond { "Id":"1", "Name":"Job 1", "Status":"Completed", // this status can be change from pending, queue, running and lastly completed "LastRunStartDateTime":"2019-04-18T22:00:01+08:00", "LastRunDuration":"1m 35s" } Any idea how can I use for loop to check the TestStep 1 will keep on looping until the Status='Completed' and then next to run the TestStep2?