Another open source tool that does something similar is https://k6.io/ which I have been using recently. Tests are written in JS and you can define thresholds such as % errors, P95 and P99 response time for specific request components e.g. blocking, receiving, waiting, etc. There is also a SaaS product connected to it for doing tests from locations around the world.