Customer Cases
Pricing

How to Utilize PerfDogService for Comprehensive Automated Performance Testing

DISCOVER HOW PERFDogService CAN ENHANCE YOUR AUTOMATED PERFORMANCE TESTING FOR ROBUST AND RELIABLE RESULTS.

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 https://perfdog.wetest.net/perfdogservice. 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 https://perfdog.wetest.net/article_detail?id=177&issue_id=0&plat_id=2. 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 https://perfdog.wetest.net/article_detail?id=178&issue_id=1&plat_id=2.

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.

PD网络测试推广
Latest Posts
2Release Faster, With Confidence: Mastering Overseas Functional Testing with WeTest Wetest offers the technology and expertise to support your major product launch by providing comprehensive functional testing.
3How WeTest Crowd Testing Can Enhance the QA Process for Global Games? Crowd testing allows developers to test their games in real-world scenarios with a broad range of testers, enhancing the QA process for global games.
4Navigating the Four Phases of Overseas Local User Testing for Global Launch Success Overseas local user testing solutions offer a comprehensive suite of services designed to ensure that digital products perform optimally across diverse global markets.
5Why 'Works Here' Doesn't Mean 'Works Everywhere': The Indispensable Role of Overseas Local User Testing How WeTest's rich regional resources and fast turnaround times can elevate your product's global launch and user experience.