Package org.mockserver.imports
Class ImportResult
java.lang.Object
org.mockserver.imports.ImportResult
Outcome of a migration import (
WireMockImporter, MountebankImporter,
MockoonImporter): the Expectations that were successfully mapped plus the
ordered list of ImportWarnings describing every source construct that could not be
faithfully mapped.
Unlike HarImporter / PostmanCollectionImporter — which return a bare
List<Expectation> because HAR/Postman map cleanly — the foreign mock-tool formats have
constructs with no MockServer equivalent (TCP imposters, faults, XPath predicates, unsupported
response modes). Rather than dropping those silently, the importer records a warning so the
migrating user sees exactly what did not carry over.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
ImportResult
-
-
Method Details
-
getExpectations
-
getWarnings
-