New to Telerik Test Studio? Download free 30-day trial

How to Address Error 401 in Load Test Results

PROBLEM

When running a load test, the results include a number of 401 responses.

SOLUTION

This behavior occurs when the traffic recorded in the User Profile of the load test is not setup correctly. Thus the traffic sent towards the application server is not authorized to access it.

The approach for addressing these errors is to revise all requests in the User Profile, remove the unnecessary queries and parameterize the dynamic parts of the rest. Use the recommended steps in this KB article about adjusting the user profile in Test Studio load test.

In this article