Hallo zusammen,
ich versuche gerade in Eclipse mit dem Karate Framework ein API Test Tutorial abzuarbeiten.
Es kommt zu einer Fehlermeldung:
Umgebung:
openjdk version "1.8.0_41"
OpenJDK Runtime Environment (build 1.8.0_41-b04)
OpenJDK Client VM (build 25.40-b25, mixed mode)
pom.xml vom Maven projekt:
[CODE lang="java" title="POM xml"]<dependency>
<groupId>com.intuit.karate</groupId>
<artifactId>karate-apache</artifactId>
<version>0.9.5</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.intuit.karate</groupId>
<artifactId>karate-junit4</artifactId>
<version>0.9.5</version>
<scope>test</scope>
</dependency>[/CODE]
Fehlermeldung:
[CODE lang="java" title="Karate Java Fehlermeldung"]17:01:50.404 request: 1 > GET https://reqres.in/api/users?page=2 1 > Accept-Encoding: gzip,deflate 1 > Connection: Keep-Alive 1 > Host: reqres.in 1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_41) 17:01:50.692 javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty, http call failed after 288 milliseconds for URL: https://reqres.in/api/users?page=2 17:01:50.692 http request failed: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty FirstTest.feature:5 - javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
[/CODE]
Ich denke es geht vor allem um diesen Teil:
[CODE lang="java" title="Unexpected Error"]Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty, http call failed after 288 milliseconds for URL: https://reqres.in/api/users?page=2[/CODE]
Fehlen noch Informationen?
Ist das etwas in Eclipse oder ist das was mit Java bzw. Zertifikaten? Kann ich da etwas machen?
Es wird auf diese Seite (https://reqres.in/) zugegriffen. Da kannman sich wohl API testweise austoben.
Besten Dank und viele Grüße
ich versuche gerade in Eclipse mit dem Karate Framework ein API Test Tutorial abzuarbeiten.
Es kommt zu einer Fehlermeldung:
Umgebung:
openjdk version "1.8.0_41"
OpenJDK Runtime Environment (build 1.8.0_41-b04)
OpenJDK Client VM (build 25.40-b25, mixed mode)
pom.xml vom Maven projekt:
[CODE lang="java" title="POM xml"]<dependency>
<groupId>com.intuit.karate</groupId>
<artifactId>karate-apache</artifactId>
<version>0.9.5</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.intuit.karate</groupId>
<artifactId>karate-junit4</artifactId>
<version>0.9.5</version>
<scope>test</scope>
</dependency>[/CODE]
Fehlermeldung:
[CODE lang="java" title="Karate Java Fehlermeldung"]17:01:50.404 request: 1 > GET https://reqres.in/api/users?page=2 1 > Accept-Encoding: gzip,deflate 1 > Connection: Keep-Alive 1 > Host: reqres.in 1 > User-Agent: Apache-HttpClient/4.5.11 (Java/1.8.0_41) 17:01:50.692 javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty, http call failed after 288 milliseconds for URL: https://reqres.in/api/users?page=2 17:01:50.692 http request failed: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty FirstTest.feature:5 - javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
[/CODE]
Ich denke es geht vor allem um diesen Teil:
[CODE lang="java" title="Unexpected Error"]Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty, http call failed after 288 milliseconds for URL: https://reqres.in/api/users?page=2[/CODE]
Fehlen noch Informationen?
Ist das etwas in Eclipse oder ist das was mit Java bzw. Zertifikaten? Kann ich da etwas machen?
Es wird auf diese Seite (https://reqres.in/) zugegriffen. Da kannman sich wohl API testweise austoben.
Besten Dank und viele Grüße