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.

  • Example of compile options:
                 {
                "ContentTest": "heuristic", // Available values: "none", "heuristic", "size"
                "NeedContentFilter": false,
                "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,
                "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).