Источник:
https://community.dynamics.com/membe...f-b7a3c39f0dbd
==============
HI All,
Using PO creation scenario from Benchmark SDK, running successfully the scenario with VS2013 ultimate and getting results without errors and even creating PO's in AX2012 R3 through this tool offline.
When I am running scenario for VS Online could not able to create PO's in AX but I can see results on VS Online portal successfully. The question is, why I am not able to create PO's in AX using VS online run? Is VS online is to view results only for scenarios?
Please find below screen shot shows the online report after running PO creation scenario.. throws error...but shows results successfully on online portal.
<img width="1365" height="682" style="width:512px;height:293px;" alt=" " /><img width="1337" height="580" style="width:513px;height:227px;" alt=" " />
Complete error:
Assert.Fail failed. Microsoft.Dynamics.AX.ManagedInterop.InitializationFailedException: Failed to initialize the managed interoperability layer of Microsoft Dynamics AX.
at MS.Dynamics.AX.Benchmark.SDK.Tools.SessionManager.AddUsers(Int32 numberOfUsersToAdd) in d:\*****\LoadTest PO\MS Dynamics AX 2012 R3 Performance Benchmark SDK\MS.Dynamics.AX.Benchmark.SDK.Tools\SessionManager.cs:line 304
at MS.Dynamics.AX.Benchmark.SDK.Tools.SessionManager.GetRandomUser(Session& userSession, Int32& key, String& userName) in d:\*****\LoadTest PO\MS Dynamics AX 2012 R3 Performance Benchmark SDK\MS.Dynamics.AX.Benchmark.SDK.Tools\SessionManager.cs:line 79
at MS.Dynamics.AX.Benchmark.SDK.Tools.PurchaseOrderSessionManagerProxy.GetRandomUser(Session& userSession, Int32& key, String& userName) in d:\****\LoadTest PO\MS Dynamics AX 2012 R3 Performance Benchmark SDK\MS.Dynamics.AX.Benchmark.SDK.Tools\PurchaseOrderSessionManagerProxy.cs:line 68
at MS.Dynamics.AX.Benchmark.SDK.TestProject.PurchaseOrder.PO_CreatePurchaseOrderAndLines() in d:\******\LoadTest PO\MS Dynamics AX 2012 R3 Performance Benchmark SDK\Scenarios\MS.Dynamics.AX.Benchmark.SDK.TestProject.PurchaseOrder\PurchaseOrder.cs:line 231
I want to run PO creation scenario with record creation in AX and view results on VS online. tried to rectify above error but have no luck. Can you please help me in this, much appreciated for your answers. Thank you...
Источник:
https://community.dynamics.com/membe...f-b7a3c39f0dbd