How to stress test your iOS app

My last blog post was about stress testing your android app. Today I found another interesting stress testing tool for iOS. The tool is called UI AutoMonkey. The tool is really simple and can be added directly to your xCode project. UI AutoMonkey runs in UIAutomation and Instruments.

All you have to do is to setup a UIAutomation Instruments template with the provided script. Have a look at the simple installation instructions on the github page. After the setup, UI AutoMonkey is stress testing your app with different commands.


The following code snippet shows the JS script and some defined stress testing commands.

...
 eventWeights: {
 tap: 500,
 drag: 1,
 flick: 1,
 orientation: 1,
 clickVolumeUp: 1,
 clickVolumeDown: 1,
 lock: 1,
 pinchClose: 10,
 pinchOpen: 10,
 shake: 1
 },
...

The complete tool documentation can be found here.

What tool are you using for stress testing your iOS app?

Have fun!

Posted by Daniel Knott