Forum Discussion

AndiKoll's avatar
AndiKoll
Contributor
14 years ago

Data source and data loop script classes?

Hello,

are there classes which can handle data source and data loop test steps in scipts?
I'm looking for a class which can handle an excel data source and which is responsible for pointing to the next valid record.

Greetings
Andi Kollenbach
  • Hi!

    That depends on what you mean exactly. The DataSource TestSteps are included in soapUI Pro's public API. That means that you can do almost anyhting to a DataSource TestStep from a Groovy script. However, you there is no datasource classes that can be instatiated and used from a Groovy TestStep alone -- you need to have a DataSource TestStep in your project and use the API to control that TestStep.

    Does this help?

    Regards

    Henrik, SmartBear
  • Hi,

    my initention is to define a test case where I create SOA responses of the same type in a loop each including 1000 records. All records (x*1000) shall be located in an excel file.
    How can I loop 1000 records for one SOA response on the one hand and x loops with these responses on the other hand getting the data from the same file?

    Greetings
    Andi