Yes I know both of these context variables..
What I want to do is to remove the custom resolution path from the mentioned variable ${request.http.uri}:
Custom resolution path = /my/path*
From ${request.http.uri} = /my/path/test
To = /test
In a normal API you can do this with the assertion "Evaluate Regular Expression" because you know what you want to remove (in this case it is "/my/path*").
But I would like to automate this behaviour within an Encapsulated Assertion which will be used when a user creates a new api in the portal. In this case you do not know what you have to remove, because every api has its own resolution path.
You could say now, that I could use an input variable for the encapsulated assertion, but I hope that there is an easier way to do so because in my opinion every api should know its own resolution path.
Therefore I ask if there is any possibility to get the exact string of the resolution path e.g. "/my/path*" as a variable?