The invention discloses a multitask self-adaptive cloud testing method which comprises the following steps: step 1, test task reception, namely receiving test tasks uploaded by a user; step 2, test task preprocessing, namely performing test task analysis on the test tasks received in the step 1, judging types of the test tasks, and respectively allocating the preprocessed tasks to a unit test, an integration test, a system test and a performance test according to the types of test tasks; step 3, test task execution, namely before executing the test tasks, allocating a virtual machine according to the preprocessing result, loading a test environment, executing the test tasks, and generating test task data; step 4, outputting test task results, storing the test task data generated in the step 3 into a database, and feeding back the test results to the user who uploads the test task.