Create REST API requests manually


This is a companion discussion topic for the original entry at https://docs.katalon.com/katalon-studio/tutorials/create_rest_api_requests_manually.html

@Marek_Melocik
Can you please let me know how did you create the mypackage ? Please share the steps to create packages ?

import mypackage.SampleRequestObject

Appreciate your help.

Hi @spullabhotla

The sample may be a little bit misleading. You can create SampleRequestObject as a custom keyword and then call it in your test cases. You don’t need to actually create the packages. I added it into our backlog and we will update our documentation.

https://github.com/katalon-studio/docs/issues/175

Regards !

@ThanhTo
Thank you. I will look into the link and try it.
However, I understood that what Marek written in the article, however, I was wonder how to create the Java Package and Java class from Katalon.

I know how to create Java Package and Java class from Eclipse. When I tried it, I just didn’t see that facility in Katalon.

Hi @spullabhotla

Under Keyword, you can create a package, and within which you can create a custom keyword which is essentially a Java class.

Regards !

@ThanhTo
I will try creating the packages the above said way the will let you know.
Appreciate your help.