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

com.arextest.model.replay.CompareRelationResult Maven / Gradle / Ivy

There is a newer version: 2.0.2
Show newest version
package com.arextest.model.replay;

import com.arextest.model.mock.MockCategoryType;
import lombok.Data;

/**
 * created by xinyuan_wang on 2023/06/04
 */
@Data
public class CompareRelationResult {

  private MockCategoryType categoryType;
  private String operationName;
  private String recordId;
  private String replayId;
  /**
   * record request message
   */
  private String recordMessage;
  /**
   * replay request message
   */
  private String replayMessage;
  /**
   * extend message,eg: SOAConsumer responseBody
   */
  private String extendMessage;
  private long recordTime;
  private long replayTime;
  private String appId;
  /**
   * Check whether the recording and playback request messages are consistent.
   * If they are consistent, only baseMsg needs to be passed.
   */
  private boolean sameMessage;

  public String getReplayMessage() {
    return sameMessage ? this.recordMessage : this.replayMessage;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy