Class MockRPCExternalServiceDto

java.lang.Object
org.evomaster.client.java.controller.api.dto.problem.rpc.MockRPCExternalServiceDto

public class MockRPCExternalServiceDto extends Object
  • Field Details

    • appKey

      public String appKey
      a key refers to the RPC-based API which contains the specified RPC interface
    • interfaceFullName

      public String interfaceFullName
      a full name of the RPC interface to mock
    • functionName

      public String functionName
      a function of the interface if it is invoked
    • inputParameterTypes

      public List<String> inputParameterTypes
      a list of types of input parameters of the function
    • requestRules

      public List<String> requestRules
      a list of requests that are used to specify the rules if they have the param is nullable, if it is null, the size of [responses] would be 1, then always return the specified one if there exist rules to return responses based on a given request, then specify possible requests with corresponding responses, by using [requests] and [responses] Note that request and response will be matched based on index of the list
    • responses

      public List<String> responses
      a list of responses to return there could exist multiples if there exist rules
    • responseTypes

      public List<String> responseTypes
      type info of the responses
    • responseFullTypesWithGeneric

      public List<String> responseFullTypesWithGeneric
      explict type info with generics the info is used by evomaster
  • Constructor Details

    • MockRPCExternalServiceDto

      public MockRPCExternalServiceDto()
  • Method Details