I’m running a small collection via newman that has some endpoints with a UUID as a path parameter. The endpoints return a 200 within the POSTman app but a 404 within newman runner. I looked at htmlextra but ran into other issues. Any idea?
{{host}}/somePath/7cc950f7-2407-4ec7-ba64-b1572ac86327 [404 Not Found, 288B, 250ms]
All endpoints without a UUID as a path param works as expected.
It looks like the variable that you have for {{host}} isn’t resolved - What type of variable is that? How are you referencing that in the newman command?
True - I was just initially thinking that it should be resolved but looking at the example, they could have just replaced that in the example, like with somePath
Hey thanks for the welcome!!.. sorry for the confusion it’s just a placeholder for the real host name, somePath is a placeholder for the real path as well as I was attempting to not show the real URL…
what it really looks something more like below… and all the environment variables are resolving because other requests in the same collection are passing with 200s
GET https://fastdraw-api-web-stage.fms.com/v1/plays/7cc950f7-2407-4ec7-ba64-b1572ac86327 [404 Not Found, 288B, 254ms]not working
GET https://fastdraw-api-web-stage.fms.com/v1/plays [200 OK, 902.44kB, 500ms]working
It’s weird that any request with UUID in the URL newman runner always returns a 404(works in postman app returns 200) but we use UUID as resource identifiers