![JAR search and dependency download from the Maven repository](/logo.png)
FitNesseRoot.files.testResults.RestFixtureTests.IssueFixes.Issue169.20160517142148_1_0_0_0.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>v20151230</FitNesseVersion> <rootPath>RestFixtureTests.IssueFixes.Issue169</rootPath> <result> <counts> <right>7</right> <wrong>0</wrong> <ignores>0</ignores> <exceptions>0</exceptions> </counts> <date>2016-05-17T14:21:48+01:00</date> <runTimeInMillis>59</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/><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>something_with_<br/>carriage_return_and<br/>ending_with_equals_%3D</div></td> <td><div>something_with_<br/>carriage_return_and<br/>ending_with_equals_%3D</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</td> <td colspan="4"><span class="pass"><div>MD=3000900053976733&PaReq=something_with_<br/>carriage_return_and<br/>ending_with_equals_%3D&TermUrl=https%3A%2F%2Fdev01-realm1-mothercare.demandware.net%2Fon%2Fdemandware.store%2FSites-MCENGB-Site%2Fdefault%2FHello-Start&submit=submit</div></span></td> </tr> <tr class="slimRowColor0"> <td>POST</td> <td><div><a href='http://localhost:9876/resources'>/resources</a></div></td> <td><span class="pass"><div>201</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> <tr class="slimRowColor1"> <td>let</td> <td>ID</td> <td>header</td> <td><div>Location:/resources/(\d)</div></td> <td><div>2</div></td> </tr> <tr class="slimRowColor0"> <td>GET</td> <td><div><a href='http://localhost:9876/resources/2'>/resources/2</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;268<br/>Server&nbsp;:&nbsp;Jetty(6.0.2)</div></td> <td><span class="pass"><div>&nbsp;/resource/MD[text()='3000900053976733']&nbsp;&lt;br/&gt;<br/>&nbsp;/resource/TermUrl[text()='https://dev01-realm1-mothercare.demandware.net/on/demandware.store/Sites-MCENGB-Site/default/Hello-Start']&lt;br/&gt;<br/>&nbsp;/resource/PaReq[contains(text(),'ending_with_equals_=')]<br/><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/>&lt;MD&gt;3000900053976733&lt;/MD&gt;<br/>&lt;PaReq&gt;something_with_<br/>carriage_return_and<br/>ending_with_equals_=&lt;/PaReq&gt;<br/>&lt;TermUrl&gt;https://dev01-realm1-mothercare.demandware.net/on/demandware.store/Sites-MCENGB-Site/default/Hello-Start&lt;/TermUrl&gt;<br/>&lt;submit&gt;submit&lt;/submit&gt;<br/>&lt;/resource&gt;</div></div><br/><i><span class='fit_label'>actual</span></i></div></span></td> </tr> </table> </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, something_with_ carriage_return_and ending_with_equals_%3D, ], [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, 201, , ], [let, ID, header, Location:/resources/(\d), ], [GET, /resources/%ID%, 200, , /resource/MD[text()='3000900053976733'] <br/> /resource/TermUrl[text()='https://dev01-realm1-mothercare.demandware.net/on/demandware.store/Sites-MCENGB-Site/default/Hello-Start']<br/> /resource/PaReq[contains(text(),'ending_with_equals_=')] ]]]}</instruction> <slimResult>pass()</slimResult> <expectation> <status>pass</status> <instructionId>tableTable_1_1</instructionId> <type>TableTableExpectation</type> </expectation> </instructionResult> </instructions> </result> <finalCounts> <right>1</right> <wrong>0</wrong> <ignores>0</ignores> <exceptions>0</exceptions> </finalCounts> <totalRunTimeInMillis>59</totalRunTimeInMillis> </testResults>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy