Forum Discussion

ak0032803's avatar
ak0032803
Contributor
15 years ago

How to provide a data driven array in SOAP UI Pro 3.0.1

Hi All,

I am using SOAP UI to test a web service.
My webservice has multiple arrays inputs

e.g I have an array of users to be used by a request within webservice.

I want to make it as  data driven array to provide input .
Can any one know the solution for this.?

I am using Excel as my data source.

Please reply as soon as possible
  • Hi
    If I understand correct, then you will use array if you have a group that could have one or more repetitions in Soaprequest.

    Maybe it can be scripted in groovey I don't know?

    I am thinking about this myself and how it could be controlled in excel sheet.
    I think I will go for simple solution.

    One testcase with no repetitions and one worksheet
    One testcases with one repetitions and another worksheet
    etc
    I am aware of that it could be difficult to overview soaprequest and xls file but I think it will work.
    And every one can see how it is working

    Regards Ivan
  • Thanks Ivan For your suggestion.

    But I am using one SAOPrequest in which I have to pass diffrerent values for a single value.
    My problem is somthing like this -
    In a request i have one product ID for a product ID I have an array of attributes and for each attribute I have an another array of properties.
    I want to make this scenario data driven using excel sheet.

    Please let me know if we can use any option like property transfer using groovy script or something else..

    Thanks,
    Archana
  • M_McDonald's avatar
    M_McDonald
    Super Contributor
    Could you show an example of the SOAP request you need to create? I am having trouble visualizing what you need to do.
  • Please find attachment for it.
    It is the part of the request where array comes into picture.
    I have not shown whole request as it is very huge and complex.

    I want to make fields indicated in BOLD and with commments as data driven.

    Please let me know in any queries for understanding it.[