<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to api</title><link>https://sourceforge.net/p/soaprest-mocker/wiki/api/</link><description>Recent changes to api</description><atom:link href="https://sourceforge.net/p/soaprest-mocker/wiki/api/feed" rel="self"/><language>en</language><lastBuildDate>Tue, 05 May 2015 11:48:21 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/soaprest-mocker/wiki/api/feed" rel="self" type="application/rss+xml"/><item><title>api modified by Jacek Obarymski</title><link>https://sourceforge.net/p/soaprest-mocker/wiki/api/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v26
+++ v27
@@ -341,29 +341,38 @@

 The Verification resources allow to verify requests that reached mock.

+
+#####/recorded-full-requests
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+&lt;table&gt;&lt;tr&gt;&lt;td&gt;DESCRIPTION&lt;/td&gt;&lt;td&gt;Returns recorded requests.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;EXAMPLE URL&lt;/td&gt;&lt;td&gt;http://localhost:8080/mock/services/REST/dummy-rest-service/operations/PUT/recorded-full-requests&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;HTTP METHOD&lt;/td&gt;&lt;td&gt;GET&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;RETURNS&lt;/td&gt;&lt;td&gt;Full data data about recorded requests enclosed in an xml response.&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
+
 #####/recorded-requests

 
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+&lt;table&gt;
 &lt;tr&gt;&lt;td&gt;DESCRIPTION&lt;/td&gt;&lt;td&gt;Returns recorded requests.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;EXAMPLE URL&lt;/td&gt;&lt;td&gt;http://localhost:8080/mock/services/REST/dummy-rest-service/operations/PUT/recorded-full-requests&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;
 &lt;td&gt;DESCRIPTION&lt;/td&gt;&lt;td&gt;Returns recorded request payloads only.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;EXAMPLE URL&lt;/td&gt;&lt;td&gt;http://localhost:8080/mock/services/REST/dummy-rest-service/operations/PUT/recorded-requests&lt;/td&gt;
 &lt;/tr&gt;&lt;tr&gt;&lt;td&gt;HTTP METHOD&lt;/td&gt;&lt;td&gt;GET&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;RETURNS&lt;/td&gt;&lt;td&gt;Recorded requests enclosed in a &amp;lt;recorded-requests&amp;gt; xml tag.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;HTTP METHOD&lt;/td&gt;&lt;td&gt;GET&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;RETURNS&lt;/td&gt;&lt;td&gt;Recorded requests payloads in a &amp;lt;recorded-requests&amp;gt; xml tag.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jacek Obarymski</dc:creator><pubDate>Tue, 05 May 2015 11:48:21 -0000</pubDate><guid>https://sourceforge.nete5096e6ca42d2d145c75248419e8c941f88b6563</guid></item><item><title>api modified by Jacek Obarymski</title><link>https://sourceforge.net/p/soaprest-mocker/wiki/api/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v25
+++ v26
@@ -1,8 +1,10 @@
+[TOC]
+
 #API Reference

 The following topics offer a detailed reference to the options provided by SOAP/REST Mock Service. 

-###Mock configuration check
+##Mock configuration check

 You can check what service mocks have been defined under the following URL and follow links available for each service operation.

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jacek Obarymski</dc:creator><pubDate>Tue, 05 May 2015 11:44:27 -0000</pubDate><guid>https://sourceforge.netac5bde82fe58f0ccb9e0f158a8bddbc58ac54e14</guid></item><item><title>api modified by Jacek Obarymski</title><link>https://sourceforge.net/p/soaprest-mocker/wiki/api/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v24
+++ v25
@@ -346,6 +346,14 @@
 DESCRIPTIONReturns recorded requests.
 
 
+EXAMPLE URLhttp://localhost:8080/mock/services/REST/dummy-rest-service/operations/PUT/recorded-full-requests
+
+
+
+
+DESCRIPTIONReturns recorded request payloads only.
+
+
 EXAMPLE URLhttp://localhost:8080/mock/services/REST/dummy-rest-service/operations/PUT/recorded-requests
 

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jacek Obarymski</dc:creator><pubDate>Tue, 05 May 2015 11:43:21 -0000</pubDate><guid>https://sourceforge.net11d4a07b757c6b8eaa178633ad3b65423c5996e0</guid></item><item><title>api modified by Jacek Obarymski</title><link>https://sourceforge.net/p/soaprest-mocker/wiki/api/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v23
+++ v24
@@ -120,7 +120,7 @@
 DESCRIPTIONPUT'ing an xml to this resource will cause the mock to respond with that xml in n-th request to the mock
 
 
