# Bloom RPC

BloomRPC

> **BloomRPC** is a UI client for testing gRPC services.

## Prerequisites

```bash
# gRPC mock server for testing (optional)
yarn global add bloomrpc-mock
# install `bloomrpc` via `brew` into ~/Applications)
brew cask install --appdir=~/Applications bloomrpc
```

> Assume you generated `TLS` certs as per [mtls](https://github.com/xmlking/micro-starter-kit/tree/4ba4dc7ba0f80e79556683470ba49409bf1a4748/docs/testing/mtls.md) and running `Account` gRPC microservice locally, Or started mock gRPC service using [bloomrpc-mock](/micro/develop/testing/mock.md)

## Using BloomRPC Client

1. Import paths by clicking `Import paths` icon

   ![Import paths](/files/-Lz41oIYEUdOj8OxIFmZ)
2. Import protos by clicking `Import Protos` icon and adding `e2e/account.bloomrpc.proto`

   Select `[service].[method]` to test, make sure the `Port` is correct, and click `TLS` button and add CA Cert.

   Add `*` for `ssl target host` input field.
3. Add Root CA cert.

   ![Add CA Cert](/files/-Lz43EMGTmH0NZfR-8F8)
4. Call the service method

   ![BloomRPC](/files/-Lz41oI_PthijLsK8C8S)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://xmlking.gitbook.io/micro/develop/testing/bloomrpc.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
