When testing APP performance, we need to simulate the user’s operating environment which usually open multiple APPs at the same time.
Using following code to randomly open multiple APPs.
adb shell monkey 500
This command works by randomly tapping the screen 500 times to open multiple apps.
Then, We can see multiple APPs started.