Class Globals

java.lang.Object
io.karatelabs.core.Globals

public final class Globals extends Object
Global constants and utilities for Karate runtime.

Provides access to version info, telemetry settings, and user identification.

  • Field Details

    • KARATE_VERSION

      public static final String KARATE_VERSION
      Karate version loaded from karate-meta.properties. Eager loaded since it's cheap and used early.
  • Method Details

    • isTelemetryEnabled

      public static boolean isTelemetryEnabled()
      Check if telemetry is enabled. Controlled by KARATE_TELEMETRY environment variable. Default is true (enabled).