# Open mobile browser or calling api while running mobile app automation

**URL:** <https://forum.katalon.com/t/open-mobile-browser-or-calling-api-while-running-mobile-app-automation/33118>\
**Category:** Mobile Testing\
**Tags:** mobile-testing, katalon-studio\
**Created:** [September 16, 2019, 2:14am UTC](https://forum.katalon.com/t/open-mobile-browser-or-calling-api-while-running-mobile-app-automation/33118 "2019-09-16T02:14:31Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Chris\_Trevarthen](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/chris_trevarthen/32/358_2.png) [@Chris\_Trevarthen](https://forum.katalon.com/u/Chris_Trevarthen)\
**Post date:** [September 20, 2019, 2:28am UTC](https://forum.katalon.com/t/open-mobile-browser-or-calling-api-while-running-mobile-app-automation/33118/4 "2019-09-20T02:28:59Z")

</div>

Hi @taynguyen,

You can mix in API calls to your mobile or web tests in Katalon. So at a high level, you could do the following:

1. Create a Test Case that triggers an OTP in your project
2. In the same project, create a new Web Service Request
3. Fill in the info you would use to access the API - the URL, any parameters you would need, etc.
4. In the Web Service Request, choose to add the request to an existing Test Case (choose the Test Case from above)

 ![13%20PM](https://europe1.discourse-cdn.com/katalon/original/2X/8/87c8e2158f64f8091b5bb482d36e1931374ca00a.png)

1. You’ll see that a new line was added to your Test Case for the Web Service Request
2. Add more testing steps to your Test Case that takes the result of the Web Service Request and fills in whatever mobile forms you have

Here are some docs on how to create an API call test in Katalon Studio:

[https://docs.katalon.com/katalon-studio/docs/create\_first\_api\_test\_katalon\_studio.html#katalon-new-features](https://docs.katalon.com/katalon-studio/docs/create_first_api_test_katalon_studio.html#katalon-new-features)

And here are some docs on how to make the API calls manually:

[https://docs.katalon.com/katalon-studio/docs/create\_rest\_api\_requests\_manually.html](https://docs.katalon.com/katalon-studio/docs/create_rest_api_requests_manually.html)

Hope this helps,

Chris

---

_[View the full topic](https://forum.katalon.com/t/open-mobile-browser-or-calling-api-while-running-mobile-app-automation/33118)._
