Skip to content

Run cypress powered e2e tests on nodejs runtime to run production build and mimic synthetic monitoring.

Notifications You must be signed in to change notification settings

sirdarthvader/synthetic-monitoring

Repository files navigation

synthetic-monitors

Synthetic monitoring is a monitoring technique that is done by using an emulation or scripted recordings of transactions Wikipedia article

Run with npm start which starts a service on port 8080. You can play with the Cypress tests directly via npm run cy:open

What does this do?

It runs a Cypress test suite, waits for 5 minutes then runs it again and records the results to http://localhost:8080

If you visit that URL it will give you links to other options such as:

  • Videos of each test run
  • An easy to read status page (generated with Mochawesome)
  • A JSON API endpoint for querying the existing state

Environment Variables

You can configure how the server runs:

  • WAITING_TIME_INTERVAL: How long to wait in minutes between a test run finishing before starting a new run (default: 5 minutes)
  • SPECS_REGEX: Select which specs to run (default all: "/cypress/integration/*-spec.js")

About

Run cypress powered e2e tests on nodejs runtime to run production build and mimic synthetic monitoring.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published