# IRPCTest.TestConnectionToServer

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Vault API](https://developer.m-files.com/APIs/gRPC-API/vault/index.md) > [Connection and health checks](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCTest/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCTest/TestConnectionToServer/

Badges: `Vault API / standard` `write` `no session`

Does nothing and returns at once. Use it to check that calls reach the server and to measure the
round-trip time.

- **Service:** [Connection and health checks](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCTest/index.md) `MFiles.IRPCTest`
- **gRPC method:** `/MFiles.IRPCTest/TestConnectionToServer`
- **HTTP (mf-http-grpc):** `POST /grpc/v1/test-connection-to-server`
- **Request:** [`TestConnectionToServerRequest`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCTest/TestConnectionToServer/index.md#request)
- **Response:** [`TestConnectionToServerResponse`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCTest/TestConnectionToServer/index.md#response)
- **Book and level:** Vault API, standard
- **Kind:** write
- **Session:** Not needed: the call can be made before logging in.
- **Idempotent:** no
- **Returns metadata structure version:** no
- **Streaming:** none (unary)

<a id="remarks"></a>

## Remarks

Needs no session; an `mfiles-session-id-bin` header, if sent, is ignored. The request and the
response are empty, so the time a call takes is the network round trip plus the server's minimal
call overhead.

The first call on a new channel also includes setting up the connection (on a local server, about
18 ms against about 1 ms for the calls after it), so leave it out of round-trip measurements.

<a id="request"></a>

## Request: TestConnectionToServerRequest

No fields.

<a id="response"></a>

## Response: TestConnectionToServerResponse

No fields.
