# Error performing the web service request

**URL:** <https://forum.katalon.com/t/error-performing-the-web-service-request/10218>\
**Category:** Miscellaneous\
**Tags:** beta-release, katalon-studio\
**Created:** [April 11, 2018, 11:18am UTC](https://forum.katalon.com/t/error-performing-the-web-service-request/10218 "2018-04-11T11:18:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yan\_Reis](https://avatars.discourse-cdn.com/v4/letter/y/48db29/32.png) [@Yan\_Reis](https://forum.katalon.com/u/Yan_Reis)\
**Post date:** [April 11, 2018, 11:18am UTC](https://forum.katalon.com/t/error-performing-the-web-service-request/10218/1 "2018-04-11T11:18:51Z")

</div>

Firstly good morning!

Excuse me for the badly arranged report, but it will not be the options for the text to be formatted.

> **[format](https://ibb.co/THNrHmh)**
>
> Image format hosted in ImgBB

Firstly, thanks for the opportunity to be testing the tool and I congratulate the team for the great tool.

Problems found in version 5.4 (Beta):

When creating a Web Project Sevice Request and trying to save with the information provided the tool, the software does not save.

When you press the Test Request button, the error is displayed:

There was problem while parsing the reponse object.

Reason:  
Console is not set

Before pressing the Test Request button, I select the radioButton whose return will be in JSON, and by pressing the Test Request button, the radioButton is automatically selected HTML.

Note: The same test was done through a Google Chrome plugin called PostMan and everything went well without error.

Please evaluate the world file with the prints.

> **[report.docx](https://drive.google.com/file/d/1jVdF4CQ9m-t6WBqYUe_CqB-qn0emRXTG/view?usp=sharing)**
>
> Google Drive file.

---

<div class="post-metadata">

**Author:** ![Zarashima](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/zarashima/32/928_2.png) [@Zarashima](https://forum.katalon.com/u/Zarashima)\
**Post date:** [April 12, 2018, 2:41am UTC](https://forum.katalon.com/t/error-performing-the-web-service-request/10218/2 "2018-04-12T02:41:21Z")

</div>

Thanks Yan,

We will take a look at it soon :). By the way, the format’s type will be automatically selected based on the response’s content, so you will see that ‘raditionButton’ is automatically selected HTML instead.

Regards

---

<div class="post-metadata">

**Author:** ![Thai](https://avatars.discourse-cdn.com/v4/letter/t/ed8c4c/32.png) [@Thai](https://forum.katalon.com/u/Thai)\
**Post date:** [April 12, 2018, 4:37am UTC](https://forum.katalon.com/t/error-performing-the-web-service-request/10218/3 "2018-04-12T04:37:47Z")

</div>

Hi Yan!

Have a nice day.

Thank you for your detail description. Currently, we try to reproduce your issue. Unluckily, we can’t. However, Basing on your log file. We can provide a way to make a workaround:

1. Window + R.

2. Type “%temp%” . Then, press enter.

3. We will access to folder: ( "…\Katalon\non-removable\editor\codemirror).

ex: My PC. The path was: C:\Users\THAIQU~1\AppData\Local\Temp\Katalon\non-removable\editor\codemirror

4. Open the template file: template.html by using notepad.

5. At line 60 of template file: console.log(info); (For quickly: you can use the search feature to search this line).

```
Please remove this line.

```

Hopefully, It can help you fix the problem. However, If it still can not help you resolve the issue. Could you please give me step by step to reproduce this issue.

I am looking forward to hearing from you.

Regards,

Thai

---

<div class="post-metadata">

**Author:** ![Yan\_Reis](https://avatars.discourse-cdn.com/v4/letter/y/48db29/32.png) [@Yan\_Reis](https://forum.katalon.com/u/Yan_Reis)\
**Post date:** [April 12, 2018, 11:32am UTC](https://forum.katalon.com/t/error-performing-the-web-service-request/10218/4 "2018-04-12T11:32:19Z")

</div>

> [quocthai.cse@gmail.com](mailto:quocthai.cse@gmail.com) said:
> 
> Hi Yan!
> 
> Have a nice day.
> 
> Thank you for your detail description. Currently, we try to reproduce your issue. Unluckily, we can’t. However, Basing on your log file. We can provide a way to make a workaround:
> 
> 1. Window + R.
> 
> 2. Type “%temp%” . Then, press enter.
> 
> 3. We will access to folder: ( "…\Katalon\non-removable\editor\codemirror).
> 
> ex: My PC. The path was: C:\Users\THAIQU~1\AppData\Local\Temp\Katalon\non-removable\editor\codemirror
> 
> 4. Open the template file: template.html by using notepad.
> 
> 5. At line 60 of template file: console.log(info); (For quickly: you can use the search feature to search this line).
> 
> ```
> Please remove this line.
> 
> ```
> 
> Hopefully, It can help you fix the problem. However, If it still can not help you resolve the issue. Could you please give me step by step to reproduce this issue.
> 
> I am looking forward to hearing from you.
> 
> Regards,
> 
> Thai

This solved the problem.

---

<div class="post-metadata">

**Author:** ![Yan\_Reis](https://avatars.discourse-cdn.com/v4/letter/y/48db29/32.png) [@Yan\_Reis](https://forum.katalon.com/u/Yan_Reis)\
**Post date:** [April 12, 2018, 11:36am UTC](https://forum.katalon.com/t/error-performing-the-web-service-request/10218/5 "2018-04-12T11:36:13Z")

</div>

> Vinh Nguyen said:
> 
> Thanks Yan,
> 
> We will take a look at it soon :). By the way, the format’s type will be automatically selected based on the response’s content, so you will see that ‘raditionButton’ is automatically selected HTML instead.
> 
> Regards

I believe that there is a problem, I am making a request via GET and the return is JSON and the HTML option is being automatically selected, here is a simple code:

**In Katalon software**  
[http://localhost/teste.php?param=1234](http://localhost/teste.php?param=1234)

\*\*in the php file  
\*\*

\<?php if(isset($\_GET\['param'\])){ $pam = $\_GET\['param'\]; $arr = \[1 =\> 'teste',2 =\> 'novo', 3 =\> $pam\]; \*\*echo json\_encode($arr);\*\* }else{ echo 'aqui'; } ?\>
