cancel
Showing results for 
Search instead for 
Did you mean: 

Datasource

Highlighted
Frequent Contributor

Datasource

I have created excel datasource. i have added properties and executed the data source step.
I opened the data source editor and selected xml. I did not execute anything now. i selected excel again and i see that all the data vanished.Is the way it has to behave?
9 REPLIES 9
Highlighted

Re: Datasource

Hi!

yes, I think so.. you need to run the TestCase to get the request populated from your DataSource.. (if I understand you correctly, check out http://www.eviware.com/blogs/oleblog/?p=619 if you haven't already)

regards!

/Ole
eviware.com

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️Please mark my answer as a solution if it was helpful
Highlighted
Frequent Contributor

Re: Datasource

Hi Ole,I am able to get the data to the request....only thing is that...when i select other options after creating properties and executing them, whole data is gone in the Datasource...
Highlighted
Frequent Contributor

Re: Datasource

When i try to create once again it doesnt allow me to create properties in Datasource..I need to close SoapUI and then create once again
Highlighted

Re: Datasource

It sounds like the data is getting cleared when you select different properties for generating it, which is the correct behaviour. Or a

/Nenad
http://eviware.com

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️Please mark my answer as a solution if it was helpful
Highlighted
Frequent Contributor

Re: Datasource

yeah its clearing the data...i was showing all the features to my teammates....i had to create the data again
Highlighted

Re: Datasource

Hi Usha,

I still don't really understand when the data is being cleared, can you attach some screenshots to visualize?

regards!

/Ole
eviware.com

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️Please mark my answer as a solution if it was helpful
Highlighted
Frequent Contributor

Re: Datasource

I have attached the snapshots
Highlighted
Frequent Contributor

Re: Datasource

1. I have selected Excel and created properties and gave the excel sheet path and executed Datasource step.
2. I selected Groovy this time.
3. I selected Excel again, properties and excel file path  cleared.
When i try to create the properties again, it doesnt show up Properties.
When i close SoapUI and then create it will allow me...
Not sure if this is the intended behaviour...I was assuming that data would preserved.
Highlighted

Re: Datasource

Hello,

It is ok, when you change DataSource data to be cleared. It is intended. I tried to reproduce when in does not allow you to add new properties when you change DS, but it work fine to me. Did you get any error when you tried to do it( see error log)? Can you
try nightly build?

Let me know, does this helps you,
robert

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️Please mark my answer as a solution if it was helpful
New Here?
Join us and watch the welcome video:
Announcements
Script Wanted
Let's start July with new challenges!

Create a script to change request body before sending it to the server for the TechCorner tag!


Scripts created in June:
- A script to generate a request body based on data from Datasource
- A script to go through all response nodes and check the value of the required field
- A Dispatching script to get responses based on the values in Request Body
- A script to add a new tag and assign it to all TestCases in a TestSuite