microsoft / CRM-Performance-Toolkit

The Microsoft Dynamics CRM 2015 Performance Toolkit was created by the Microsoft CRM product team to formalize performance testing of Microsoft CRM 2013 and later releases. The performance toolkit can be used by the Microsoft CRM partners and customers to collect data to support their CRM deployment decisions.
44 stars 18 forks source link

CRM 2015 Toekn Issue #25

Open HajiJama opened 7 years ago

HajiJama commented 7 years ago

We wanted to load test CRM 2015 using visual studio load test but we ran into the known issue of the "WRPC Invalid Security Token" . The only solution we found from Microsoft was to disable this token in the registry and run the load test which was successful. The question we have is what is the CRM performance difference with or without this token enabled? Microsoft engineers who consulted with the Microsoft CRM folks could not answer this question clearly. Did anyone do this comparison? Also what is the difference of using the performance toolkit compared with using visual studio load test?

irfanhusni commented 7 years ago

hi @HajiJama do you have any solution from this problem? since i'm also have a same problem with you, many thanks.

HajiJama commented 7 years ago

Not really. It seems you cannot load test CRM unless you disable the token in the registry, according to Microsoft. I read somewhere that you can record the script in Fidler and upload to visual load test, but we did not go there.

On Wed, Dec 21, 2016 at 2:52 AM, irfanhusni notifications@github.com wrote:

hi @HajiJama https://github.com/HajiJama do you have any solution from this problem? since i'm also have a same problem with you, many thanks.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Microsoft/CRM-Performance-Toolkit/issues/25#issuecomment-268458732, or mute the thread https://github.com/notifications/unsubscribe-auth/AV8IAsjqmNc0WFufzx7ElEsoUdufTjlrks5rKNrKgaJpZM4Kd_7O .

CliveWilliamsNZ commented 7 years ago

You need to approach this as a proper performance test. The WRPC tokens are sent from the server and be correlated with the responses in a 'proper' performance testing tool. I count Visual Studio Load test as a 'proper' one! There are two issues here. The first is that there is not a single WRPC token. In a recent test, I counted 11 different ones being sent in a single response of which I had to pick the correct 2 to re-use later on in my script. The other is I found that the encoding of the initial response is different from what needs to be sent in the request(s). I had to write a custom decoder to handle.
Anything you have to change in the configuration of the system under test potentially moves your testing away from reality.