All Downloads are FREE. Search and download functionalities are using the official Maven repository.

FitNesseRoot.files.testResults.RestFixtureTests.IssueFixes.Issue169.20160517141814_1_0_0_0.xml Maven / Gradle / Ivy

<?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:18:14+01:00</date>
    <runTimeInMillis>55</runTimeInMillis>
    <content>&lt;div class="collapsible closed"&gt;&lt;ul&gt;&lt;li&gt;&lt;a href='#' class='expandall'&gt;Expand&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href='#' class='collapseall'&gt;Collapse&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
	&lt;p class="title"&gt;Included page: &lt;a href="RestFixtureTests.SetUp"&gt;.RestFixtureTests.SetUp&lt;/a&gt; &lt;a href="RestFixtureTests.SetUp?edit&amp;amp;redirectToReferer=true&amp;amp;redirectAction=" class="edit"&gt;(edit)&lt;/a&gt;&lt;/p&gt;
	&lt;div&gt;&lt;table&gt;
	&lt;tr class="slimRowTitle"&gt;
		&lt;td&gt;script&lt;/td&gt;
		&lt;td colspan="2"&gt;&lt;span class="pass"&gt;smartrics.rest.test.fitnesse.fixture.HttpServerFixture&lt;/span&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class="slimRowColor0"&gt;
		&lt;td&gt;check&lt;/td&gt;
		&lt;td&gt;is started&lt;/td&gt;
		&lt;td&gt;&lt;span class="pass"&gt;true&lt;/span&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class="slimRowColor9"&gt;
		&lt;td colspan="3"&gt;&lt;span class="pass"&gt;reset resources database&lt;/span&gt;&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br/&gt;&lt;h3&gt;&lt;a href="https://github.com/smartrics/RestFixture/issues/169"&gt;Issue #169&lt;/a&gt; Posting binary data&lt;/h3&gt;
