rajpenumalli
7 years agoOccasional Contributor
How to get request-URI from raw request content using groovy script
Hi Support,
How to get request-URI from raw request content using groovy script(i want to use this script in groovy step)
I am using READY API 2.2.0.
for example in following example i need get request-URI="/version_1.0.0/login"
Following is my Raw request content:
GET https://demo.app.com/version_1.0.0/login
Accept-Encoding: gzip,deflate
Cookie: AC1799C04C5F97FAB7B5AC4E3D355D1741794DD381D43F572DE830AF4111F0CB5161FB
Content-Length: 0
Host: demo.app.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_144)
Thanks,
Rajendra