title: Wiremock URL matching logic
body: <p>I am trying to compare the abilities of Soap UI and Wiremock using the following requirement (which is realistic enough for most cases in my projects).</p>
  
  <p>Goal is to create a mock for a currency price service. The requirements:</p>
  
  <ul>
  <li><p>Accessible at </p>
  
  <p>mytesthost/priceservice/getprice</p></li>
  <li><p>Expects one parameter called the 'cur' which defines the currenypair
  like: cur=EURHUF</p></li>
  <li><p>When called as below should respond with an XML response saved in file EURHUF.xml. </p>
  
  <p>mytesthost/priceservice/getprice?cur=EURHUF</p></li>
  <li><p>When called as below should respond with an XML response saved in file EURUSD.xml.</p>
  
  <p>mytesthost/priceservice/getprice?cur=EURUSD</p></li>
  <li><p>When called with <strong>any</strong> other currencypair it should respond with an
  error response stored in NOCURR.xml</p></li>
  </ul>
  
  <p>Implementing this in Soap UI boils down to preparing the result than implementing a few lines of Groovy code to select the response.</p>
  
  <p>When approaching the problem with wiremock i can match for the two 'happpy' path cases but don't know how to achieve the fallback case (with NOCURR.xml).</p>
  
  <p>Example on how i am doing the matching:</p>
  
  <pre><code>{
      "request": {
          "method": "GET",
          "url": "/priceservice/getprice?cur=EURUSD"
      },
      "response": {
          "status": 200,
          "bodyFileName": "EURUSD.xml"
      }
  }
  </code></pre>
  
  <p>Can i achieve this with wiremock? I am mainly interested to do this via the Json configuration but if the Java API would be the way that is also fine.</p>