Skip to main content
Post a question

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id : NVH9LvpgOFdhEwZJsZGKVR
Finance | Project Operations, Human Resources, ...
Unanswered

PerfSDK IS-Dispatcher (Multi User) Fails to Attach to Forms in Dynamics 365 F&O

Like (2) ShareShare
ReportReport
Posted on 12 Mar 2025 14:06:18 by 11
Hello everyone,
We are experiencing a critical issue when running Multi-User Performance Tests using PerfSDK’s IS-Dispatcher in Dynamics 365 Finance & Operations. The tests fail immediately on the first navigation step, regardless of which form we attempt to open.

Tool Used:
PerfSDK’s IS-Dispatcher (Multi User) (not RSAT).
JS-Dispatcher (Single User/Admin) works fine, but IS-Dispatcher fails.
Manual navigation works fine – we can log in with the test user and access forms like SalesTableListPage and Default Dashboard without any issues.
The same issue occurs in another customer environment that was stable before (last successful test run in December).
This issue suddenly occurred overnight, despite having previously executed many successful test runs without any problems.

Error Details
As soon as the first navigation step is executed in IS-Dispatcher, the test fails with the following error:
 
Microsoft.Dynamics.TestTools.Dispatcher.Exceptions.DispatcherException: Could not attach to form:  
no open form with name 'SalesTableListPage'

This happens regardless of whether we navigate to SalesTableListPage, Default Dashboard, or any other form.
Repro Steps
  • Start a test execution in IS-Dispatcher (Multi User).
  • Create a new ClientContext using:
    • using (var clientContext = ClientContext.Create(Client))
  • Provide basic test data (e.g., CustAccountNum to create an sales order) from a local DB
  • Attempt to navigate to SalesTableListPage or any other form.
The test fails immediately with the above error.
What We Have Tested So Far
We have already ruled out several potential causes:
  • ✔ Network setup – no restrictions preventing access.
  • ✔ RSAT certificates – valid and correctly configured.
  • ✔ Test user permissions – manually logging in and accessing forms works fine.
  • ✔ Code changes – the issue occurs even in older test cases that previously worked.
  • ✔ Chromedriver & Virtual Machines – tests fail across multiple environments, including another customer setup.
  • ✔ RSAT as a comparison – logging in via RSAT as the test user and opening forms works fine.
Request for Help
Since this issue occurs across multiple environments with no changes on our side, we strongly suspect a problem within PerfSDK’s Multi-User functionality.
Has anyone encountered similar issues with PerfSDK’s IS-Dispatcher? Any suggestions on what might be causing this, or workarounds that helped you resolve it?
Any input would be greatly appreciated!
Thanks in advance.
  • Marvin Richter Profile Picture
    11 on 13 Mar 2025 at 09:32:25
    PerfSDK IS-Dispatcher (Multi User) Fails to Attach to Forms in Dynamics 365 F&O
    Hi André,
    Thank you for your response.
    We are using Visual Studio 2019 Enterprise, so the version should not be the issue.
    We are aware that Microsoft is recommending Apache JMeter for performance testing going forward. However, we still need to use PerfSDK for our current project, as migrating to a completely new testing framework at this stage is not feasible.
    Additionally, the same test cases were running successfully:
    • In another repository as recently as December. 
    • In our repository until the end of February.
    The issue has been reproduced across different environments with different versions. It was first observed on a Tier 3 environment with the version that was current at that time. We then switched to a Tier 5 environment with the latest version, and the problem persisted. This confirms that the issue is not specific to a single environment or version.

    Since no changes were made to our test code, and the issue now occurs in multiple environments, this strongly suggests that something has changed on Microsoft’s side (PerfSDK or its dependencies).
  • André Arnaud de Calavon Profile Picture
    292,845 Super User 2025 Season 1 on 12 Mar 2025 at 22:15:50
    PerfSDK IS-Dispatcher (Multi User) Fails to Attach to Forms in Dynamics 365 F&O
    Hi Marvim,

    Which version of Visual Studio are you using? VS2019 is the last version that supports the PerfSDK. Note that Microsoft is suggesting to use Apache Jmeter going forward for performance testing. You can read their statement on the documentation page: Run multi-user testing by using the Performance SDK - Finance & Operations | Dynamics 365 | Microsoft Learn

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,845 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,717 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans
Loading complete