AuthHelper¶
Namespace: LoadTests.Infrastructure
Helper class for handling authentication in load tests
Inheritance Object → AuthHelper
Implements IDisposable
Constructors¶
AuthHelper(String)¶
Initializes a new instance of the AuthHelper class
Parameters¶
baseUrl String
Base URL for the authentication API
Methods¶
Dispose()¶
Disposes of the HTTP client resources
GetAuthTokenAsync()¶
Gets an authentication token for load testing
Returns¶
JWT token string or null if authentication fails