![JAR search and dependency download from the Maven repository](/logo.png)
FitNesseRoot.files.testResults.RestFixtureTests.PutTests.20160224235329_0_0_0_1.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of smartrics-RestFixture-LiveDoc Show documentation
Show all versions of smartrics-RestFixture-LiveDoc Show documentation
FitNesse tests documenting the RestFixture
<?xml version="1.0"?> <testResults> <FitNesseVersion>v20150424</FitNesseVersion> <rootPath>RestFixtureTests.PutTests</rootPath> <result> <counts> <right>0</right> <wrong>0</wrong> <ignores>0</ignores> <exceptions>5</exceptions> </counts> <runTimeInMillis>50</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">http server fixture <span class="error">Could not invoke constructor for HttpServerFixture[0]</span></td> </tr> <tr class="slimRowColor0"> <td>check</td> <td>is started</td> <td>true <span class="error">The instance scriptTableActor.isStarted. does not exist</span></td> </tr> <tr class="slimRowColor9"> <td colspan="3">reset resources database <span class="error">The instance scriptTableActor.resetResourcesDatabase. does not exist</span></td> </tr> </table> </div> </div> <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">Note</p> <div>This test shows how to pass bespoke headers in the request. In this specific case, the stub echoes back the 'Echo-Header', so that the <br/>following PUT and GET can match it the response.<br/></div> </div> <br/><table> <tr class="slimRowTitle"> <td>Table: Rest Fixture <span class="error">Could not invoke constructor for RestFixture[1]</span></td> <td colspan="4"><a href="http://localhost:9876">http://localhost:9876</a></td> </tr> <tr class="slimRowColor0"> <td>setBody</td> <td colspan="4">&lt;resource&gt;&lt;name&gt;name being updated&lt;/name&gt;&lt;data&gt;data being updated&lt;/data&gt;&lt;/resource&gt;</td> </tr> <tr class="slimRowColor1"> <td>setHeader</td> <td colspan="4">Echo-Header : echoed</td> </tr> <tr class="slimRowColor0"> <td>PUT</td> <td>/resources/0</td> <td>200</td> <td>Echo-Header : echoed</td> <td>no-body</td> </tr> <tr class="slimRowColor1"> <td>GET</td> <td>/resources/0</td> <td>200</td> <td>Echo-Header : echoed</td> <td> /resource/name[text()='name being updated'] <br/> /resource/data[text()='data being updated'] </td> </tr> </table> </content> <relativePageName>PutTests</relativePageName> <instructions> <instructionResult> <instruction>{id='scriptTable_0_0', instruction='make', instanceName='scriptTableActor', className='HttpServerFixture', args=[]}</instruction> <slimResult></slimResult> <expectation> <status>error</status> <instructionId>scriptTable_0_0</instructionId> <type>ConstructionExpectation</type> <evaluationMessage>Could not invoke constructor for HttpServerFixture[0]</evaluationMessage> </expectation> </instructionResult> <instructionResult> <instruction>{id='scriptTable_0_1', instruction='call', instanceName='scriptTableActor', methodName='isStarted', args=[]}</instruction> <slimResult></slimResult> <expectation> <status>error</status> <instructionId>scriptTable_0_1</instructionId> <type>ReturnedValueExpectation</type> <evaluationMessage>The instance scriptTableActor.isStarted. does not exist</evaluationMessage> </expectation> </instructionResult> <instructionResult> <instruction>{id='scriptTable_0_2', instruction='call', instanceName='scriptTableActor', methodName='resetResourcesDatabase', args=[]}</instruction> <slimResult></slimResult> <expectation> <status>error</status> <instructionId>scriptTable_0_2</instructionId> <type>ScriptActionExpectation</type> <evaluationMessage>The instance scriptTableActor.resetResourcesDatabase. does not exist</evaluationMessage> </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></slimResult> <expectation> <status>error</status> <instructionId>tableTable_1_0</instructionId> <type>ConstructionExpectation</type> <evaluationMessage>Could not invoke constructor for RestFixture[1]</evaluationMessage> </expectation> </instructionResult> <instructionResult> <instruction>{id='tableTable_1_1', instruction='call', instanceName='tableTable_1', methodName='doTable', args=[[[setBody, <resource><name>name being updated</name><data>data being updated</data></resource>], [setHeader, Echo-Header : echoed], [PUT, /resources/0, 200, Echo-Header : echoed, no-body], [GET, /resources/0, 200, Echo-Header : echoed, /resource/name[text()='name being updated'] <br/> /resource/data[text()='data being updated'] ]]]}</instruction> <slimResult></slimResult> <expectation> <status>error</status> <instructionId>tableTable_1_1</instructionId> <type>TableTableExpectation</type> <evaluationMessage>The instance tableTable_1.doTable. does not exist</evaluationMessage> </expectation> </instructionResult> </instructions> </result> <finalCounts> <right>0</right> <wrong>0</wrong> <ignores>0</ignores> <exceptions>1</exceptions> </finalCounts> <totalRunTimeInMillis>50</totalRunTimeInMillis> </testResults>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy