com.atlassian.sal.core.net
Class TestHttpClientRequestRedirects

java.lang.Object
  extended by com.atlassian.sal.core.net.TestHttpClientRequestRedirects

public class TestHttpClientRequestRedirects
extends Object


Nested Class Summary
 class TestHttpClientRequestRedirects.SslTestServer
           
 
Field Summary
 org.junit.rules.ExpectedException thrown
           
 
Constructor Summary
TestHttpClientRequestRedirects()
           
 
Method Summary
 void setUp()
           
 void stopServer()
           
 void testHttpClientAccessFailsWithTLSv1OnSSLv3()
           
 void testHttpClientAccessHttpsFailsToAccessServerWithOnlySSlv3()
           
 void testHttpClientAccessHttpsSucceedsToAccessServerWithOnlySSlv3WithSystemProperty()
           
 void testHttpClientAccessHttpsWithSSL()
           
 void testHttpClientAccessHttpsWithSSLChecksServerCertificateHostName()
           
 void testHttpClientAccessHttpsWithTLSv1Only()
           
 void testHttpClientAccessHttpUrl()
           
 void testRedirectFromTLSv1()
           
 void testReusingRequestWithAndWithoutSSL()
           
 void verifyRedirectFailsSensiblyWithNegativeThreshold()
           
 void verifyRedirectFailsSensiblyWithZeroThreshold()
           
 void verifyRedirectFailsWithRedirectsMoreThanLoweredThreshold()
           
 void verifyRedirectFailsWithRedirectsMoreThanRaisedThreshold()
           
 void verifyRedirectFailsWithRedirectsMoreThanTheDefaultThreshold()
           
 void verifyRedirectSucceedsWithRedirectsUptoTheDefaultThreshold()
           
 void verifyRedirectSucceedsWithRedirectsUpTpRaisedThreshold()
           
 void verifyRedirectSucceedsWithRedirectsWithinLoweredThreshold()
           
 void verifyRedirectSucceedsWithRedirectsWithinRaisedThreshold()
           
 void verifyRedirectSucceedsWithRedirectsWithinTheDefaultThreshold()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

thrown

public org.junit.rules.ExpectedException thrown
Constructor Detail

TestHttpClientRequestRedirects

public TestHttpClientRequestRedirects()
Method Detail

setUp

public void setUp()
           throws NoSuchAlgorithmException,
                  KeyManagementException
Throws:
NoSuchAlgorithmException
KeyManagementException

stopServer

public void stopServer()
                throws Exception
Throws:
Exception

testHttpClientAccessHttpUrl

public void testHttpClientAccessHttpUrl()
                                 throws Exception
Throws:
Exception

testHttpClientAccessHttpsWithSSL

public void testHttpClientAccessHttpsWithSSL()
                                      throws Exception
Throws:
Exception

testHttpClientAccessHttpsWithSSLChecksServerCertificateHostName

public void testHttpClientAccessHttpsWithSSLChecksServerCertificateHostName()
                                                                     throws Exception
Throws:
Exception

testHttpClientAccessHttpsFailsToAccessServerWithOnlySSlv3

public void testHttpClientAccessHttpsFailsToAccessServerWithOnlySSlv3()
                                                               throws Exception
Throws:
Exception

testHttpClientAccessHttpsSucceedsToAccessServerWithOnlySSlv3WithSystemProperty

public void testHttpClientAccessHttpsSucceedsToAccessServerWithOnlySSlv3WithSystemProperty()
                                                                                    throws Exception
Throws:
Exception

testHttpClientAccessHttpsWithTLSv1Only

public void testHttpClientAccessHttpsWithTLSv1Only()
                                            throws Exception
Throws:
Exception

testHttpClientAccessFailsWithTLSv1OnSSLv3

public void testHttpClientAccessFailsWithTLSv1OnSSLv3()
                                               throws Exception
Throws:
Exception

testReusingRequestWithAndWithoutSSL

public void testReusingRequestWithAndWithoutSSL()
                                         throws Exception
Throws:
Exception

testRedirectFromTLSv1

public void testRedirectFromTLSv1()
                           throws Exception
Throws:
Exception

verifyRedirectSucceedsWithRedirectsUptoTheDefaultThreshold

public void verifyRedirectSucceedsWithRedirectsUptoTheDefaultThreshold()
                                                                throws Exception
Throws:
Exception

verifyRedirectSucceedsWithRedirectsWithinTheDefaultThreshold

public void verifyRedirectSucceedsWithRedirectsWithinTheDefaultThreshold()
                                                                  throws Exception
Throws:
Exception

verifyRedirectFailsWithRedirectsMoreThanTheDefaultThreshold

public void verifyRedirectFailsWithRedirectsMoreThanTheDefaultThreshold()
                                                                 throws Exception
Throws:
Exception

verifyRedirectFailsWithRedirectsMoreThanLoweredThreshold

public void verifyRedirectFailsWithRedirectsMoreThanLoweredThreshold()
                                                              throws Exception
Throws:
Exception

verifyRedirectFailsWithRedirectsMoreThanRaisedThreshold

public void verifyRedirectFailsWithRedirectsMoreThanRaisedThreshold()
                                                             throws Exception
Throws:
Exception

verifyRedirectSucceedsWithRedirectsUpTpRaisedThreshold

public void verifyRedirectSucceedsWithRedirectsUpTpRaisedThreshold()
                                                            throws Exception
Throws:
Exception

verifyRedirectSucceedsWithRedirectsWithinRaisedThreshold

public void verifyRedirectSucceedsWithRedirectsWithinRaisedThreshold()
                                                              throws Exception
Throws:
Exception

verifyRedirectSucceedsWithRedirectsWithinLoweredThreshold

public void verifyRedirectSucceedsWithRedirectsWithinLoweredThreshold()
                                                               throws Exception
Throws:
Exception

verifyRedirectFailsSensiblyWithZeroThreshold

public void verifyRedirectFailsSensiblyWithZeroThreshold()
                                                  throws Exception
Throws:
Exception

verifyRedirectFailsSensiblyWithNegativeThreshold

public void verifyRedirectFailsSensiblyWithNegativeThreshold()
                                                      throws Exception
Throws:
Exception


Copyright © 2015 Atlassian. All rights reserved.