Forum Discussion

Rama16's avatar
Rama16
Contributor
6 years ago

Reading template variables from Rest ServiceV script

Hi,

 

How to read path variables in the script? I created mock service in Ready API but unable read the Path (Template) variables.

 

http://localhost:8097/v1/authorization/authorize/{user}/org/{orgid}?key=safasdas

log.info(mockRequest.httpRequest.getAttribute("orgid")) - Does not work

mockRequest.httpRequest

 

Thanks

No RepliesBe the first to reply