问题
When running my feature file i get this error.
java.lang.RuntimeException: java.net.SocketTimeoutException: Read timed out
I have tried to add a readTimeout by i get the same exception all the time.
* configure readTimeout = 10000
Do you guys have any ideas ? Thanks in advance.
回答1:
I have solved the problem by switching karate-jersey with karate-apache in the pom.xml .
来源:https://stackoverflow.com/questions/57708876/java-net-sockettimeoutexception-when-running-a-feature-file-in-karate