Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Loadtest Users

The Loadtest User feature is Generally Available for load testing on mobile devices, for Pro Plan subscriptions and higher.

A mobile worker's "loadtest factor" is found under the "Action" tab of the "Edit Mobile Worker" page, as shown below.

When that user syncs, each case will have that many copies of it made and sent down to the phone. Copies should preserve parent/child relationships. Copies will be named with a number after the case name indicating what copy it is. However, copies are not actually created on CommCare HQ, so you will not see them in reports or in exports.

Caveats about this feature

There are some important caveats about this feature:

  • Form submissions against copies will not properly handle case processing. It is recommended you only test form submissions against the original cases and not the copies.
  • Copies are only sent down on initial sync. It is not recommended that you use the sync functionality while load testing, just use the app and submit data.
  • This does not allow you to test sync performance at scale - it is just for load testing the mobile application only.
  • Once the sync payload is generated, the user's loadtest factor is reset. This is a safeguard against performance issues.
  • The maximum total number of cases that will be synced is 50,000 (unless the user has more than 50,000 real cases). Beyond 50,000 cases, app load will be less important than other aspects of user experience. This is also a safeguard against performance issues.


  • No labels