Mixing Websocket and HTTP requests for Testing

I’ve been working on setting up some integration tests at work, and I’m hitting a challenge.

I first need to create some users in our test environment so that I can test other endpoints (e.g., update, delete).

Our “create user” flow uses websockets and all the other actions use HTTP requests.

Is it possible for me to set up tests that run websockets and then HTTP requests in an order I specify?

Hey @ryannewton, welcome to the Postman community!

We do not yet support mixing both HTTP and websocket requests in a single collection, for now you’ll have to have two different collections (one for account creation, one for tests) and run them separately.

Thanks @arlemi for answering my question!

1 Like