You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to run the WireMock plugin and understand the tool, but I'm encountering issues with writing the configuration in YAML format for WireMock. I'm receiving the following error:
Caused by: com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'plugin': was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false')
imposter-1 | at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 7]
It seems that the plugin only accepts JSON format for configuration and may be receiving YAML content as plain text.
I'm unsure if it's possible to pass the configuration as an object instead of file text content, or if there's a way to check whether the content is YAML or JSON before parsing. Could someone with more experience help resolve this issue? In the meantime, I'll continue learning.
Thanks.
The text was updated successfully, but these errors were encountered:
Hi everyone,
I'm trying to run the WireMock plugin and understand the tool, but I'm encountering issues with writing the configuration in YAML format for WireMock. I'm receiving the following error:
I'm unsure if it's possible to pass the configuration as an object instead of file text content, or if there's a way to check whether the content is YAML or JSON before parsing. Could someone with more experience help resolve this issue? In the meantime, I'll continue learning.
Thanks.
The text was updated successfully, but these errors were encountered: