Getting Started with Backend Testing
Meticulous records your interactions with your application on environments such as localhost as you develop it, and replays those sessions on every pull request to surface any differences your change triggers.
If your app uses server-side rendering (SSR), part of each user session happens on your backend: data is fetched on the server before the page ever reaches the browser, so the frontend recorder alone never sees those requests. To test these apps, Meticulous additionally records backend spans — the HTTP requests your server makes — and uses them to stub out server-side calls during replay. This lets Meticulous accurately replay and diff server-rendered pages, catching regressions in your backend and SSR code paths as well as your frontend.
To set up backend testing you need to:
- Install the frontend session recorder
- Install the backend spans recorder
- Set up tests to run in CI
- Verify the complete setup
For additional questions about how Meticulous works, check out the FAQ and Troubleshooting section.