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

io.hyperfoil.api.config.Ergonomics Maven / Gradle / Ivy

There is a newer version: 0.27
Show newest version
package io.hyperfoil.api.config;

import java.io.Serializable;

/**
 * Automatic options that insert or adjust steps or sequences to provide 'common' behaviour.
 */
public class Ergonomics implements Serializable {
   private final boolean repeatCookies;
   private final boolean userAgentFromSession;
   private final boolean privateHttpPools;
   private final boolean autoRangeCheck;
   private final boolean stopOnInvalid;

   public Ergonomics(boolean repeatCookies, boolean userAgentFromSession, boolean privateHttpPools, boolean autoRangeCheck, boolean stopOnInvalid) {
      this.repeatCookies = repeatCookies;
      this.userAgentFromSession = userAgentFromSession;
      this.privateHttpPools = privateHttpPools;
      this.autoRangeCheck = autoRangeCheck;
      this.stopOnInvalid = stopOnInvalid;
   }

   public boolean repeatCookies() {
      return repeatCookies;
   }

   public boolean userAgentFromSession() {
      return userAgentFromSession;
   }

   public boolean privateHttpPools() {
      return privateHttpPools;
   }

   public boolean autoRangeCheck() {
      return autoRangeCheck;
   }

   public boolean stopOnInvalid() {
      return stopOnInvalid;
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy