PUT   scenarios/zebratester

Creates a new ZebraTester scenario.

Remarks

The request body must be presented in the multipart/form-data format. It must include the following parts:
  • Name: file. Value: The scenario file.
  • Name: log_message. Value: The log message.
  • Name: compile_options. Value: The compile options for the scenario in JSON format.
  • Note: CyberArk related fields are ignored unless it has been enabled for your specific Apica Synthetic Monitoring account.
    Example of compile options:
                 {
                "ContentTest": "heuristic", // Available values: "none", "heuristic", "size"
                "NeedContentFilter": true,
                "NeedErrorFilter": null, // Available values: "true", "false" (or null)
                "PageThinkTime": null,
                "PageThinkTimeVariance": null, // Available values: "0", "10", "20", "30", "40", "50", "60", "70", "80", "90", "100" (or null)
                "ExternalXmlAndSoapRequestSize": null, // Available values: "0", "1024", "2048", "4096", "8192"  (or null)
                "PrxVersion": "V5.5-A", // Use route 'scenarios/zebratester/versions' to get a list of supported ZebraTester versions
                "NtlmEnable": false,
                "NtlmProtocol": null, // Available values: "lm", "v1", "v2"  (or null)
                "NtlmDomain": null,
                "NtlmUsername": null,
                "NtlmPassword": null,
                "NtlmCyberArkCommand":null,
                "DisableHttpProxyCache": false,
                "HttpHost": null,
                "HttpsHost": null,
                "HttpPort": null,
                "HttpsPort": null,
                "AuthUsername": null,
                "AuthPassword": null,
                "ExcludeNextProxyFor": null,
                "StripAcceptHeader": false,
                "StripReferrerHeader": false
                }


    Returns HTTP 201 when created (the header with name 'scenario-id' must contain ID of the created scenario).

    Request example

    curl --request PUT "https://api-asm1.apica.io/v3/scenarios/zebratester?auth_ticket=C471ADC4-19B4-4219-BBF4-671A97EC653E"