Forum Discussion

Jerocilin's avatar
Jerocilin
New Contributor
9 years ago

how to call a datasource from within a datasource in SOAPUI

I have 4 properties in a rest req.of a test case.

I need to pass the first 3 properties of that req. to one data source and for the 4th property it should call another data source having 300 entries.

 

I have 150 entries in the first data source and 300 entries for the fourth property.

how do i link this in the same req.

1 Reply

  • nmrao's avatar
    nmrao
    Champion Level 3

    Where there 4 properties, it is good to have all the relevant data in a datasource unless there is strong opposing reason.

     

    If that is how you can have the data and that can't be possible to change, then here is your alternative since there is more data in other source:

     

    Have a common key between the two sources, then assign the data to the properties from the two sources based on both the keys matches.