Method: Appium::Core::Ios::Xcuitest::Device#get_performance_record

Defined in:
lib/appium_lib_core/ios/xcuitest/device.rb

#get_performance_record(save_file_path: './performance', profile_name: 'Activity Monitor', remote_path: nil, user: nil, pass: nil, method: 'PUT') ⇒ Object

This is a blocking application.

Examples:


@driver.get_performance_record
@driver.get_performance_record(save_file_path: './performance', profile_name: 'Activity Monitor')

Parameters:

  • save_file_path (String) (defaults to: './performance')

    A path to save data as zipped .trace file

  • profile_name (String) (defaults to: 'Activity Monitor')

    The name of existing performance profile to apply. Execute instruments -s to show the list of available profiles. Note, that not all profiles are supported on mobile devices.

  • remote_path (String) (defaults to: nil)

    The path to the remote location, where the resulting zipped .trace file should be uploaded. The following protocols are supported: http/https, ftp. Null or empty string value (the default setting) means the content of resulting file should be zipped, encoded as Base64 and passed as the endpount response value. An exception will be thrown if the generated file is too big to fit into the available process memory.

  • user (String) (defaults to: nil)

    The name of the user for the remote authentication. Only works if remotePath is provided.

  • pass (String) (defaults to: nil)

    The password for the remote authentication. Only works if remotePath is provided.

  • method (String) (defaults to: 'PUT')

    The http multipart upload method name. Only works if remotePath is provided.

Since:

  • Appium 1.3.4



# File 'lib/appium_lib_core/ios/xcuitest/device.rb', line 130