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

  • Community Member Profile Picture
    on at
    RE: D365 Online CRM Load Testing

    If you have already found any other options please post.

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: D365 Online CRM Load Testing

    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.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans