Activity › Forums › Salesforce® Discussions › Create test data with more than 10000 rows dynamically in apex Tagged: Governor Limits, Salesforce Apex, Salesforce Visualforce, seeAllData, Test Setup Salesforce® Discussions Create test data with more than 10000 rows dynamically in apex Posted by Himanshu on April 30, 2016 at 6:17 PM Create test data with more than 10000 rows dynamically in apex Surbhi replied 9 years, 11 months ago 2 Members · 1 Reply Governor LimitsSalesforce ApexSalesforce VisualforceseeAllDataTest Setup 1 Reply Surbhi Member June 7, 2016 at 1:40 PM Hi Himanshu, My solution for this would be to insert 5000 in one pass, and then use the Test.Starttest(), which will give you a set of limits and then insert another 5,000. Then, run the test with “seeAllData= true”. But this is not ideal approach. Thanks Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me