Ask a Question

Reading template variables from Rest ServiceV script

Rama16
Contributor

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

cancel
Showing results for 
Search instead for 
Did you mean: