Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
FitNesseRoot.files.testResults.RestFixtureTests.IssueFixes.Issue169.20160315214524_2_1_0_0.xml Maven / Gradle / Ivy
<?xml version="1.0"?>
<testResults>
<FitNesseVersion>v20150424</FitNesseVersion>
<rootPath>RestFixtureTests.IssueFixes.Issue169</rootPath>
<result>
<counts>
<right>14</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>0</exceptions>
</counts>
<runTimeInMillis>609</runTimeInMillis>
<content></content>
<relativePageName>SuiteSetUp</relativePageName>
<instructions>
<instructionResult>
<instruction>{id='import_0_0', instruction='import', path='smartrics.rest.fitnesse.fixture'}</instruction>
<slimResult>pass(smartrics.rest.fitnesse.fixture)</slimResult>
<expectation>
<status>pass</status>
<instructionId>import_0_0</instructionId>
<col>0</col>
<row>1</row>
<type>ImportExpectation</type>
<evaluationMessage>smartrics.rest.fitnesse.fixture</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='import_0_1', instruction='import', path='smartrics.rest.test.fitnesse.fixture'}</instruction>
<slimResult>pass(smartrics.rest.test.fitnesse.fixture)</slimResult>
<expectation>
<status>pass</status>
<instructionId>import_0_1</instructionId>
<col>0</col>
<row>2</row>
<type>ImportExpectation</type>
<evaluationMessage>smartrics.rest.test.fitnesse.fixture</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='scriptTable_1_0', instruction='make', instanceName='scriptTableActor', className='HttpServerFixture', args=[]}</instruction>
<slimResult>pass(Http Server Fixture)</slimResult>
<expectation>
<status>pass</status>
<instructionId>scriptTable_1_0</instructionId>
<col>1</col>
<row>0</row>
<type>ConstructionExpectation</type>
<evaluationMessage>Http Server Fixture</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='scriptTable_1_1', instruction='call', instanceName='scriptTableActor', methodName='isStarted', args=[]}</instruction>
<slimResult>pass(false)</slimResult>
<expectation>
<status>pass</status>
<instructionId>scriptTable_1_1</instructionId>
<col>2</col>
<row>1</row>
<type>ReturnedValueExpectation</type>
<evaluationMessage>false</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='scriptTable_1_2', instruction='call', instanceName='scriptTableActor', methodName='startServer', args=[9876]}</instruction>
<slimResult></slimResult>
<expectation>
<instructionId>scriptTable_1_2</instructionId>
<col>0</col>
<row>2</row>
<type>ScriptActionExpectation</type>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='scriptTable_1_3', instruction='call', instanceName='scriptTableActor', methodName='isStarted', args=[]}</instruction>
<slimResult>pass(true)</slimResult>
<expectation>
<status>pass</status>
<instructionId>scriptTable_1_3</instructionId>
<col>2</col>
<row>3</row>
<type>ReturnedValueExpectation</type>
<evaluationMessage>true</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='tableTable_2_0', instruction='make', instanceName='tableTable_2', className='RestFixtureConfig', args=[]}</instruction>
<slimResult>pass(Table: Rest Fixture Config)</slimResult>
<expectation>
<status>pass</status>
<instructionId>tableTable_2_0</instructionId>
<col>0</col>
<row>0</row>
<type>ConstructionExpectation</type>
<evaluationMessage>Table: Rest Fixture Config</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='tableTable_2_1', instruction='call', instanceName='tableTable_2', methodName='doTable', args=[[[http.basicauth.username, foo], [http.basicauth.password, bar], [http.client.connection.timeout, 5000], [http.client.use.new.http.uri.factory, false], [restfixture.display.absolute.url.in.full, true], [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
]]]}</instruction>
<slimResult>pass()</slimResult>
<expectation>
<status>pass</status>
<instructionId>tableTable_2_1</instructionId>
<type>TableTableExpectation</type>
</expectation>
</instructionResult>
</instructions>
</result>
<result>
<counts>
<right>2</right>
<wrong>2</wrong>
<ignores>0</ignores>
<exceptions>1</exceptions>
</counts>
<runTimeInMillis>301</runTimeInMillis>
<content></content>
<relativePageName>Issue169</relativePageName>
<instructions>
<instructionResult>
<instruction>{id='scriptTable_0_0', instruction='make', instanceName='scriptTableActor', className='smartrics.rest.test.fitnesse.fixture.HttpServerFixture', args=[]}</instruction>
<slimResult>pass(smartrics.rest.test.fitnesse.fixture.HttpServerFixture)</slimResult>
<expectation>
<status>pass</status>
<instructionId>scriptTable_0_0</instructionId>
<col>1</col>
<row>0</row>
<type>ConstructionExpectation</type>
<evaluationMessage>smartrics.rest.test.fitnesse.fixture.HttpServerFixture</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='scriptTable_0_1', instruction='call', instanceName='scriptTableActor', methodName='isStarted', args=[]}</instruction>
<slimResult>pass(true)</slimResult>
<expectation>
<status>pass</status>
<instructionId>scriptTable_0_1</instructionId>
<col>2</col>
<row>1</row>
<type>ReturnedValueExpectation</type>
<evaluationMessage>true</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='scriptTable_0_2', instruction='call', instanceName='scriptTableActor', methodName='resetResourcesDatabase', args=[]}</instruction>
<slimResult>pass()</slimResult>
<expectation>
<status>pass</status>
<instructionId>scriptTable_0_2</instructionId>
<col>0</col>
<row>2</row>
<type>ScriptActionExpectation</type>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='tableTable_1_0', instruction='make', instanceName='tableTable_1', className='RestFixture', args=[<a href="http://localhost:9876">http://localhost:9876</a>]}</instruction>
<slimResult>pass(Table: Rest Fixture)</slimResult>
<expectation>
<status>pass</status>
<instructionId>tableTable_1_0</instructionId>
<col>0</col>
<row>0</row>
<type>ConstructionExpectation</type>
<evaluationMessage>Table: Rest Fixture</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='tableTable_1_1', instruction='call', instanceName='tableTable_1', methodName='doTable', args=[[[let, MD, const, 3000900053976733, ], [let, PaReq, const, eJxdU11PgzAUffdXEN/hUhhsLLXJ3IyayGKcLz42cBWSUbAUp/56W7auzJuQ9HzQ3pze0tdKIm52
WAwS2ZXn0Rz7nn+gV5c31x0Pkjibp/M4vjailp9XL/h5XGv0hbKvW8FIEAYRBQutnKMsKi6UJTTF
i8/bxy2bZSSdzymcoNMblI8btpgliyjNFuGxKBxpZxO8QXb3tIa8VZU+hUukMJLOU7SDUPKH6Z0o
WODkQe5ZpVS3BCjxKyS+RL5viN+cdwxKbLgoD2YpUEErYML0qpUIu1ph7+fru+39rW+AtrzzYa/g
oW3Q31XtgYI5ymYC/0Ohz4Mh+mnr33XJ8s3qMP22r3my/X2L89/8hoJxOH/JFbIoJGkYk8iL4mWY
LpOEwshPwm9MCozMgkyLJ+TkzjSysh5jmTKTYAcpURQ2WYucAb+7VqD+R8/EeT3pFvuCuYvzulMA
ul+jnJP6HwxdP1xMUqH0TMx0xboiXUSXmalRuGin1ldPspCM/dRuDijYPfVxdrTNHY2PgF1RuHwg
f93w5Eo=, ], [setHeader, Content-Type : application/x-www-form-urlencoded], [setBody, MD=%MD%&PaReq=%Pareq%&TermUrl=https%3A%2F%2Fdev01-realm1-mothercare.demandware.net%2Fon%2Fdemandware.store%2FSites-MCENGB-Site%2Fdefault%2FHello-Start&submit=submit], [POST, /resources, 200, , ]]]}</instruction>
<slimResult>fail()</slimResult>
<expectation>
<status>fail</status>
<instructionId>tableTable_1_1</instructionId>
<type>TableTableExpectation</type>
</expectation>
</instructionResult>
</instructions>
</result>
<result>
<counts>
<right>2</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>0</exceptions>
</counts>
<runTimeInMillis>107</runTimeInMillis>
<content><br/><span class="meta">variable defined: ns1=!-http://smartrics/ns1-!</span>
<br/><span class="meta">variable defined: defns=!-http://smartrics/defns-!</span>
<br/><br/><table>
<tr class="slimRowTitle">
<td>Import</td>
</tr>
<tr class="slimRowColor0">
<td><span class="pass">smartrics.rest.fitnesse.fixture</span></td>
</tr>
<tr class="slimRowColor1">
<td><span class="pass">smartrics.rest.test.fitnesse.fixture</span></td>
</tr>
</table>
<br/><table>
<tr class="slimRowTitle">
<td>script</td>
<td colspan="2"><span class="pass">Http Server Fixture</span></td>
</tr>
<tr class="slimRowColor0">
<td>check</td>
<td>is started</td>
<td><span class="pass">false</span></td>
</tr>
<tr class="slimRowColor3">
<td>start server</td>
<td colspan="2">9876</td>
</tr>
<tr class="slimRowColor0">
<td>check</td>
<td>is started</td>
<td><span class="pass">true</span></td>
</tr>
</table>
<br/><div class="collapsible"><ul><li><a href='#' class='expandall'>Expand</a></li><li><a href='#' class='collapseall'>Collapse</a></li></ul>
<p class="title">Configure the RestFixture with named configuration table of key value pairs</p>
<div>Read more about <a href="RestFixtureTests.RestFixtureConfig">RestFixtureConfig</a><br/></div>
</div>
<table>
<tr class="slimRowTitle">
<td colspan="2"><span class="pass">Table: Rest Fixture Config</span></td>
</tr>
<tr class="slimRowColor0">
<td>http.basicauth.username</td>
<td><span class="pass">foo</span></td>
</tr>
<tr class="slimRowColor1">
<td>http.basicauth.password</td>
<td><span class="pass">bar</span></td>
</tr>
<tr class="slimRowColor0">
<td>http.client.connection.timeout</td>
<td><span class="pass">5000</span></td>
</tr>
<tr class="slimRowColor1">
<td>http.client.use.new.http.uri.factory</td>
<td><span class="pass">false</span></td>
</tr>
<tr class="slimRowColor0">
<td>restfixture.display.absolute.url.in.full</td>
<td><span class="pass">true</span></td>
</tr>
<tr class="slimRowColor1">
<td>restfixture.display.actual.on.right</td>
<td><span class="pass">true</span></td>
</tr>
<tr class="slimRowColor0">
<td>restfixture.display.toggle.for.cells.larger.than</td>
<td><span class="pass">200</span></td>
</tr>
<tr class="slimRowColor1">
<td>restfixture.default.headers</td>
<td><span class="pass">defHeader&amp;nbsp;:&amp;nbsp;1&lt;br/&gt;anotherDefHeader&amp;nbsp;:&amp;nbsp;2&lt;br/&gt;</span></td>
</tr>
<tr class="slimRowColor0">
<td>restfixture.xml.namespace.context</td>
<td><span class="pass">ns1alias=http://smartrics/ns1&amp;nbsp;&lt;br/&gt;&amp;nbsp;defalias=http://smartrics/defns</span></td>
</tr>
<tr class="slimRowColor1">
<td>restfixture.content.default.charset</td>
<td><span class="pass">UTF-8</span></td>
</tr>
<tr class="slimRowColor0">
<td>restfixture.content.handlers.map</td>
<td><span class="pass">application/xml=XML&lt;br/&gt;application/json=JSON&lt;br/&gt;text/plain=TEXT&lt;br/&gt;default=XML&lt;br/&gt;application/x-javascript=JS&lt;br/&gt;</span></td>
</tr>
</table>
<div class="collapsible closed"><ul><li><a href='#' class='expandall'>Expand</a></li><li><a href='#' class='collapseall'>Collapse</a></li></ul>
<p class="title">Included page: <a href="RestFixtureTests.SetUp">.RestFixtureTests.SetUp</a> <a href="RestFixtureTests.SetUp?edit&amp;redirectToReferer=true&amp;redirectAction=" class="edit">(edit)</a></p>
<div><table>
<tr class="slimRowTitle">
<td>script</td>
<td colspan="2"><span class="pass">smartrics.rest.test.fitnesse.fixture.HttpServerFixture</span></td>
</tr>
<tr class="slimRowColor0">
<td>check</td>
<td>is started</td>
<td><span class="pass">true</span></td>
</tr>
<tr class="slimRowColor9">
<td colspan="3"><span class="pass">reset resources database</span></td>
</tr>
</table>
</div>
</div>
<br/><h3><a href="https://github.com/smartrics/RestFixture/issues/169">Issue #169</a> Posting binary data</h3>
<br/><table>
<tr class="slimRowTitle">
<td><span class="pass">Table: Rest Fixture</span></td>
<td colspan="4"><a href="http://localhost:9876">http://localhost:9876</a></td>
</tr>
<tr class="slimRowColor0">
<td>let</td>
<td>MD</td>
<td>const</td>
<td><div>3000900053976733</div></td>
<td><div>3000900053976733</div></td>
</tr>
<tr class="slimRowColor1">
<td>let</td>
<td>PaReq</td>
<td>const</td>
<td><div>eJxdU11PgzAUffdXEN/hUhhsLLXJ3IyayGKcLz42cBWSUbAUp/56W7auzJuQ9HzQ3pze0tdKIm52<br/>WAwS2ZXn0Rz7nn+gV5c31x0Pkjibp/M4vjailp9XL/h5XGv0hbKvW8FIEAYRBQutnKMsKi6UJTTF<br/>i8/bxy2bZSSdzymcoNMblI8btpgliyjNFuGxKBxpZxO8QXb3tIa8VZU+hUukMJLOU7SDUPKH6Z0o<br/>WODkQe5ZpVS3BCjxKyS+RL5viN+cdwxKbLgoD2YpUEErYML0qpUIu1ph7+fru+39rW+AtrzzYa/g<br/>oW3Q31XtgYI5ymYC/0Ohz4Mh+mnr33XJ8s3qMP22r3my/X2L89/8hoJxOH/JFbIoJGkYk8iL4mWY<br/>LpOEwshPwm9MCozMgkyLJ+TkzjSysh5jmTKTYAcpURQ2WYucAb+7VqD+R8/EeT3pFvuCuYvzulMA<br/>ul+jnJP6HwxdP1xMUqH0TMx0xboiXUSXmalRuGin1ldPspCM/dRuDijYPfVxdrTNHY2PgF1RuHwg<br/>f93w5Eo=</div></td>
<td><div>eJxdU11PgzAUffdXEN/hUhhsLLXJ3IyayGKcLz42cBWSUbAUp/56W7auzJuQ9HzQ3pze0tdKIm52<br/>WAwS2ZXn0Rz7nn+gV5c31x0Pkjibp/M4vjailp9XL/h5XGv0hbKvW8FIEAYRBQutnKMsKi6UJTTF<br/>i8/bxy2bZSSdzymcoNMblI8btpgliyjNFuGxKBxpZxO8QXb3tIa8VZU+hUukMJLOU7SDUPKH6Z0o<br/>WODkQe5ZpVS3BCjxKyS+RL5viN+cdwxKbLgoD2YpUEErYML0qpUIu1ph7+fru+39rW+AtrzzYa/g<br/>oW3Q31XtgYI5ymYC/0Ohz4Mh+mnr33XJ8s3qMP22r3my/X2L89/8hoJxOH/JFbIoJGkYk8iL4mWY<br/>LpOEwshPwm9MCozMgkyLJ+TkzjSysh5jmTKTYAcpURQ2WYucAb+7VqD+R8/EeT3pFvuCuYvzulMA<br/>ul+jnJP6HwxdP1xMUqH0TMx0xboiXUSXmalRuGin1ldPspCM/dRuDijYPfVxdrTNHY2PgF1RuHwg<br/>f93w5Eo=</div></td>
</tr>
<tr class="slimRowColor0">
<td>setHeader</td>
<td colspan="4"><div>Content-Type&nbsp;:&nbsp;application/x-www-form-urlencoded</div></td>
</tr>
<tr class="slimRowColor1">
<td>setBody <span class="error"><div>setBody<br/><hr/><br/><code>java.lang.RuntimeException:&nbsp;Method&nbsp;named&nbsp;setBody&nbsp;threw&nbsp;an&nbsp;exception&nbsp;when&nbsp;executing.
<br/>&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;smartrics.rest.fitnesse.fixture.RestFixture.processRow(RestFixture.java:862)
<br/>&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;smartrics.rest.fitnesse.fixture.RestFixture.processSlimRow(RestFixture.java:1188)
<br/>&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;smartrics.rest.fitnesse.fixture.RestFixture.doTable(RestFixture.java:390)
<br/>&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;sun.reflect.NativeMethodAccessorImpl.invoke0(Native&nbsp;Method)
<br/>&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
<br/>&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
<br/>&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;java.lang.reflect.Method.invoke(Method.java:606)
<br/>&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:80)
<br/>&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:44)
<br/>&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:31)
<br/>&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:57)
<br/>&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20)
<br/>&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:126)
<br/>&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;fitnesse.slim.StatementExecutor.call(StatementExecutor.java:104)
<br/>&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35)
<br/>&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;fitnesse.slim.instructions.Instruction.execute(Instruction.java:29)
<br/>&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:49)
<br/>&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:43)
<br/>&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;fitnesse.slim.ListExecutor.execute(ListExecutor.java:83)
<br/>&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:84)
<br/>&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:77)
<br/>&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:56)
<br/>&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;fitnesse.slim.SlimServer.serve(SlimServer.java:42)
<br/>&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;fitnesse.slim.SlimService.handle(SlimService.java:186)
<br/>&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;fitnesse.slim.SlimService.acceptOne(SlimService.java:194)
<br/>&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;fitnesse.slim.SlimService.accept(SlimService.java:156)
<br/>&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;fitnesse.slim.SlimService.startWithFactory(SlimService.java:77)
<br/>&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;fitnesse.slim.SlimService.main(SlimService.java:57)
<br/>Caused&nbsp;by:&nbsp;java.lang.reflect.InvocationTargetException
<br/>&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;sun.reflect.NativeMethodAccessorImpl.invoke0(Native&nbsp;Method)
<br/>&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
<br/>&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
<br/>&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;java.lang.reflect.Method.invoke(Method.java:606)
<br/>&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;smartrics.rest.fitnesse.fixture.RestFixture.processRow(RestFixture.java:846)
<br/>&nbsp;&nbsp;&nbsp;&nbsp;...&nbsp;27&nbsp;more
<br/>Caused&nbsp;by:&nbsp;java.lang.NullPointerException
<br/>&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;smartrics.rest.fitnesse.fixture.support.SlimVariables.get(SlimVariables.java:64)
<br/>&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;smartrics.rest.fitnesse.fixture.support.Variables.substitute(Variables.java:101)
<br/>&nbsp;&nbsp;&nbsp;&nbsp;at&nbsp;smartrics.rest.fitnesse.fixture.RestFixture.setBody(RestFixture.java:516)
<br/>&nbsp;&nbsp;&nbsp;&nbsp;...&nbsp;32&nbsp;more
<br/></code></div></span></td>
<td colspan="4">MD=%MD%&amp;PaReq=%Pareq%&amp;TermUrl=https%3A%2F%2Fdev01-realm1-mothercare.demandware.net%2Fon%2Fdemandware.store%2FSites-MCENGB-Site%2Fdefault%2FHello-Start&amp;submit=submit</td>
</tr>
<tr class="slimRowColor0">
<td>POST</td>
<td><div><a href='http://localhost:9876/resources'>/resources</a></div></td>
<td><span class="fail"><div>200<br/><i><span class='fit_label'>expected</span></i><hr/><br/>201<br/><i><span class='fit_label'>actual</span></i><hr/><br/>not&nbsp;match:&nbsp;200<br/><br/><i><span class='fit_label'>errors</span></i></div></span></td>
<td><div>Location&nbsp;:&nbsp;/resources/2<br/>Content-Length&nbsp;:&nbsp;0<br/>Server&nbsp;:&nbsp;Jetty(6.0.2)</div></td>
<td><div>no-body</div></td>
</tr>
</table>
<br/><table>
<tr class="slimRowTitle">
<td>script</td>
<td colspan="2"><span class="pass">smartrics.rest.test.fitnesse.fixture.HttpServerFixture</span></td>
</tr>
<tr class="slimRowColor0">
<td>check</td>
<td>is started</td>
<td><span class="pass">true</span></td>
</tr>
<tr class="slimRowColor9">
<td colspan="3">stop server</td>
</tr>
<tr class="slimRowColor0">
<td>check</td>
<td>is stopped</td>
<td><span class="pass">true</span></td>
</tr>
</table>
</content>
<relativePageName>SuiteTearDown</relativePageName>
<instructions>
<instructionResult>
<instruction>{id='scriptTable_0_0', instruction='make', instanceName='scriptTableActor', className='smartrics.rest.test.fitnesse.fixture.HttpServerFixture', args=[]}</instruction>
<slimResult>pass(smartrics.rest.test.fitnesse.fixture.HttpServerFixture)</slimResult>
<expectation>
<status>pass</status>
<instructionId>scriptTable_0_0</instructionId>
<col>1</col>
<row>0</row>
<type>ConstructionExpectation</type>
<evaluationMessage>smartrics.rest.test.fitnesse.fixture.HttpServerFixture</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='scriptTable_0_1', instruction='call', instanceName='scriptTableActor', methodName='isStarted', args=[]}</instruction>
<slimResult>pass(true)</slimResult>
<expectation>
<status>pass</status>
<instructionId>scriptTable_0_1</instructionId>
<col>2</col>
<row>1</row>
<type>ReturnedValueExpectation</type>
<evaluationMessage>true</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='scriptTable_0_2', instruction='call', instanceName='scriptTableActor', methodName='stopServer', args=[]}</instruction>
<slimResult></slimResult>
<expectation>
<instructionId>scriptTable_0_2</instructionId>
<col>0</col>
<row>2</row>
<type>ScriptActionExpectation</type>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='scriptTable_0_3', instruction='call', instanceName='scriptTableActor', methodName='isStopped', args=[]}</instruction>
<slimResult>pass(true)</slimResult>
<expectation>
<status>pass</status>
<instructionId>scriptTable_0_3</instructionId>
<col>2</col>
<row>3</row>
<type>ReturnedValueExpectation</type>
<evaluationMessage>true</evaluationMessage>
</expectation>
</instructionResult>
</instructions>
</result>
<executionLog>
<testSystem>slim:fitnesse.slim.SlimService</testSystem>
<command>c:\Progra~1\Java\jdk1.7.0_71\bin\java -cp C:\Users\702161900\Dev\smartrics\RestFixtureLiveDoc\target\dependencies\fitnesse-20150424.jar;target/classes/;target/test-classes/;C:\Users\702161900\Dev\smartrics\RestFixtureLiveDoc\target\dependencies\ant-1.7.0.jar;C:\Users\702161900\Dev\smartrics\RestFixtureLiveDoc\target\dependencies\ant-launcher-1.7.0.jar;C:\Users\702161900\Dev\smartrics\RestFixtureLiveDoc\target\dependencies\commons-codec-1.2.jar;C:\Users\702161900\Dev\smartrics\RestFixtureLiveDoc\target\dependencies\commons-collections-3.2.1.jar;C:\Users\702161900\Dev\smartrics\RestFixtureLiveDoc\target\dependencies\commons-httpclient-3.1.jar;C:\Users\702161900\Dev\smartrics\RestFixtureLiveDoc\target\dependencies\commons-lang-2.6.jar;C:\Users\702161900\Dev\smartrics\RestFixtureLiveDoc\target\dependencies\commons-logging-1.0.4.jar;C:\Users\702161900\Dev\smartrics\RestFixtureLiveDoc\target\dependencies\cos-05Nov2002.jar;C:\Users\702161900\Dev\smartrics\RestFixtureLiveDoc\target\dependencies\diffutils-1.3.0.jar;C:\Users\702161900\Dev\smartrics\RestFixtureLiveDoc\target\dependencies\fitnesse-20150424.jar;C:\Users\702161900\Dev\smartrics\RestFixtureLiveDoc\target\dependencies\hamcrest-all-1.3.jar;C:\Users\702161900\Dev\smartrics\RestFixtureLiveDoc\target\dependencies\hamcrest-core-1.1.jar;C:\Users\702161900\Dev\smartrics\RestFixtureLiveDoc\target\dependencies\htmlcleaner-2.2.jar;C:\Users\702161900\Dev\smartrics\RestFixtureLiveDoc\target\dependencies\htmllexer-2.1.jar;C:\Users\702161900\Dev\smartrics\RestFixtureLiveDoc\target\dependencies\htmlparser-2.1.jar;C:\Users\702161900\Dev\smartrics\RestFixtureLiveDoc\target\dependencies\httpclient-4.1.3.jar;C:\Users\702161900\Dev\smartrics\RestFixtureLiveDoc\target\dependencies\httpcore-4.1.4.jar;C:\Users\702161900\Dev\smartrics\RestFixtureLiveDoc\target\dependencies\JavaEWAH-0.7.9.jar;C:\Users\702161900\Dev\smartrics\RestFixtureLiveDoc\target\dependencies\jdom-1.1.jar;C:\Users\702161900\Dev\smartrics\RestFixtureLiveDoc\target\dependencies\jettison-1.3.2.jar;C:\Users\702161900\Dev\smartrics\RestFixtureLiveDoc\target\dependencies\jetty-6.0.2.jar;C:\Users\702161900\Dev\smartrics\RestFixtureLiveDoc\target\dependencies\jetty-util-6.0.2.jar;C:\Users\702161900\Dev\smartrics\RestFixtureLiveDoc\target\dependencies\jsch-0.1.50.jar;C:\Users\702161900\Dev\smartrics\RestFixtureLiveDoc\target\dependencies\json-20140107.jar;C:\Users\702161900\Dev\smartrics\RestFixtureLiveDoc\target\dependencies\junit-4.10.jar;C:\Users\702161900\Dev\smartrics\RestFixtureLiveDoc\target\dependencies\log4j-1.2.17.jar;C:\Users\702161900\Dev\smartrics\RestFixtureLiveDoc\target\dependencies\mockito-all-1.9.0.jar;C:\Users\702161900\Dev\smartrics\RestFixtureLiveDoc\target\dependencies\org.eclipse.jgit-3.6.2.201501210735-r.jar;C:\Users\702161900\Dev\smartrics\RestFixtureLiveDoc\target\dependencies\rhino-1.7R3.jar;C:\Users\702161900\Dev\smartrics\RestFixtureLiveDoc\target\dependencies\servlet-api-2.5-6.0.2.jar;C:\Users\702161900\Dev\smartrics\RestFixtureLiveDoc\target\dependencies\slf4j-api-1.6.6.jar;C:\Users\702161900\Dev\smartrics\RestFixtureLiveDoc\target\dependencies\slf4j-log4j12-1.6.6.jar;C:\Users\702161900\Dev\smartrics\RestFixtureLiveDoc\target\dependencies\smartrics-RestClient-2.1.jar;C:\Users\702161900\Dev\smartrics\RestFixtureLiveDoc\target\dependencies\smartrics-RestFixture-4.1-SNAPSHOT.jar;C:\Users\702161900\Dev\smartrics\RestFixtureLiveDoc\target\dependencies\stax-api-1.0.1.jar;C:\Users\702161900\Dev\smartrics\RestFixtureLiveDoc\target\dependencies\velocity-1.7.jar;C:\Users\702161900\Dev\smartrics\RestFixtureLiveDoc\target\dependencies\xmlpull-1.1.3.1.jar;C:\Users\702161900\Dev\smartrics\RestFixtureLiveDoc\target\dependencies\xpp3_min-1.1.4c.jar;C:\Users\702161900\Dev\smartrics\RestFixtureLiveDoc\target\dependencies\xstream-1.4.2.jar fitnesse.slim.SlimService 8086</command>
<exitCode>0</exitCode>
<stdOut>21:45:25,410 ERROR [RestFixture] - Exception raised when processing row setBody
java.lang.RuntimeException: Method named setBody threw an exception when executing.
at smartrics.rest.fitnesse.fixture.RestFixture.processRow(RestFixture.java:862)
at smartrics.rest.fitnesse.fixture.RestFixture.processSlimRow(RestFixture.java:1188)
at smartrics.rest.fitnesse.fixture.RestFixture.doTable(RestFixture.java:390)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:80)
at fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:44)
at fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:31)
at fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:57)
at fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:20)
at fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:126)
at fitnesse.slim.StatementExecutor.call(StatementExecutor.java:104)
at fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35)
at fitnesse.slim.instructions.Instruction.execute(Instruction.java:29)
at fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:49)
at fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:43)
at fitnesse.slim.ListExecutor.execute(ListExecutor.java:83)
at fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:84)
at fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:77)
at fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:56)
at fitnesse.slim.SlimServer.serve(SlimServer.java:42)
at fitnesse.slim.SlimService.handle(SlimService.java:186)
at fitnesse.slim.SlimService.acceptOne(SlimService.java:194)
at fitnesse.slim.SlimService.accept(SlimService.java:156)
at fitnesse.slim.SlimService.startWithFactory(SlimService.java:77)
at fitnesse.slim.SlimService.main(SlimService.java:57)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at smartrics.rest.fitnesse.fixture.RestFixture.processRow(RestFixture.java:846)
... 27 more
Caused by: java.lang.NullPointerException
at smartrics.rest.fitnesse.fixture.support.SlimVariables.get(SlimVariables.java:64)
at smartrics.rest.fitnesse.fixture.support.Variables.substitute(Variables.java:101)
at smartrics.rest.fitnesse.fixture.RestFixture.setBody(RestFixture.java:516)
... 32 more
</stdOut> <stdErr></stdErr> </executionLog>
<finalCounts>
<right>2</right>
<wrong>1</wrong>
<ignores>0</ignores>
<exceptions>0</exceptions>
</finalCounts>
<totalRunTimeInMillis>2603</totalRunTimeInMillis>
</testResults>