-EXAMPLE URLhttp://localhost:8080/mock/services/SOAP/dummy-soap-service/operations/dummySoapRequest/responses/2?delay=5
+EXAMPLE URLhttp://localhost:8080/mock/services/SOAP/dummy-soap-service/operations/dummySoapRequest/responses/2?delay=5
 

 
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jacek Obarymski</dc:creator><pubDate>Wed, 29 Apr 2015 09:58:13 -0000</pubDate><guid>https://sourceforge.net7a67b2748fa5773fb0cdb99d9252ed231c332d35</guid></item><item><title>api modified by Jacek Obarymski</title><link>https://sourceforge.net/p/soaprest-mocker/wiki/api/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v22
+++ v23
@@ -86,7 +86,7 @@
 
 

-#####/responses?delay={delaySec}
+#####/responses?code={code}&amp;amp;delay={delaySec}

 &lt;table&gt;
 &lt;tr&gt;
@@ -105,6 +105,9 @@
 &lt;/tr&gt;&lt;tr&gt;
 &lt;td&gt;PARAMETERS&lt;/td&gt;&lt;td&gt;
 &lt;b&gt;delaySec&lt;/b&gt; - integer, optional - number of seconds mock response is to be delayed for&lt;br /&gt;
+&lt;/td&gt;
+&lt;td&gt;
+&lt;b&gt;code&lt;/b&gt; - valid http code, optional - HTTP response code to be returned by mock&lt;br /&gt;
 &lt;/td&gt;
 &lt;/tr&gt;

&lt;/table&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jacek Obarymski</dc:creator><pubDate>Wed, 17 Jul 2013 21:57:09 -0000</pubDate><guid>https://sourceforge.net67bf1d4ab95cd2e7eca920aaddff32ad2d386e42</guid></item><item><title>WikiPage api modified by Jacek Obarymski</title><link>https://sourceforge.net/p/soaprest-mocker/wiki/api/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v21
+++ v22
@@ -288,6 +288,10 @@
 &lt;td&gt;HTTP METHOD&lt;/td&gt;&lt;td&gt;POST&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
+&lt;td&gt;HTTP HEADERS&lt;/td&gt;
+&lt;td&gt;&lt;b&gt;Content-Type&lt;/b&gt; - (optional, default: text/xml) The MIME type of the body of the custom response&lt;/td&gt;
+&lt;/tr&gt;
+&lt;tr&gt;
 &lt;td&gt;REQUEST BODY&lt;/td&gt;&lt;td&gt;The response to be returned by mock.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
@@ -310,6 +314,10 @@
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;HTTP METHOD&lt;/td&gt;&lt;td&gt;PUT&lt;/td&gt;
+&lt;/tr&gt;
+&lt;tr&gt;
+&lt;td&gt;HTTP HEADERS&lt;/td&gt;
+&lt;td&gt;&lt;b&gt;Content-Type&lt;/b&gt; - (optional, default: text/xml) The MIME type of the body of the custom response&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;REQUEST BODY&lt;/td&gt;&lt;td&gt;The response body to be returned by mock.&lt;/td&gt;
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jacek Obarymski</dc:creator><pubDate>Fri, 29 Mar 2013 11:51:25 -0000</pubDate><guid>https://sourceforge.net086f3c772e0a55a08ed006d5cbd3c772e6160bb0</guid></item><item><title>WikiPage api modified by Jacek Obarymski</title><link>https://sourceforge.net/p/soaprest-mocker/wiki/api/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v20
+++ v21
@@ -196,6 +196,26 @@
     SERVICE[0].OPERATION[3].DEFAULT_RESPONSE=dummy_default_rest_delete_response.xml
     SERVICE[0].OPERATION[3].DEFAULT_RESPONSE_CODE=200

+    SERVICE[1].NAME=rest-service-json
+    SERVICE[1].TYPE=REST
+    SERVICE[1].OPERATION[0].HTTP_METHOD=GET
+    SERVICE[1].OPERATION[0].DEFAULT_RESPONSE=dummy_default_rest_get_response.json
+    SERVICE[1].OPERATION[0].DEFAULT_RESPONSE_CODE=200
+    SERVICE[1].OPERATION[0].DEFAULT_RESPONSE_CONTENT_TYPE=application/json
+    SERVICE[1].OPERATION[1].HTTP_METHOD=POST
+    SERVICE[1].OPERATION[1].DEFAULT_RESPONSE=dummy_default_rest_post_response.json
+    SERVICE[1].OPERATION[1].DEFAULT_RESPONSE_CODE=201
+    SERVICE[1].OPERATION[1].DEFAULT_RESPONSE_CONTENT_TYPE=application/json    
+    SERVICE[1].OPERATION[2].HTTP_METHOD=PUT
+    SERVICE[1].OPERATION[2].DEFAULT_RESPONSE=dummy_default_rest_put_response.json
+    SERVICE[1].OPERATION[2].DEFAULT_RESPONSE_CODE=200
+    SERVICE[1].OPERATION[2].DEFAULT_RESPONSE_CONTENT_TYPE=application/json    
+    SERVICE[1].OPERATION[3].HTTP_METHOD=DELETE
+    SERVICE[1].OPERATION[3].DEFAULT_RESPONSE=dummy_default_rest_delete_response.json
+    SERVICE[1].OPERATION[3].DEFAULT_RESPONSE_CODE=200
+    SERVICE[1].OPERATION[3].DEFAULT_RESPONSE_CONTENT_TYPE=application/json
+
+
 ###Mocked webservice endpoint

 Mocked webservice endpoint is available under the following URL:
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jacek Obarymski</dc:creator><pubDate>Sat, 23 Mar 2013 09:42:20 -0000</pubDate><guid>https://sourceforge.netaab53eaf36294f591b991e9dddeba97b511693a3</guid></item><item><title>WikiPage api modified by Jacek Obarymski</title><link>https://sourceforge.net/p/soaprest-mocker/wiki/api/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v19
+++ v20
@@ -257,7 +257,9 @@

 &lt;table&gt;
 &lt;tr&gt;
