ContributionsMost RecentMost LikesSolutionsChanging from SOAP to REST My team and I are currently working on changing from WSDL/XSD based testing to Swagger/OpenAPIv3Definition JSON files for schemas. I am trying to work through this the same as we did with previous tests and ensure all of our bases are covered. One thing that is giving me pause is with WSDL/XSD/SOAP tests, I could easily validate that the request matched the schema. With Swagger/JSON and REST tests, there's no real easy (ALT-V or Right Click->Validate) method to do this. How would one go about doing this sort of validation, to ensure that our data and requests going on match the schema to avoid muddying the waters with positive/happy-day-scenario tests? I started trying to write a groovy script to validate the request, but haven't mad progress so far. Any/all information appreciated! Re: [OffTopic] Who are you outside of testing? Wow, this thread really took off! I am glad to see the input from tristaanogre and sonya_m. I was away at GenCon in Indianapolis, so I was a bit tied up helping my wife sell her artwork to reply, but I was tracking. I also highly recommend Stephen King, especially The Dark Tower series. Those are some of my favorite books. I can provide a whole list of a lot more if anyone ever needs any reading recommendations. ;) I have ~6+ bookshelves full! Speaking of, as I mentioned in my first post, this love of reading hit me early and made me want to be an author one day. I've realized that dream and have had a few short stories published that are actually available on Amazon. I'm so geeked that you can go on Amazon and search my name and see books that have my stories in them! I'm also working on a novel. I already have it written (clocking in at 150,000 words!) but it needs a lot of polishing. My hopes is to eventually have a series. :) Re: WSDL load SoapUI credentials You're replying to a thread that's 8 years old, and if I am not mistaken, are referencing SoapUI Open Source versus ReadyAPI. You might want to try starting your own thread over in the right community area here. Re: Smartbear Virt server upgrade You'll probably want to open a support ticket for this. The forums has some really knowledgeable people here with the products themselves, but for activation/installation/etc. issues, that's usually something that requires official support. Smartbear Support Portal Re: Can I give github repo as a test project for executing via test runner As far as I am aware no, that doesn't quite work that way. Re: Test Engine and Custom Project Properties If you are using the command line testrunner.bat/testrunner.sh to run your projects, you can see a list of command line parameters and arguments here. Specifically: -P<args> Specifies a value of a project property for the test run. This value will override the variable’s value during the run. Usage: -P<variable>=<value>. If the value includes spaces, enclose the entire argument in quotes. To override several variable values, specify the -P argument several times. Re: Is there a way to store a global or project property inside a virtualized service response script? Gotcha, I wasn't certain what you meant in regards to "running in the cloud." That said, I still do not have a good idea of why it would error. What are you seeing as an error message when ran that way?? Re: Is there a way to store a global or project property inside a virtualized service response script? Not off of the top of my head, no. Are you running it headless in the cloud?? Re: Is there a way to store a global or project property inside a virtualized service response script? Not a problem, I really appreciate the chance to help. I love learning, because who knows? I might need to do the same thing down the road. I have a sample groovy script that might work. // Assuming you know how to get the data from the mock Request to save. def propertyValue = "This is a test" // Gets the project we're working in def project = context.mockService.project def testSuite = project.getTestSuiteByName("Test Suite Name") def testCase = testSuite.getTestCaseByname("Test Case Name") def testStep = testCasee.getTestStepByName("Test Step Name") testStep.setPropertyValue("PropertyName", propertyValue) Re: Is there a way to store a global or project property inside a virtualized service response script? Just to clarify, do you need the virtual service script to write data to a test step, or read from it? Not that it much matters, but I can try to see what I can figure out.