Activity Forums Salesforce® Discussions Create test data with more than 10000 rows dynamically in apex

  • 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.

Popular Salesforce Blogs

Success Stories – How DemandBlue Helped Its Clients Improve Revenue Recognition with Salesforce Revenue Cloud Implementation

Blog in

Businesses that deal with subscription-based contracts, usage-based billing or other complex contracts face several difficulties in managing their billing cycle. Though Salesforce CPQ implementation does the heavy-lifting…

Popular Salesforce Videos