-&lt;td&gt;DESCRIPTION&lt;/td&gt;&lt;td&gt;Sets up mock response(s). Posting an xml/json string and response code to this resource will cause the mock to respond with that string and response code. If response code is not specified the mock will return the default response code defined in ws-mock.properties for given service and method. Multiple consecutive posts to this resource will set a series of consecutive responses&lt;/td&gt;
+&lt;td&gt;DESCRIPTION&lt;/td&gt;
+&lt;td&gt;Sets up mock response(s). Posting an xml/json string and response code to this resource will cause the mock to respond with that string and response code. If response code is not specified the mock will return the default response code defined in ws-mock.properties for given service and method. Multiple consecutive posts to this resource will set a series of consecutive responses
+&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;EXAMPLE URL&lt;/td&gt;&lt;td&gt;http://localhost:8080/mock/services/REST/dummy-rest-service/operations/POST/responses?code=201&lt;/td&gt;
@@ -269,9 +271,11 @@
 &lt;td&gt;REQUEST BODY&lt;/td&gt;&lt;td&gt;The response to be returned by mock.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
-&lt;td&gt;PARAMETERS&lt;/td&gt;&lt;td&gt;&lt;b&gt;code&lt;/b&gt; - valid http code, optional - HTTP response code to be returned by mock&lt;/td&gt;
+&lt;td&gt;PARAMETERS&lt;/td&gt;
+&lt;td&gt;
 &lt;b&gt;code&lt;/b&gt; - valid http code, optional - HTTP response code to be returned by mock&lt;br /&gt;
 &lt;b&gt;delaySec&lt;/b&gt; - integer, optional - number of seconds mock response is to be delayed for&lt;br /&gt;
+&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jacek Obarymski</dc:creator><pubDate>Tue, 05 Mar 2013 22:41:24 -0000</pubDate><guid>https://sourceforge.net652db79beb035faf3754eef3a881cc2a518e552a</guid></item><item><title>WikiPage api modified by Jacek Obarymski</title><link>https://sourceforge.net/p/soaprest-mocker/wiki/api/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v18
+++ v19
@@ -1,14 +1,30 @@
 #API Reference

-The following topics offer a detailed reference to the options provided by SOAP/REST Mock Service. API's concerning both REST and SOAP webservice mocks are similar but for better readability the reference has been split to two independent chapters.
+The following topics offer a detailed reference to the options provided by SOAP/REST Mock Service. 
+
+###Mock configuration check
+
+You can check what service mocks have been defined under the following URL and follow links available for each service operation.
+
+    http://server:port/{APP_CONTEXT}/services
+
+
+
+API's concerning both REST and SOAP webservice mocks are similar but for better readability the reference has been split to two independent chapters.

 ##SOAP webservice mocks

 ###Sample mock configuration
+

     SERVICE[0].NAME=dummy-soap-service
     SERVICE[0].WSDL=dummy.wsdl
     SERVICE[0].TYPE=SOAP
+
+or
+
+    SERVICE[0].NAME=dummy-soap-service
+    SERVICE[0].TYPE=SOAP
     SERVICE[0].OPERATION[0].INPUT_MESSAGE=dummySoapRequest
     SERVICE[0].OPERATION[0].DEFAULT_RESPONSE=dummy_soap_response.xml

@@ -16,7 +32,7 @@

 Mocked webservice endpoint is available under the following URL:

-    http://server:port/mock/endpoint/{SERVICE[i].TYPE}/{SERVICE[i].NAME}
+    http://server:port/{APP_CONTEXT}/services/{SERVICE[i].TYPE}/{SERVICE[i].NAME}/endpoint

 Parameter       | Description
@@ -26,7 +42,7 @@

 Example:

-    http://server:port/mock/endpoint/SOAP/dummy-soap-service
+    http://localhost:8080/mock/services/SOAP/dummy-soap-service/endpoint

 ###Mock control resources
@@ -37,7 +53,7 @@

 Root url context of each of the control resources is:

