05-19-2017 03:16 AM
I’m running into a little problem with SoapUI.
I have several datasource steps which load in the data for the test cases. (DS_CreateMP, DS_MoveIn)
I also have a datasource step to decide the test sequence. (TestSequence)
Besides that I have a test case which describes the message. (MessageRepository)
There I have parameterized the attributes to be filled by the datasources.
Now using the TestSequence I want to run a scenario with the data from the datasources.
Here is where I run into the problem. I am able to run through the TestSequence in a sequential way using the datasource loop which calls the groovyscript step to run the specific message but I can’t get it to select the correct data from the datasources I created for the messages.
I added a Concat property to my TestSequence to be able to uniquely identify the step I want to execute. That is also in the datasources.
I guess it takes a bit of groovy or maybe a property transfer to get the last step going but I can’t seem to figure it out.