Included page: .RestFixtureTests.SetUp (edit)
| script | smartrics.rest.test.fitnesse.fixture.HttpServerFixture | |
| check | is started | true |
| reset resources database | ||
Rest requests with query string containing array parameters
A query string can contain parameter arrays and they are correctly handled by Rest Fixture.
To allow correct handling of array parameters a new configuration option must be set: *http.client.use.new.http.uri.factory*
| Table: Rest Fixture Config | withArrayParametersSupport |
| http.client.use.new.http.uri.factory | true |
| Table: Rest Fixture | http://localhost:9876 | withArrayParametersSupport | ||
| GET | 200 |
Query-String : a[0]=2&a[1]=4 Set-Cookie : JID="ABC.${a.y}"; Content-Type : application/xml;charset=ISO-8859-1 Content-Length : 183 Server : Jetty(6.0.2) |
<resource> <name>a funky name</name> <data>an important message</data> <nstag xmlns:ns1='http://smartrics/ns1'> <ns1:number>3</ns1:number> </nstag> </resource> |
|