Problem statement:- I am trying to use data variables in pre-request section and I am unable to retrieve values from CSV data variable. I tried using the below two options but still no data is seen when I try to log the value nothing is displayed; - Data.Variable - pm.iterationData.get("variable")
Please verify if the below is right?
Data File:
Account_Number,Account_Name,Customer_ID,Currency,Account_Type,Account_Sub, Category 100000002,SWEEPY GROUPS 001,1507400001508,THB,DA,SAV,I 10000019,SWEEPY GROUPS 019,1507400001508,USD,DA,SAV,E A9871100000020,SWEEPY GROUPS 020,1507400001508,USD,DA,DDA,E
PRE-REQ:
console.log("Customer ID"+JSON.stringify(data.Account_Name))
In Console: resultant
Customer ID undfined
Please suggest an alternative how can I get it running.