I am trying to extract a value from the body of html type that I specifies the RestFixture to treat as "TEXT" format. Below are the steps. However, I keep getting the error message saying "last response body cannot be parsed" in the "let" step.
!|smartrics.rest.fitnesse.fixture.RestFixtureConfig|
| restfixture.content.handlers.map | text/html=TEXT|
!|smartrics.rest.fitnesse.fixture.RestFixture|some URL |
|GET| some API | 200 |text/html |name="id" value="|
|let|id|body|name="id" value="(.*)"||
Is it the case that "let" can only extract from XML? If so, how can I get about getting the value from a html body?
I am trying to extract a value from the body of html type that I specifies the RestFixture to treat as "TEXT" format. Below are the steps. However, I keep getting the error message saying "last response body cannot be parsed" in the "let" step.
!|smartrics.rest.fitnesse.fixture.RestFixtureConfig|
| restfixture.content.handlers.map | text/html=TEXT|
!|smartrics.rest.fitnesse.fixture.RestFixture|some URL |
|GET| some API | 200 |text/html |name="id" value="|
|let|id|body|name="id" value="(.*)"||
Is it the case that "let" can only extract from XML? If so, how can I get about getting the value from a html body?