Docker announced its new feature called Docker Extensions(https://www.docker.com/products/extensions/). So we can directly use tools in Docker Desktop with one-click installation of extensions. Since it's in Beta, there are limited tools in the marketplace and we are lucky to say that ddosify(https://github.com/ddosify/ddosify) is one of them. With Ddosify Docker Extension, you can easily perform load test to your endpoints.
Here is a quick how-to video: https://www.youtube.com/watch?v=W3r8GIgLLKU
Note: Min. Docker Desktop version is: 4.10.0
Source: https://www.docker.com/blog/new-extensions-improved-logs-and-more-in-docker-desktop-4-10/