Reputation: 3657
We are trying to record web load test and we are able to successful till we get login page. After we do login in url, it is getting failed in visual studio. As login has some authentication token,ids etc. So how can we get authentication details like token,id etc. In load test project. Basically we are doing web performance test through visual studio.
Upvotes: 0
Views: 526
Reputation: 812
As you correctly noted, one or several tokens/ids causes the issue. VS autocorrelation engine does not appropriately handle them, and they are replayed as recorded instead of using dynamic values generated by the server for each client session in the real-time.
To fix it you need to find and manually correlate such dynamics values by creating extraction rules and parameters, which may be quite time-consuming. Check our Web Test Builder for Visual Studio referenced here to create missing extractors and parameter automatically.
Upvotes: 1