-    http://server:port/mock/{SERVICE[i].NAME}/{SERVICE[i].OPERATION[j].INPUT_MESSAGE}
+    http://server:port/{APP_CONTEXT}/services/{SERVICE[i].TYPE}/{SERVICE[i].NAME}/operations/{SERVICE[i].OPERATION[j].INPUT_MESSAGE}

 Parameter       | Description
@@ -47,7 +63,7 @@

 Example:

-    http://server:port/mock/dummy-soap-service/dummySoapRequest
+    http://localhost:8080/mock/services/SOAP/dummy-soap-service/operations/dummySoapRequest

 The control resources of this root context would affect mock of SOAP operation that accepts dummySoapRequest and is a part of dummy-soap-service.

@@ -56,28 +72,28 @@
 The Setup Resources allow the user to setup mock's behaviour before each test case is performed.

-#####/setup/init
+#####/init

 &lt;table&gt;
 &lt;tr&gt;
 &lt;td&gt;DESCRIPTION&lt;/td&gt;&lt;td&gt; This resource allows to initialize mock service endpoint and erase previously recorded requests. &lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
-&lt;td&gt;EXAMPLE URL&lt;/td&gt;&lt;td&gt;http://server:port/mock/dummy-soap-service/dummySoapRequest/setup/init&lt;/td&gt;
+&lt;td&gt;EXAMPLE URL&lt;/td&gt;&lt;td&gt;http://localhost:8080/mock/services/SOAP/dummy-soap-service/dummySoapRequest/init&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;HTTP METHOD&lt;/td&gt;&lt;td&gt;POST&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;

-#####/setup/response?delay={delaySec}
-
-&lt;table&gt;
-&lt;tr&gt;
-&lt;td&gt;DESCRIPTION&lt;/td&gt;&lt;td&gt;Sets up single response. Posting an xml to this resource will cause the mock to respond with that xml&lt;/td&gt;
-&lt;/tr&gt;
-&lt;tr&gt;
-&lt;td&gt;EXAMPLE URL&lt;/td&gt;&lt;td&gt;http://server:port/mock/dummy-soap-service/dummySoapRequest/setup/response?delay=5&lt;/td&gt;
+#####/responses?delay={delaySec}
+
+&lt;table&gt;
+&lt;tr&gt;
+&lt;td&gt;DESCRIPTION&lt;/td&gt;&lt;td&gt;Sets up mock response(s). Posting an xml to this resource will cause the mock to respond with that xml. Multiple consecutive posts to this resource will set a series of consecutive responses&lt;/td&gt;
+&lt;/tr&gt;
+&lt;tr&gt;
+&lt;td&gt;EXAMPLE URL&lt;/td&gt;&lt;td&gt;http://localhost:8080/mock/services/SOAP/dummy-soap-service/operations/dummySoapRequest/responses?delay=5&lt;/td&gt;
 &lt;/tr&gt;

 &lt;tr&gt;
@@ -94,18 +110,18 @@

 &lt;/table&gt;

-#####/setup/consecutive-response/{responseNumber}?delay={delaySec}
-
-&lt;table&gt;
-&lt;tr&gt;
-&lt;td&gt;DESCRIPTION&lt;/td&gt;&lt;td&gt;Resource makes possible to set a series of consecutive responses. Posting an xml to this resource will cause the mock to respond with that xml in n-th request to the mock&lt;/td&gt;
-&lt;/tr&gt;
-&lt;tr&gt;
-&lt;td&gt;EXAMPLE URL&lt;/td&gt;&lt;td&gt;http://server:port/mock/dummy-soap-service/dummySoapRequest/setup/consecutive-response/2?delay=5&lt;/td&gt;
-&lt;/tr&gt;
-
-&lt;tr&gt;
-&lt;td&gt;HTTP METHOD&lt;/td&gt;&lt;td&gt;POST&lt;/td&gt;
+#####/responses/{responseNumber}?delay={delaySec}
+
+&lt;table&gt;
+&lt;tr&gt;
+&lt;td&gt;DESCRIPTION&lt;/td&gt;&lt;td&gt;PUT'ing an xml to this resource will cause the mock to respond with that xml in n-th request to the mock&lt;/td&gt;
+&lt;/tr&gt;
+&lt;tr&gt;
+&lt;td&gt;EXAMPLE URL&lt;/td&gt;&lt;td&gt;&lt;td&gt;http://localhost:8080/mock/services/SOAP/dummy-soap-service/operations/dummySoapRequest/responses/2?delay=5&lt;/td&gt;
+&lt;/tr&gt;
+
+&lt;tr&gt;
+&lt;td&gt;HTTP METHOD&lt;/td&gt;&lt;td&gt;PUT&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;REQUEST BODY&lt;/td&gt;&lt;td&gt;The response to be returned by mock.&lt;/td&gt;
@@ -130,7 +146,7 @@
 &lt;td&gt;DESCRIPTION&lt;/td&gt;&lt;td&gt;Returns recorded requests.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
