# Sending data over TCP connection between client and server

**URL:** <https://community.postman.com/t/sending-data-over-tcp-connection-between-client-and-server/51028>\
**Category:** Help Hub\
**Tags:** tests, postman\
**Created:** [August 27, 2023, 11:29pm UTC](https://community.postman.com/t/sending-data-over-tcp-connection-between-client-and-server/51028 "2023-08-27T23:29:07Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![research-technolog10](https://avatars.discourse-cdn.com/v4/letter/r/e0b2c6/32.png) [@research-technolog10](https://community.postman.com/u/research-technolog10)\
**Post date:** [August 27, 2023, 11:29pm UTC](https://community.postman.com/t/sending-data-over-tcp-connection-between-client-and-server/51028/1 "2023-08-27T23:29:07Z")

</div>

I have a client and server setup. Client initiates tcp handshake with server, then sends request with some xml data attached to the tcp packet. The server responds also with xml data attached to the tcp packet. Would it be possible to test this in Postman?

---

<div class="post-metadata">

**Author:** ![michaelderekjones](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/michaelderekjones/32/14819_2.png) [@michaelderekjones](https://community.postman.com/u/michaelderekjones)\
**Post date:** [August 29, 2023, 12:16pm UTC](https://community.postman.com/t/sending-data-over-tcp-connection-between-client-and-server/51028/2 "2023-08-29T12:16:58Z")

</div>

If its an HTTP request then yes although xml requests and responses are a bit harder to work with over JSON\rest.

If you are new to Postman, then I would suggest a visit to the Learning Centre.

[Overview | Postman Learning Center](https://learning.postman.com/docs/introduction/overview/)

Including the Postman Training links under “Other Resources”.

![image](https://us1.discourse-cdn.com/getpostman/original/3X/3/b/3b763d56d66445f4c34eeb66c64631335559a741.png)

I would recommend the “Galaxy APIs 101” course first as it gets you used to the application features.

Then the “Galaxy Testing and Automation” course which teaches you how to assert the responses. It includes defining and using variables from responses.

---

<div class="post-metadata">

**Author:** ![research-technolog10](https://avatars.discourse-cdn.com/v4/letter/r/e0b2c6/32.png) [@research-technolog10](https://community.postman.com/u/research-technolog10)\
**Post date:** [August 30, 2023, 11:21am UTC](https://community.postman.com/t/sending-data-over-tcp-connection-between-client-and-server/51028/3 "2023-08-30T11:21:28Z")

</div>

It is not http base, just using raw tcp to transmit xml data between two nodes.

Thanks

---

<div class="post-metadata">

**Author:** ![michaelderekjones](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/michaelderekjones/32/14819_2.png) [@michaelderekjones](https://community.postman.com/u/michaelderekjones)\
**Post date:** [August 30, 2023, 11:53am UTC](https://community.postman.com/t/sending-data-over-tcp-connection-between-client-and-server/51028/4 "2023-08-30T11:53:53Z")

</div>

Then probably not.

Postman requires the http method (post\get) to be included in the request alongside the URL.

---

<div class="post-metadata">

**Author:** ![research-technolog10](https://avatars.discourse-cdn.com/v4/letter/r/e0b2c6/32.png) [@research-technolog10](https://community.postman.com/u/research-technolog10)\
**Post date:** [August 30, 2023, 12:49pm UTC](https://community.postman.com/t/sending-data-over-tcp-connection-between-client-and-server/51028/5 "2023-08-30T12:49:08Z")

</div>

Gotcha. Thanks for that.

Cheers

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [November 28, 2023, 12:49pm UTC](https://community.postman.com/t/sending-data-over-tcp-connection-between-client-and-server/51028/6 "2023-11-28T12:49:34Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
