Forum Discussion
Im struggling to understand the exact problem.
Are you saying:
The soapbody tag should be populated by the content in a row in a spreadsheet?
Or
There are soap body parms that arent being populated by data in the data source?
Or something else?
If you have a parm that has a question mark, this hasnt been linked to a referenced value in the datasource.
Can you publish your project? It will be easy to fix if we can see the project and a description of the problem.
If you cant publish your soapui project, could you publish screenshots of each test steps config (datasource and soapui step) along with example data in spreadsheet?
Cheers,
Richie
- mbooker7 years agoOccasional Contributor
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
- richie7 years agoCommunity Hero
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
- mbooker7 years agoOccasional Contributor
Screenshot from the Step by Step screen and the configured dataloop
- mbooker7 years agoOccasional Contributor
When I started the test run the soap ran but it was with the values still in it. The data from the datasource never populated the request.
When I ran with the new request(ie had ?) it never populated the request at all.
Related Content
- 4 years ago
- 4 years ago
Recent Discussions
- 2 hours ago
- 16 days ago