title: Limit of 500 test users per Facebook app - should I stub the Facebook API for automated load testing my app?
body: <p>I am working on an automated test script to create test users and connect them as friends with each other to load test and profile parts of my app.</p>
  
  <p>The test user documentation states a limit of a maximum 500 test users per application.
  <a href="https://developers.facebook.com/docs/test_users/" rel="nofollow">https://developers.facebook.com/docs/test_users/</a></p>
  
  <blockquote>
    <p>An app can create up to 500 test users to start testing an app. If you exceed the limit of test users you can create for an app you will receive an error.</p>
  </blockquote>
  
  <p>Anyone else out there ever needed to push past this limit, and how did you achieve testing with communities of users larger than 500? I want to test with users who have between 2000 and 3000 Facebook friends. Yes, such characters are out there in the real world :) Note: as per a comment below it is highly unusual to find users with such large numbers of friend connections. See the comment for a link to stats.</p>
  
  <p>One option which I'm experimenting with is to create multiple apps and "friend" the test users between apps, which seems to be possible. This seems like unnecessary work though.</p>
  
  <p>I'm also considering stubbing the Facebook API with my own local server, but this feels wrong too. There might be libraries for doing this easily?</p>