<How to handle dynamic number of path parameters i...
# stackoverflow
r
How to handle dynamic number of path parameters in Wiremock? I am new to Wiremock and am having problem handling a URL that can have one or more path parameters. For example, I have this URL: /product/{productname};weight={weight};size={size};isdigital={isdigital};digitalformat={digitalformat};details={details} Product name is required, but the rest are optional. If isdigital is true, there won't be value for weight and size, etc. The optional values don't have to be in this order either. I created the following and it's obviously not working. Maybe...