public class MockRPCExternalServiceDto extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
appKey
a key refers to the RPC-based API which contains the specified RPC interface
|
String |
functionName
a function of the interface if it is invoked
|
List<String> |
inputParameterTypes
a list of types of input parameters of the function
|
String |
interfaceFullName
a full name of the RPC interface to mock
|
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
|
List<String> |
responseFullTypesWithGeneric
explict type info with generics
the info is used by evomaster
|
List<String> |
responses
a list of responses to return
there could exist multiples if there exist rules
|
List<String> |
responseTypes
type info of the responses
|
| Constructor and Description |
|---|
MockRPCExternalServiceDto() |
public String appKey
public String interfaceFullName
public String functionName
public List<String> inputParameterTypes
public List<String> requestRules
public List<String> responses
public MockRPCExternalServiceDto copy()
Copyright © 2016–2024. All rights reserved.