Testing Your Auth0 Implementation
You should run unit and integration tests before implementing Auth0 on a live application or service.
Performing tests against Auth0 APIs may lead to your account being rate limited, so we recommend creating mock Auth0 APIs during testing. Depending on your development environment, your test tools may also provide mock API functionality. There are also numerous API mocking tools available, such as MockServer or JSON Server, that enable you to quickly create fake APIs for testing. You can also use Postman to set up a mock server.
When conducting performance testing, you may encounter issues with your implementation. The following are steps you can take to begin the troubleshooting process and identify where there might be issues of concern.
The Auth0 Dashboard
The Logs section of the Auth0 Dashboard stores data on:
- Actions taken in the Dashboard by administrators
- Authentications made by your users
There are also extensions that you can use for logging purposes, including exporting logs to third-party tools and gathering information on the use of custom code in your account.
Third-Party Testing Tools
There are a number of third-party testing tools that you can use for performance testing against RESTful APIs. Here are some options you might consider (note that Auth0 does not endorse any particular product or tool):
These tools should provide activity logs that help you identify anything that is concerning. If you need assistance with deciphering your log or identifying the potential issue, please contact Support.
If you discover an issue that you can reproduce, you can create a HAR file and send it to our Support team for additional assistance.