Forum Discussion
nmrao
Champion Level 3
Hoping that you are using Script Dispatch.
Not tested, but give it a shot.
def id = mockRequest.path.split('/').last() log.info id
Then you can use condition send the respective response.
A sample:
Related Content
- 9 years ago
- 7 years ago
Recent Discussions
- 19 hours ago
- 17 days ago