Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Load Test Dynamics CRM 2015 Using Visual Studio Test Professional 2015

Posted on by Microsoft Employee

Hi Everyone, 

I have a project to load test CRM 2015 using VS  2015 Enterprise version. I am facing issue in recording CRM application on Visual Studio and fiddler is not an option for us. 

Does anyone have any experience load testing CRM using VS? 

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Load Test Dynamics CRM 2015 Using Visual Studio Test Professional 2015

    We did that long time ago and that did not work.  It was one of the proposed solutions we looked at when we encountered this issue.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Load Test Dynamics CRM 2015 Using Visual Studio Test Professional 2015

    I found out that all you need to do is configure your IE browser setting by adding the Dynamics CRM URL that you are using for testing to your list if "Trusted Sites" and try your request again.

    To assign the Microsoft Dynamics CRM site to the Trusted sites security zone:

    1. In Internet Explorer, on the Tools menu, click Internet Options

    2. Click the Security tab, and then click the Trusted sites zone

    3. Click Sites

    4. In the Add this Websites to the zone box, type your Dynamics CRM URL that you use for login, and then click Add

    Click ok close the IE setting.

    Then try your request again.

    It works for me when have similar problem.

    Hope this helps

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Load Test Dynamics CRM 2015 Using Visual Studio Test Professional 2015

    Hi Stefano

    Can you elaborate on how you were able to get this to work without disabling the authentication token.  According to Microsoft the only way not to get the WRPC token error is to disable it in the registry on the CRM server.

  • Stefano Tempesta Profile Picture
    Stefano Tempesta 170 on at
    RE: Load Test Dynamics CRM 2015 Using Visual Studio Test Professional 2015

    I had a similar issue and I found out it was related to the authentication in CRM.

    Either start testing in a browser with the user already authenticated, or introduce a think time after login to allow for the authentication token to be available. 1 second should be enough...

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Load Test Dynamics CRM 2015 Using Visual Studio Test Professional 2015

    Any update on this issue.  I am experiencing the same problem.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Load Test Dynamics CRM 2015 Using Visual Studio Test Professional 2015

    The error message that we got is INVALID_WRPC_TOKEN

    <?xml version="1.0" encoding="UTF-8"?>

    <soap:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ExecuteResponse xmlns="http://schemas.microsoft.com/crm/2009/WebServices"><ExecuteResult>{"_error":{"Code":"0x8063110B","Description":"INVALID_WRPC_TOKEN","DisplayText":"This form is no longer available. As a security precaution, Microsoft Dynamics CRM does not automatically resubmit your information for you. To continue, close and reopen the form, enter your information again, and then save the form.","ErrorCode":-2140991221,"RedirectToEdit":false,"SerializedEntity":"","SerializedException":"Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: INVALID_WRPC_TOKENDetail: \u000d\u000a<OrganizationServiceFault xmlns:i=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xmlns=\"http:\/\/schemas.microsoft.com\/xrm\/2011\/Contracts\">\u000d\u000a <ErrorCode>-2140991221<\/ErrorCode>\u000d\u000a <ErrorDetails xmlns:d2p1=\"http:\/\/schemas.datacontract.org\/2004\/07\/System.Collections.Generic\" \/>\u000d\u000a <Message>INVALID_WRPC_TOKEN<\/Message>\u000d\u000a <Timestamp>2016-09-28T14:46:04.3085896Z<\/Timestamp>\u000d\u000a <InnerFault i:nil=\"true\" \/>\u000d\u000a <TraceText i:nil=\"true\" \/>\u000d\u000a<\/OrganizationServiceFault>\u000d\u000a\u000d\u000a","Title":"Access Denied"}}</ExecuteResult>

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans