picadoh / mockserver-client-net

.NET Core / C# Fluent API for interacting with Mock-Server
MIT License
25 stars 14 forks source link

Support Http Response Templates #9

Open netclectic opened 3 years ago

netclectic commented 3 years ago

I need to be able to support dynamically generating the response based on certain properties of the request and other environment properties.

This is possible with the use of the HttpResponseTemplate - https://www.mock-server.com/mock_server/creating_expectations.html#button_javascript_templated_response

picadoh commented 1 month ago

Hi. My apologies for the delay, this project has been stale for some time.

Templates were implemented in commit 586d548b6efaa5d206dcf67e3fae568a453b941e on top of a bigger to update the repository dependencies, enhance the overall code, add some missing functionality, add proper CI/CD and configure branch rulesets (See also release 2.1.0).

However, only Mustache and Velocity can be supported for now due to some currently known limitations with Javascript templates that prevent testing against the latest version of the server.