What steps will reproduce the problem?
1. Try to execute the method certificate on the RestAssured class:
RestAssured.certificate(certURL, password, certType, 443);
What is the expected output? What do you see instead?
No error. StackOverflowError
What version of the product are you using? On what operating system?
1.8.1
Please provide any additional information below.
The source code of RestAssured.java has a bug:
public static AuthenticationScheme certificate(String certURL, String password,
String certType, int port) {
//this will call the same method
return certificate(certURL, password, certType, port);
}
instead of:
public static AuthenticationScheme certificate(String certURL, String password,
String certType, int port) {
return certificate(certURL, password, certType, port, new NoKeystoreSpecImpl());
}
Original issue reported on code.google.com by douglasd...@gmail.com on 7 Nov 2013 at 4:56
Original issue reported on code.google.com by
douglasd...@gmail.com
on 7 Nov 2013 at 4:56