hey richie thanks for your answer
i am sending the same GET request 3 times via ReadyAPI and with a groovy script i write the request and response into a .txt file .
The first and second request have been sent succ and i got a response => also the request and its response have been written to that generated .txt file.
the third request was not responded . i looked into the logs in my endpoint , there are only two requests , looks like the third request never got to the endpoint . For this third request i see just a response in the generated .txtfile like this => no request and response
Status: FAIL\nTime Taken: 0\nSize: 0\nTimestamp: Wed Jul 15 08:48:01 CEST 2020\nTestStep: Monitoring request\n\n----------------- Messages ------------------------------\norg.apache.http.NoHttpResponseException: MyIP:443 failed to respond\n\n- missing response / garbage collected -
Looks like ReadyAPI fails to create and/or send the third request.
As i mentioned , this happens sporadically 😞
I see this error in ReadyAPI logs
2020-07-15 08:48:01,042 ERROR [errorlog] org.apache.http.NoHttpResponseException: MyIP:443 failed to respond\norg.apache.http.NoHttpResponseException: MyIP:443 failed to respond\n\tat org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:143) ~[httpclient-4.5.2.jar:4.5.2]\n\tat org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57) ~[httpclient-4.5.2.jar:4.5.2]\n\tat org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261) ~[httpcore-4.4.3.jar:4.4.3]\n\tat org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:165) ~[httpcore-4.4.3.jar:4.4.3]\n\tat org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:167) ~[httpclient-4.5.2.jar:4.5.2]\n\tat com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$SoapUIHttpRequestExecutor.doReceiveResponse(HttpClientSupport.java:525) ~[ready-api-soapui-3.0.0.jar:3.0.0]\n\tat org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124) ~[httpcore-4.4.3.jar:4.4.3]\n\tat org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:271) ~[httpclient-4.5.2.jar:4.5.2]\n\tat org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184) ~[httpclient-4.5.2.jar:4.5.2]\n\tat org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88) ~[httpclient-4.5.2.jar:4.5.2]\n\tat org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) ~[httpclient-4.5.2.jar:4.5.2]\n\tat org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184) ~[httpclient-4.5.2.jar:4.5.2]\n\tat org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:71) ~[httpclient-4.5.2.jar:4.5.2]\n\tat com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$SoapUIHttpClient.doExecute(HttpClientSupport.java:248) ~[ready-api-soapui-3.0.0.jar:3.0.0]\n\tat org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) ~[httpclient-4.5.2.jar:4.5.2]\n\tat com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$Helper.execute(HttpClientSupport.java:593) ~[ready-api-soapui-3.0.0.jar:3.0.0]\n\tat com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport.execute(HttpClientSupport.java:661) ~[ready-api-soapui-3.0.0.jar:3.0.0]\n\tat com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.submitRequest(HttpClientRequestTransport.java:332) ~[ready-api-soapui-3.0.0.jar:3.0.0]\n\tat com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:249) ~[ready-api-soapui-3.0.0.jar:3.0.0]\n\tat com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:130) [ready-api-soapui-3.0.0.jar:3.0.0]\n\tat com.eviware.soapui.impl.wsdl.WsdlSubmit.submitRequest(WsdlSubmit.java:89) [ready-api-soapui-3.0.0.jar:3.0.0]\n\tat com.eviware.soapui.impl.support.http.HttpRequest.submit(HttpRequest.java:256) [ready-api-soapui-3.0.0.jar:3.0.0]\n\tat com.eviware.soapui.impl.wsdl.teststeps.HttpTestRequestStep.run(HttpTestRequestStep.java:286) [ready-api-soapui-3.0.0.jar:3.0.0]\n\tat com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runTestStep(AbstractTestCaseRunner.java:265) [ready-api-soapui-3.0.0.jar:3.0.0]\n\tat com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runTestStepByName(AbstractTestCaseRunner.java:244) [ready-api-soapui-3.0.0.jar:3.0.0]\n\tat com.eviware.soapui.model.testsuite.TestCaseRunner$runTestStepByName$0.call(Unknown Source) [ready-api-soapui-3.0.0.jar:3.0.0]\n\tat Script1.run(Script1.groovy:21) [shell:?]\n\tat com.eviware.soapui.support.scripting.groovy.SoapUIGroovyScriptEngine.run(SoapUIGroovyScriptEngine.java:94) [ready-api-soapui-3.0.0.jar:3.0.0]\n\tat com.eviware.soapui.support.scripting.groovy.SoapUIProGroovyScriptEngineFactory$SoapUIProGroovyScriptEngine.run(SoapUIProGroovyScriptEngineFactory.java:83) [ready-api-soapui-pro-3.0.0.jar:3.0.0]\n\tat com.eviware.soapui.impl.wsdl.teststeps.WsdlGroovyScriptTestStep.run(WsdlGroovyScriptTestStep.java:162) [ready-api-soapui-3.0.0.jar:3.0.0]\n\tat com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runTestStep(AbstractTestCaseRunner.java:265) [ready-api-soapui-3.0.0.jar:3.0.0]\n\tat com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runCurrentTestStep(WsdlTestCaseRunner.java:52) [ready-api-soapui-3.0.0.jar:3.0.0]\n\tat com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:175) [ready-api-soapui-3.0.0.jar:3.0.0]\n\tat com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:1) [ready-api-soapui-3.0.0.jar:3.0.0]\n\tat com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:130) [ready-api-soapui-3.0.0.jar:3.0.0]\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_181]\n\tat java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_181]\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_181]\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_181]\n\tat java.lang.Thread.run(Unknown Source) [?:1.8.0_181]
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"213","kudosSumWeight":0,"repliesCount":0,"postTime":"2020-07-16T00:11:58.703-07:00","lastPublishTime":"2020-07-16T00:11:58.703-07:00","metrics":{"__typename":"MessageMetrics","views":6201},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:ready_api_forums/community:nwkab66374board:readyapi-questions/message:204594/message:204680","replies":{"__typename":"MessageConnection","pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null},"edges":[]},"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"User:user:77377":{"__typename":"User","id":"user:77377","uid":77377,"login":"HimanshuTayal","biography":null,"registrationData":{"__typename":"RegistrationData","status":null,"registrationTime":"2017-12-11T09:26:05.340-08:00"},"deleted":false,"email":"","avatar":{"__typename":"UserAvatar","url":"https://community.smartbear.com/t5/s/nwkab66374/m_assets/avatars/default/avatar-10.svg?time=0"},"rank":{"__ref":"Rank:rank:26"},"entityType":"USER","eventPath":"community:nwkab66374/user:77377"},"ModerationData:moderation_data:204668":{"__typename":"ModerationData","id":"moderation_data:204668","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":null},"ForumReplyMessage:message:204668":{"__typename":"ForumReplyMessage","uid":204668,"id":"message:204668","revisionNum":1,"author":{"__ref":"User:user:77377"},"readOnly":false,"repliesCount":4,"depth":1,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:readyapi-questions"},"parent":{"__ref":"ForumTopicMessage:message:204594"},"conversation":{"__ref":"Conversation:conversation:204594"},"subject":"Re: NoHttpResponseException: $IP failed to respond","moderationData":{"__ref":"ModerationData:moderation_data:204668"},"body":"
Aiham :
\n\n
Is there any kind of authentication associated with the Service which you are missing out include that authentication too, hope that will work.
\n","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"178","kudosSumWeight":0,"postTime":"2020-07-15T21:45:33.867-07:00","lastPublishTime":"2020-07-15T21:45:33.867-07:00","metrics":{"__typename":"MessageMetrics","views":6560},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:ready_api_forums/community:nwkab66374board:readyapi-questions/message:204594/message:204668","replies":{"__typename":"MessageConnection","pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null},"edges":[{"__typename":"MessageEdge","cursor":"MjUuM3wyLjF8b3wzfDE0OjAsMzk6MXwx","node":{"__ref":"ForumReplyMessage:message:204681"}}]},"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"ModerationData:moderation_data:204681":{"__typename":"ModerationData","id":"moderation_data:204681","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":null},"ForumReplyMessage:message:204681":{"__typename":"ForumReplyMessage","uid":204681,"id":"message:204681","revisionNum":1,"author":{"__ref":"User:user:90155"},"readOnly":false,"repliesCount":3,"depth":2,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:readyapi-questions"},"parent":{"__ref":"ForumReplyMessage:message:204668"},"conversation":{"__ref":"Conversation:conversation:204594"},"subject":"Re: NoHttpResponseException: $IP failed to respond","moderationData":{"__ref":"ModerationData:moderation_data:204681"},"body":"
hey HimanshuTayal thanks for the answer
actually the same request have been sent 3 times , the first and second were succ , the third was failing and did not reach the endpoint
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"185","kudosSumWeight":0,"postTime":"2020-07-16T00:13:44.541-07:00","lastPublishTime":"2020-07-16T00:13:44.541-07:00","metrics":{"__typename":"MessageMetrics","views":6563},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:ready_api_forums/community:nwkab66374board:readyapi-questions/message:204594/message:204681","replies":{"__typename":"MessageConnection","pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null},"edges":[{"__typename":"MessageEdge","cursor":"MjUuM3wyLjF8b3wxfDE0OjAsMzk6MXwx","node":{"__ref":"AcceptedSolutionMessage:message:204702"}}]},"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"ModerationData:moderation_data:204702":{"__typename":"ModerationData","id":"moderation_data:204702","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":null},"AcceptedSolutionMessage:message:204702":{"__typename":"AcceptedSolutionMessage","author":{"__ref":"User:user:77377"},"id":"message:204702","revisionNum":1,"uid":204702,"depth":3,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:readyapi-questions"},"parent":{"__ref":"ForumReplyMessage:message:204681"},"conversation":{"__ref":"Conversation:conversation:204594"},"subject":"Re: NoHttpResponseException: $IP failed to respond","moderationData":{"__ref":"ModerationData:moderation_data:204702"},"body":"Aiham :
\n\n
I would suggest to put some wait in between the execution might be this is because of hitting the URL frequently as you are getting response for the first 2 times and not for the 3rd time.
\n\n
Add delay step in between the execution, hope it will resolve your issue.
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"213","kudosSumWeight":0,"repliesCount":2,"postTime":"2020-07-16T02:19:56.184-07:00","lastPublishTime":"2020-07-16T02:19:56.184-07:00","solution":true,"metrics":{"__typename":"MessageMetrics","views":7371},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"entityType":"FORUM_REPLY","eventPath":"category:ready_api_forums/community:nwkab66374board:readyapi-questions/message:204594/message:204702","body@stripHtml({\"removeProcessingText\":true,\"removeSpoilerMarkup\":true,\"removeTocMarkup\":true,\"truncateLength\":200})@stringLength":"213","images":{"__typename":"AssociatedImageConnection","edges":[],"totalCount":0,"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}},"attachments":{"__typename":"AttachmentConnection","pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null},"edges":[]},"videos":{"__typename":"VideoConnection","edges":[],"totalCount":0,"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}},"readOnly":false,"customFields":[]},"QueryVariables:MessageSolutions":{"__typename":"QueryVariables","id":"MessageSolutions","value":{"first":10,"constraints":{"topicId":{"eq":"message:204594"},"solution":{"eq":true}},"sorts":{"postTime":{"direction":"ASC"}},"useAvatar":true,"useAuthorLogin":true,"useAuthorRank":false,"useBody":true,"useKudosCount":false,"useTimeToRead":false,"useMedia":true,"useRepliesCount":false,"useSearchSnippet":false,"useAcceptedSolutionButton":true,"useSolvedBadge":false,"useAttachments":true,"useTags":false,"useUserHoverCard":false,"useNodeHoverCard":false,"usePreviewSubjectModal":false,"useMessageStatus":false}},"CachedAsset:text:en_US-components/nodes/NodeLink-1741125846000":{"__typename":"CachedAsset","id":"text:en_US-components/nodes/NodeLink-1741125846000","value":{"place":"Place {name}"},"localOverride":false},"CachedAsset:text:en_US-components/messages/EscalatedMessageBanner-1741125846000":{"__typename":"CachedAsset","id":"text:en_US-components/messages/EscalatedMessageBanner-1741125846000","value":{"escalationMessage":"Escalated to Salesforce by {username} on {date}","viewDetails":"View Details","modalTitle":"Case Details","escalatedBy":"Escalated by: ","escalatedOn":"Escalated on: ","caseNumber":"Case Number: ","status":"Status: ","lastUpdateDate":"Last Update: ","automaticEscalation":"automatic escalation","anonymous":"Anonymous"},"localOverride":false},"CachedAsset:text:en_US-components/users/UserLink-1741125846000":{"__typename":"CachedAsset","id":"text:en_US-components/users/UserLink-1741125846000","value":{"authorName":"View Profile: {author}","anonymous":"Anonymous"},"localOverride":false},"CachedAsset:text:en_US-shared/client/components/users/UserRank-1741125846000":{"__typename":"CachedAsset","id":"text:en_US-shared/client/components/users/UserRank-1741125846000","value":{"rankName":"{rankName}","userRank":"Author rank {rankName}"},"localOverride":false},"CachedAsset:text:en_US-components/messages/MessageTime-1741125846000":{"__typename":"CachedAsset","id":"text:en_US-components/messages/MessageTime-1741125846000","value":{"postTime":"Published: {time}","lastPublishTime":"Last Update: {time}","conversation.lastPostingActivityTime":"Last posting activity time: {time}","conversation.lastPostTime":"Last post time: {time}","moderationData.rejectTime":"Rejected time: {time}"},"localOverride":false},"CachedAsset:text:en_US-components/messages/MessageSolvedBadge-1741125846000":{"__typename":"CachedAsset","id":"text:en_US-components/messages/MessageSolvedBadge-1741125846000","value":{"solved":"Solved"},"localOverride":false},"CachedAsset:text:en_US-components/messages/MessageSubject-1741125846000":{"__typename":"CachedAsset","id":"text:en_US-components/messages/MessageSubject-1741125846000","value":{"noSubject":"(no subject)"},"localOverride":false},"CachedAsset:text:en_US-components/messages/MessageBody-1741125846000":{"__typename":"CachedAsset","id":"text:en_US-components/messages/MessageBody-1741125846000","value":{"showMessageBody":"Show More","mentionsErrorTitle":"{mentionsType, select, board {Board} user {User} message {Message} other {}} No Longer Available","mentionsErrorMessage":"The {mentionsType} you are trying to view has been removed from the community.","videoProcessing":"Video is being processed. Please try again in a few minutes.","bannerTitle":"Video provider requires cookies to play the video. Accept to continue or {url} it directly on the provider's site.","buttonTitle":"Accept","urlText":"watch"},"localOverride":false},"CachedAsset:text:en_US-components/messages/MessageCustomFields-1741125846000":{"__typename":"CachedAsset","id":"text:en_US-components/messages/MessageCustomFields-1741125846000","value":{"CustomField.default.label":"Value of {name}"},"localOverride":false},"CachedAsset:text:en_US-shared/client/components/common/QueryHandler-1741125846000":{"__typename":"CachedAsset","id":"text:en_US-shared/client/components/common/QueryHandler-1741125846000","value":{"title":"Query Handler"},"localOverride":false},"CachedAsset:text:en_US-components/messages/MessageReplyButton-1741125846000":{"__typename":"CachedAsset","id":"text:en_US-components/messages/MessageReplyButton-1741125846000","value":{"repliesCount":"{count}","title":"Reply","title@board:BLOG@message:root":"Comment","title@board:TKB@message:root":"Comment","title@board:IDEA@message:root":"Comment","title@board:OCCASION@message:root":"Comment"},"localOverride":false},"CachedAsset:text:en_US-components/messages/MessageSolutionList-1741125846000":{"__typename":"CachedAsset","id":"text:en_US-components/messages/MessageSolutionList-1741125846000","value":{"emptyDescription":"No has been message solutions yet"},"localOverride":false},"ModerationData:moderation_data:204741":{"__typename":"ModerationData","id":"moderation_data:204741","status":"APPROVED","rejectReason":null},"AcceptedSolutionMessage:message:204741":{"__typename":"AcceptedSolutionMessage","author":{"__ref":"User:user:39914"},"id":"message:204741","revisionNum":1,"uid":204741,"depth":4,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:readyapi-questions"},"parent":{"__ref":"AcceptedSolutionMessage:message:204702"},"conversation":{"__ref":"Conversation:conversation:204594"},"subject":"Re: NoHttpResponseException: $IP failed to respond","moderationData":{"__ref":"ModerationData:moderation_data:204741"},"body":"Hey Aiham