I want to simulate events generated by a typical user to collect network traffic traces using the network monitor.
I went through the Info. given in https://developer.android.com/studio/test/monkeyrunner/index.html and https://developer.android.com/studio/test/monkey.html
And i can see that monkey is used to generate a random distribution of events using command line options, whereas monkeyrunner is used to generate specific events using Jython API.
Can anyone suggest which of the tools would be a better fit to simulate a typical user session on an application for the purpose of collecting network traces?
Any suggestions to use a better tool than these two suitable for this task is also welcome.