RestFixtureTests.CollapseableContent

Included page: .RestFixtureTests.SetUp (edit)

script smartrics.rest.test.fitnesse.fixture.HttpServerFixture
check is started true
reset resources database

In the interest of readability, cells with large content can be rendered with a toggle on/off button.
The minimum length in characters of the cell, in order to enable the toggle button, is specified with the property

restfixture.display.toggle.for.cells.larger.than

If the value of the property is negative the toggle button will not be rendered.

Currently only large HTTP response content cells (if the actual value is displayed) are enabled for toggling.

Table: Rest Fixture http://localhost:9876
GET
200
Set-Cookie : JID="ABC.${a.y}";
Content-Type : application/xml;charset=ISO-8859-1
Content-Length : 910
Server : Jetty(6.0.2)
/resource/type[text()='large content']
expected

toggle actual
actual