Filter Step tagStripper
Removes all tags within well-formed XML/XHTML content.
- Required? no
- The description of this test step.
This content filter can be useful in environments where the content stays the same but tags or tag attributes may change, e.g. a simple portal with presentation preferences depicted in CSS or other presentation-oriented tags. This tag removes the tags (and any attributes) hence removes the part of the response subject to change. The remainder can then be safely compared to an expected value.
See the verifyContent step for an example of using this content filter.