I have a feature file with 5 test cases and the request body for each has different parameters:
TC1 - Request has 1 id, TC2 - Request has 2 ids, TC3 - Request has firstName, lastName, TC4 - Request has 2 ids, firstName, lastName, TC5 - Request has 1 id, firstName
I want to externalise the data for all the test cases. I wen through the karate documentation where i can use scenario outline and call csv in the example.
But the question is : If i have different data set (as per the difference in the request body) for each of the test cases so do i need to create separate csv files for each test case? If a single csv could be used, please help me how can i do that?