When I run newman in de command line i get the error as mentioned in the title. After some debugging i found the cause.
In de json exported i have a path variable that has the value 'v2' if i remove this value from the json and run newman again. i get no error but i do get a badrequest because the api string is not correct without the v2 value.
"path": [ "v2", "ondernemingen", "{agbcode}" ],
results in newman error not supported
"path": [ "ondernemingen", "{agbcode}" ],
NO newman error but a failed api call because the url is incorrect without the v2
Anyone had this problem before ?
debugging the json googling the error chatgpt
Version and environment information:
Newman Version (latest`):
OS details (Windows x64):
Are you using Newman as a library, or via the CLI? CLI
Did you encounter this recently, or has this bug always been there: just started using newman
Expected behaviour: complete the get command
Command / script used to run Newman:
Sample collection, and auxiliary files (minus the sensitive details):
When I run newman in de command line i get the error as mentioned in the title. After some debugging i found the cause.
In de json exported i have a path variable that has the value 'v2' if i remove this value from the json and run newman again. i get no error but i do get a badrequest because the api string is not correct without the v2 value.
"path": [ "v2", "ondernemingen", "{agbcode}" ],
results in newman error not supported
"path": [ "ondernemingen", "{agbcode}" ],
NO newman error but a failed api call because the url is incorrect without the v2
Anyone had this problem before ?
debugging the json googling the error chatgpt Version and environment information: