Forum Discussion
Thanks Richie, I am a newbie to this and it has been a few years away from any "programming"
Yes I use Soap all the time and I followed the steps of when I had a good working soap to make a test case and then add a datasource(Excel) and DataLoop.
The soap obviously still had the data from the run where I made sure it was accurate.
So I setup datasource with 10 rows of data - loaded from the Excel(DataLog) shows the data
Then the Soap request - I have tried both with the original data and a new request(with its ?). As I read the doc it implied that it would start from the top and apply the data to the fields in the request.
The dataLoop was setup from DataSource to the Target (Which was the soaprequest).
The first pass worked cause it had the data from the original test under projects.
I am sure these are very easy for most of you but what I thought would be straightforward does not seem to be.
Thanks in advance
Sorry - Im still struggling to understand - are you saying - the first iteration works fine, populating the request, but on subsequent loops it fails?
OR - are you saying you don't know if you should be replacing the ? parameter values on the SOAP body with something?
fyi - the datasource loop config, the 'Target Step' is your soap request step
cheers,
richie
richie
- mbooker6 years agoOccasional Contributor
Screenshot from the Step by Step screen and the configured dataloop
- richie6 years agoCommunity HeroOk. So your step hierarchy is as follows:
Datasource
1st Soap step
2nd Soap step
Datasource loop
I need to see the config of the datasource step and the outline tabs for both soap steps.
First issue im wondering is what data populates the 2nd soap step? If its the datadource step this is not going to work (think i understand your issue....your first soap step passes but the 2nd fails....right? Yeah....i understand)
You cant have your 2nd soap step after the first soap step in this situation. Youre gonna need another datasource or a different option to handle this!- mbooker6 years agoOccasional Contributor
One of the soap steps is disabled (one has data in each element and the other is the default soap request)
Datasource (populated from an Excel file)
1 Soap request step
Datasource loop (configured as DataSource -> 1Soap request step)Maybe we can start from begining
What should the soap request look like in the Soap Request Step, Example would help me.
My soap requires a property values from the datasource to populate twice in the soap request, is it doable?
I know it is hard to help withput seeing but I am unable to share any of the Soap request.
- mbooker6 years agoOccasional Contributor
Richie, I have figured out my issue thank you for your help. I needed to map my fields and that is not clearly stated in the documentation I had read but made perfect sense.
I really do appreciate your time.
Marji
Related Content
- 3 years ago
- 3 years ago