Forum Discussion

MartinSpamer's avatar
MartinSpamer
Frequent Contributor
12 years ago

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 wh...
  • MartinSpamer's avatar
    12 years ago
    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()