Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: 1cb8f8e98c19ecba69b792aaaf81a4e0a40e7d1a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                                                                       
                                                                                                                




                                                                                                                                          
                                                                                                                                                   













                                                                                                               

















                                                                                                
                                                                               

                                                                                           

                                                                                           


       
<html>
<body>
<h1>Welcome to the p2 test server</h1>
<p>You can access all files under the "webfiles" folder in this bundle via either a "public" or "private"
pseudoroot. Try the public link <a href="http://localhost:8080/public/index.html">here</a></p>
<p>To access using a login, password, you simply use the pseudoroot "/private", and you will be asked to
log in. The credentials are: user: <b>Aladdin</b>, password: <b>open sesame</b>. Try it
<a href="http://localhost:8080/private/index.html">here</a></p>
<p>The following real content is registered:</p>
<ul>
<li>/proxy/private/ - goes to http://http://download.eclipse.org/eclipse/updates/3.4, but requires authentication.</li>
<li>/proxy/public/ - goes to http://http://download.eclipse.org/eclipse/updates/3.4, (useful in redirects).</li>
<li>/proxy/never/ - goes to http://http://download.eclipse.org/eclipse/updates/3.4, but always fail authentication.</li>
<li>/proxy/flipFlop/ - goes to http://http://download.eclipse.org/eclipse/updates/3.4, but fails authentication every second attempt.</li>
<li>/proxy/truncated - goes to updates/3.4, but truncates all files</li>
<li>/proxy/molested - goes to updates/3.4, but generates gibberish for all files</li>
<li>/proxy/decelerate - goes to updates/3.4, but delivers files in very small delayed packets - delay increases.</li>
<li>/proxy/decelerate2 - like /proxy/decelerate, but does not start delay until 80% of file has been processed. Good for progress bar testing.</li>
<li>/proxy/modified/... - goes to updates/3.4, but delivers various errors in "last modified" (see below)
	<ul><li>.../zero - all times are returned as 0</li>
		<li>.../old - all times are very old</li>
		<li>.../now - all times are the same as the request time</li>
		<li>.../future - all times are in the future (which is illegal in HTTP)</li>
		<li>.../bad - the time is not a date at all - the client should throw an error</li>
	</ul>
</li>
<li>/proxy/length/... - goes to updates/3.4, but delivers various content length errors (see below)
	<ul><li>.../zero - length is reported as 0 (but all content written to stream)</li>
		<li>.../less - less than the correct size is reported (all content written)</li>
		<li>.../more - double the correct size is reported (but only available content is written)</li>
	</ul>
</li>
</ul>
<p>The content listed below is also available and can be accessed under:
<ul><li>/public</li>
<li>/private</li>
<li>/never</li>
<li>/flipFlop</li>
<li>/truncated</li>
<li>/molested</li>
</ul>
<p>Content</p>
<ul>
<li>.../ar/simple - a simple artifact repo with a feature and a plugin, uses artifact.xml</li>
<li>.../mdr/composite - a composite meta data repository - consisting of two mdrs</li>
<li>.../mdr/composite/one - a regular meta data repostory, uses content.xml</li>
<li>.../updatesite - a classic update site with site.xml, features and plugins subdirectory</li>
</ul>
<p>The following two URL's are also available</p>
<ul>
<li>/timeout/ - a black hole - sleeps 10 minutes and produces no response.</li>
<li>/status/nnn/xxxxx - returns the status-code "nnn", and text/html
content, The xxxxx part is ignored. e.g. http://localhost:8080/status/500/ignored/part</li>
<li>/redirect/nnn[/location] - redirects nnn times before redirecting to "location" - if no
location is stated, a final page with message 'Redirected Successfully' is displayed.
</ul>
</body>
</html>

Back to the top