Skip to main content
blob: c07f8d26559f048463bf83256249e52914682d4b (plain) (tree)









<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>
<li>/proxy/private/ - goes to http://, but requires authentication.</li>
<li>/proxy/public/ - goes to http://, (useful in redirects).</li>
<li>/proxy/never/ - goes to http://, but always fail authentication.</li>
<li>/proxy/flipFlop/ - goes to http://, 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>
<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>
</li>/proxy2/... - goes to - the same
paths as for /proxy/... are available.
</li>/proxy3/aprivate/... - goes to This proxy makes
the subpaths .../plugins, and .../features, private.
<p>The content listed below is also available and can be accessed under:
<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>
<p>The following two URL's are also available</p>
<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.

Back to the top