NishantKashyap
asked on
Issue with rest assured request (GET)
If I hit a 'https' URL using POSTMAN , without passing any other data. I get the response.
But If I do the same using rest assured. I get "javax.net.ssl.SSLHandshak eException : Received fatal alert: handshake_failure" , http calls works fine in rest assured with the same code. I tried all the combination like :-
and also using keystore
but nothing worked , same error.
I am curious to know why it works fine in POSTMAN or any other online tool like https://www.hurl.it/
Am I missing something here ?
I also tried a call to https://www.google.com , which works fine with POSTMAN and also rest assured.
But If I do the same using rest assured. I get "javax.net.ssl.SSLHandshak
given().when().get(urlPath);
given().config(RestAssured.config().sslConfig(sslConfig().relaxedHTTPSValidation("TLS"))).when().get(urlPath);
and also using keystore
but nothing worked , same error.
I am curious to know why it works fine in POSTMAN or any other online tool like https://www.hurl.it/
Am I missing something here ?
I also tried a call to https://www.google.com , which works fine with POSTMAN and also rest assured.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.