Request times out but http logs show response (org.apache.http.client.ClientProtocolException)
Certain requests I make will timeout with the error below in the Error logs
2020-11-12 09:53:08,983 ERROR [WsdlSubmit] Exception in request: org.apache.http.client.ClientProtocolException
2020-11-12 09:53:08,983 ERROR [errorlog] org.apache.http.client.ClientProtocolException
org.apache.http.client.ClientProtocolException at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:839)
The HTTP log however, shows the correct response. So clearly the call went through successfully. This isn't very helpful though as each time I run a test case, some test steps timeout and the assertions aren't working correctly.
Any ideas as to why this is happening? Anyone else have a similar issue to this?
More information on what I'm doing:
- Request is already Authenticating Preemptively
- Request has an assertion to check for Valid HTTP Status codes
- I am using SoapUI 5.6.0 Open Source
- Testing the same request in Postman doesn't have this issue
- Other the same API with different request payloads work correctly. It appears to only happen when I'm intentionally using incorrect values
Thanks HKosova! I have raised a ticket https://github.com/swagger-api/swagger-codegen/issues/10400