2. Ping request:

XRAY: How to use Xray Health Check?

AuthorFullName__c
Anusha M
articleNumber
000005548
ft:sourceType
Salesforce
FirstPublishedDate
2023-01-12T18:52:49Z
lastModifiedDate
2023-01-12
VersionNumber
2
We can send a ping request to check the status of the API. 
It uses the REST endpoint GET /xray/api/v1/system/ping to perform the Health Check.
And the ping endpoint responds to requests with a basic 200: Ping successful message.

Command:
curl -uadmin:password -XGET http://localhost:8082/xray/api/v1/system/ping

Output:
{"status":"pong"}

Sample usage:

User-added image