STF-CTP provides an app test service for Android developers. After the developer upload tested apk and test apk on STF-CTP, STF-CTP will automatically run all tests on some mobiles. When lots of tests run on STP-CTP at the same time, every developer will wait for a long time. This thesis proposes a novel approach for resource monitoring and scheduling dynamically. It provides mobiles' and VMs' (Virtual Machine) management which makes resource allocation was more efficiently for each test job and reduces test waiting time.