I am trying to write pre request script to get value from csv file to store in variable and use on xml body, but I don't know where to start.
Postman Xml body that I will get a value csv file to assign a value on FirstName_Variable , LastName_Variable , Country_Variable
<FirstName>FirstName_Variable</FirstName>
<LastName>LastName_Variable</LastName>
<Country>Country_Variable</Country>
<Product>Loan</Product>
My Csv File
FirstName | LastName | Country |
---|---|---|
Antname | Lnant | Japan |
Birdname | Lnbird | Japan |