This message was deleted.
# help
s
This message was deleted.
t
You can only get this via
<http://originalRequest.path.tn|originalRequest.path.tn>
but I’m not sure why you’d consider this any more fragile than if it was under a
parameters
object instead?
a
I wasn't aware you could access it under originalRequest.path — that's actually perfect for what I was looking for and answers my question — thank you!
I didn't know these variables were added back to the
path
object...that makes perfect sense though.
t
It should work - I’ll admit I’ve not tried this!
a
Sadly, it doesn't seem to work.
t
You’re right, seems we’re not passing the relevant context into that template model at the moment. Enhancement issue here: https://github.com/wiremock/wiremock/issues/2523