I have a test case I need to run for 1000 times populating the same soap request.
I setup the following
Soap Request (created from project)
Dataloop configured to go from Datasource to Target Soap Request.
The request is populated from my original soap project and it does connect to the server but it doesn't seem to then load the first row from the data source.
I looked everywhere for whether the soap request should be empty of values, have the ? or since the system move it into test case it was okay to be like that.
Sorry Newbie here trying to prove how easy it would be to use this tool in our operations team.
Thanks in advance
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
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.
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.
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.
@richie thank you so much for looking into this!
@mbooker it looks like you have managed to accomplish your task, well done! You can accept your reply as a Solution for other community members to find it easily in the future.
Thanks for sharing!
Get a full Raw JMS request
Compare an expected JSON value and actual response in Events
Fetch value/data from JSON response using Groovy Script
Get data from Petstore and add it to Excel sheets