org.apache.jmeter.assertions

## Class CompareAssertionResult

- java.lang.Object
- - org.apache.jmeter.assertions.AssertionResult
  - - org.apache.jmeter.assertions.CompareAssertionResult

- All Implemented Interfaces:
    java.io.Serializable, Searchable

      public class CompareAssertionResult
      extends AssertionResult

  See Also:
    Serialized Form

- - ### Field Summary

    - ### Fields inherited from class org.apache.jmeter.assertions.AssertionResult

      `RESPONSE_WAS_NULL`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `CompareAssertionResult()` Deprecated. Use the other ctor
    `CompareAssertionResult(java.lang.String name)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addToBaseResult(java.lang.String resultData)`
    `void` | `addToSecondaryResult(java.lang.String resultData)`
    `java.lang.String` | `getBaseResult()`
    `java.lang.String` | `getSecondaryResult()`

    - ### Methods inherited from class org.apache.jmeter.assertions.AssertionResult

      `getFailureMessage, getName, getSearchableTokens, isError, isFailure, setError, setFailure, setFailureMessage, setResultForFailure, setResultForNull, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### CompareAssertionResult

          @Deprecated
          public CompareAssertionResult()

      Deprecated. Use the other ctor
      For testing only

    - #### CompareAssertionResult

          public CompareAssertionResult(java.lang.String name)

  - ### Method Detail

    - #### addToBaseResult

          public void addToBaseResult(java.lang.String resultData)

    - #### addToSecondaryResult

          public void addToSecondaryResult(java.lang.String resultData)

    - #### getBaseResult

          public java.lang.String getBaseResult()

    - #### getSecondaryResult

          public java.lang.String getSecondaryResult()

Copyright © 1998-2018 Apache Software Foundation. All Rights Reserved.