# Cannot record/run tests on a localhost web server

**URL:** <https://forum.katalon.com/t/cannot-record-run-tests-on-a-localhost-web-server/11334>\
**Category:** Web Testing\
**Tags:** web-testing, katalon-studio\
**Created:** [June 4, 2018, 11:31am UTC](https://forum.katalon.com/t/cannot-record-run-tests-on-a-localhost-web-server/11334 "2018-06-04T11:31:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andreas\_Farley](https://avatars.discourse-cdn.com/v4/letter/a/ecb155/32.png) [@Andreas\_Farley](https://forum.katalon.com/u/Andreas_Farley)\
**Post date:** [June 4, 2018, 11:31am UTC](https://forum.katalon.com/t/cannot-record-run-tests-on-a-localhost-web-server/11334/1 "2018-06-04T11:31:36Z")

</div>

Hello !

We are attempting to include Katalon studio into our CI pipeline, and for that I am trying to create testcases.

The problem is that the Website is running locally on localhost:8080. When putting this link into the recorder, the browser opens but the website isn’t opened. I modified the link to [http://localhost:8080/](http://localhost:8080/), and the recorder opened the website and i could record. Once I try to run the test and a button redirects to a new URL, (the URL is localhost:8080/… again) the test runner just stops.

**This is very confusing, because when i first tested Katalon it had no problem opening the link localhost:8080 and running tests on it** (It was a previous version, i don’t know which one)

Why is this happening and what can i do ?

EDIT: The browser im using to test is firefox.

Running the test using the url localhost:8080/explore/projects gives the following error message:

Test Cases/Account Management/Add new user FAILED because (of) Unable to navigate to ‘localhost:8080/explore/projects’ (Root cause: java.net.MalformedURLException: unknown protocol: localhost)

---

<div class="post-metadata">

**Author:** ![devalex88](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/devalex88/32/336_2.png) [@devalex88](https://forum.katalon.com/u/devalex88)\
**Post date:** [June 25, 2018, 4:42am UTC](https://forum.katalon.com/t/cannot-record-run-tests-on-a-localhost-web-server/11334/2 "2018-06-25T04:42:46Z")

</div>

Sorry for the inconvenience. Could you please try using “\*\*http://\*\*localhost:8080…” instead of “localhost:8080” inside the test case?

---

<div class="post-metadata">

**Author:** ![Micheline\_Wehbe](https://avatars.discourse-cdn.com/v4/letter/m/e8c25b/32.png) [@Micheline\_Wehbe](https://forum.katalon.com/u/Micheline_Wehbe)\
**Post date:** [September 6, 2018, 8:34am UTC](https://forum.katalon.com/t/cannot-record-run-tests-on-a-localhost-web-server/11334/3 "2018-09-06T08:34:38Z")

</div>

hi guys ,  
I am facing the same issue and it was fixed when using [http://localhost:8080](http://localhost:8080)

---

<div class="post-metadata">

**Author:** ![sandeep.udeshi](https://avatars.discourse-cdn.com/v4/letter/s/a8b319/32.png) [@sandeep.udeshi](https://forum.katalon.com/u/sandeep.udeshi)\
**Post date:** [January 22, 2019, 10:49am UTC](https://forum.katalon.com/t/cannot-record-run-tests-on-a-localhost-web-server/11334/4 "2019-01-22T10:49:48Z")

</div>

Dude this fix worked for me. Thanks!!
