Customer Cases
Pricing

Common Questions about PerfDogService

GET ALL YOUR PERFDogSERVICE QUERIES ANSWERED WITH OUR COMPREHENSIVE FAQ GUIDE.

How does PerfDogService select child threads?

  1. First, start the App.
  2. Call the getAppRunningProcess interface.

Does PerfDogService support screenshots?

Yes, screenshots are supported and can be called through the interface.

Is PerfDogService free?

PerfDogService is a paid module, separate from PerfDog. It is more suitable for scenarios such as automated testing, cloud testing, or customized demand customization.

How to get Android app process PID?

Determine the process based on the package name.

Do I have to save the data before stopping the test?

If you do not save first, the data will be cleared after stopping and restarting. This depends on your needs.

How to get caseID?

After uploading, caseID will be returned.

How to prevent the PerfDog app from popping up and affecting UI automation?

Turn off the display of the floating box (the parameters of the StartTestAppReq interface support turning off the display of the floating box).

After uploading to the server fails, can I only rerun the data once?

Save_data upload can be called again.

Does one token of PerfDogService support deployment on multiple machines?

The same token of PerfDogService can be deployed on different machines. Consult your business classmates during the purchase process to increase the number of deployment machines.

Where can I find the definition file of the PerfDogService interface?

In the PerfDogService installation file directory, there is the "Perfdog.proto" file, which can be viewed.

How does PerfDogService connect to multiple mobile phones at the same time?

1. Start a script for each device, specifying the device ID and application name as parameters [Recommended and easy to implement].

2. Connect to N mobile phones, call startDeviceMonitor to monitor the devices, and open a thread to test when receiving a device.

How can I add the performance metrics I want in PerfDogService?

Refer to the "Indicator Parameter Mapping Table" to add: https://perfdog.wetest.net/article_detail?id=176&issue_id=0&plat_id=2.

When PerfDogService saves data, an error message appears "No data"

Possible reasons:

      - FPS cannot be collected during the test.

      - The test application was not started after starting the test. This could be due to the device not starting, a wrong package name, or two versions of the same app installed on the device.

Can PerfDogService specify a port to start the service?

Currently, specifying a port is not supported.

How does PerfDogService specify the test window?

      - After starting the application, call getAppWindowsMap to get the window list and find the window named SurfaceView.

      - Fill in the window name into the subWindow field of StartTestAppReq, then call StartTestApp.

Where are the specific details of each method of PerfDogService?

In addition to the manual, refer to perfdog.proto for the definition file of the gRPC interface and protobuf structure.

PD网络测试推广
Latest Posts
1WeTest at GDC 2026: AI Automated Testing Ushers in a New Era of Game Quality WeTest at GDC 2026 showcases a revolutionary AI Automated Testing Solution that transforms game quality assurance. Learn how WeTest's AI Test Agent Platform enables scalable quality production through computing power, delivering controllable, reproducible, and intelligent testing capabilities.
2Precision Testing in Practice: A Fund Team's Journey from Experience-Based to Data-Driven Quality Assurance Learn how Shenwanhongyuan Securities implemented precision testing to reduce regression testing by 67%. This technical guide covers JaCoCo implementation, method-level code mapping, and intelligent test case recommendation for financial services applications.
3How to Do Performance Test Monitoring: Key Metrics & Tuning Tips Learn how to do performance test monitoring effectively. Discover key metrics (RT, TPS, IOPS), identify CPU/memory/database bottlenecks, and follow step-by-step tuning tips for stable, efficient systems.
4The Ultimate Guide to AI Agent Performance Testing Learn comprehensive AI Agent performance testing strategies, environment setup, tool selection, and optimization techniques. Master how to ensure stability and efficiency in production.
5LLM Security Testing in ToB Scenarios: A Practical Guide & Framework Explore the unique security risks of LLMs in ToB scenarios, including prompt injection and system prompt leakage. Learn about the 'llm-safe-test' framework and how to automate safety judgment for enterprise AI applications.