-&lt;td&gt;EXAMPLE URL&lt;/td&gt;&lt;td&gt;http://server:port/mock/dummy-soap-service/dummySoapRequest/recorded/requests&lt;/td&gt;
+&lt;td&gt;EXAMPLE URL&lt;/td&gt;&lt;td&gt;http://localhost:8080/mock/services/SOAP/dummy-soap-service/operations/dummySoapRequest/recorded-requests&lt;/td&gt;
 &lt;/tr&gt;

 &lt;tr&gt;
@@ -138,29 +154,6 @@
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;RETURNS&lt;/td&gt;&lt;td&gt;Recorded requests (full SOAP envelopes) enclosed in a &amp;lt;requests&amp;gt; xml tag.&lt;/td&gt;
-&lt;/tr&gt;
-&lt;/table&gt;
-
-#####/recorded/url-params
-
-&lt;table&gt;
-&lt;tr&gt;
-&lt;td&gt;DESCRIPTION&lt;/td&gt;&lt;td&gt;Returns recorded request params.&lt;/td&gt;
-&lt;/tr&gt;
-&lt;tr&gt;
-&lt;td&gt;EXAMPLE URL&lt;/td&gt;&lt;td&gt;http://server:port/mock/dummy-soap-service/dummySoapRequest/recorded/url-params&lt;/td&gt;
-&lt;/tr&gt;
-
-&lt;tr&gt;
-&lt;td&gt;HTTP METHOD&lt;/td&gt;&lt;td&gt;GET&lt;/td&gt;
-&lt;/tr&gt;
-&lt;tr&gt;
-&lt;td&gt;RETURNS&lt;/td&gt;&lt;td&gt;Recorded request params enclosed in a &amp;lt;urlRequestParams&amp;gt; xml tag: &lt;br /&gt;
-&amp;nbsp;&amp;lt;urlRequestParams&amp;gt; &lt;br /&gt;
-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;queryString&amp;gt;param=paramValue1&amp;lt;/queryString&amp;gt;&lt;br /&gt;
-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;queryString&amp;gt;param=paramValue2&amp;lt;/queryString&amp;gt;&lt;br /&gt;
-&amp;nbsp;&amp;lt;/urlRequestParams&amp;gt;
-&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;

@@ -175,7 +168,7 @@
 &lt;td&gt;DESCRIPTION&lt;/td&gt;&lt;td&gt;Returns contents of the wsdl file.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
-&lt;td&gt;EXAMPLE URL&lt;/td&gt;&lt;td&gt;http://server:port/mock/dummy-soap-service/wsdl&lt;/td&gt;
+&lt;td&gt;EXAMPLE URL&lt;/td&gt;&lt;td&gt;http://localhost:8080/mock/services/SOAP/dummy-soap-service/wsdl&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;HTTP METHOD&lt;/td&gt;&lt;td&gt;GET&lt;/td&gt;
@@ -207,7 +200,7 @@

 Mocked webservice endpoint is available under the following URL:

-    http://server:port/mock/endpoint/{SERVICE[i].TYPE}/{SERVICE[i].NAME}/{RESOURCE_ID}
+    http://server:port/{APP_CONTEXT}/services/{SERVICE[i].TYPE}/{SERVICE[i].NAME}/endpoint/{RESOURCE_ID}

 Parameter       | Description
 ----------------|------------------------------------------------------------
@@ -217,8 +210,7 @@

 Example:

-    http://server:port/mock/endpoint/REST/dummy-rest-service/id123
-
+    http://localhost:8080/mock/services/REST/dummy-rest-service/endpoint/id123

 ###Mock control resources

@@ -229,7 +221,7 @@

 Root url context of each of the control resources is:

-    http://server:port/mock/{SERVICE[i].NAME}/{SERVICE[i].OPERATION[j].HTTP_METHOD}
+    http://server:port/{APP_CONTEXT}/services/{SERVICE[i].TYPE}/{SERVICE[i].NAME}/operations/{SERVICE[i].OPERATION[j].HTTP_METHOD}

 Parameter       | Description
@@ -238,7 +230,7 @@
 SERVICE[i].OPERATION[j].HTTP_METHOD | HTTP method - PUT, POST, GET or DELETE

 Example:
-    http://server:port/mock/dummy-rest-service/POST
+    http://localhost:8080/mock/services/REST/dummy-rest-service/operations/POST

 The control resources of this root context would affect mock of POST method of dummy-rest-service

@@ -247,28 +239,28 @@
 The Setup Resources allow the user to setup mock's behaviour before each test case is performed.

-#####/setup/init
+#####/init

 &lt;table&gt;
 &lt;tr&gt;
 &lt;td&gt;DESCRIPTION&lt;/td&gt;&lt;td&gt; This resource allows to initialize mock service endpoint and erase previously recorded requests. &lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
-&lt;td&gt;EXAMPLE URL&lt;/td&gt;&lt;td&gt;http://server:port/mock/dummy-rest-service/PUT/setup/init&lt;/td&gt;
+&lt;td&gt;EXAMPLE URL&lt;/td&gt;&lt;td&gt;http://localhost:8080/mock/services/REST/dummy-rest-service/operations/PUT/init&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;HTTP METHOD&lt;/td&gt;&lt;td&gt;POST&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;

