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.
<?xml version="1.0"?>
<testResults>
<FitNesseVersion>v20150424</FitNesseVersion>
<rootPath>RestFixtureTests.CollapseableContent</rootPath>
<result>
<counts>
<right>5</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>2</exceptions>
</counts>
<runTimeInMillis>56962</runTimeInMillis>
<content><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/>In the interest of readability, cells with large content can be rendered with a toggle on/off button.<br/>The minimum length in characters of the cell, in order to enable the toggle button, is specified with the property<br/><br/>restfixture.display.toggle.for.cells.larger.than<br/><br/>If the value of the property is negative the toggle button will not be rendered.<br/><br/>Currently only large HTTP response content cells (if the actual value is displayed) are enabled for toggling.<br/><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>GET <span class="error"><div>Execution of Get caused exception 'Http call failed for IO failure'</div></span></td>
<td>/resources/100</td>
<td>200</td>
<td></td>
<td>/resource/type[text()='large content']</td>
</tr>
</table>
<br/><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>GET</td>
<td><div><a href='http://localhost:9876/resources/200'>/resources/200</a></div></td>
<td><span class="pass"><div>200</div></span></td>
<td><div>Set-Cookie&nbsp;:&nbsp;JID="ABC.${a.y}";<br/>Content-Type&nbsp;:&nbsp;application/xml;charset=ISO-8859-1<br/>Content-Length&nbsp;:&nbsp;295<br/>Server&nbsp;:&nbsp;Jetty(6.0.2)</div></td>
<td><span class="pass"><div>/resource/type[text()='one&nbsp;liner']<br/><i><span class='fit_label'>expected</span></i><hr/><br/><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'>toggle actual</p><div>&lt;resource&gt;<br/>&nbsp;&nbsp;&nbsp;&lt;name&gt;long&nbsp;foo&lt;/name&gt;<br/>&nbsp;&nbsp;&nbsp;&lt;type&gt;one&nbsp;liner&lt;/type&gt;<br/>&nbsp;&nbsp;&nbsp;&lt;data&gt;<br/>00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000&nbsp;&nbsp;&nbsp;&lt;/data&gt;<br/>&lt;/resource&gt;<br/></div></div><br/><i><span class='fit_label'>actual</span></i></div></span></td>
</tr>
</table>
<br/><br/></content>
<relativePageName>CollapseableContent</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=[[[GET, /resources/100, 200, , /resource/type[text()='large content']]]]}</instruction>
<slimResult>error()</slimResult>
<expectation>
<status>error</status>
<instructionId>tableTable_1_1</instructionId>
<type>TableTableExpectation</type>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='tableTable_2_0', instruction='make', instanceName='tableTable_2', 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_2_0</instructionId>
<col>0</col>
<row>0</row>
<type>ConstructionExpectation</type>
<evaluationMessage>Table: Rest Fixture</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='tableTable_2_1', instruction='call', instanceName='tableTable_2', methodName='doTable', args=[[[GET, /resources/200, 200, , /resource/type[text()='one liner']]]]}</instruction>
<slimResult>pass()</slimResult>
<expectation>
<status>pass</status>
<instructionId>tableTable_2_1</instructionId>
<type>TableTableExpectation</type>
</expectation>
</instructionResult>
</instructions>
</result>
<executionLog>
<testSystem></testSystem>
<command></command>
<exitCode>0</exitCode>
<stdOut>22:17:13,827 ERROR [RestFixture] - Exception occurred when processing method=Get
java.lang.IllegalStateException: Http call failed for IO failure
at smartrics.rest.client.RestClientImpl.execute(RestClientImpl.java:130)
at smartrics.rest.client.RestClientImpl.execute(RestClientImpl.java:100)
at smartrics.rest.fitnesse.fixture.RestFixture.doMethod(RestFixture.java:972)
at smartrics.rest.fitnesse.fixture.RestFixture.doMethod(RestFixture.java:924)
at smartrics.rest.fitnesse.fixture.RestFixture.doMethod(RestFixture.java:912)
at smartrics.rest.fitnesse.fixture.RestFixture.GET(RestFixture.java:585)
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)
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.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:152)
at java.net.SocketInputStream.read(SocketInputStream.java:122)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)
at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)
at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116)
at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973)
at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
at smartrics.rest.client.RestClientImpl.execute(RestClientImpl.java:118)
... 37 more
</stdOut> <stdErr></stdErr> </executionLog>
<finalCounts>
<right>0</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>1</exceptions>
</finalCounts>
<totalRunTimeInMillis>56962</totalRunTimeInMillis>
</testResults>