# Import curl into Katalon

**URL:** <https://forum.katalon.com/t/import-curl-into-katalon/64487>\
**Category:** Feature Request\
**Tags:** start-page, feature-request, tracked, katalon-studio\
**Created:** [April 21, 2022, 7:13am UTC](https://forum.katalon.com/t/import-curl-into-katalon/64487 "2022-04-21T07:13:22Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![spuygrenier](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/spuygrenier/32/17288_2.png) [@spuygrenier](https://forum.katalon.com/u/spuygrenier)\
**Post date:** [April 21, 2022, 7:13am UTC](https://forum.katalon.com/t/import-curl-into-katalon/64487/1 "2022-04-21T07:13:22Z")

</div>

Dear All,

It would be greate if we can import a web service into katalon using curl commmand.  
It’s possible to importe curl using postman and then import into katalon but that quite fastidious.

Do you think it may be taken into consideration ?  
Let me know 🙂

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [April 21, 2022, 12:00pm UTC](https://forum.katalon.com/t/import-curl-into-katalon/64487/2 "2022-04-21T12:00:36Z")

</div>

Do you want to use this?

- [https://curl.se/](https://curl.se/)

Then you just want to execute a commandline command from a Test Case script in a Katalon project.

See the doc

- [https://docs.katalon.com/katalon-studio/docs/execute-windows-commands.html](https://docs.katalon.com/katalon-studio/docs/execute-windows-commands.html)

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [April 21, 2022, 12:03pm UTC](https://forum.katalon.com/t/import-curl-into-katalon/64487/3 "2022-04-21T12:03:04Z")

</div>

My Subprocessj library makes it easier for me to execute arbitrary commandline commands from Java/Groovy programs

- [https://kazurayam.github.io/subprocessj/](https://kazurayam.github.io/subprocessj/)

---

<div class="post-metadata">

**Author:** ![spuygrenier](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/spuygrenier/32/17288_2.png) [@spuygrenier](https://forum.katalon.com/u/spuygrenier)\
**Post date:** [April 21, 2022, 12:13pm UTC](https://forum.katalon.com/t/import-curl-into-katalon/64487/4 "2022-04-21T12:13:08Z")

</div>

Actualy, that was first a request for new feature in katalon ! A way to import Test Object/Web service using IHM plus curl (like in postman)

I got some issues regarding correct categories of this post, I hope it’s fine now

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [April 21, 2022, 12:29pm UTC](https://forum.katalon.com/t/import-curl-into-katalon/64487/5 "2022-04-21T12:29:13Z")

</div>

> [@spuygrenier](#):
>
> using IHM plus curl (like in postman)

I don’t understand what you mean.  
I don’t know postman.  
I suppose that most of katalon users here would not understand your request.

---

<div class="post-metadata">

**Author:** ![spuygrenier](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/spuygrenier/32/17288_2.png) [@spuygrenier](https://forum.katalon.com/u/spuygrenier)\
**Post date:** [April 21, 2022, 1:02pm UTC](https://forum.katalon.com/t/import-curl-into-katalon/64487/6 "2022-04-21T13:02:02Z")

</div>

For sure, but you may know curl. It’s a command quite common across Linux, Windows, ect..

That a good way to share and reproduce a Web service call in one copy past.

See below a gift of what would be cool on Katalon :  
 ![curl_needs](https://europe1.discourse-cdn.com/katalon/original/3X/5/6/56619fc18b25e0d38f946bd4db3702bcea39d3dc.gif)

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [April 21, 2022, 1:07pm UTC](https://forum.katalon.com/t/import-curl-into-katalon/64487/7 "2022-04-21T13:07:58Z")

</div>

Katalon Studio does not have any TERMINAL window at all.

This proves, Katalon Studio is primarily designed for the people who NEVER wants to touch command line, who fears that black screen, who knows no shell command, who doesn’t know “curl” of course.

> [@spuygrenier](#):
>
> See below a gift of what would be cool on Katalon :

I am afraid that THEY would not see this as a gift at all.

I noticed you are using postman. Why not you just stay with it?

---

<div class="post-metadata">

**Author:** ![spuygrenier](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/spuygrenier/32/17288_2.png) [@spuygrenier](https://forum.katalon.com/u/spuygrenier)\
**Post date:** [April 21, 2022, 1:12pm UTC](https://forum.katalon.com/t/import-curl-into-katalon/64487/8 "2022-04-21T13:12:06Z")

</div>

And so do I 🙂  
But that a great way to communicate with dev when they have to reproduce a Web Service call : you send them a copy past of the curl !

Are you from Katlaon Team ? Does that mean It will be never be implemented ? 😟

(It would be easier to teach and bring our non tech user on Katalon rather than teach them Postman + Katalon)

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [April 21, 2022, 1:13pm UTC](https://forum.katalon.com/t/import-curl-into-katalon/64487/9 "2022-04-21T13:13:13Z")

</div>

I am just a user, not a Dev team.

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [April 21, 2022, 1:15pm UTC](https://forum.katalon.com/t/import-curl-into-katalon/64487/10 "2022-04-21T13:15:19Z")

</div>

See the following post by the Product owner in Katalon.

> [@ERROR c.g.k.c.s.impl.WebSocketServiceImpl - Web socket connection closed due to BufferOverflow raised by Tyrus client. \[It might be realated to @SetUp, @TearDown in Katalon\]](http://forum.katalon.com/t/error-c-g-k-c-s-impl-websocketserviceimpl-web-socket-connection-closed-due-to-bufferoverflow-raised-by-tyrus-client-it-might-be-realated-to-setup-teardown-in-katalon/58459/17):
>
> Hi @kazurayam and @gdearest07 What Kazurayam has said above is correct, the forum support is voluntary and pretty much relies on our community users to help each other. There is no a specific person in the Katalon team to be accountable for providing support on Forum. As a KSE and KRE user, you can support a Zendesk ticket for better support as we have dedicated people there. @gdearest07 Regarding your issue with Time Capsule, could you please submit a bug report with enough information for re…

You had better make a “Official support request” for your requirement though the process which @Jass suggests.

I would pass this to @duyluong

---

<div class="post-metadata">

**Author:** ![duyluong](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/duyluong/32/1116_2.png) [@duyluong](https://forum.katalon.com/u/duyluong)\
**Post date:** [April 21, 2022, 1:21pm UTC](https://forum.katalon.com/t/import-curl-into-katalon/64487/11 "2022-04-21T13:21:33Z")

</div>

Assigned @nam.nguyen on April 21, 2022, 1:21pm UTC



---

<div class="post-metadata">

**Author:** ![duyluong](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/duyluong/32/1116_2.png) [@duyluong](https://forum.katalon.com/u/duyluong)\
**Post date:** [April 21, 2022, 1:27pm UTC](https://forum.katalon.com/t/import-curl-into-katalon/64487/12 "2022-04-21T13:27:08Z")

</div>

@spuygrenier, @kazurayam,

Thanks guys for your suggestion, I think this feature request is valid. Our product team will take a look on this and provide the update on this.

---

<div class="post-metadata">

**Author:** ![spuygrenier](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/spuygrenier/32/17288_2.png) [@spuygrenier](https://forum.katalon.com/u/spuygrenier)\
**Post date:** [April 21, 2022, 1:30pm UTC](https://forum.katalon.com/t/import-curl-into-katalon/64487/13 "2022-04-21T13:30:18Z")

</div>

Oh great, thanks for having an eye on that !

You can find bellow a har to curl generator. That far from good code but I hope it may help :

> [@Convert har to curl (Generator)](http://forum.katalon.com/t/convert-har-to-curl-generator/59593):
>
> Hi everyone ! I hope you are fine today ! Because we had issue to share fastly a webservice (in error) across the team we decided to use a curl generator. In that way, with a fast copy past, we can replay the API used or at least set up the basic request data like header/Auth/body/… See groovy repo for the class at [harToCurl/harToCurl.groovy at master · SolannP/harToCurl · GitHub](https://github.com/SolannP/harToCurl/blob/master/harToCurl.groovy) It’s utterly based on another repository available at [GitHub - snoe/harToCurl: Convert webdev HTTP Archive Reques…](https://github.com/snoe/harToCurl)

---

<div class="post-metadata">

**Author:** ![duyluong](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/duyluong/32/1116_2.png) [@duyluong](https://forum.katalon.com/u/duyluong)\
**Post date:** [April 21, 2022, 1:42pm UTC](https://forum.katalon.com/t/import-curl-into-katalon/64487/14 "2022-04-21T13:42:56Z")

</div>

@spuygrenier,

Thanks for bringing this tips. I think it may be a good reference for us when developing futher Webservice features.

---

<div class="post-metadata">

**Author:** ![nam.nguyen](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/nam.nguyen/32/18640_2.png) [@nam.nguyen](https://forum.katalon.com/u/nam.nguyen)\
**Post date:** [April 27, 2022, 4:23am UTC](https://forum.katalon.com/t/import-curl-into-katalon/64487/15 "2022-04-27T04:23:00Z")

</div>

Hi @spuygrenier,

Thank you for your suggestions,  
After investigation, I have some points which need your clarifications:

- Is your need importing CURL as Web Request Service, not convert Web Request Service to CURL?
- Do you usually import them individually or in batches?

Nam Nguyen.

---

<div class="post-metadata">

**Author:** ![spuygrenier](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/spuygrenier/32/17288_2.png) [@spuygrenier](https://forum.katalon.com/u/spuygrenier)\
**Post date:** [April 27, 2022, 11:18am UTC](https://forum.katalon.com/t/import-curl-into-katalon/64487/16 "2022-04-27T11:18:49Z")

</div>

Hi @nam.nguyen, thanks for the reply !

It would be great if we could import CURL into Web Request Service  
it’s usualy done individually 👍

---

<div class="post-metadata">

**Author:** ![anon46315158](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@anon46315158](https://forum.katalon.com/u/anon46315158)\
**Post date:** [April 27, 2022, 1:21pm UTC](https://forum.katalon.com/t/import-curl-into-katalon/64487/17 "2022-04-27T13:21:32Z")

</div>

> [@spuygrenier](#):
>
> It would be great if we could import CURL into Web Request Service  
> it’s usualy done individually 👍

I think it is doable.  
Well … due to the fact that curl syntax it is pretty complex, writing a robust parser for such commands is not trivial, but achievable.

---

<div class="post-metadata">

**Author:** ![nam.nguyen](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/nam.nguyen/32/18640_2.png) [@nam.nguyen](https://forum.katalon.com/u/nam.nguyen)\
**Post date:** [May 25, 2022, 7:41am UTC](https://forum.katalon.com/t/import-curl-into-katalon/64487/18 "2022-05-25T07:41:32Z")

</div>

Hi everyone,

Thank you all for your ideas,  
The feature request was logged into our backlog.  
We will keep you updated when it’s ready in a future release.

Happy Testing!  
Nam Nguyen.

---

<div class="post-metadata">

**Author:** ![gdearest07](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/gdearest07/32/22419_2.png) [@gdearest07](https://forum.katalon.com/u/gdearest07)\
**Post date:** [August 8, 2022, 11:26pm UTC](https://forum.katalon.com/t/import-curl-into-katalon/64487/19 "2022-08-08T23:26:58Z")

</div>

Any ETA for this?
