Skip to main content


In situations where direct testing through APIs, database queries, or dependencies isn't possible, validation is performed by manually reviewing logs to confirm the occurrence of specific logic.

For such cases, utilize Tesmon's event functionality by emitting an HTTP event, and set up your test to expect and respond to this event. This allows you to build an end-to-end testing strategy, and even validate logic that may not be accessible through APIs or databases.

Publishing events


Publish an Event from any of the following sources:

  1. iOS/Android/Web Apps
  2. Microservices
  3. Batch Processing Jobs
  4. Streaming or Data Pipelines


Tesmon offers multiple ways to publish events:

curl -X POST '<environment_id>/events' \
-H 'Content-Type: application/json' \
-H 'Authorization: ApiToken <api_token>' \
-d '{ "key": "<EVENT_KEY>", "value": "<EVENT_BODY_IN_JSON>" }'

Event Properties