Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Add Traffic Ops API Testing Monitor Support #3924

@rob05c

Description

@rob05c

Currently, the TO API Tests don't support Traffic Monitors. This makes it impossible to write integration tests for endpoints that call out to Monitors.

We need to add Monitor support, so we can test the Monitor endpoints.

This may be as simple as adding a few fixtures and configs, or it may be rather difficult. To begin with, someone needs to investigate or prototype it, to find out how much work it's going to be.

See also #3348

I'm submitting a ...

  • bug report
  • new feature / enhancement request
  • improvement request (usability, performance, tech debt, etc.)
  • other

Traffic Control components affected ...

  • CDN in a Box
  • Documentation
  • Grove
  • Traffic Control Client
  • Traffic Monitor
  • Traffic Ops
  • Traffic Ops ORT
  • Traffic Portal
  • Traffic Router
  • Traffic Stats
  • Traffic Vault
  • unknown

Current behavior:

API Tests don't support Monitors.

Expected / new behavior:

API Tests support Monitors, and support tests that make requests to them.

Minimal reproduction of the problem with instructions:

Write an API Test that requests a Monitor endpoint.

Anything else:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Traffic Monitorrelated to Traffic MonitorTraffic Opsrelated to Traffic Opshigh impactimpacts the basic function, deployment, or operation of a CDNlow difficultythe estimated level of effort to resolve this issue is lowtech debtrework due to choosing easy/limited solutiontestsrelated to tests and/or testing infrastructure

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions