All Downloads are FREE. Search and download functionalities are using the official Maven repository.

FitNesseRoot.RestFixtureFitTests.SuiteSetUp.content.txt Maven / Gradle / Ivy

| Action Fixture. |
| start |!-smartrics.rest.test.fitnesse.fixture.HttpServerFixture-!|
| check | is started | false |
| enter | start server | ${jettyPort} |
| check | is started | true |

Default configuration parameters for each !-RestFixture-! instance
 * '''http.client.connection.timeout''' the client http timeout
 * '''http.client.use.new.http.uri.factory''' If set to true the Rest Fixture uses a more relaxed validation rule to validate URIs. It, for example, allows array parameters in the query string. Defaults to false.
 * '''restfixture.display.actual.on.right''' wether the actual value of headers and body are displayed when an expectation is met
 * '''restfixture.display.content.collapsed.larger.than''' minimum lenght of the content of a cell to enable a toggle on/off button (-1 to disable)
 * '''restfixture.default.headers''' list of http headers passed to each REST request (overridden by '''setHeader''')
 * '''restfixture.xml.namespace.context''' list of key/value defining a namespace context. (keys represent aliases used in !-XPaths-!, values are the ns URI as per xml)
 * '''restfixture.content.handlers.map''' key-value-pair mapping a Content-Type to a !-RestFixture-! content handler.
 * '''restfixture.content.default.charset''' the default charset to use if the response doesn't specify one in the result. If this property isn't specified, it defaults to !-Charset.defaultCharset().name()-!.
 * '''restfixture.null.value.representation''' value used to replace the default Fitnesse symbols value for null (default is the string 'null')
 
| !-smartrics.rest.fitnesse.fixture.RestFixtureConfig-! |
| http.client.connection.timeout | 5000 |
| http.client.use.new.http.uri.factory | false |
| restfixture.display.actual.on.right | true |
| restfixture.display.toggle.for.cells.larger.than | 200 |
| restfixture.default.headers | !-defHeader : 1
anotherDefHeader : 2
-!|
| restfixture.xml.namespace.context | !-ns1alias=http://smartrics/ns1
defalias=http://smartrics/defns
-!|
| restfixture.content.default.charset | UTF-8 |
| restfixture.content.handlers.map | !-application/xml=XML
application/json=JSON
text/plain=TEXT
default=XML
application/x-javascript=JS
-!|




© 2015 - 2024 Weber Informatics LLC | Privacy Policy