Forum Discussion

bflynnbyx's avatar
bflynnbyx
Occasional Visitor
4 years ago

Problem With parameterized paths

Hi,    I have a simple REST API that exposes an operation to get an account as follows   GET /accounts/{account_id}   I have created a virtual API based on this API. While I can exercise action...
  • ChrisAdams's avatar
    4 years ago

    Hi,

    I'm assuming this is more of a mock API issue rather than a SoapUI issue.

    I'd look at the mock implementation that validates an id because of the thrown exception....

     

    • Tue Jan 05 12:16:33 GMT 2021: ERROR: java.util.regex.PatternSyntaxException: named capturing group is missing trailing '>' near index 10 (?.*\n*.*) ^
    • java.util.regex.PatternSyntaxException: named capturing group is missing trailing '>' near index 10
    • (?.*\n*.*)
    • ^

    I haven't used SoapUI/ReadyAPI mocking functionality, so I'm not best placed to comment.  Some code snippets/screenshots of the validation may help someone else help you.

     

    Good luck,

     

    Chris