Contributions
Re: [Rs]DataSource -> Directory : need access to the file name i
Manne, 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 Jignesh11 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.3KViews0likes0CommentsRe: [Rs]DataSource -> Directory : need access to the file name i
Never 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.11 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.3KViews0likes0CommentsRe: [Rs]DataSource -> Directory : need access to the file name i
Manne, 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 Jignesh11 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.3KViews0likes0CommentsRe: [Rs]DataSource -> Directory : need access to the file name i
its 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.11 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.3KViews0likes0CommentsRe: [Rs]DataSource -> Directory : need access to the file name i
For 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.xml11 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.3KViews0likes0Comments[Rs]DataSource -> Directory : need access to the file name i
I 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 you11 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.6KViews0likes8Comments- 11 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.9KViews0likes0Comments
Re: REST "Response" contains xml value instead of JSON
Temil, 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. Thanks11 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.9KViews0likes0CommentsREST "Response" contains xml value instead of JSON
Hi, 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 Jignesh11 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.9KViews0likes4CommentsProblem opening support ticket for SoapUI pro
Hi, 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 Jignesh11 years agoPlace ReadyAPI QuestionsReadyAPI Questions1KViews0likes1Comment