-#####/setup/response?code={code}&amp;amp;delay={delaySec}
-
-&lt;table&gt;
-&lt;tr&gt;
-&lt;td&gt;DESCRIPTION&lt;/td&gt;&lt;td&gt;Sets up single response. Posting an xml/json string and response code to this resource will cause the mock to respond with that string and response code. If response code is not specified the mock will return the default response code defined in ws-mock.properties for given service and method&lt;/td&gt;
-&lt;/tr&gt;
-&lt;tr&gt;
-&lt;td&gt;EXAMPLE URL&lt;/td&gt;&lt;td&gt;http://server:port/mock/dummy-rest-service/POST/setup/response?code=201&lt;/td&gt;
+#####/responses?code={code}&amp;amp;delay={delaySec}
+
+&lt;table&gt;
+&lt;tr&gt;
+&lt;td&gt;DESCRIPTION&lt;/td&gt;&lt;td&gt;Sets up mock response(s). Posting an xml/json string and response code to this resource will cause the mock to respond with that string and response code. If response code is not specified the mock will return the default response code defined in ws-mock.properties for given service and method. Multiple consecutive posts to this resource will set a series of consecutive responses&lt;/td&gt;
+&lt;/tr&gt;
+&lt;tr&gt;
+&lt;td&gt;EXAMPLE URL&lt;/td&gt;&lt;td&gt;http://localhost:8080/mock/services/REST/dummy-rest-service/operations/POST/responses?code=201&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;HTTP METHOD&lt;/td&gt;&lt;td&gt;POST&lt;/td&gt;
@@ -278,31 +270,31 @@
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;PARAMETERS&lt;/td&gt;&lt;td&gt;&lt;b&gt;code&lt;/b&gt; - valid http code, optional - HTTP response code to be returned by mock&lt;/td&gt;
-&lt;b&gt;delaySec&lt;/b&gt; - integer, optional - number of seconds mock response is to be delayed for&lt;br /&gt;
-
-&lt;/tr&gt;
-&lt;/table&gt;
-
-#####/setup/consecutive-response/{responseNumber}?code={code}&amp;amp;delay={delaySec}
-
-&lt;table&gt;
-&lt;tr&gt;
-&lt;td&gt;DESCRIPTION&lt;/td&gt;&lt;td&gt;Resource for setting up series of consecutive responses. Posting an xml/json string, response code and request number to this resource will cause the mock to respond with that string and response code to a consecutive request. E.g. if responseNumber=3, then the specified response will be returned to 3rd request. If the response code is not specified the mock will return the default response code defined in ws-mock.properties for given service and method.&lt;/td&gt;
-&lt;/tr&gt;
-&lt;tr&gt;
-&lt;td&gt;EXAMPLE URL&lt;/td&gt;&lt;td&gt;http://server:port/mock/dummy-rest-service/DELETE/setup/consecutive-response/3?code=200&amp;amp;delay=3&lt;/td&gt;
-&lt;/tr&gt;
-&lt;tr&gt;
-&lt;td&gt;HTTP METHOD&lt;/td&gt;&lt;td&gt;POST&lt;/td&gt;
-&lt;/tr&gt;
-&lt;tr&gt;
-&lt;td&gt;REQUEST BODY&lt;/td&gt;&lt;td&gt;The response body to be returned by mock.&lt;/td&gt;
-&lt;/tr&gt;
-&lt;tr&gt;
-&lt;td&gt;PARAMETERS&lt;/td&gt;&lt;td&gt;
-&lt;b&gt;responseNumber&lt;/b&gt; - integer, mandatory - response's serial number&lt;br /&gt;
 &lt;b&gt;code&lt;/b&gt; - valid http code, optional - HTTP response code to be returned by mock&lt;br /&gt;
 &lt;b&gt;delaySec&lt;/b&gt; - integer, optional - number of seconds mock response is to be delayed for&lt;br /&gt;
