add uri wildcard replacement for api testing