Stubbing XML responses using Mountebank

Previous two blog post talked about how we can use mountebank for stubbing where responses are in json format . They can be accessed (here) and (here). We can use same approach for stubbing SOAP services using XML as well. In this post, I will explain how we can provide XML response using Mountebank . Let us have a quick look into the files created. Before we begin, folder structure of various file as below ...

April 27, 2017

Mountebank - Creating a response based on a file template and modifying it

This is an extension to my previous blog about how we can use mountebank to create a stubbed response based on a template file . You can read about it here. In this step by step example, I will explain how we will use mountebank to modify the response based on the request . Before we start, please ensure you are familiar with Part1 of the excercise. If you need to know more about mountebank and how to use mountebank , please read through how to install mountebank and service virtualisation using mountebank. ...

April 6, 2017 · Aby George A

Mountebank - Creating a response based on a file template and modifying it

In the previous two blog post, I have explained about how to setup mountebank (here) and how to create a virtualised respone(here) . Now coming to more detailed use cases which we might encounter in daily life. In this blog post, I will explain how we can use mountebank to create a virtualised response based on a template response stored in a file and modifying certain fields in response based on the request coming through. ...

April 6, 2017 · Aby George A

Mountebank - Your first service Virtualisation

In current development world, there will be scenarios were both API and its consumers are developed in parallel. Inorder to decouple their dependencies, we can mock an api response using mountebank. In this example, I will explain how to get started with your first service virtualisation using mountebank. After installing mountebank as mentioned in here (Install Mountebank), we will proceed with configuring mountebank. It can be done in few ways. The method which I explain below is by using file based configuration. This involve setting up an imposter file and a stub response ...

March 3, 2017 · Aby George A

Service Virtualisation Using Mountebank

What is Mountebank? In short mountebank is a open source service virtualisation tool . Mountebank uses imposters to act as on demand test doubles. Hence our test cases communicate to Mountebank and mountebank responds back with relevant stubs as defined. How to Setup Mountebank ? Installation can be done via two methods npm Mountebank can be installed as a npm package. Node.js should be installed for this option to work ...

February 13, 2017 · Aby George A