<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Mountebank on Aby George A</title><link>https://abygeorgea.com/categories/mountebank/</link><description>Recent content in Mountebank on Aby George A</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Thu, 16 Nov 2017 09:59:17 +1100</lastBuildDate><atom:link href="https://abygeorgea.com/categories/mountebank/index.xml" rel="self" type="application/rss+xml"/><item><title>Mountebank - Adding delay to response</title><link>https://abygeorgea.com/blog/2017/11/16/mountebank-adding-delay-to-response/</link><pubDate>Thu, 16 Nov 2017 09:59:17 +1100</pubDate><guid>https://abygeorgea.com/blog/2017/11/16/mountebank-adding-delay-to-response/</guid><description>How to add delay to api response in mountebank</description></item><item><title>Extracting Substring using Javascript</title><link>https://abygeorgea.com/blog/2017/07/21/extracting-substring-using-javascript/</link><pubDate>Fri, 21 Jul 2017 06:09:53 +1000</pubDate><guid>https://abygeorgea.com/blog/2017/07/21/extracting-substring-using-javascript/</guid><description>&lt;p&gt;In previous blogs &lt;a href="https://abygeorgea.com/blog/2017/04/27/stubbing-xml-responses-using-mountebank/"&gt;here&lt;/a&gt; , I have explained how we return a XML response using mountebank. However , most of the time, we will have to make some modification to the template response before returning a response. Say for example, we may have to replace details like timestamp, or use an input from request parameter and update that in response etc.&lt;/p&gt;
&lt;p&gt;One of the easiest way to do this without using other frameworks like xml2js etc is to extract the substring between the node values and replace it . Below is a code snippet which will help to achieve this&lt;/p&gt;</description></item><item><title>Predicates In Mountebank</title><link>https://abygeorgea.com/blog/2017/07/15/predicates-in-mountebank/</link><pubDate>Sat, 15 Jul 2017 21:07:40 +1000</pubDate><guid>https://abygeorgea.com/blog/2017/07/15/predicates-in-mountebank/</guid><description>How to use predicates in Mountebank</description></item><item><title>Stubbing XML responses using Mountebank</title><link>https://abygeorgea.com/blog/2017/04/27/stubbing-xml-responses-using-mountebank/</link><pubDate>Thu, 27 Apr 2017 05:55:51 +1000</pubDate><guid>https://abygeorgea.com/blog/2017/04/27/stubbing-xml-responses-using-mountebank/</guid><description>How to stub a soap response ( XML Response) using Mountebank</description></item><item><title>Mountebank - Creating a response based on a file template and modifying it</title><link>https://abygeorgea.com/blog/2017/04/06/mountebank-creating-a-response-based-on-a-file-template-and-modifying-it-based-on-request-part-2/</link><pubDate>Thu, 06 Apr 2017 20:24:20 +0000</pubDate><guid>https://abygeorgea.com/blog/2017/04/06/mountebank-creating-a-response-based-on-a-file-template-and-modifying-it-based-on-request-part-2/</guid><description>How to stub a response based on a sample template using Mountebank</description></item><item><title>Mountebank - Creating a response based on a file template and modifying it</title><link>https://abygeorgea.com/blog/2017/04/06/mountebank-creating-a-response-based-on-a-file-template-and-modifying-it-based-on-request-part-1/</link><pubDate>Thu, 06 Apr 2017 19:43:44 +0000</pubDate><guid>https://abygeorgea.com/blog/2017/04/06/mountebank-creating-a-response-based-on-a-file-template-and-modifying-it-based-on-request-part-1/</guid><description>How to stub a response based on a sample template using Mountebank</description></item><item><title>Mountebank - Your first service Virtualisation</title><link>https://abygeorgea.com/blog/2017/03/03/mountebank-your-first-service-virtualisation/</link><pubDate>Fri, 03 Mar 2017 11:46:48 +0000</pubDate><guid>https://abygeorgea.com/blog/2017/03/03/mountebank-your-first-service-virtualisation/</guid><description>How to use Mountebank for stubbing responses</description></item><item><title>Service Virtualisation Using Mountebank</title><link>https://abygeorgea.com/blog/2017/02/13/service-virtualisation-using-mountebank/</link><pubDate>Mon, 13 Feb 2017 11:13:58 +0000</pubDate><guid>https://abygeorgea.com/blog/2017/02/13/service-virtualisation-using-mountebank/</guid><description>How to get started using Mountebank</description></item></channel></rss>