web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

D365 Online CRM Load Testing

(0) ShareShare
ReportReport
Posted on by

Hi All,

We are trying to load test our CRM application using the IE recorder as well as Fiddler recorder as web tests. But we are facing lot of Unauthorized access errors for lot of requests recorded under the webtest through both channels. We are getting these errors just after webtest is recorded so it shouldn't be the access token issues but still open for suggestions.

Example: - https://<org>.crm.dynamics.com/AppWebServices/MessageBar.asmx

We get unauthorized error on this request.

187263.Capture.JPG

Please provide your valuable inputs for this blocker.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    I don't see detailed errors logs. As per my assumption writing the below steps to follow to resolve.

    Step1: One of the best way of avoiding these hurdles is Stresstimulus tool. OR

    Step2: record the same script with stressstimulus tool and export to webtest [feature available in tool] and add them to your solution and run. that's it ..you won't see much issues and can be handled. for this you require stressstimulus license.

    Step3: If you still encounter the same kind of errors then it is communication protocol issue. Create webtest plug-in and add to your webtest to communicate in  Tls12 protocol. code follows: 

    public override void PreRequest(object sender, PreRequestEventArgs e)
    {
    ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

    }

    Then follow the step2 to complete.

  • Community Member Profile Picture
    on at

    If you have already found any other options please post.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans