MartinSpamer
13 years agoFrequent Contributor
TestRequest Properties
Can anybody shed any light on How to access "TestRequest Properties"
Particularly the Endpoint and Resource (which is the Path from the Interface->Method)
These are not the Custom Properties which are easy to access, but the systems built in properties.
Does anybody have any ideas ?
Particularly the Endpoint and Resource (which is the Path from the Interface->Method)
These are not the Custom Properties which are easy to access, but the systems built in properties.
Does anybody have any ideas ?
- I've found an Alternate approach when using a Scripted Assertion these can be accessed via messageExchange.
String requestPath = messageExchange.getRestRequest().getPath()
String requestEndpoint = messageExchange.getEndpoint()