Providing weights to rows in a datasource

LegacyForumLegacyForum Posts: 1,669 ✭✭
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?


  • LegacyForumLegacyForum Posts: 1,669 ✭✭
    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!
Sign In or Register to comment.