# Connection time out REST services

**URL:** <https://forum.katalon.com/t/connection-time-out-rest-services/19104>\
**Category:** API Testing\
**Tags:** api-testing, katalon-studio\
**Created:** [February 9, 2019, 5:41am UTC](https://forum.katalon.com/t/connection-time-out-rest-services/19104 "2019-02-09T05:41:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dutta\_satanjib](https://avatars.discourse-cdn.com/v4/letter/d/7ba0ec/32.png) [@dutta\_satanjib](https://forum.katalon.com/u/dutta_satanjib)\
**Post date:** [February 9, 2019, 5:41am UTC](https://forum.katalon.com/t/connection-time-out-rest-services/19104/1 "2019-02-09T05:41:53Z")

</div>

Hi Team,

I am using Katalon 5.10.1. I added a POST API in the object repository and on testing the service from the object repository, I get a proper response. However, on creating a test case and trying to use the object while sending the request, I get the following error -

com.kms.katalon.core.exception.StepFailedException: Unable to send request (Root cause: java.net.ConnectException: Connection timed out:

Thanks and regards,  
Satanjib

---

<div class="post-metadata">

**Author:** ![emine](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/emine/32/15639_2.png) [@emine](https://forum.katalon.com/u/emine)\
**Post date:** [February 9, 2019, 2:18pm UTC](https://forum.katalon.com/t/connection-time-out-rest-services/19104/2 "2019-02-09T14:18:06Z")

</div>

Hello ,  
You must make sure that the steps in the following images are applied in sequence. I hope it’s useful.

 ![1](https://europe1.discourse-cdn.com/katalon/original/2X/c/cd032bf1e308279b9c455cda7628f5eb141bd795.png)

---

<div class="post-metadata">

**Author:** ![emine](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/emine/32/15639_2.png) [@emine](https://forum.katalon.com/u/emine)\
**Post date:** [February 9, 2019, 2:19pm UTC](https://forum.katalon.com/t/connection-time-out-rest-services/19104/3 "2019-02-09T14:19:41Z")

</div>

![65546b424ff5e8f05fb2acd74d1d3bf34d6bec54_1_690x225](https://europe1.discourse-cdn.com/katalon/original/2X/f/fdfa63f777d70be68b12074e45962941c3a91120.png)

---

<div class="post-metadata">

**Author:** ![Ibus](https://avatars.discourse-cdn.com/v4/letter/i/e9a140/32.png) [@Ibus](https://forum.katalon.com/u/Ibus)\
**Post date:** [February 10, 2019, 11:01am UTC](https://forum.katalon.com/t/connection-time-out-rest-services/19104/4 "2019-02-10T11:01:10Z")

</div>

@dutta_satanjib

Be aware of this bug in 5.10.1:

> [@Web Service Request is appending an extra "?" at the url end](http://forum.katalon.com/t/web-service-request-is-appending-an-extra-at-the-url-end/18030):
>
> Katalon version 5.10.1 Bug description: Using Web Request builder, once hitting ‘save’, an extra “?” character is appended at the end of the url (perhaps waiting for extra parametters?). Screenshot with intended url: Screenshot with generated url after hitting “Save”: Screensh…

It could affect you too, so I am afraid you have to use an older version until this get fixed, the Request Object GUI builder is malforming the URL’s

---

<div class="post-metadata">

**Author:** ![adprast](https://avatars.discourse-cdn.com/v4/letter/a/dc4da7/32.png) [@adprast](https://forum.katalon.com/u/adprast)\
**Post date:** [March 11, 2019, 11:31pm UTC](https://forum.katalon.com/t/connection-time-out-rest-services/19104/5 "2019-03-11T23:31:16Z")

</div>

@Ibus I got same experience. It’s working when hit service through object repository. But got timeout when run test case. I’m using katalon 6.0.6.
