# Add websockets as part of a postman collection

**URL:** <https://community.postman.com/t/add-websockets-as-part-of-a-postman-collection/25626>\
**Category:** Help Hub\
**Tags:** tests, variables, collections, websockets\
**Created:** [July 9, 2021, 8:22am UTC](https://community.postman.com/t/add-websockets-as-part-of-a-postman-collection/25626 "2021-07-09T08:22:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![research-geoscienti2](https://avatars.discourse-cdn.com/v4/letter/r/ed8c4c/32.png) [@research-geoscienti2](https://community.postman.com/u/research-geoscienti2)\
**Post date:** [July 9, 2021, 8:22am UTC](https://community.postman.com/t/add-websockets-as-part-of-a-postman-collection/25626/1 "2021-07-09T08:22:46Z")

</div>

Is there a plan/possibility to add websocket requests as part of a collection flow? including tests and the ability to setEnvironment variable and continue to another request.

My use case:  
I have a post request, after that I expect a websocket message from the server, and then I want to have another post/get request which its input is the content of the websocket message.  
Sounds like a very common scenario.

Thanks in advance

---

<div class="post-metadata">

**Author:** ![jetison](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/jetison/32/12_2.png) [@jetison](https://community.postman.com/u/jetison)\
**Post date:** [July 9, 2021, 3:41pm UTC](https://community.postman.com/t/add-websockets-as-part-of-a-postman-collection/25626/2 "2021-07-09T15:41:37Z")

</div>

Hi there @research-geoscienti2 - we’re collecting user feedback about websockets [in the thread](https://community.postman.com/t/user-feedback-websocket-support/23879), so please chime in with your use case for our engineering team.

---

<div class="post-metadata">

**Author:** ![jetison](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/jetison/32/12_2.png) [@jetison](https://community.postman.com/u/jetison)\
**Post date:** [July 9, 2021, 3:41pm UTC](https://community.postman.com/t/add-websockets-as-part-of-a-postman-collection/25626/3 "2021-07-09T15:41:42Z")

</div>


