We have an admin API that can create test users (see https://github.com/beyond-all-reason/teiserver/issues/676). This is typically used by the mix task to dump the data into a file that can then be used by other tools.
But by default the credentials are only valid for a short period of time and it doesn't work well with load testing tool for example.
Add an optional parameter to ask for a different duration before token expiration.