Open deividas-pelakauskas opened 1 year ago
@deividas-pelakauskas Thanks for the feature request. Collections with WebSocket and gRPC requests have limited functionality for now. We are tracking this internally.
Can you also share your workflow with the exported collection JSON?
collection is published for customers
Yes, it has the same use-case as with HTTP collections: you share it within your team and/or clients interested to integrate
@codenirvana As others mentioned, would be incredibly useful if we could share the collection with third-parties to test out product based on WebSocket. Workflow:
Would be great to implement the same for gRPC collections as well!! Need this to run the collection via CLI, Pipeline.
Current Workflow (simplified) based on REST API requests:
Desired Workflow (simplified) based on gRPC API requests: Developers migrate the REST API service app to a gRPC API service app. They must be able to do all the above steps with the new gRPC API service app, which are:
We also save Postman collections in version control, so being able to export grpc-based collections would be great!
I would also like this feature as it will be very useful (i also use websocket events in Postman)
We could really use this feature too.
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
I'm definitely in for that. It would allows us to share a collection with third parties without having to invite every single one of them to our team.
I actually need that feature, I must find other alternative
QOL feature that definitely needs to be added!
This is a big deal. Combining Protocol Buffers with gRPC unlocked a world of elegance in almost all languages (autogenerated go, python, javascrript, docs, swagger, validations, envoy proxies, etc.). If the Postman Collection SDK supports gRPC one could easily generate a Postman Collection directly from the protos. Something along the lines of proco-gen-postman
would be amazing.
Is there any active work on the subject? Or roadmap plans?
We are also interested in this feature!
@codenirvana Can you give us an update on whether this feature has been added to the roadmap? WebSocket and gRPC requests exports when run with newman gives us a lot of power for doing integration tests for all sorts of applications.
+1 to this feature please! Extremely needed, and does not make sense why we have it for http collections and not for websocket connections. If we can export http, there are defintely use cases to export socket collections as well. so much much needed feature
@adimoi @Hamma111 @jl-beast @jankrynauw @jhernandez-sps @noreading @mdemler @Thomas-1985 @l3ender guys! - Seems like this feature is not going to be added anytime soon! until then for regression runs using new man this helps!
https://pypi.org/project/grpcrest/ - Try out this plugin this converts gRPC into a rest api using - grpcurl command line tool - for more details refer this -
Key Components of the Plugin:
gRPC <> Rest API: The plugin takes gRPC server, service, and method names as headers. The body typically contains information such as the payload, and any additional metadata to be sent can be provided as Params in the Rest API.
Request Parsing: The plugin parses the headers, metadata, and request payload provided, extracting the necessary information like the target service, method name, metadata, and payload data. This information will be used to construct the corresponding grpcurl command.
gRPCurl Command Generation: Based on the parsed elements, the plugin dynamically generates the grpcurl command that is then used to invoke the gRPC request. It assembles the necessary flags, headers, and payload, ensuring compatibility with the grpcurl tool.
Command Execution: Once the grpcurl command is generated, the plugin executes it on the terminal, leveraging the subprocess module in Python. The plugin captures the command output and returns it as the response to the original REST API request.
How to use the GRPC-to-REST Plugin?
The plugin can be downloaded from the following link: https://pypi.org/project/grpcrest/ Use the following commands in your terminal after installing Python:
The above commands will start a simple Flask-based web server on localhost. Once the plugin is up and running, use the HTTP URL along with /invoke_gRPC in the HTTP Post request. Provide all the required Server, Service, Method, Meta data, and the request payload in the Body, headers, and Params section, and invoke the HTTP request to get a response from the gRPC API.
TO START THE PLUGIN : pip install grpcrest start-grpc-rest-5000
As we are using grpc more and more with our services, it would be extremely helpful to have this feature!
+1
this feature will be really helpful
Why would we want to create websocket Postman collections and not be able to have our data escape from Postman itself... makes no sense to me why this wouldn't have export capabilities.
Also I found it isn't even in my cloud backup/export. How am I to get access to my data I choose to created with Postman. Come on, give us our data let it be ours :sigh:
@deividas-pelakauskas Thanks for the feature request. Collections with WebSocket and gRPC requests have limited functionality for now. We are tracking this internally.
Can you also share your workflow with the exported collection JSON?
Our use case is much more easy and basic, and there's where the frustration with the license purchase comes from:
So after paying the license for the whole team, now we see we have to start from scratch generating all the gRPC collections we already had.
Btw, I've tried many ways to evem move it, by share it with link, but once visiting the link, you log into the old team and not the new one, and its not possible at all to move the collection from the old team to a workspace in the new team (which I find totally incredible), so I don't understand at all the "share" feature if it cannot share it for being moved into the workspace of another team. Not even possible to import it by pasting the link into the "import" popup. Also tried to fork it into My Workspace in the old team, and fork it again in the new one. But although I'm using the same email account, it's not possible to do that as the My Workspace is different from one team to the other.
Is there any official answer about this from the development team, with the current status of the feature if its indeed being in development? or are you not planning to allow the licensed users to bring their grpc collections to their team?
Thanks
+1
+1
+1
This is ridiculous, I was developing a gRPC API and wanted to use Postman to test it and share my collections to QA engineers and realized that I cannot export gRPC collections as a file at all. I didn't notice until the end that gRPC was missing so many features compared to HTTP/REST.
A lot of hours of proper collections with testing to realize that it is all locked down and I cannot even reuse this efficiently elsewhere.
I think we should not expect this feature, it seems recently Postman tries everything to push for their subscription and online sharing infrastructure.
@FabriceMk we appreciate the feedback! If you could share more observations on what you expected to be supported from gRPC (compared to HTTP/REST) that would also be highly appreciated!
To respond to your feedback, we are aware that this limitation is an issue and we are planning to invest in improving this. If context is appreciated, when we launched new protocols (like gRPC, GraphQL, MQTT, Websockets, and so on) we did so with a new collections format so that we could move more quickly to introduce the feature set that a protocol affords but we did so with a conscious trade-off that these new protocols aren't fully supported in the breadth of Postman's feature set (not just exporting collections, but things like running collections, mocking requests in collections, and so on). When we make a trade-off like that, we don't plan to make it permanent and we're sorry for the unexpected frustration this has caused.
PS: If you'd like to chat for 30 minutes about how we could improve Postman for you, we're always excited to learn more from our users: https://app.reclaim.ai/m/dschau/quick-meeting (note: looks like you're in Tokyo, not sure how much overlap we'll have!)
Any update if there is any official plans whatsoever to add support for exporting a gRPC collection?
I use model-driven code generation to generate gRPC and GraphQL applications. I want to also code-generate the Postman collections for all of these applications.
As long as this ticket has been out, I suspect your engineering team's SDLC is not quite as fast as mine. ;-)
buy buy bye bye postman
Well, the lack of this feature is costing me time.
I'd created a collection of websocket calls on my personal account's "team". Then I found out my work has a license, so I got my personal account added to my work's team. But there doesn't seem to be a way for me to move or share between my personal "team" and my work's "team", so without the export feature, I'm screwed and manually re-creating this collection in my work's "team".
Is there an existing request for this feature?
Is your feature request related to a problem?
There is no ability to export a collection with WebSocket requests.
Describe the solution you'd like
An ability to export a collection as a JSON file with WebSocket requests the same way it can be done with HTTP request collections.
Describe alternatives you've considered
No response
Additional context
No response