ContributionsMost RecentMost LikesSolutionsRe: [Rs]DataSource -> Directory : need access to the file name iManne, When I renamed DataSource -> FileContent property to DataSource -> Filename Filename property now had data source file name (say myXYZ.xml ) . So the problem with that is, I am losing the content of myXYZ.xml . To fix that , I created two properties, with same DataSource configuration (Directory / Filename Filter) DataSource -> FileContent to read the content of myXYZ.xml DataSource -> Filename to get the name of myXYZ.xml SoapUI does not name these names, there seems to be some conflicts. So my soap request started failing. To fix this, I renamed the one of the properties DataSource -> xmlContent to read the content of myXYZ.xml DataSource -> Filename to get the name of myXYZ.xml and this works now. Just letting you know. Seems like the features of "Directory" datasource are not fully tested and baked in. Thanks JigneshRe: [Rs]DataSource -> Directory : need access to the file name iNever mind, you had already replied on how to get the path in the first reply def name = testRunner.testCase.getTestStepByName("DataSource").getDataSource().getFileName() I am all good now. Thanks again.Re: [Rs]DataSource -> Directory : need access to the file name iManne, This worked. It answers my questions. Just curious if there is way to get the full path instead of just file name. I suspect I may need this in near future. Thank you JigneshRe: [Rs]DataSource -> Directory : need access to the file name iits fetching literally the filter, not the filename. Here is its output. Thu Feb 27 14:22:17 PST 2014:INFO:*.xml As you would see in the screen shot earlier, *.xml is the filter I am using to look for just xml file.Re: [Rs]DataSource -> Directory : need access to the file name iFor the the response Jeshtha This gives me the directory/folder path name to the file, without the file name. gives me ..../xmlfolder/ what I want is .../xmlfolder/myFile.xml[Rs]DataSource -> Directory : need access to the file name iI am looping through and read xml files using DataSource -> Directory feature. I have a need to access the xml file name for a given loop iteration in the groovy script test step, either just the xml file name or the full path . How do I do that ? Thank youRe: REST "Response" contains xml value instead of JSONThank you Manne.Re: REST "Response" contains xml value instead of JSONTemil, I am not sure if have made the issue clear to you. This is not a google geocode service. Not all the service will take that option in the resource part. Service I am trying to test always returns json. I believe soapUI is converting that Response in to xml instead. Please suggest any other solution. ThanksREST "Response" contains xml value instead of JSONHi, My JsonSlurper Assertion teststep for a REST response is failing with following error “FAILED: Lexing failed on line: 1, column: 1, while reading ‘<‘ , no possible json value or punctuation could be recognized. My guess is its because the Response contains xml instead of JSON. As you can see the enclosed screen shot, both ResponseAsXML and Response has xml value. I know my REST service returns the JSON, so not sure if SoapUI is turning that in to xml ? Any settings in SoapUI I can use to change it to JSON ? Thanks JigneshProblem opening support ticket for SoapUI proHi, I successfully opened one ticket yesterday morning. While creating a 2nd ticket since yesterday afternoon, I have been getting this error message. (also see the attached screen shot for the error page) . I have already tried opening ticket 4 times since yesterday, but still getting the same error. -------- Authorization Required You must first log in or register before accessing this page. If you have forgotten your password, click Forgot Password to reset it. ---- Here is the steps I am following 1) go to support ticket page and open a technical support ticket 2) after filling the first information page, when I click to add the file /attachment, I have been getting the above error. Please help. Thanks Jignesh