How to Utilize PerfDogService for Comprehensive Automated Performance Testing


PerfDogService is a powerful service component that enables users to conduct non-embedded automated performance testing and cloud testing performance services. This guide provides a detailed overview of PerfDogService's interface, methods, and a reference for building performance automation.

1. Introduction to PerfDogService

PerfDogService allows users to perform secondary development for non-embedded automated performance testing services. This guide aims to help you understand the interface provided by PerfDogService and create performance automation using the automated demo.

2. Getting Started with PerfDogService

2.1 Download and Installation

Download the PerfDogService installation package from Once downloaded, unzip the package locally to access the following files:

  • PerfDogService.exe: Service startup file, usually started automatically by the automated script.
  • perfdog.proto: Definition file of the grpc interface and protobuf structure.

2.2 Running the PerfDogService Demo

To quickly run the PerfDogService demo, follow the This tutorial will guide you through the process of setting up and running the demo, allowing you to familiarize yourself with PerfDogService's features and capabilities.

3. PerfDogService Structure and Workflow

PerfDogService is designed to support simultaneous testing of multiple devices, providing a robust and flexible solution for performance testing. The overall structure and workflow of PerfDogService can be better understood by referring to the demo provided in the tutorial mentioned earlier.

4. Special Instructions for Using PerfDogService

PerfDogService has some specific usage instructions that users need to be aware of to ensure optimal performance and avoid potential issues. For detailed instructions on using PerfDogService, visit

5. Method List and Descriptions

PerfDogService provides a comprehensive list of methods for various tasks, such as user login, device monitoring, test data metrics, app testing, and data management. The following is an overview of the key methods and their descriptions:

  • loginWithToken: User login interface
  • startDeviceMonitor: Start the device listener to receive connection and disconnection events from mobile devices to the PC.
  • initDevice: Initialize device
  • getDeviceInfo: Get device information
  • getDeviceStatus: Get device status
  • getAppList: Get device app list
  • enablePerfDataType: Enable test data metrics
  • disablePerfDataType: Disable test data metrics
  • getPerfDataType: Get the list of enabled data types
  • getAvailableDataType: Get the test data indicator types supported by the device
  • setScreenShotInterval: Set screenshot interval
  • startTestApp: Start app testing
  • startTestSysProcess: Start system process test
  • openPerfDataStream: Open the real-time test indicator stream to obtain real-time test indicator data
  • stopTest: End test
  • setLabel: Add tags during the test process
  • updateLabel: Modify label name
  • addNote: Add a tag
  • removeNote: Delete a tag
  • setGlobalDataUploadServer: Set up a third-party data upload service
  • saveData: Save test data
  • getDeviceCacheData: Obtain the cache data of the device and return the data in a streaming manner
  • getDeviceCacheDataPacked: Obtain the cache data of the device, and the indicator data will be packaged and returned
  • getAppRunningProcess: Get the list of processes running on the device
  • getAppWindowMap: Get the Activity and SurfaceView corresponding to each process of the app on the device (Android only)
  • getRunningSysProcess: Get the device system process list
  • updateAppInfo: Refresh app information
  • createTask: Create a task to classify and upload test data
  • archiveCaseToTask: File the uploaded official cloud storage case to task
  • shareCase: Share and upload case data to official cloud storage
  • killServer: Stop PerfDogService
  • getDeviceList: Get a list of online devices
  • setPreferences: Set preferences, such as not installing PerfDog APK to reduce unnecessary pauses and interruptions when running automation
  • getRenderResolutionOfWindowUnderTest: Get the rendering resolution of the test app (Android only)

For a complete list of methods and their descriptions, refer to the PerfDogService documentation.

Latest Posts
1How To Check Game Compatibility On PC? | Extensive Overview How to check game compatibility on pc? To provide good gameplay, it is important to detect the critical factors of game compatibility between diverse PC setups, hardware, and software
2Xbox Game Beta Testing | Comprehensive Review Carrying a thorough xbox game beta testing before launch is an important step to track down and resolve errors, enhance the gaming experience, and make high-quality games.
3Don't Miss Out! Get Your Free 60-Minute PerfDog Trial with 2024 PerfDog WhitePaper DOWNLOAD THE 2024 PERFDOG WHITEPAPER AND EARN A 60-MINUTE FREE TRIAL OF PERFDOG EVO V10.2!
4PerfDog EVO v10.0 Shatters the Barriers of Game and App Performance Testing In PerfDog EVO v10.0 version, we have made significant optimizations from three perspectives to meet users’ performance testing requirements in different scenarios.
5Overcoming Cloud Real Device Challenges: WeTest’s Exclusive Solution for Lagging and Access Restrictions Public cloud technology has met the testing needs of numerous small and micro-enterprises as well as individuals. However, as customers delve deeper into usage, they encounter a range of new issues. In this article, we will provide answers to several common questions.