Caution
Castle Mock is no longer maintained and will not receive future updates.
The GitHub repository remains available for reference, but we recommend exploring alternatives for active use. The Docker Hub repository will also be deprecated and eventually deleted.
Please see DEPRECATION for more information.
Castle Mock is a web application that provides the functionality to mock out RESTful APIs and SOAP web services. This functionality allows client-side developers to completely mimic a server side behaviour and shape the responses themselves.
Castle Mock enables you to upload both WSDL or WADL files. The web services defined within the files will be mocked automatically by Castle Mock. Once the mocks for the web services are created, they can be configured to mock the service or forward the request to the original endpoint. The response from the forwarded requests can be recorded automatically and used to create new mocked responses.
Castle Mock is completely free and open source (Apache License). It is built with Java and the application itself is deployed to an Apache Tomcat server.
Our latest and greatest source of Castle Mock can be found on GitHub.
Castle Mock is licensed under the Apache License. The terms of the license are as follows:
Apache License
Copyright 2015 Karl Dahlgren and a number of other contributors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.