Hi, Zach
monkey is just an example of a command. The commands could be anything in the command file:
command1 param1 command2 param2 etc...
We can do the above like this:
1. your input file commands file: command1 param1 command2 param2
2. turn your commands file into job file: (this can be done by android-build) .... "actions": [ { "command": "lava-android-test_run_command", "parameters":{ "command": "command1 param1" } }, { "command": "lava-android-test_run_command", "parameters":{ "command": "command2 param2" } } .... } ....
3. submit the job file generated by 2nd to lava server
then if the "command1 param1" failed or reboot the unit or hangs, then the result of this command will be fail. but it will not affect the next command "command2 param2", the next command should do as it is expected.
does this meets your requirement?
Thanks, Yongqin Liu