Git Product home page Git Product logo

maxim_gt's Introduction

Maxim_GT

通过GT实现app的性能数据采集,结合maxim实现高速monkey

参考:

[广播方式使用GT]

(无需 Root) 基于 Android Monkey 二次开发,实现高速点击的 Android Monkey 自动化工具 fastmonkey - 代号 Maxim

工程说明

-Public

command.py adb_shell相关的命令方法

gt.py GT通过广播方式实现性能的采集

Maxim_monkey.py Maxim fast monkey的一些功能配置

-Maxim (maxim的一些配置文件)

awl.strings: 存放activity白名单

max.xpath.actions: 特殊事件序列

max.xpath.selector: TROY模式(支持特殊事件、黑控件等) 配置

max.xpath.selector: troy控件选择子来定制自有的控件选择优先级

max.widget.black: 黑控件 黑区域屏蔽

max.strings : 随机输入字符,内容可自定义配置

-GT-Report (GThtml报告的模板,替换data/data.js即可)

-example (自动化执行脚本,Run_monkey.py)

-apk (存放一些必须的apk)

操作说明

注意

  • 手机提前安装好GT App,并同意系统权限    
  • 被测app需要集成GT SDk才能采集到数据!!!!  可以用apk/GTdemo.apk 做演示
  • 只能单机连接到PC执行操作,否则adb_shell会出错

1、编辑example/Run_monkey.py修改被测试app的包名后,直接运行Run_monkey.py或者Windows直接执行run.bat Maxim().command的相关参数设置 请参照Maxim_monkey.py中的注释

2、等待执行完成后,打开手机的GT App 导出数据,选择指定的文件夹并提升成功导出数据

3、导出成功后,执行get_report.py或者直接运行get_repor.bat 会将手机内的data.js和monkey运行的log文件拷贝到GT_report文件下,并自动打包生成zip文件

maxim_gt's People

Contributors

pengchenglin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.