Reputation: 53
[
{
"master": {
"status": "string",
// more fields
},
"address": [
{
"place": "string",
// more fields
}
],
"product": [
{
"price": "string",
// more fields
}
],
"payment": [
{
"action": "string",
"currency": "string",
// more fields
}
],
"referral": [
{
"reference": "string",
// more fields
}
],
"customer_maintain": {
"customer_master": {
"gender": "string",
// more fields
},
"customer_segment": [
{
"name": "string",
// more fields
}
]
},
"identification": [
{
"idname": "string",
// more fields
}
]
}
]
So, if my JSON
request is this complex and in scenario request I want to read data from a CSV
file, what are the different and easy ways to do it?
In the Karate feature file, I want to read data from a CSV
and give it as a JSON
request for an API.
Upvotes: 1
Views: 37