Skip to content

Creating Tests

Tests are the core of Pingward. Each test monitors an endpoint on a schedule to verify it's working correctly. Pingward supports five test types: HTTP, MCP Server, A2A Agent, GraphQL, and gRPC.

Choosing a Test Type

When creating a test, select the type that matches your endpoint:

TypeUse Case
HTTPREST APIs, webhooks, web services, health check endpoints
MCP ServerModel Context Protocol servers (AI tool servers)
A2A AgentAgent-to-Agent Protocol agents (AI agent endpoints)
GraphQLGraphQL APIs (introspection, schema validation, query monitoring)
gRPCgRPC services (health checks, service discovery)

The test type determines which configuration fields and assertions are available.

Basic Configuration

Naming Your Test

Choose a descriptive name that identifies what the test monitors. Good names include:

  • The service or API being tested
  • The environment (production, staging)
  • The specific functionality

Examples:

  • "Production API - User Authentication"
  • "Payment Service Health Check"
  • "MCP Tools Server - Production"
  • "Translation Agent - A2A Health"

Description

Add an optional description to provide more context about the test. This is helpful for team members who may need to understand what the test does or troubleshoot issues.

HTTP Test Settings

SettingDescription
NameDescriptive identifier for the test
DescriptionOptional context about what the test monitors
MethodHTTP method (GET, POST, PUT, etc.)
URLThe endpoint to test
FrequencyHow often to run the test
TimeoutMaximum time to wait for a response
ImportanceAffects maximum severity of issues

MCP Server Test Settings

MCP (Model Context Protocol) tests monitor AI tool servers that implement the MCP specification.

SettingDescription
MCP Endpoint URLThe streamable HTTP endpoint of the MCP server
Protocol VersionMCP protocol version (default: 2025-03-26)
Perform InitializeRun the initialize/initialized handshake
Discover CapabilitiesEnumerate tools, resources, and prompts
Expected CapabilitiesCapabilities the server must advertise (e.g., tools, resources)
Canary Tool NameOptional tool to invoke as a health check
Canary Resource URIOptional resource to read as a health check

A2A Agent Test Settings

A2A (Agent-to-Agent Protocol) tests monitor AI agents that implement the A2A specification.

SettingDescription
Agent Base URLBase URL of the agent (agent card at /.well-known/a2a/agent-card)
Protocol VersionA2A protocol version (default: 1.0)
Validate Agent CardFetch and validate the agent card
Expected SkillsSkill IDs the agent must advertise
Send Probe TaskSend a test message to verify task processing
Probe Task MessageCustom message for the probe task
Auth SchemeAuthentication method (Bearer, API Key)

GraphQL Test Settings

GraphQL tests monitor GraphQL API endpoints with schema introspection and query validation.

SettingDescription
GraphQL Endpoint URLThe GraphQL endpoint
Perform IntrospectionRun introspection query to discover schema
Expected TypesSchema type names that must exist
Expected FieldsFields in Type.field format that must exist
Canary QueryOptional GraphQL query to execute
Canary VariablesJSON variables for the canary query
Max Deprecated FieldsAlert threshold for deprecated fields
Expected Schema HashDetect schema drift via hash comparison

gRPC Test Settings

gRPC tests monitor gRPC services using the standard health checking protocol.

SettingDescription
Server AddressThe gRPC server address (e.g., https://grpc.example.com:443)
Use TLSWhether to use TLS for the connection
Perform Health CheckRun the standard grpc.health.v1 health check
Health Check ServiceSpecific service name (empty for overall health)
Expected ServicesService names to validate via health check
Auth TokenBearer token for authentication

Creating Your First Test

  1. Navigate to TestsNew Test
  2. Enter a name and optional description
  3. Select the test type (HTTP, MCP Server, A2A Agent, GraphQL, or gRPC)
  4. Configure the endpoint and protocol-specific settings
  5. Configure assertions to validate the response
  6. Set the schedule frequency
  7. Click Create Test

The test will begin running on the configured schedule immediately.

Pingward - API Monitoring Made Simple