Skip to content

SoloPi可用Scheme

soloPi edited this page Mar 3, 2020 · 2 revisions

性能测试

启动常规性能测试

solopi://startaction/performance?mode=normal&targetApp=com.xxx.xxx&items=Battery,CPU,Memory&action=start

targetApp: 目标应用 items: 待测项,具体项目可在性能数据列表确认

结束常规性能录制

solopi://startaction/performance?mode=normal&action=stop&url=xxxxxx

url: 可选,上报地址

录制回放

用例录制

solopi://startaction/record?recordMode=normal&caseName=用例1&caseDesc=描述1Test&targetApp=com.xxxx.xxx

caseName: 用例名称 caseDesc: 用例描述 targetApp: 待测应用

用例回放

solopi://startaction/replay?replayMode=normal&caseName=123

caseName: 待执行用例名称

一机多控

主机启动

solopi://startaction/reocrd?recordMode=remote&targetApp=com.xxxx.xxx

targetApp: 待测应用

从机启动

solopi://startaction/replay?replayMode=remote&targetApp=com.xxxx.xxx

targetApp: 待测应用

Clone this wiki locally