Forum Discussion
Clear_Capital__
11 years agoContributor
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
Jignesh
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
Jignesh