Closed GerardoGuzmanTR closed 2 months ago
Hi @GerardoGuzmanTR, thanks for raising this.
The issue here is:
Error loading configuration file: /opt/imposter/config/config.yaml,
reason: Unrecognized field "status"
…
(9 known properties: "delay", "headers", "scriptFile", "content", "template", "file", "dir", "fail", "statusCode"])
at [Source: (StringReader); line: 9, column: 18]
This is caused by the use of status
rather than statusCode
in the configuration file.
You are right, it was actually an indentation and unrecognized field issue. Thanks!
After creating a simple rest mock:
Using a single self-containted Docker image:
After building and running the image getting the next error:
To confirm that getting the plugin was the issue, use the imposter cli to try to get it:
After trying to directly get the jar from browser using the expected URL: https://github.com/outofcoffee/imposter/releases/download/v4.0.2/imposter-plugin-rest.jar