Application Benchmark Toolkit for Microsoft Dynamics AX 2009

We have released the Benchmark Toolkit as an Open Source Project on CodePlex. You can use the Benchmark Toolkit to stress and performance test your AX application or custom classes. The Benchmark Toolkit comes with a predefined set of 12 scenarios such as Sales Order and Project Quotation. You are free to modify these to fit your scenario. The Benchmark Toolkit also comes with the Programming Model Proxy which will allow you to choose X++ classes, enums and tables from your AOT and automatically generate C# proxy code for calls into Microsoft Dynamics AX Business Connector. For more information visit our CodePlex website.

Comments (14)
  1. The Performance team in MS has come up with the benchmark tool which can be downloadable from partnersource

  2. Juliuz says:

    Cant make it work, it installs ok, but whenever i run a Test, it cannot read the context parameters in the .loadTest file, since it keeps telling me there is a nullReferenceException when trying to read the logFileName property of the testContext.

  3. Sascha says:

    What software requirements do the toolkit have?

    In the documentation I read about the (expensive) Visual Studio Test Suite.

    Isn`t it also OK to use another VIsual Studio version with the Load- and Test-Agent?

    Second question: Is the toolkit also usable with Visual Studio 2010?

  4. Robin says:

    I got some issues too. it always throws a error message like this:

    Die Microsoft.Dynamics.Benchmark.TestProject.SalesAndDistribution.JustLogin-Methode hat eine Ausnahme ausgelöst: Microsoft.Dynamics.Benchmark.Tools.ToolsException: Could not add the user {0}{1} to the session manager pool.

    {0} stands for the domain and {1} for the username defined in the DataSource "UserManagement.csv".

    The defined user is also a registered AX user.

    Can anyone please help me ?

    Thank in advance

  5. writing custom scenaio in C# in Benchmarktoolkit for Performance testing in Dynamics AX says:

    I am using Benchmark Toolkit to do performance testing for the custom AX class. I am able successfully use the Programming Model Proxy to choose the X++ classes and tables from AOT and generated the C# code. Now I need to replicate the functionality/scenario in C#. I am not able to proceed from here, can anyone please help me.

    In time advice is highly appreciated.

    Thanks in Advance,


  6. Nitin Jain says:

    Hi, I have upgraded the tool kit in VS2010 ultimate. Now when I tried to configure it using SetupAxaptaObjectWrapper.exe, it is giving me error "No valid install destination were found. This setup expects to find a valid Visual Studio install….", Any suggestion how to fix it?

    Thanks in Advance,


  7. Kishore says:

    Hi Nitin,  Please find the exact path of  AxaptaObjectWrapper.dll on the disk and create a codebase entry in the registry for that dll.  You can use regasm with /codebase switch for this.  Some of the libraries could be directly referenced from GAC.  Please fix any missing references by providing explicit reference to the dll from disk.  While rebuilding, please fix issues in this order :- AxaptaObjectModel, Microsoft.Dynamics.Ax.Code, Microsoft.Dynamics.Benchmark.Tools and Microsoft.Dynamics.Benchmark.LoadTestPlugin.  Hope it resolves any other migration issues.


  8. Herbert says:

    Hi Ray,

    we urgently need a benchmark toolkit for AX2012 (customer with 3000 users has to test the new hardware).

    Is there a prerelease (alpha, beta-version,… we'll take what we get!!!)

    Even if you only have some simple jobs – we would appreciate it very much.

    Thank you!

    kind regards


  9. Raja says:


    Can anybody explain how to use this tool?



  10. Jaap Frank says:

    We are implementing Ax2012 and we have serieus performance issues is there any tool to benchmark ax2012?

    Thank you in advance.

    J. Frank

  11. Shubhankar says:

    Does this work with Thick client application too?

  12. Ray Bennett says:

    Hi Shubhankar,

    This is meant to replace the thick client, i.e.; it simulates the behavior that the thick client would perform on the AOS. It does not test the thick client itself.

    For that, consider using Visual Studio Coded UI Test.

  13. Nishant says:


    I am using this tool for performance testing of standard AX application. I have configured it successfully with Visual Studio 2015, But couldn't able to run the in built scenarios (purchase order , sales order etc.). But it is throwing error "Assert Failed: can't perform the requested action because you aren't logged on to MS Dynamics". I have already configured the users in Dynamics and usermangement.csv file.

    Can somebody tell me how to resolve this issue? Please provide any useful document to work on this tool.


Comments are closed.

Skip to main content