Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: c07f8d26559f048463bf83256249e52914682d4b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<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/readtimeout - When 10% of file has been processed, it delays deliver 10 minutes. Good for progress bar/cancel 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>
</li>/proxy2/... - goes to http://www.eclipse.org/equinox/p2/testing/updateSite - the same
paths as for /proxy/... are available.
</li>
</li>/proxy3/aprivate/... - goes to http://www.eclipse.org/equinox/p2/testing/updateSite. This proxy makes
the subpaths .../plugins, and .../features, private.
</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