+&lt;/tr&gt;
+&lt;/table&gt;
+
+#####/responses/{n}?code={code}&amp;amp;delay={delaySec}
+
+&lt;table&gt;
+&lt;tr&gt;
+&lt;td&gt;DESCRIPTION&lt;/td&gt;&lt;td&gt;PUTting an xml/json string, response code and request number to this resource will cause the mock to respond with that string and response code to a consecutive request in n-th request to the mock. E.g. if n=3, then the specified response will be returned to 3rd request. If the response code is not specified the mock will return the default response code defined in ws-mock.properties for given service and method.&lt;/td&gt;
+&lt;/tr&gt;
+&lt;tr&gt;
+&lt;td&gt;EXAMPLE URL&lt;/td&gt;&lt;td&gt;http://localhost:8080/mock/services/REST/dummy-rest-service/operations/POST/responses/3?code=200&amp;amp;delay=3&lt;/td&gt;
+&lt;/tr&gt;
+&lt;tr&gt;
+&lt;td&gt;HTTP METHOD&lt;/td&gt;&lt;td&gt;PUT&lt;/td&gt;
+&lt;/tr&gt;
+&lt;tr&gt;
+&lt;td&gt;REQUEST BODY&lt;/td&gt;&lt;td&gt;The response body to be returned by mock.&lt;/td&gt;
+&lt;/tr&gt;
+&lt;tr&gt;
+&lt;td&gt;PARAMETERS&lt;/td&gt;&lt;td&gt;
+&lt;b&gt;n&lt;/b&gt; - integer, mandatory - response's serial number&lt;br /&gt;
+&lt;b&gt;code&lt;/b&gt; - valid http code, optional - HTTP response code to be returned by mock&lt;br /&gt;
+&lt;b&gt;delaySec&lt;/b&gt; - integer, optional - number of seconds mock response is to be delayed for&lt;br /&gt;
 &lt;/td&gt;
 &lt;/tr&gt;
 &lt;/table&gt;
@@ -312,43 +304,66 @@

 The Verification resources allow to verify requests that reached mock.

-#####/recorded/requests
+#####/recorded-requests

 &lt;table&gt;
 &lt;tr&gt;
 &lt;td&gt;DESCRIPTION&lt;/td&gt;&lt;td&gt;Returns recorded requests.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
-&lt;td&gt;EXAMPLE URL&lt;/td&gt;&lt;td&gt;http://server:port/mock/dummy-rest-service/POST/recorded/requests&lt;/td&gt;
-&lt;/tr&gt;
-
-&lt;tr&gt;
-&lt;td&gt;HTTP METHOD&lt;/td&gt;&lt;td&gt;GET&lt;/td&gt;
-&lt;/tr&gt;
-&lt;tr&gt;
-&lt;td&gt;RETURNS&lt;/td&gt;&lt;td&gt;Recorded requests enclosed in a &amp;lt;requests&amp;gt; xml tag.&lt;/td&gt;
-&lt;/tr&gt;
-&lt;/table&gt;
-
-#####/recorded/resource-ids
+&lt;td&gt;EXAMPLE URL&lt;/td&gt;&lt;td&gt;http://localhost:8080/mock/services/REST/dummy-rest-service/operations/PUT/recorded-requests&lt;/td&gt;
+&lt;/tr&gt;
+
+&lt;tr&gt;
+&lt;td&gt;HTTP METHOD&lt;/td&gt;&lt;td&gt;GET&lt;/td&gt;
+&lt;/tr&gt;
+&lt;tr&gt;
+&lt;td&gt;RETURNS&lt;/td&gt;&lt;td&gt;Recorded requests enclosed in a &amp;lt;recorded-requests&amp;gt; xml tag.&lt;/td&gt;
+&lt;/tr&gt;
+&lt;/table&gt;
+
+#####/recorded-resource-ids

 &lt;table&gt;
 &lt;tr&gt;
 &lt;td&gt;DESCRIPTION&lt;/td&gt;&lt;td&gt;Returns resource ids that were requested in GET, PUT and DELETE requests.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
