How can i make a test case repeat X number of times

You could possibly use a “for” loop and that would allow you to use the loop counter as the reference for the row in the excel data.

for (int icnt=0; icnt < 100; icnt++) {

     "get row of excel using icnt"
}