getEndpointState
Gets the mock state for a specific endpoint identified by an EndpointKey.
Return
The EndpointMockState if configured, or null if not set
Parameters
key
The EndpointKey identifying the group, environment, and endpoint
fun getEndpointState(groupId: String, environmentId: String, endpointId: String): EndpointMockState?
Gets the mock state for a specific endpoint in a specific group and environment.
Convenience overload of getEndpointState that accepts three separate string identifiers instead of an EndpointKey. Delegates to the EndpointKey overload.
Return
The EndpointMockState if configured, or null if not set
Parameters
groupId
The com.worldline.devview.networkmock.core.model.ApiGroupConfig identifier
environmentId
endpointId
The com.worldline.devview.networkmock.core.model.EndpointConfig identifier