-&lt;td&gt;EXAMPLE URL&lt;/td&gt;&lt;td&gt;http://server:port/mock/dummy-rest-service/DELETE/recorded/resource-ids&lt;/td&gt;
-&lt;/tr&gt;
-
-&lt;tr&gt;
-&lt;td&gt;HTTP METHOD&lt;/td&gt;&lt;td&gt;GET&lt;/td&gt;
-&lt;/tr&gt;
-&lt;tr&gt;
-&lt;td&gt;RETURNS&lt;/td&gt;&lt;td&gt;Recorded resource ids enclosed in a &amp;lt;resourceIds&amp;gt; xml tag: &lt;br /&gt;
-&amp;nbsp;&amp;lt;resourceIds&amp;gt; &lt;br /&gt;
-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;resourceId&amp;gt;id123&amp;lt;/resourceId&amp;gt;&lt;br /&gt;
-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;resourceId&amp;gt;id546&amp;lt;/resourceId&amp;gt;&lt;br /&gt;
-&amp;nbsp;&amp;lt;/resourceIds&amp;gt;
-&lt;/td&gt;
-&lt;/tr&gt;
-&lt;/table&gt;
+&lt;td&gt;EXAMPLE URL&lt;/td&gt;&lt;td&gt;http://localhost:8080/mock/services/REST/dummy-rest/operations/PUT/recorded-resource-ids&lt;/td&gt;
+&lt;/tr&gt;
+
+&lt;tr&gt;
+&lt;td&gt;HTTP METHOD&lt;/td&gt;&lt;td&gt;GET&lt;/td&gt;
+&lt;/tr&gt;
+&lt;tr&gt;
+&lt;td&gt;RETURNS&lt;/td&gt;&lt;td&gt;Recorded resource ids enclosed in a &amp;lt;recorded-resource-ids&amp;gt; xml tag: &lt;br /&gt;
+&amp;nbsp;&amp;lt;recorded-resource-ids&amp;gt; &lt;br /&gt;
+&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;recorded-resource-id&amp;gt;id123&amp;lt;/recorded-resource-id&amp;gt;&lt;br /&gt;
+&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;recorded-resource-id&amp;gt;id546&amp;lt;/recorded-resource-id&amp;gt;&lt;br /&gt;
+&amp;nbsp;&amp;lt;/recorded-resource-ids&amp;gt;
+&lt;/td&gt;
+&lt;/tr&gt;
+&lt;/table&gt;
+
+#####/recorded-request-params
+
+&lt;table&gt;
+&lt;tr&gt;
+&lt;td&gt;DESCRIPTION&lt;/td&gt;&lt;td&gt;Returns recorded url query params.&lt;/td&gt;
+&lt;/tr&gt;
+&lt;tr&gt;
+&lt;td&gt;EXAMPLE URL&lt;/td&gt;&lt;td&gt;http://localhost:8080/mock/services/REST/dummy-rest/operations/PUT/recorded-request-params&lt;/td&gt;
+&lt;/tr&gt;
+
+&lt;tr&gt;
+&lt;td&gt;HTTP METHOD&lt;/td&gt;&lt;td&gt;GET&lt;/td&gt;
+&lt;/tr&gt;
+&lt;tr&gt;
+&lt;td&gt;RETURNS&lt;/td&gt;&lt;td&gt;Recorded resource ids enclosed in a &amp;lt;recorded-request-params&amp;gt; xml tag: &lt;br /&gt;
+&amp;nbsp;&amp;lt;recorded-request-params&amp;gt; &lt;br /&gt;
+&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;recorded-request-param&amp;gt;id123&amp;lt;/recorded-request-param&amp;gt;&lt;br /&gt;
+&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;recorded-request-param&amp;gt;id546&amp;lt;/recorded-request-param&amp;gt;&lt;br /&gt;
+&amp;nbsp;&amp;lt;/recorded-request-params&amp;gt;
+&lt;/td&gt;
+&lt;/tr&gt;
+&lt;/table&gt;
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jacek Obarymski</dc:creator><pubDate>Thu, 13 Dec 2012 12:30:49 -0000</pubDate><guid>https://sourceforge.net7b2eff584a7a244ab318eb8cbef016eac5a88ff5</guid></item><item><title>WikiPage api modified by Jacek Obarymski</title><link>https://sourceforge.net/p/soaprest-mocker/wiki/api/</link><description>&lt;pre&gt;--- v17
+++ v18
@@ -265,7 +265,7 @@
 
 &lt;table&gt;
 &lt;tr&gt;
-&lt;td&gt;DESCRIPTION&lt;/td&gt;&lt;td&gt;Sets up single response. Posting an xml and response code to this resource will cause the mock to respond with that xml and response code. If response code is not specified the mock will return the default response code defined in ws-mock.properties for given service and method&lt;/td&gt;
+&lt;td&gt;DESCRIPTION&lt;/td&gt;&lt;td&gt;Sets up single response. Posting an xml/json string and response code to this resource will cause the mock to respond with that string and response code. If response code is not specified the mock will return the default response code defined in ws-mock.properties for given service and method&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;EXAMPLE URL&lt;/td&gt;&lt;td&gt;http://server:port/mock/dummy-rest-service/POST/setup/response?code=201&lt;/td&gt;
@@ -287,7 +287,7 @@
 
 &lt;table&gt;
 &lt;tr&gt;
-&lt;td&gt;DESCRIPTION&lt;/td&gt;&lt;td&gt;Resource for setting up series of consecutive responses. Posting an xml, response code and request number to this resource will cause the mock to respond with that xml and response code to a consecutive request. E.g. if responseNumber=3, then the specified response will be returned to 3rd request. If the response code is not specified the mock will return the default response code defined in ws-mock.properties for given service and method.&lt;/td&gt;
+&lt;td&gt;DESCRIPTION&lt;/td&gt;&lt;td&gt;Resource for setting up series of consecutive responses. Posting an xml/json string, response code and request number to this resource will cause the mock to respond with that string and response code to a consecutive request. E.g. if responseNumber=3, then the specified response will be returned to 3rd request. If the response code is not specified the mock will return the default response code defined in ws-mock.properties for given service and method.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;EXAMPLE URL&lt;/td&gt;&lt;td&gt;http://server:port/mock/dummy-rest-service/DELETE/setup/consecutive-response/3?code=200&amp;delay=3&lt;/td&gt;
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jacek Obarymski</dc:creator><pubDate>Sun, 18 Nov 2012 22:04:05 -0000</pubDate><guid>https://sourceforge.netc8ea63af43dfd040dd3c8c1be2eccc1270ab936a</guid></item></channel></rss>