All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.gatling.recorder.config.ConfigKeys.scala Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2011-2024 GatlingCorp (https://gatling.io)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *  http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package io.gatling.recorder.config

private[recorder] object ConfigKeys {
  val ConfigRoot = "recorder"

  object core {
    val Mode = "recorder.core.mode"
    val Encoding = "recorder.core.encoding"
    val SimulationsFolder = "recorder.core.simulationsFolder"
    val ResourcesFolder = "recorder.core.resourcesFolder"
    val Package = "recorder.core.package"
    val ClassName = "recorder.core.className"
    val ThresholdForPauseCreation = "recorder.core.thresholdForPauseCreation"
    val SaveConfig = "recorder.core.saveConfig"
    val Headless = "recorder.core.headless"
    val HarFilePath = "recorder.core.harFilePath"
    val Format = "recorder.core.format"
  }
  object filters {
    val Enable = "recorder.filters.enable"
    val AllowListPatterns = "recorder.filters.allowList"
    val DenyListPatterns = "recorder.filters.denyList"
  }
  object http {
    val AutomaticReferer = "recorder.http.automaticReferer"
    val FollowRedirect = "recorder.http.followRedirect"
    val InferHtmlResources = "recorder.http.inferHtmlResources"
    val RemoveCacheHeaders = "recorder.http.removeCacheHeaders"
    val CheckResponseBodies = "recorder.http.checkResponseBodies"
    val UseSimulationAsPrefix = "recorder.http.useSimulationAsPrefix"
    val UseMethodAndUriAsPostfix = "recorder.http.useMethodAndUriAsPostfix"
  }
  object proxy {
    val Port = "recorder.proxy.port"

    object https {
      val Mode = "recorder.proxy.https.mode"

      object keyStore {
        val Path = "recorder.proxy.https.keyStore.path"
        val Password = "recorder.proxy.https.keyStore.password"
        val Type = "recorder.proxy.https.keyStore.type"
      }

      object certificateAuthority {
        val CertificatePath = "recorder.proxy.https.certificateAuthority.certificatePath"
        val PrivateKeyPath = "recorder.proxy.https.certificateAuthority.privateKeyPath"
      }
    }

    object outgoing {
      val Host = "recorder.proxy.outgoing.host"
      val Username = "recorder.proxy.outgoing.username"
      val Password = "recorder.proxy.outgoing.password"
      val Port = "recorder.proxy.outgoing.port"
      val SslPort = "recorder.proxy.outgoing.sslPort"
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy