debugtalk

Results 27 issues of debugtalk

**Describe the bug** When running in standalone mode, the ConsoleOutput will print each (method, name) group's current RPS. And I found that the data is not accurate. The report interval...

当前在 YAML/JSON 测试用例中,整个用例是共用一个 requests.Session,可以实现登录态、cookie的共享,但与 debugtalk.py 是隔离的。 更好的方式是:debugtalk.py 和 YAML/JSON 测试用例可以共享 session,从而在某些时候,可以将 session 初始化或者获取 cookie 的操作放置到 debugtalk.py 函数中实现。

feature-runner

设想:运行时增加一个参数,可将报告 bug 所需的相关信息进行收集并汇总,以便更好地进行问题反馈。

feature-stat

新增支持 iOS 性能采集(CPU & Mem & GPU & FPS & Network)。 对 #37 的重新进行了实现,采集方式参考了 [py-ios-device](https://github.com/YueChen-C/py-ios-device)。 ## system monitor ``` {"type":"sys_cpu","timestamp":1665559008,"nice_load":0,"system_load":-1,"total_load":9.980198019801975,"user_load":-1} {"type":"sys_mem","timestamp":1665559008,"app_memory":48481,"free_memory":32947,"used_memory":143497,"wired_memory":46897,"cached_files":57381,"compressed":36411,"swap_used":13893632} {"type":"sys_disk","timestamp":1665559008,"data_read":519033083904,"data_written":88557494272,"reads_in":32944860,"writes_out":6065372} {"type":"sys_network","timestamp":1665559008,"bytes_in":5749220664,"bytes_out":1641764996,"packets_in":6519608,"packets_out":2494850} ``` ## process monitor ``` get pid...

## 背景 在体验评测中,我们需要精确度量出某些操作的耗时,例如点击启动抖音到开始播放视频的耗时(首帧)。 在 iOS 系统中,不存在类似 Android debug 模式,因此要识别操作的起始点就十分困难。为了解决该问题,可以在 WDA 中加入打点日志,针对关键的 UI 操作记录其时间戳和步骤标识(identifier),然后就可以记录得到关键步骤的起始点时间。 对应地,在 gwda 中调用 WDA 时,需要传入额外的控制参数,例如 开启日志、指定步骤标识(identifier)等。 ## 核心修改 1、新增 `DataOption`,用于对请求 WDA 的 post data 进行修改: - WithPressDuration:设置...