AnubisWatchDOCUMENTATION

Search the hall

Search guides, configuration fields and command examples.
↑↓ select · Enter openEsc close
GitHub
Documentation
THE FIELD GUIDE

Synthetic journeys

Multi-step requests, assertions and variable extraction along a complete user journey.

Project source · da59007Updated 2026-10-17

Monitor a complete sequence of HTTP requests, extract variables and verify assertions at each step.

Synthetic Monitoring (Journeys)

Root journeys Array

FieldTypeDefaultRequiredDescription
namestring-YesJourney name
weightduration300sNoRun interval
timeoutduration30sNoTotal timeout
continue_on_failurebooleanfalseNoContinue on step failure
variablesobject-NoJourney variables
stepsarray-YesJourney steps

steps[] Block

FieldTypeDefaultRequiredDescription
namestring-YesStep name
typestringhttpNoStep type
targetstring-YesTarget URL
httpobject-NoHTTP config
extractobject-NoVariable extraction

extract Block

FieldTypeDefaultDescription
<var_name>object-Extraction rule

Extraction Rule

FieldTypeDefaultDescription
fromstring-body, header, cookie
json_pathstring-JSON path (for body)
header_namestring-Header name
cookie_namestring-Cookie name
regexstring-Regex pattern

Journey Example

YAML
journeys:
  - name: "User Login Flow"
    weight: 300s
    timeout: 30s
    continue_on_failure: false
    variables:
      base_url: "https://app.example.com"
      test_email: "${TEST_EMAIL}"
      test_password: "${TEST_PASSWORD}"
    steps:
      - name: "Get CSRF Token"
        type: http
        target: "${base_url}/login"
        http:
          method: GET
          valid_status: [200]
        extract:
          csrf_token:
            from: body
            json_path: "$.csrf_token"

      - name: "Perform Login"
        type: http
        target: "${base_url}/api/auth/login"
        http:
          method: POST
          headers:
            Content-Type: "application/json"
            X-CSRF-Token: "${csrf_token}"
          body: |
            {"email": "${test_email}", "password": "${test_password}"}
          valid_status: [200]
        extract:
          auth_token:
            from: body
            json_path: "$.token"

      - name: "Fetch Dashboard"
        type: http
        target: "${base_url}/api/dashboard"
        http:
          method: GET
          headers:
            Authorization: "Bearer ${auth_token}"
          valid_status: [200]
          feather: 2s

Adapted from the AnubisWatch project. Examples use placeholder services and credentials.View project source Suggest a correction

AnubisWatch is built and maintained by

oxognet.

A small studio in Estonia building AI agents, developer tools and the infrastructure behind them.

Made in Estonia. Shipped worldwide.