# API GET Request

**URL:** <https://forum.katalon.com/t/api-get-request/12729>\
**Category:** API Testing\
**Tags:** api-testing, katalon-studio\
**Created:** [August 20, 2018, 2:16pm UTC](https://forum.katalon.com/t/api-get-request/12729 "2018-08-20T14:16:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![C\_T](https://avatars.discourse-cdn.com/v4/letter/c/22d042/32.png) [@C\_T](https://forum.katalon.com/u/C_T)\
**Post date:** [August 20, 2018, 2:16pm UTC](https://forum.katalon.com/t/api-get-request/12729/1 "2018-08-20T14:16:17Z")

</div>

I have noticed when running my API Tests that if I run the test from the object in Object Repo that it will give me the Response of the Request, if there is one. For instance one of them just returns me the version of a module and this is Displayed. However, whenever the API Test is part of a Test Case or Test Suite/Collection there is no Response indicated other than Success, which tells me really nothing other than that the Server Received the response and responded, but nothing stating what the response was.

Am I missing some code snippet I need to affix to the Test Case or something else altogether?

---

<div class="post-metadata">

**Author:** ![Andrej\_Podhajsky](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/andrej_podhajsky/32/1055_2.png) [@Andrej\_Podhajsky](https://forum.katalon.com/u/Andrej_Podhajsky)\
**Post date:** [August 20, 2018, 2:23pm UTC](https://forum.katalon.com/t/api-get-request/12729/2 "2018-08-20T14:23:58Z")

</div>

if you want to check content of response, you need to process it - probably parse and process parsed data with assert to check what was returned

---

<div class="post-metadata">

**Author:** ![C\_T](https://avatars.discourse-cdn.com/v4/letter/c/22d042/32.png) [@C\_T](https://forum.katalon.com/u/C_T)\
**Post date:** [August 20, 2018, 2:29pm UTC](https://forum.katalon.com/t/api-get-request/12729/3 "2018-08-20T14:29:01Z")

</div>

Thanks for the quick reply, I am very new to automation and brand new to Katalon, so I’m not exactly sure how to process the Response and parse out the returned value to an export string. Any Help would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![Marek\_Melocik](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/marek_melocik/32/371_2.png) [@Marek\_Melocik](https://forum.katalon.com/u/Marek_Melocik)\
**Post date:** [August 20, 2018, 2:33pm UTC](https://forum.katalon.com/t/api-get-request/12729/4 "2018-08-20T14:33:43Z")

</div>

JSONSlurper is an awesome class for parsing JSON in Groovy. Check it out - [http://docs.groovy-lang.org/next/html/gapi/groovy/json/JsonSlurper.html](http://docs.groovy-lang.org/next/html/gapi/groovy/json/JsonSlurper.html)

---

<div class="post-metadata">

**Author:** ![C\_T](https://avatars.discourse-cdn.com/v4/letter/c/22d042/32.png) [@C\_T](https://forum.katalon.com/u/C_T)\
**Post date:** [August 20, 2018, 2:38pm UTC](https://forum.katalon.com/t/api-get-request/12729/5 "2018-08-20T14:38:04Z")

</div>

Thanks for the help!!

---

<div class="post-metadata">

**Author:** ![Andrej\_Podhajsky](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/andrej_podhajsky/32/1055_2.png) [@Andrej\_Podhajsky](https://forum.katalon.com/u/Andrej_Podhajsky)\
**Post date:** [August 20, 2018, 2:38pm UTC](https://forum.katalon.com/t/api-get-request/12729/6 "2018-08-20T14:38:56Z")

</div>

how to parse JSON was answered e.g. here

> **[Parse json response](http://forum.katalon.com/discussion/comment/20795/)**
>
> Below is the code i am trying to parse a json response def responseText = response.getResponseText()
