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.PostTests.20160224235241_0_0_0_1.xml Maven / Gradle / Ivy
<?xml version="1.0"?>
<testResults>
<FitNesseVersion>v20150424</FitNesseVersion>
<rootPath>RestFixtureTests.PostTests</rootPath>
<result>
<counts>
<right>0</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>44</exceptions>
</counts>
<runTimeInMillis>161</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/>Posting an XML should create a resource<br/><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>You set the body for the POST operation with the setBody.<br/>Here you can see how <b>let</b> is used. The first cell is the <i>label</i> of the variable.<br/>The follwoing cell indicates where to get the data from. That is either the <i>header</i> or the _body_ of the last successful HTTP response<br/>Then the expression to extract the value to be assigned to he variable. For <i>header</i> it has to be a regular expression, for _body_ it<br/>has to be an XPath whose execution must return a String node.<br/></div>
</div>
<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>let</td>
<td>name</td>
<td>const</td>
<td>test post</td>
<td></td>
</tr>
<tr class="slimRowColor1">
<td>setBody</td>
<td colspan="4">&lt;resource&gt;&lt;name&gt;%name%&lt;/name&gt;&lt;data&gt;some data&lt;/data&gt;&lt;/resource&gt;</td>
</tr>
<tr class="slimRowColor0">
<td>POST</td>
<td>/resources</td>
<td>201</td>
<td></td>
<td>no-body</td>
</tr>
<tr class="slimRowColor1">
<td>let</td>
<td>id</td>
<td>header</td>
<td>Location:/resources/(.+)</td>
<td></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">Note</p>
<div>Variables are global: here the GET op is executed on an URI containing <b>%id%</b> where the label 'id' is defined in the test above.<br/>The test succeedes only if the resulting XPath match the XML used for the creation of the resource.<br/>You can also put variables in the expected result<br/>The subsequent <b>let</b> operation shows how to use XPaths in the body.<br/><br/>Label values can be accessed from code using <b>new Variables().get("labelname");</b><br/></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 on fit.Fixture symbol map</p>
<div>Labels are implemented on top of the Fitnesse symbols map. So every label set via RestFixture is accessible via <b>fit.Fixture.getSymbol()</b>.<br/><br/>If a label starts with $, the $ is ignored.<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>GET</td>
<td>/resources/%id%</td>
<td>200</td>
<td></td>
<td>
/resource/name[text()='test post']<br/>
/resource/data[text()='some data']
</td>
</tr>
<tr class="slimRowColor1">
<td>let</td>
<td>name</td>
<td>body</td>
<td>/resource/name/text()</td>
<td></td>
</tr>
<tr class="slimRowColor0">
<td>let</td>
<td>$symName</td>
<td>body</td>
<td>/resource/name/text()</td>
<td></td>
</tr>
</table>
<br/>Labels that are set to null are rendered using the default value for null, e.g. the string "null"<br/><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>GET</td>
<td>/resources/%id%</td>
<td>200</td>
<td></td>
<td></td>
</tr>
<tr class="slimRowColor1">
<td>let</td>
<td>thisIsNull</td>
<td>body</td>
<td>/resource/somewhereelse/text()</td>
<td></td>
</tr>
<tr class="slimRowColor0">
<td>comment</td>
<td colspan="4">this is null: '%thisIsNull%'</td>
</tr>
</table>
<br/>Albeit, the value can be overridden<br/><br/><table>
<tr class="slimRowTitle">
<td>Table: Rest Fixture Config <span class="error">Could not invoke constructor for RestFixtureConfig[1]</span></td>
<td>withBespokeNullRepresentation</td>
</tr>
<tr class="slimRowColor0">
<td>restfixture.null.value.representation</td>
<td></td>
</tr>
</table>
<br/><table>
<tr class="slimRowTitle">
<td>Table: Rest Fixture <span class="error">Could not invoke constructor for RestFixture[2]</span></td>
<td><a href="http://localhost:9876">http://localhost:9876</a></td>
<td colspan="3">withBespokeNullRepresentation</td>
</tr>
<tr class="slimRowColor0">
<td>GET</td>
<td>/resources/%id%</td>
<td>200</td>
<td></td>
<td></td>
</tr>
<tr class="slimRowColor1">
<td>let</td>
<td>thisIsNull</td>
<td>body</td>
<td>/resource/somewhereelse/text()</td>
<td></td>
</tr>
<tr class="slimRowColor0">
<td>comment</td>
<td colspan="4">this is null: '%thisIsNull%'</td>
</tr>
</table>
<br/><table>
<tr class="slimRowTitle">
<td>Table: Rest Fixture Config <span class="error">Could not invoke constructor for RestFixtureConfig[1]</span></td>
<td>withBespokeNullRepresentation</td>
</tr>
<tr class="slimRowColor0">
<td>restfixture.null.value.representation</td>
<td>NIL</td>
</tr>
</table>
<br/><table>
<tr class="slimRowTitle">
<td>Table: Rest Fixture <span class="error">Could not invoke constructor for RestFixture[2]</span></td>
<td><a href="http://localhost:9876">http://localhost:9876</a></td>
<td colspan="3">withBespokeNullRepresentation</td>
</tr>
<tr class="slimRowColor0">
<td>GET</td>
<td>/resources/%id%</td>
<td>200</td>
<td></td>
<td></td>
</tr>
<tr class="slimRowColor1">
<td>let</td>
<td>thisIsNull</td>
<td>body</td>
<td>/resource/somewhereelse/text()</td>
<td></td>
</tr>
<tr class="slimRowColor0">
<td>comment</td>
<td colspan="4">this is null: '%thisIsNull%'</td>
</tr>
</table>
<br/><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">Json</p>
<div>Expectations can be asserted also in json format for responses whose content type is 'application/json'<br/>Variables may be substitued in the expected result<br/></div>
</div>
<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"> { "resource" : { "name" : "test post", "data" : "some data" } } </td>
</tr>
<tr class="slimRowColor1">
<td>POST</td>
<td>/resources/</td>
<td>201</td>
<td></td>
<td>no-body</td>
</tr>
<tr class="slimRowColor0">
<td>let</td>
<td>id</td>
<td>header</td>
<td>Location:/resources/(.+)</td>
<td></td>
</tr>
</table>
<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>GET</td>
<td>/resources/%id%.json</td>
<td>200</td>
<td>Content-Type : application/json</td>
<td>
jsonbody.resource.name=='test post' <br/>
jsonbody.resource.data=='some data'
</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">File uploads</p>
<div>Use the multipartFile property to upload files to a server<br/></div>
</div>
<br/><table>
<tr class="slimRowTitle">
<td>script</td>
<td colspan="2">smartrics.rest.test.fitnesse.fixture.FileUtilFixture <span class="error">Could not invoke constructor for smartrics.rest.test.fitnesse.fixture.FileUtilFixture[0]</span></td>
</tr>
<tr class="slimRowColor3">
<td>content <span class="error">The instance scriptTableActor.content. does not exist</span></td>
<td colspan="2"> { "resource" : { "name" : "test post", "data" : "some data" } } </td>
</tr>
<tr class="slimRowColor7">
<td>name <span class="error">The instance scriptTableActor.name. does not exist</span></td>
<td colspan="2">target/live-docs-temp/tempfile</td>
</tr>
<tr class="slimRowColor0">
<td>check</td>
<td>create</td>
<td>true <span class="error">The instance scriptTableActor.create. does not exist</span></td>
</tr>
<tr class="slimRowColor0">
<td>check</td>
<td>exists</td>
<td>true <span class="error">The instance scriptTableActor.exists. does not exist</span></td>
</tr>
</table>
<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>setMultipartFileName</td>
<td colspan="4">target/live-docs-temp/tempfile</td>
</tr>
<tr class="slimRowColor1">
<td>POST</td>
<td>/resources/</td>
<td>200</td>
<td></td>
<td>file: { "resource" : { "name" : "test post", "data" : "some data" } }</td>
</tr>
</table>
<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>setMultipartFileName</td>
<td colspan="4">target/live-docs-temp/tempfile</td>
</tr>
<tr class="slimRowColor1">
<td>setMultipartFileParameterName</td>
<td colspan="4">abc123</td>
</tr>
<tr class="slimRowColor0">
<td>POST</td>
<td>/resources/</td>
<td>200</td>
<td></td>
<td>abc123: { "resource" : { "name" : "test post", "data" : "some data" } }</td>
</tr>
</table>
<br/>Use simple file upload<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>setFileName</td>
<td colspan="4">target/live-docs-temp/tempfile</td>
</tr>
<tr class="slimRowColor1">
<td>POST</td>
<td>/resources/</td>
<td>200</td>
<td></td>
<td>{ "resource" : { "name" : "test post", "data" : "some data" } }</td>
</tr>
</table>
<br/><br/><table>
<tr class="slimRowTitle">
<td>script</td>
<td colspan="2">smartrics.rest.test.fitnesse.fixture.FileUtilFixture <span class="error">Could not invoke constructor for smartrics.rest.test.fitnesse.fixture.FileUtilFixture[0]</span></td>
</tr>
<tr class="slimRowColor7">
<td>name <span class="error">The instance scriptTableActor.name. does not exist</span></td>
<td colspan="2">target/live-docs-temp/tempfile</td>
</tr>
<tr class="slimRowColor0">
<td>check</td>
<td>delete</td>
<td>true <span class="error">The instance scriptTableActor.delete. does not exist</span></td>
</tr>
<tr class="slimRowColor0">
<td>check</td>
<td>exists</td>
<td>false <span class="error">The instance scriptTableActor.exists. does not exist</span></td>
</tr>
</table>
<br/>Other than the aforementioned content types you can emulate form POSTs. <br/>Remember to escape the setBody content cell with <br/><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>setHeader</td>
<td colspan="4">Content-Type : application/x-www-form-urlencoded;charset=UTF-8</td>
</tr>
<tr class="slimRowColor1">
<td>setBody</td>
<td colspan="4">name=test%20post&data=some%20data</td>
</tr>
<tr class="slimRowColor0">
<td>POST</td>
<td>/resources</td>
<td>201</td>
<td></td>
<td>no-body</td>
</tr>
<tr class="slimRowColor1">
<td>let</td>
<td>id</td>
<td>header</td>
<td>Location:/resources/(.+)</td>
<td></td>
</tr>
</table>
<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>GET</td>
<td>/resources/%id%</td>
<td>200</td>
<td></td>
<td>
/resource/name[text()='test post']
/resource/data[text()='some data']
</td>
</tr>
</table>
<br/>Header values can also be substituted with symbols previously defined:<br/><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>let</td>
<td>contenttype</td>
<td>const</td>
<td>application/x-www-form-urlencoded;charset=UTF-8</td>
<td></td>
</tr>
<tr class="slimRowColor1">
<td>setHeader</td>
<td colspan="4">Content-Type : %contenttype%</td>
</tr>
<tr class="slimRowColor0">
<td>setBody</td>
<td colspan="4">name=test%20post&data=some%20data</td>
</tr>
<tr class="slimRowColor1">
<td>POST</td>
<td>/resources</td>
<td>201</td>
<td></td>
<td>no-body</td>
</tr>
<tr class="slimRowColor0">
<td>let</td>
<td>id</td>
<td>header</td>
<td>Location:/resources/(.+)</td>
<td></td>
</tr>
</table>
<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>GET</td>
<td>/resources/%id%</td>
<td>200</td>
<td></td>
<td>
/resource/name[text()='test post']
/resource/data[text()='some data']
</td>
</tr>
</table>
<br/><br/></content>
<relativePageName>PostTests</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=[[[let, name, const, test post, ], [setBody, <resource><name>%name%</name><data>some data</data></resource>], [POST, /resources, 201, , no-body], [let, id, header, Location:/resources/(.+), ]]]}</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>
<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></slimResult>
<expectation>
<status>error</status>
<instructionId>tableTable_2_0</instructionId>
<type>ConstructionExpectation</type>
<evaluationMessage>Could not invoke constructor for RestFixture[1]</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='tableTable_2_1', instruction='call', instanceName='tableTable_2', methodName='doTable', args=[[[GET, /resources/%id%, 200, ,
/resource/name[text()='test post']<br/>
/resource/data[text()='some data']
], [let, name, body, /resource/name/text(), ], [let, $symName, body, /resource/name/text(), ]]]}</instruction>
<slimResult></slimResult>
<expectation>
<status>error</status>
<instructionId>tableTable_2_1</instructionId>
<type>TableTableExpectation</type>
<evaluationMessage>The instance tableTable_2.doTable. does not exist</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='tableTable_3_0', instruction='make', instanceName='tableTable_3', className='RestFixture', args=[<a href="http://localhost:9876">http://localhost:9876</a>]}</instruction>
<slimResult></slimResult>
<expectation>
<status>error</status>
<instructionId>tableTable_3_0</instructionId>
<type>ConstructionExpectation</type>
<evaluationMessage>Could not invoke constructor for RestFixture[1]</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='tableTable_3_1', instruction='call', instanceName='tableTable_3', methodName='doTable', args=[[[GET, /resources/%id%, 200, , ], [let, thisIsNull, body, /resource/somewhereelse/text(), ], [comment, this is null: '%thisIsNull%']]]}</instruction>
<slimResult></slimResult>
<expectation>
<status>error</status>
<instructionId>tableTable_3_1</instructionId>
<type>TableTableExpectation</type>
<evaluationMessage>The instance tableTable_3.doTable. does not exist</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='tableTable_4_0', instruction='make', instanceName='tableTable_4', className='RestFixtureConfig', args=[withBespokeNullRepresentation]}</instruction>
<slimResult></slimResult>
<expectation>
<status>error</status>
<instructionId>tableTable_4_0</instructionId>
<type>ConstructionExpectation</type>
<evaluationMessage>Could not invoke constructor for RestFixtureConfig[1]</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='tableTable_4_1', instruction='call', instanceName='tableTable_4', methodName='doTable', args=[[[restfixture.null.value.representation, ]]]}</instruction>
<slimResult></slimResult>
<expectation>
<status>error</status>
<instructionId>tableTable_4_1</instructionId>
<type>TableTableExpectation</type>
<evaluationMessage>The instance tableTable_4.doTable. does not exist</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='tableTable_5_0', instruction='make', instanceName='tableTable_5', className='RestFixture', args=[<a href="http://localhost:9876">http://localhost:9876</a>, withBespokeNullRepresentation]}</instruction>
<slimResult></slimResult>
<expectation>
<status>error</status>
<instructionId>tableTable_5_0</instructionId>
<type>ConstructionExpectation</type>
<evaluationMessage>Could not invoke constructor for RestFixture[2]</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='tableTable_5_1', instruction='call', instanceName='tableTable_5', methodName='doTable', args=[[[GET, /resources/%id%, 200, , ], [let, thisIsNull, body, /resource/somewhereelse/text(), ], [comment, this is null: '%thisIsNull%']]]}</instruction>
<slimResult></slimResult>
<expectation>
<status>error</status>
<instructionId>tableTable_5_1</instructionId>
<type>TableTableExpectation</type>
<evaluationMessage>The instance tableTable_5.doTable. does not exist</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='tableTable_6_0', instruction='make', instanceName='tableTable_6', className='RestFixtureConfig', args=[withBespokeNullRepresentation]}</instruction>
<slimResult></slimResult>
<expectation>
<status>error</status>
<instructionId>tableTable_6_0</instructionId>
<type>ConstructionExpectation</type>
<evaluationMessage>Could not invoke constructor for RestFixtureConfig[1]</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='tableTable_6_1', instruction='call', instanceName='tableTable_6', methodName='doTable', args=[[[restfixture.null.value.representation, NIL]]]}</instruction>
<slimResult></slimResult>
<expectation>
<status>error</status>
<instructionId>tableTable_6_1</instructionId>
<type>TableTableExpectation</type>
<evaluationMessage>The instance tableTable_6.doTable. does not exist</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='tableTable_7_0', instruction='make', instanceName='tableTable_7', className='RestFixture', args=[<a href="http://localhost:9876">http://localhost:9876</a>, withBespokeNullRepresentation]}</instruction>
<slimResult></slimResult>
<expectation>
<status>error</status>
<instructionId>tableTable_7_0</instructionId>
<type>ConstructionExpectation</type>
<evaluationMessage>Could not invoke constructor for RestFixture[2]</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='tableTable_7_1', instruction='call', instanceName='tableTable_7', methodName='doTable', args=[[[GET, /resources/%id%, 200, , ], [let, thisIsNull, body, /resource/somewhereelse/text(), ], [comment, this is null: '%thisIsNull%']]]}</instruction>
<slimResult></slimResult>
<expectation>
<status>error</status>
<instructionId>tableTable_7_1</instructionId>
<type>TableTableExpectation</type>
<evaluationMessage>The instance tableTable_7.doTable. does not exist</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='tableTable_8_0', instruction='make', instanceName='tableTable_8', className='RestFixture', args=[<a href="http://localhost:9876">http://localhost:9876</a>]}</instruction>
<slimResult></slimResult>
<expectation>
<status>error</status>
<instructionId>tableTable_8_0</instructionId>
<type>ConstructionExpectation</type>
<evaluationMessage>Could not invoke constructor for RestFixture[1]</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='tableTable_8_1', instruction='call', instanceName='tableTable_8', methodName='doTable', args=[[[setBody, { "resource" : { "name" : "test post", "data" : "some data" } } ], [POST, /resources/, 201, , no-body], [let, id, header, Location:/resources/(.+), ]]]}</instruction>
<slimResult></slimResult>
<expectation>
<status>error</status>
<instructionId>tableTable_8_1</instructionId>
<type>TableTableExpectation</type>
<evaluationMessage>The instance tableTable_8.doTable. does not exist</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='tableTable_9_0', instruction='make', instanceName='tableTable_9', className='RestFixture', args=[<a href="http://localhost:9876">http://localhost:9876</a>]}</instruction>
<slimResult></slimResult>
<expectation>
<status>error</status>
<instructionId>tableTable_9_0</instructionId>
<type>ConstructionExpectation</type>
<evaluationMessage>Could not invoke constructor for RestFixture[1]</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='tableTable_9_1', instruction='call', instanceName='tableTable_9', methodName='doTable', args=[[[GET, /resources/%id%.json, 200, Content-Type : application/json,
jsonbody.resource.name=='test post' <br/>
jsonbody.resource.data=='some data'
]]]}</instruction>
<slimResult></slimResult>
<expectation>
<status>error</status>
<instructionId>tableTable_9_1</instructionId>
<type>TableTableExpectation</type>
<evaluationMessage>The instance tableTable_9.doTable. does not exist</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='scriptTable_10_0', instruction='make', instanceName='scriptTableActor', className='smartrics.rest.test.fitnesse.fixture.FileUtilFixture', args=[]}</instruction>
<slimResult></slimResult>
<expectation>
<status>error</status>
<instructionId>scriptTable_10_0</instructionId>
<type>ConstructionExpectation</type>
<evaluationMessage>Could not invoke constructor for smartrics.rest.test.fitnesse.fixture.FileUtilFixture[0]</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='scriptTable_10_1', instruction='call', instanceName='scriptTableActor', methodName='content', args=[ { "resource" : { "name" : "test post", "data" : "some data" } } ]}</instruction>
<slimResult></slimResult>
<expectation>
<status>error</status>
<instructionId>scriptTable_10_1</instructionId>
<type>ScriptActionExpectation</type>
<evaluationMessage>The instance scriptTableActor.content. does not exist</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='scriptTable_10_2', instruction='call', instanceName='scriptTableActor', methodName='name', args=[target/live-docs-temp/tempfile]}</instruction>
<slimResult></slimResult>
<expectation>
<status>error</status>
<instructionId>scriptTable_10_2</instructionId>
<type>ScriptActionExpectation</type>
<evaluationMessage>The instance scriptTableActor.name. does not exist</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='scriptTable_10_3', instruction='call', instanceName='scriptTableActor', methodName='create', args=[]}</instruction>
<slimResult></slimResult>
<expectation>
<status>error</status>
<instructionId>scriptTable_10_3</instructionId>
<type>ReturnedValueExpectation</type>
<evaluationMessage>The instance scriptTableActor.create. does not exist</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='scriptTable_10_4', instruction='call', instanceName='scriptTableActor', methodName='exists', args=[]}</instruction>
<slimResult></slimResult>
<expectation>
<status>error</status>
<instructionId>scriptTable_10_4</instructionId>
<type>ReturnedValueExpectation</type>
<evaluationMessage>The instance scriptTableActor.exists. does not exist</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='tableTable_11_0', instruction='make', instanceName='tableTable_11', className='RestFixture', args=[<a href="http://localhost:9876">http://localhost:9876</a>]}</instruction>
<slimResult></slimResult>
<expectation>
<status>error</status>
<instructionId>tableTable_11_0</instructionId>
<type>ConstructionExpectation</type>
<evaluationMessage>Could not invoke constructor for RestFixture[1]</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='tableTable_11_1', instruction='call', instanceName='tableTable_11', methodName='doTable', args=[[[setMultipartFileName, target/live-docs-temp/tempfile], [POST, /resources/, 200, , file: { "resource" : { "name" : "test post", "data" : "some data" } }]]]}</instruction>
<slimResult></slimResult>
<expectation>
<status>error</status>
<instructionId>tableTable_11_1</instructionId>
<type>TableTableExpectation</type>
<evaluationMessage>The instance tableTable_11.doTable. does not exist</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='tableTable_12_0', instruction='make', instanceName='tableTable_12', className='RestFixture', args=[<a href="http://localhost:9876">http://localhost:9876</a>]}</instruction>
<slimResult></slimResult>
<expectation>
<status>error</status>
<instructionId>tableTable_12_0</instructionId>
<type>ConstructionExpectation</type>
<evaluationMessage>Could not invoke constructor for RestFixture[1]</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='tableTable_12_1', instruction='call', instanceName='tableTable_12', methodName='doTable', args=[[[setMultipartFileName, target/live-docs-temp/tempfile], [setMultipartFileParameterName, abc123], [POST, /resources/, 200, , abc123: { "resource" : { "name" : "test post", "data" : "some data" } }]]]}</instruction>
<slimResult></slimResult>
<expectation>
<status>error</status>
<instructionId>tableTable_12_1</instructionId>
<type>TableTableExpectation</type>
<evaluationMessage>The instance tableTable_12.doTable. does not exist</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='tableTable_13_0', instruction='make', instanceName='tableTable_13', className='RestFixture', args=[<a href="http://localhost:9876">http://localhost:9876</a>]}</instruction>
<slimResult></slimResult>
<expectation>
<status>error</status>
<instructionId>tableTable_13_0</instructionId>
<type>ConstructionExpectation</type>
<evaluationMessage>Could not invoke constructor for RestFixture[1]</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='tableTable_13_1', instruction='call', instanceName='tableTable_13', methodName='doTable', args=[[[setFileName, target/live-docs-temp/tempfile], [POST, /resources/, 200, , { "resource" : { "name" : "test post", "data" : "some data" } }]]]}</instruction>
<slimResult></slimResult>
<expectation>
<status>error</status>
<instructionId>tableTable_13_1</instructionId>
<type>TableTableExpectation</type>
<evaluationMessage>The instance tableTable_13.doTable. does not exist</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='scriptTable_14_0', instruction='make', instanceName='scriptTableActor', className='smartrics.rest.test.fitnesse.fixture.FileUtilFixture', args=[]}</instruction>
<slimResult></slimResult>
<expectation>
<status>error</status>
<instructionId>scriptTable_14_0</instructionId>
<type>ConstructionExpectation</type>
<evaluationMessage>Could not invoke constructor for smartrics.rest.test.fitnesse.fixture.FileUtilFixture[0]</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='scriptTable_14_1', instruction='call', instanceName='scriptTableActor', methodName='name', args=[target/live-docs-temp/tempfile]}</instruction>
<slimResult></slimResult>
<expectation>
<status>error</status>
<instructionId>scriptTable_14_1</instructionId>
<type>ScriptActionExpectation</type>
<evaluationMessage>The instance scriptTableActor.name. does not exist</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='scriptTable_14_2', instruction='call', instanceName='scriptTableActor', methodName='delete', args=[]}</instruction>
<slimResult></slimResult>
<expectation>
<status>error</status>
<instructionId>scriptTable_14_2</instructionId>
<type>ReturnedValueExpectation</type>
<evaluationMessage>The instance scriptTableActor.delete. does not exist</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='scriptTable_14_3', instruction='call', instanceName='scriptTableActor', methodName='exists', args=[]}</instruction>
<slimResult></slimResult>
<expectation>
<status>error</status>
<instructionId>scriptTable_14_3</instructionId>
<type>ReturnedValueExpectation</type>
<evaluationMessage>The instance scriptTableActor.exists. does not exist</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='tableTable_15_0', instruction='make', instanceName='tableTable_15', className='RestFixture', args=[<a href="http://localhost:9876">http://localhost:9876</a>]}</instruction>
<slimResult></slimResult>
<expectation>
<status>error</status>
<instructionId>tableTable_15_0</instructionId>
<type>ConstructionExpectation</type>
<evaluationMessage>Could not invoke constructor for RestFixture[1]</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='tableTable_15_1', instruction='call', instanceName='tableTable_15', methodName='doTable', args=[[[setHeader, Content-Type : application/x-www-form-urlencoded;charset=UTF-8], [setBody, name=test%20post&data=some%20data], [POST, /resources, 201, , no-body], [let, id, header, Location:/resources/(.+), ]]]}</instruction>
<slimResult></slimResult>
<expectation>
<status>error</status>
<instructionId>tableTable_15_1</instructionId>
<type>TableTableExpectation</type>
<evaluationMessage>The instance tableTable_15.doTable. does not exist</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='tableTable_16_0', instruction='make', instanceName='tableTable_16', className='RestFixture', args=[<a href="http://localhost:9876">http://localhost:9876</a>]}</instruction>
<slimResult></slimResult>
<expectation>
<status>error</status>
<instructionId>tableTable_16_0</instructionId>
<type>ConstructionExpectation</type>
<evaluationMessage>Could not invoke constructor for RestFixture[1]</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='tableTable_16_1', instruction='call', instanceName='tableTable_16', methodName='doTable', args=[[[GET, /resources/%id%, 200, ,
/resource/name[text()='test post']
/resource/data[text()='some data']
]]]}</instruction>
<slimResult></slimResult>
<expectation>
<status>error</status>
<instructionId>tableTable_16_1</instructionId>
<type>TableTableExpectation</type>
<evaluationMessage>The instance tableTable_16.doTable. does not exist</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='tableTable_17_0', instruction='make', instanceName='tableTable_17', className='RestFixture', args=[<a href="http://localhost:9876">http://localhost:9876</a>]}</instruction>
<slimResult></slimResult>
<expectation>
<status>error</status>
<instructionId>tableTable_17_0</instructionId>
<type>ConstructionExpectation</type>
<evaluationMessage>Could not invoke constructor for RestFixture[1]</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='tableTable_17_1', instruction='call', instanceName='tableTable_17', methodName='doTable', args=[[[let, contenttype, const, application/x-www-form-urlencoded;charset=UTF-8, ], [setHeader, Content-Type : %contenttype%], [setBody, name=test%20post&data=some%20data], [POST, /resources, 201, , no-body], [let, id, header, Location:/resources/(.+), ]]]}</instruction>
<slimResult></slimResult>
<expectation>
<status>error</status>
<instructionId>tableTable_17_1</instructionId>
<type>TableTableExpectation</type>
<evaluationMessage>The instance tableTable_17.doTable. does not exist</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='tableTable_18_0', instruction='make', instanceName='tableTable_18', className='RestFixture', args=[<a href="http://localhost:9876">http://localhost:9876</a>]}</instruction>
<slimResult></slimResult>
<expectation>
<status>error</status>
<instructionId>tableTable_18_0</instructionId>
<type>ConstructionExpectation</type>
<evaluationMessage>Could not invoke constructor for RestFixture[1]</evaluationMessage>
</expectation>
</instructionResult>
<instructionResult>
<instruction>{id='tableTable_18_1', instruction='call', instanceName='tableTable_18', methodName='doTable', args=[[[GET, /resources/%id%, 200, ,
/resource/name[text()='test post']
/resource/data[text()='some data']
]]]}</instruction>
<slimResult></slimResult>
<expectation>
<status>error</status>
<instructionId>tableTable_18_1</instructionId>
<type>TableTableExpectation</type>
<evaluationMessage>The instance tableTable_18.doTable. does not exist</evaluationMessage>
</expectation>
</instructionResult>
</instructions>
</result>
<finalCounts>
<right>0</right>
<wrong>0</wrong>
<ignores>0</ignores>
<exceptions>1</exceptions>
</finalCounts>
<totalRunTimeInMillis>161</totalRunTimeInMillis>
</testResults>