I want to read specific Value from a csv file and take that value to process it further. I need to find the value based on it's header name and another value in the same row.
Example: Let's say I have a CSV file with below data
I need to find JSON Response Header value while my function will take Scenario name like GetUsers or GetSingleUser from function call.
I tried to use OpenCSV to read values from CSV and able to get data of JSON response while giving the index. But it's returning all the values of JSON Response column. How do I put a condition like match with Scenario name and give that corresponding JSON Response.