New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Socket connection closed #843
Comments
Could you please provide some more info? What does your test look like? |
@johanhaleby , What More info U need from my side , can u please more specific in question ? |
Oh sorry, I was too quick. |
no problem |
Did you say this was only applicable for HTTPS?! |
Yes |
Hmm never seen this before.. Is the HTTP service public so I can try it? |
API's are not public and even if they are I can't provide as we have HTTPS on Production Environment on which we can not test |
`Also I am now getting an issue with HTTP also with same error in taking api response and converting into String org.apache.http.ConnectionClosedException: Premature end of chunk coded message body: closing chunk expected
NOTE:-I am getting Status code 200 or whatever is expected as i hit the api but something is wrong when converting response into string |
when i run test cases with https in some api i get error message especially in post and put methods when i try to take response in "json" variable as "String json = resp.asString();" it give me error message
method code mention below
`RestAssured.config = RestAssured.config().httpClient(httpClientConfig().reuseHttpClientInstance());
header.set_Headers();
`
Error message
java.net.SocketException: Socket is closed
The text was updated successfully, but these errors were encountered: