Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Providing weights to rows in a datasource

Options
LegacyForum
LegacyForum Posts: 1,664 ✭✭
I have a test which is reading multiple rows from an excel sheet based data source. Is there anyway to enforce certain weightage for rows in the excel sheet during load test. For example, I would like to see row 1 from the excel picked up 50% more than row2 during load test. Is there anyone to enforce this?
Thanks

Comments

  • LegacyForum
    LegacyForum Posts: 1,664 ✭✭
    Options
    Hi Shaharyar,

    The easiest way to do this would be to just duplicate rows in the excel file to get the ratio you want. In your example, row 1 would appear 3 times and row 2 would appear twice.
    Then, in your data source options (select the data source in SOAtest and click the Data Source Options button), you'd want to use "Virtual users iterate through data > randomly".

    I hope this helps!