Recording actions

StartRecording

The StartRecording method starts a recording in proxy mode (tunnel mode is not supported by the Design API). This call is synchronous - it blocks until the recording has started.

Parameters:

  • Name (optional): The name of the User Path to create (the default value is "UserPath"). If the name is already used, then it is automatically renamed using a “X” suffix, where X is an integer. If the name has invalid characters then they will be escaped as an underscore () and no error is thrown.

  • BaseContainer (optional): The Init/Actions container where we want to start the recording (default container is Actions).

  • ProtocolWebSocket (optional): Default value is “true”.

  • ProtocolAdobeRTMP (optional): Default value is "false".

  • UserAgent (optional)

  • ApiKey (optional): To authenticate the command. Required if enabled on the Controller.

  • ProtocolSAPGUI (optional): Allows starting an SAP GUI recording. If there is no SAPConnectionString or SAPSessionID provided, NeoLoad will attach to the first SAP session. Default value is "false".

  • SAPConnectionString (optional): The SAP GUI connection string. NeoLoad will create a new session when starting the recording.

  • SAPSessionID (optional): The ID of an existing SAP session. NeoLoad will attach to this session when starting the recording.

StopRecording

The StopRecording method sends a request to stop a recording. This call is synchronous - it blocks until the end of the recording and post-recording processes.

Parameters:

  • FrameworkParameterSearch (optional): (true/false)
    Default value is false. When set to true, it searches for specific framework dynamic parameters. More information on Dynamic parameters.

  • GenericParameterSearch (optional): (true/false)
    Default value is false. When set to true, it searches for generic dynamic parameters. More information on Dynamic parameters.

  • UpdateUserPathParams (optional)
    Allows to launch a User Path Update at the end of the post-recording wizard. If no values are provided for MatchingThreshold, UpdateSharedContainer, IncludeVariables and DeleteRecording, the latest options used manually to update the User Path are used.

    • Name (mandatory)
      The name of the User Path to update.

    • MatchingThreshold (optional): (between 0 and 100)
      Default value is 60. The higher the threshold is, the more matches will be found but higher the risk to display elements as matches while they are new.

    • UpdateSharedContainer (optional): (true/false)
      Default value is false. When set to true, the shared Containers of the original User Path are updated.

    • IncludeVariables (optional): (true/false)
      Default value is true. When set to true, variable extractors and variables are included during the merge of matching requests.

    • DeleteRecording (optional): (true/false)
      Default value is false. When set to true, the recording used to update the User Path is removed.
      More information on User Path Update.

  • ApiKey (optional): To authenticate the command. Required if enabled on the Controller.

SetContainer

The SetContainer method specifies the current Transaction name to record in. It is just a single level Transaction (there is no way to specify a tree of Transactions).

Parameters:

  • Name (required): The name of the Transaction (if the name is already used then it will be made unique by adding _1, _2, etc.).

  • ApiKey (optional): To authenticate the command. Required if enabled on the Controller.

SetScreenshot

The SetScreenshot method specifies the current screenshot to use for the current page.

Parameters:

  • Image (required): the image data to use for the screenshot. Any supported format can be used: BMP, JPG, PNG, JPEG, WBMP, GIF, etc.

  • ApiKey (optional): To authenticate the command. Required if enabled on the Controller.

PauseRecording

The PauseRecording method allows to pause the current recording.

Parameters:

  • ApiKey (optional): To authenticate the command. Required if enabled on the Controller.

ResumeRecording

The ResumeRecording method allows to resume the current recording.

Parameters:

  • ApiKey (optional): To authenticate the command. Required if enabled on the Controller.

SetBaseContainer

The SetBaseContainer method specifies the current base container (Init/Actions/End) to record in.

Parameters:

  • Name (required): The name of the base container (Init / Actions / End).

  • ApiKey (optional): To authenticate the command. Required if enabled on the Controller.

GetRecorderSettings

The GetRecorderSettings method provides the settings of the recorder, for example the port number of the recorder.

Parameters:

  • ApiKey (optional): To authenticate the command. Required if enabled on the Controller.

GetRecordingStatus

The GetRecordingStatus method provides the current status of the recording:

  • Ready: when not recording, nor post-recording task is running, and starting a new recording is possible

  • Recording: when a recording is currently running

  • PostRecording: when a post-recording task is currently running

Parameters:

  • ApiKey (optional): To authenticate the command. Required if enabled on the Controller.