Apologies if this has already been asked but my searching didn't throw anything up
I want to match a request using a form parameter, but the form parameter is a base64 encoded string (specifically it is a JWT token) and the value I want to match is not base64 encoded.
Hence need use regex to capture a group, base64 decode that group, and then either json or string match again the value I have
I know how to extract this value and decode at response time using the helpers but can't see how to do this for an incoming request.
Note doing this at response time would require knowledge all possible incoming and outgoing values which is not possible as they are determined by test scenarios and hence the desired mapping is also generated at run time and needs to be associated with the specific form parameter.