Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • mode:

    • custom: test with a gdsl script

    • app: benchmark from an APK (ex: com.google.ios.youtube)

    • url: benchmark from an URL (ex: https://metropole.nantes.fr)

  • greenspector/application

    • name : the name of the application of Greenspector App

    • version : the name of the version

...

Code Block
languageyaml
platform: ios # The platform you are testing on [mobile | pc]
resultPath: ./greenspector # The path where you want the Testrunner to save the tests results. defaults to ./greenspector/measures
target: # target bloc for iOS mode
  connection: usb
  udid: ${PHONE_UDID} # Unique Device ID of the iPhone
  name: ${PHONE_NAME} # Name of the iPhone
greenspector:
  server: ${GREENSPECTOR_CORE_SERVER_URL} # URL of your Greenspector instance
  token: ${PRIVATE_TOKEN} # Your private token registered on Greenspectors
  • plateformplatform: The platform you are testing on (ios)

  • resultPath: The path where the Testrunner saves the tests results. defaults to ./greenspector/measures

  • ip: IP address of the iPhone

  • udid: Unique Device ID of the iPhone (you can find it on Xcode > Window > Devices and Simulators)

  • name: Name of the iPhone (you can find it on Xcode > Window > Devices and Simulators)

  • lang: “en” for english, “fr” for french

  • paths

  • webDriverAgent: Full path to WebDriverAgent xcodeproject

  • ios-deploy: Path to ios-deploy. Leave this empty if ios-deploy is in your PATH

    . For example, you can choose the version of your iPhone (ex : iPhone 14).

  • greenspector/server: URL of Greenspector instance (https://app.greenspector.com)

  • greenspector/token: Private token registered on Greenspector in Profile/Preferences

...

Code Block
languageyaml
target:
  # For the hardware_probe module in the job.yml file
  hardware:
    address: /dev/ttyACM0
  # For the tcpdump module in the job.yml file
  tcpdump:
    deviceIP: 10.42.0.129       # IP of the device to measure
    gatewayIP: 10.42.0.1        # IP of the gateway used to filter data
    networkInterface: wlp2s0    # Network interface used to detect data (wlp2s0...)
    keepPcap: false           	# If true, it keeps the pcap file at the end of the measures
    ipFilters:                  # Other IP addresses used to filter data
      apple: false              # If true, it filters data related with 17.0.0.0/8
    launchOnDevice: false       # If true, it launches tcpdump on the device

For more information on the tcpdump module, see: Collect of data via network probe

...