PUT   scenarios/zebratester/{scenario_id}

Updates and/or recompile ZebraTester scenario.

URL Parameters

NameDescription
scenario_id

ZebraTester scenario identifier. Type: numeric.

Remarks

The request body must be presented in the multipart/form-data format. It must contain file and/or compile options.
  • Name: file. Value: The scenario file to replace data of the existing 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
                }