Reden John Zarra
10/22/2024, 8:17 AM"ignoreArrayOrder" : true
and "ignoreExtraElements" : true
Currently, in my code, I'm modifying the ignoredExtraElements value to false on the fly. (But seems to have issue when I am recording multiple requests on a single container run, even if the previous request has been modified to have ignoreExtraElements to false, it still prevent other succeeding requests from being recorded - that look similar but have some missing fields in req body.
Is there a way to modify this during container start via a config , env, or command options?
I want to have by default ignoreExtraElements to false.
Sample proxy mapping:
{
"mappings": [
{
"priority": 6,
"request": {
"method": "ANY",
"urlPattern": "/sample/.*"
},
"response": {
"proxyBaseUrl": "<https://samplelink.sample.sample>",
"proxyUrlPrefixToRemove": "/sample"
}
}
]
}
Rafe Arnold
10/22/2024, 8:45 AMReden John Zarra
10/22/2024, 8:47 AMNot recording mapping for /sample/etc as this has already been received
though they differReden John Zarra
10/22/2024, 8:50 AMRafe Arnold
10/22/2024, 8:53 AMReden John Zarra
10/22/2024, 8:57 AMRafe Arnold
10/22/2024, 8:58 AMReden John Zarra
10/22/2024, 8:59 AMRafe Arnold
10/22/2024, 2:32 PMReden John Zarra
10/22/2024, 2:55 PMRafe Arnold
10/22/2024, 3:00 PMRafe Arnold
10/22/2024, 3:00 PMReden John Zarra
10/22/2024, 3:09 PM