Class PerformanceTestConfig

java.lang.Object
com.apple.itunes.storekit.model.PerformanceTestConfig

public class PerformanceTestConfig extends Object
An object that enumerates the test configuration parameters.
See Also:
  • Constructor Details

    • PerformanceTestConfig

      public PerformanceTestConfig()
  • Method Details

    • maxConcurrentRequests

      public PerformanceTestConfig maxConcurrentRequests(Long maxConcurrentRequests)
    • getMaxConcurrentRequests

      public Long getMaxConcurrentRequests()
      The maximum number of concurrent requests the API allows.
      Returns:
      maxConcurrentRequests
      See Also:
    • setMaxConcurrentRequests

      public void setMaxConcurrentRequests(Long maxConcurrentRequests)
    • totalRequests

      public PerformanceTestConfig totalRequests(Long totalRequests)
    • getTotalRequests

      public Long getTotalRequests()
      The total number of requests to make during the test.
      Returns:
      totalRequests
      See Also:
    • setTotalRequests

      public void setTotalRequests(Long totalRequests)
    • totalDuration

      public PerformanceTestConfig totalDuration(Long totalDuration)
    • getTotalDuration

      public Long getTotalDuration()
      The total duration of the test in milliseconds.
      Returns:
      totalDuration
      See Also:
    • setTotalDuration

      public void setTotalDuration(Long totalDuration)
    • responseTimeThreshold

      public PerformanceTestConfig responseTimeThreshold(Long responseTimeThreshold)
    • getResponseTimeThreshold

      public Long getResponseTimeThreshold()
      The maximum time your server has to respond when the system calls your Get Retention Message endpoint in the sandbox environment.
      Returns:
      responseTimeThreshold
      See Also:
    • setResponseTimeThreshold

      public void setResponseTimeThreshold(Long responseTimeThreshold)
    • successRateThreshold

      public PerformanceTestConfig successRateThreshold(Integer successRateThreshold)
    • getSuccessRateThreshold

      public Integer getSuccessRateThreshold()
      The success rate threshold percentage.
      Returns:
      successRateThreshold
      See Also:
    • setSuccessRateThreshold

      public void setSuccessRateThreshold(Integer successRateThreshold)
    • unknownFields

      public PerformanceTestConfig unknownFields(Map<String,Object> unknownFields)
    • getUnknownFields

      public Map<String,Object> getUnknownFields()
      Fields that are not recognized for this object
      Returns:
      A map of JSON keys to objects
    • setUnknownFields

      public void setUnknownFields(Map<String,Object> unknownFields)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object