Hi,
How to extract the random location header value
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8
HTTP/1.1 301 Moved Permanently
Content-Type: text/html
Location: https://abc.com/xxxxxx/auth/?code=e6d17bfb6890d7799e94568454205ed1
Server: nginx
Content-Length: 178
I tried the below but not able to capture
.check(headerRegex(“Location”, “https://abc.com/xxxxxx/auth/?code=(.*)”) .
Can I get help to extract from the header?
Thanks