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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Single user performance test

(0) ShareShare
ReportReport
Posted on by 20

Hello Microsoft community!

I'm trying to perform a single user performance test by following this guide: https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/perf-test/single-user-test-perf-sdk. I'm using visual studio 2015 on a T1 cloud hosted environment .When i run the test this error gets generated: 


Result Message: Initialization method MS.Dynamics.Performance.Application.TaskRecorder.PerfomarnceTestning2_0Base.TestSetup threw exception. MS.Dynamics.TestTools.CloudCommonTestUtilities.Exceptions.UnsupportedEnvironmentException: MS.Dynamics.TestTools.CloudCommonTestUtilities.Exceptions.UnsupportedEnvironmentException: Unable to determine testroot directory. Ensure the test is running from an enlistment or the testroot has been defined as an environment variable. 

as the log advice's i created an environment variable that is named testroot, and point it to the perfSDK folder. I can view this variable under system properties > advanced > environment variables. But the error still persists.

is any one familiar with this issue? or have any suggestions?    

I have the same question (0)
  • Suggested answer
    Saju Kanakaraj Profile Picture
    605 on at

    Hello Erik,

    Did you follow the steps 8 to 11 in this link(Section: Prepare the PerfSDKSample solution for multi-user testing)

    Even I have faced similar issue while running tests.

    I have two business scenario(2 task recording) where in above steps are done for the 1st scenario along with configuration and executed the tests. It works fine.

    Later I have imported 2nd business scenario but forgot to follow above steps(8 to 11).

    When ever new recording is imported into VS, you need to make sure that above mentioned step is done.

    Regards,

    Saju K

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 544 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans