Karate: http request failed: null when using "path" keyword with url pointing to localhost

Created on 6 May 2019  路  4Comments  路  Source: intuit/karate

When setting the url to localhost or 127.0.0.1 and using the "path", the request fails with error "http request failed: null"

I tried getting help on StackOverflow first (https://stackoverflow.com/questions/56006685/getting-error-http-request-failed-null-when-using-path-in-karate), but I couldn't get any satisfactory responses.

This error can be reproduced in the attached project.

bug fixed

All 4 comments

@gruutak thanks ! I've no idea how this went unreported for so long. by the way, apache-jersey will work if you need a workaround for now. would be great if you can build from source and validate

@ptrthomas Thank you for the fast fix! I can confirm that the fix worked.

great ! will keep this open until we release 0.9.3 final

released 0.9.3

Was this page helpful?
0 / 5 - 0 ratings