Forum Discussion

Albert's avatar
17 years ago

How to use "unique" values from datasource (excel)

I am running a loadtest and I need to use a unique value in one of the parameter in my "create title" request.
I am using a datasource (excel) for this unique value ( i have 20 rows - ID001 to ID020) and when I set up LoadTest as "1 thread" and run for 10 seconds. The request only works for the first request and fails consequently because the datasource only feeds the first ID (row) (example "ID001") continuously to the request.

I have unselected "sets to share this datasource between running threads during a load test" and also unselected "restarts shared datasource during loadtest.

As I understand, by unselecting the above 2 options will make the datasource to substitute new values to the request - BUT this is not so.

I have used the "datasource loop" step right after the request and points it to the datasource - but it still didn't work.

1 Reply

  • Hello,

    Your DataSourceLoop TestStep should point to the TestStep right after the DataSource, otherwise you are re-executing the DataSource, which will reset it and cause it to have the same initial values again and again.

    Regards,
    Dain
    eviware support