JOIN OUR WEEKLY CHALLENGE
API_Bloom_banner

API Bloom is a weekly prize-winning challenge in the Ready! API Community. Each week, we assign a task that you need to accomplish to become a winner. See the rules here.

WEEKLY PRIZES
Top 3 members who give the biggest number of replies during the week will get $50, $35, and $15 gift cards.

THIS WEEK TASK
Post the biggest number of replies to questions asked on the Ready! API forums.

PREVIOS WINNERS
1st - @nmrao, 2nd - @msiadak, 3rd - @Debz

Reply
Highlighted
New Contributor
Posts: 2
Registered: ‎05-19-2017

using data from multiple datasources.

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.