Forum Discussion

nishanj's avatar
nishanj
Occasional Contributor
13 years ago

How to read and write values to the same Data source

In my test I’m using test steps ‘DataSource’ (Excel) and DataSourceLoop’ which will read and iterate ‘usernames’ and ‘passwords’ for a SoapUIPro Load testing.
This works fine.

Now I have a requirement to extract details from test step responses (on the fly ) and write to the same data source (against the usernames and passwords) and use those data as inputs for the test steps at the bottom.

I can extract values from test steps but do NOT know how to write them to the excel data source on the fly. (please note- Same time this excel data source is being read to fetch values for the Load test)

1 Reply

  • Request you to please me on the below query :

    1. I have created Excel data source in SoAPUI Pro 5.0.0
    2. Now I would like to read the data using groovy script .

    Can anyone give me the syntax to connect excel data source in order to read the values ?