<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>crmperftoolkit Work Item Rss Feed</title><link>http://www.codeplex.com/crmperftoolkit/WorkItem/List.aspx</link><description>crmperftoolkit Work Item Rss Description</description><item><title>Created Issue: unable to create users with custom roles. Source code looks for RoleTemplateID which is NULL many times [10477]</title><link>http://crmperftoolkit.codeplex.com/WorkItem/View.aspx?WorkItemId=10477</link><description>Hello Koushik,&lt;br /&gt;&lt;br /&gt;Summarizing the discussion we had&amp;#58; Logging the same in  Code Plex Issue tracker&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Purpose&amp;#58; To Just Create 200 users with UIIAgent &amp;#91;custom role&amp;#93; for perf testing purpose.&lt;br /&gt;    Note&amp;#58; this tool wasn&amp;#8217;t used for full fledges performance testing.&lt;br /&gt;&lt;br /&gt;Tool used&amp;#58; DB populator in CRM perf tool kit&lt;br /&gt;&lt;br /&gt;Issue&amp;#58; &lt;br /&gt;1.&amp;#9;Unable to create users with custom Roles with the DBpopulator exe provided. &lt;br /&gt;2.&amp;#9;Source Code DB Populator tool mandates the existence of roletemplateID which is currently NULL for us. Hence even afte modifying the source code we are unable to create users with required role.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Steps&amp;#58;&lt;br /&gt;1.&amp;#9;Created 200 users in AD first&lt;br /&gt;2.&amp;#9;Ran the EunPopulation1.cmd. &lt;br /&gt;a.&amp;#9;removed all entries related to customization&amp;#47; reports etc&amp;#8230; &lt;br /&gt;b.&amp;#9;only had userpopulate.xml entry&lt;br /&gt;3.&amp;#9;By default users were created in System Admin role&lt;br /&gt;4.&amp;#9;Restored back to clean DB and modified the  User Populate.xml that was created to have the  user role as UIIAgent.&lt;br /&gt;5.&amp;#9;Ran this command again &amp;#58; DbPopulator&amp;#92;dbPopulator.exe UserPopulate.xml&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Observations1&amp;#58; &lt;br /&gt;1.&amp;#9;By default users are created with System administrator as role.&lt;br /&gt;2.&amp;#9;Custom  roles are not supported by the DBpopulator.exe currently. Source Code has been scritped to take only the System roles.&lt;br /&gt;3.&amp;#9;Even when modified the code &amp;#8211; custom roles with roletemplateID alone is performing properly &amp;#8230;with NULL it errors out.&lt;br /&gt;&lt;br /&gt;Observations2&amp;#58; &lt;br /&gt;4.&amp;#9;If we try to add only roles to existing users &amp;#8211; the DB populator tries create it first and then update role&amp;#8230; and hence failing. &lt;br /&gt;a.&amp;#9;Cons&amp;#58; Everytime user needs to restore to a  clean DB and populate users ..so that creation of users happen first and then updation of roles.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Source code modifications and solution tried &amp;#58; &lt;br /&gt;&lt;br /&gt;Was modified to accommodate the UIIAgent Role. But since the RoleTemplateID is NULL  it is unable to create users with UIIAgent role.&lt;br /&gt;It throws Objectreference not set to instance of object.&lt;br /&gt;&lt;br /&gt;Attached the dbpopulator.cs. &lt;br /&gt;&lt;br /&gt;Asks &amp;#58; &lt;br /&gt;1.&amp;#9;Request to provide a solution where we can  create any number of users to any role &amp;#8211;not only to system roles having a roletemplateID but also roles that hass roletemplateID as NULL.&lt;br /&gt;2.&amp;#9;Also provide a option to add more roles to the already created users.&lt;br /&gt;3.&amp;#9;Deletion script also needs to be available so that everytime we need not keep restoring to clean DB versions.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thank you&lt;br /&gt;</description><author>parvathr</author><pubDate>Mon, 22 Mar 2010 13:07:21 GMT</pubDate><guid isPermaLink="false">Created Issue: unable to create users with custom roles. Source code looks for RoleTemplateID which is NULL many times [10477] 20100322010721P</guid></item><item><title>Created Issue: Microsoft.VisualStudio.QualityTools.LoadTest could not be found [10085]</title><link>http://crmperftoolkit.codeplex.com/WorkItem/View.aspx?WorkItemId=10085</link><description>Hi Team,&lt;br /&gt;&lt;br /&gt;i should do some tests with the Performance Toolkit but i have some problems.&lt;br /&gt;In the instructions-document is described to run the web test &amp;#34;CreateNewNoteForAccount&amp;#34; but as you can see in the attached file there is no such test.&lt;br /&gt;If i try to open the file &amp;#34;OrderedTest1.orderedtest&amp;#34; i get an error that the file &amp;#34;OrderedTest1.orderedtest&amp;#34; could not be read and that it does not indicate the expected format.&lt;br /&gt;Moreover it says that the file or assembly &amp;#34;Microsoft.VisualStudio.QualityTools.Loadtest&amp;#34; could not be found at &amp;#34;C&amp;#58;&amp;#92;......&amp;#92;CRM_Perf_BenchMark&amp;#92;OrderedTest1.orderedtest&amp;#34; Row 0 Position 0.&lt;br /&gt;&lt;br /&gt;But the Projekt could be compiled without any errors.&lt;br /&gt;&lt;br /&gt;The Performance Toolkit is installed in a virtualized Environment with Windows XP Prof x64 German and Visual Studio 2005 Team System German.&lt;br /&gt;&lt;br /&gt;Thank you in advance.&lt;br /&gt;Daniel&lt;br /&gt;</description><author>dklinger</author><pubDate>Wed, 27 Jan 2010 09:20:19 GMT</pubDate><guid isPermaLink="false">Created Issue: Microsoft.VisualStudio.QualityTools.LoadTest could not be found [10085] 20100127092019A</guid></item><item><title>Created Issue: EntityManager Database not created with Toolkit Installation [9496]</title><link>http://crmperftoolkit.codeplex.com/WorkItem/View.aspx?WorkItemId=9496</link><description>Hi Team,&lt;br /&gt;&lt;br /&gt;We have installaed Microsoft Dynamics CRM 4.0 Performance Toolkit as per the document provided i.e., Microsoft Dynamics CRM 4 Performance Toolkit.docx.&lt;br /&gt;&lt;br /&gt;The installation is was sucessful but its not creating the required EntityManager Database in client machine.&lt;br /&gt;&lt;br /&gt;While running the Sample Web Test its throwing &amp;#34;Exception in PreWebTest event&amp;#58; Object reference not set to an instance of an object&amp;#8221;. After thatperformed a debug operation on the sample web test and found that its failing to read the EntityManager Database.&lt;br /&gt;&lt;br /&gt;Request some one to lookinto the issue ASAP.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Ravi&lt;br /&gt;</description><author>ravhoki</author><pubDate>Tue, 01 Dec 2009 19:11:42 GMT</pubDate><guid isPermaLink="false">Created Issue: EntityManager Database not created with Toolkit Installation [9496] 20091201071142P</guid></item><item><title>CREATED ISSUE: DBPop random generator multi-threading issue</title><link>http://www.codeplex.com/crmperftoolkit/WorkItem/View.aspx?WorkItemId=5128</link><description>DBPop is using a non-thread safe implementation of the Random class that can result in it always returning 0.&lt;br /&gt;&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;blogs.msdn.com&amp;#47;brada&amp;#47;archive&amp;#47;2003&amp;#47;08&amp;#47;14&amp;#47;50226.aspx &lt;br /&gt;&lt;br /&gt;Replacing the instances of m_randomInstance  in the code to reference the following class will resolve this.&lt;br /&gt;&lt;br /&gt;public class dbRandom&lt;br /&gt;    &amp;#123;&lt;br /&gt;        private static Random m_randomInstance &amp;#61; new Random&amp;#40;Thread.CurrentThread.GetHashCode&amp;#40;&amp;#41; &amp;#43; Environment.TickCount&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;        &amp;#47;&amp;#47; Lock is needed as Random isn&amp;#39;t totally Thread safe&lt;br /&gt;        public static int getNext&amp;#40;&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            lock &amp;#40;m_randomInstance&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                return m_randomInstance.Next&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;        &amp;#125;&lt;br /&gt;        public static int getNext&amp;#40;int maxVal&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            lock &amp;#40;m_randomInstance&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                return m_randomInstance.Next&amp;#40;maxVal&amp;#41;&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;        &amp;#125;&lt;br /&gt;        public static int getNext&amp;#40;int minVal, int maxVal&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            lock &amp;#40;m_randomInstance&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                return m_randomInstance.Next&amp;#40;minVal, maxVal&amp;#41;&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;        &amp;#125;&lt;br /&gt;    &amp;#125;&lt;br /&gt;</description><author>mattp65</author><pubDate>Tue, 03 Jun 2008 17:01:33 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: DBPop random generator multi-threading issue 20080603050133P</guid></item><item><title>CREATED ISSUE: Populating data from MS CRM database to local database(Entitymanager) using EMDBLoader.exe</title><link>http://www.codeplex.com/crmperftoolkit/WorkItem/View.aspx?WorkItemId=4105</link><description>Hi,&lt;br /&gt;I am working on MS CRM 4.0 toolkit to test my CRM application.I followed all the steps mentioned in Microsoft DynamicsTM CRM 4.0 Performance Toolkit  document.&lt;br /&gt;My problem is the data is not getting populated into local Entitymanager  database from CRM database.&lt;br /&gt;I am using EMDBLoader.exe to load the data from CRM Database to local Entitymanager database .&lt;br /&gt;Please give me suggestions to resolve this problem.&lt;br /&gt;Thanks in advance.&lt;br /&gt;Mahendra.&lt;br /&gt;</description><author>mahendra_kotti</author><pubDate>Thu, 20 Mar 2008 05:53:56 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: Populating data from MS CRM database to local database(Entitymanager) using EMDBLoader.exe 20080320055356A</guid></item></channel></rss>