&lt;br/&gt;&lt;table&gt;
	&lt;tr class="slimRowTitle"&gt;
		&lt;td&gt;&lt;span class="pass"&gt;Table: Rest Fixture&lt;/span&gt;&lt;/td&gt;
		&lt;td colspan="4"&gt;&lt;a href="http://localhost:9876"&gt;http://localhost:9876&lt;/a&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class="slimRowColor0"&gt;
		&lt;td&gt;let&lt;/td&gt;
		&lt;td&gt;MD&lt;/td&gt;
		&lt;td&gt;const&lt;/td&gt;
		&lt;td&gt;&lt;div&gt;3000900053976733&lt;/div&gt;&lt;/td&gt;
		&lt;td&gt;&lt;div&gt;3000900053976733&lt;/div&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class="slimRowColor1"&gt;
		&lt;td&gt;let&lt;/td&gt;
		&lt;td&gt;Pareq&lt;/td&gt;
		&lt;td&gt;const&lt;/td&gt;
		&lt;td&gt;&lt;div&gt;something_with_&lt;br/&gt;carriage_return_and&lt;br/&gt;ending_with_equals_%3D&lt;/div&gt;&lt;/td&gt;
		&lt;td&gt;&lt;div&gt;something_with_&lt;br/&gt;carriage_return_and&lt;br/&gt;ending_with_equals_%3D&lt;/div&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class="slimRowColor0"&gt;
		&lt;td&gt;setHeader&lt;/td&gt;
		&lt;td colspan="4"&gt;&lt;div&gt;Content-Type&amp;nbsp;:&amp;nbsp;application/x-www-form-urlencoded&lt;/div&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class="slimRowColor1"&gt;
		&lt;td&gt;setBody&lt;/td&gt;
		&lt;td colspan="4"&gt;&lt;span class="pass"&gt;&lt;div&gt;MD=3000900053976733&amp;PaReq=something_with_&lt;br/&gt;carriage_return_and&lt;br/&gt;ending_with_equals_%3D&amp;TermUrl=https%3A%2F%2Fdev01-realm1-mothercare.demandware.net%2Fon%2Fdemandware.store%2FSites-MCENGB-Site%2Fdefault%2FHello-Start&amp;submit=submit&lt;/div&gt;&lt;/span&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class="slimRowColor0"&gt;
		&lt;td&gt;POST&lt;/td&gt;
		&lt;td&gt;&lt;div&gt;&lt;a href='http://localhost:9876/resources'&gt;/resources&lt;/a&gt;&lt;/div&gt;&lt;/td&gt;
		&lt;td&gt;&lt;span class="pass"&gt;&lt;div&gt;201&lt;/div&gt;&lt;/span&gt;&lt;/td&gt;
		&lt;td&gt;&lt;div&gt;Location&amp;nbsp;:&amp;nbsp;/resources/2&lt;br/&gt;Content-Length&amp;nbsp;:&amp;nbsp;0&lt;br/&gt;Server&amp;nbsp;:&amp;nbsp;Jetty(6.0.2)&lt;/div&gt;&lt;/td&gt;
		&lt;td&gt;&lt;div&gt;no-body&lt;/div&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class="slimRowColor1"&gt;
		&lt;td&gt;let&lt;/td&gt;
		&lt;td&gt;ID&lt;/td&gt;
		&lt;td&gt;header&lt;/td&gt;
		&lt;td&gt;&lt;div&gt;Location:/resources/(\d)&lt;/div&gt;&lt;/td&gt;
		&lt;td&gt;&lt;div&gt;2&lt;/div&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class="slimRowColor0"&gt;
		&lt;td&gt;GET&lt;/td&gt;
		&lt;td&gt;&lt;div&gt;&lt;a href='http://localhost:9876/resources/2'&gt;/resources/2&lt;/a&gt;&lt;/div&gt;&lt;/td&gt;
		&lt;td&gt;&lt;span class="pass"&gt;&lt;div&gt;200&lt;/div&gt;&lt;/span&gt;&lt;/td&gt;
		&lt;td&gt;&lt;div&gt;Set-Cookie&amp;nbsp;:&amp;nbsp;JID="ABC.${a.y}";&lt;br/&gt;Content-Type&amp;nbsp;:&amp;nbsp;application/xml;charset=ISO-8859-1&lt;br/&gt;Content-Length&amp;nbsp;:&amp;nbsp;268&lt;br/&gt;Server&amp;nbsp;:&amp;nbsp;Jetty(6.0.2)&lt;/div&gt;&lt;/td&gt;
		&lt;td&gt;&lt;span class="pass"&gt;&lt;div&gt;&amp;nbsp;/resource/MD[text()='3000900053976733']&amp;nbsp;&amp;lt;br/&amp;gt;&lt;br/&gt;&amp;nbsp;/resource/TermUrl[text()='https://dev01-realm1-mothercare.demandware.net/on/demandware.store/Sites-MCENGB-Site/default/Hello-Start']&amp;lt;br/&amp;gt;&lt;br/&gt;&amp;nbsp;/resource/PaReq[contains(text(),'ending_with_equals_=')]&lt;br/&gt;&lt;br/&gt;&lt;i&gt;&lt;span class='fit_label'&gt;expected&lt;/span&gt;&lt;/i&gt;&lt;hr/&gt;&lt;br/&gt;&lt;div class='collapsible closed'&gt;&lt;ul&gt;&lt;li&gt;&lt;a href='#' class='expandall'&gt;Expand&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href='#' class='collapseall'&gt;Collapse&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p class='title'&gt;toggle actual&lt;/p&gt;&lt;div&gt;&amp;lt;resource&amp;gt;&lt;br/&gt;&amp;lt;MD&amp;gt;3000900053976733&amp;lt;/MD&amp;gt;&lt;br/&gt;&amp;lt;PaReq&amp;gt;something_with_&lt;br/&gt;carriage_return_and&lt;br/&gt;ending_with_equals_=&amp;lt;/PaReq&amp;gt;&lt;br/&gt;&amp;lt;TermUrl&amp;gt;https://dev01-realm1-mothercare.demandware.net/on/demandware.store/Sites-MCENGB-Site/default/Hello-Start&amp;lt;/TermUrl&amp;gt;&lt;br/&gt;&amp;lt;submit&amp;gt;submit&amp;lt;/submit&amp;gt;&lt;br/&gt;&amp;lt;/resource&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;br/&gt;&lt;i&gt;&lt;span class='fit_label'&gt;actual&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;/span&gt;&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;
</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=[&lt;a href="http://localhost:9876"&gt;http://localhost:9876&lt;/a&gt;]}</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%&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], [POST, /resources, 201, , ], [let, ID, header, Location:/resources/(\d), ], [GET, /resources/%ID%, 200, ,  /resource/MD[text()='3000900053976733'] &lt;br/&gt;
 /resource/TermUrl[text()='https://dev01-realm1-mothercare.demandware.net/on/demandware.store/Sites-MCENGB-Site/default/Hello-Start']&lt;br/&gt;
 /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>56</totalRunTimeInMillis>
</testResults>





© 2015 - 2024 Weber Informatics LLC | Privacy Policy