Java.net.SocketTimeoutException when running a feature file in Karate

大兔子大兔子 提交于 2019-12-11 17:15:15

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!