I am using karate framework, I am getting api response in html format and i am having trouble in verification
the response:-
<html>
<head><title>400 Request Header Or Cookie Too Large</title></head>
<body>
<center><h1>400 Bad Request</h1></center>
<center>Request Header Or Cookie Too Large</center>
</body>
</html>
how do i extract:-
- “400 Request Header Or Cookie Too Large” from title
- “Request Header Or Cookie Too Large” from center
Please help. Thanks in advance.