Testing gRPC Duplex / Bidirectional Methods

Before we get started have a look at the QuickStart Guide to see the steps to create a gRPC Client. In this tutorial we will create a client for the sample gRPC Northwind Client that is included in FintX

After creating the client, double click on the UpdateOrderStatus method.  This method is a duplex/bi-directional streaming method.

Invoke the duplex method

  1. Double-click the UpdateOrderStatus method
  2. Edit the values in the request panel
  3. Click on the PLAY button to send the inital request to the server

 

Send a stream of requests

  1. Edit the current stream request values
  2. Click on the Send button to write to the server stream. Repeat 1 and 2 as many times as you need to write messages to the server stream
  3. Once you are done, click on the End button

Finish up

  1. The response stream panel displays in real-time streaming responses from the server
  2. Click the STOP button to end the session
  3. The response panel shows the final server response 

Leave a Reply

Your email address will not be published. Required fields are marked *