Author: adietish
Date: 2010-09-10 07:03:07 -0400 (Fri, 10 Sep 2010)
New Revision: 24860
Modified:
trunk/usage/plugins/org.jboss.tools.usage/src/org/jboss/tools/usage/googleanalytics/eclipse/EclipseUserAgent.java
trunk/usage/tests/org.jboss.tools.usage.test/src/org/jboss/tools/usage/test/EclipseUserAgentFake.java
trunk/usage/tests/org.jboss.tools.usage.test/src/org/jboss/tools/usage/test/EclipseUserAgentTest.java
trunk/usage/tests/org.jboss.tools.usage.test/src/org/jboss/tools/usage/test/JBossToolsUsageRequestsTest.java
Log:
[JBIDE-7043] reports various versions of windows and macos now (no version in FF linux
user agent string, just architecture)
Modified:
trunk/usage/plugins/org.jboss.tools.usage/src/org/jboss/tools/usage/googleanalytics/eclipse/EclipseUserAgent.java
===================================================================
---
trunk/usage/plugins/org.jboss.tools.usage/src/org/jboss/tools/usage/googleanalytics/eclipse/EclipseUserAgent.java 2010-09-10
10:13:32 UTC (rev 24859)
+++
trunk/usage/plugins/org.jboss.tools.usage/src/org/jboss/tools/usage/googleanalytics/eclipse/EclipseUserAgent.java 2010-09-10
11:03:07 UTC (rev 24860)
@@ -26,12 +26,14 @@
private static final String ECLIPSE_RUNTIME_BULDEID =
"org.eclipse.core.runtime"; //$NON-NLS-1$
- private static final String USERAGENT_WIN = "{0}/{1} (Windows; U; Windows NT 6.1;
{2})"; //$NON-NLS-1$
- private static final String USERAGENT_MAC = "{0}/{1} (Macintosh; U; Intel Mac OS X
10.5; {2})"; //$NON-NLS-1$
+ private static final String USERAGENT_WIN = "{0}/{1} (Windows; U; Windows NT {2};
{3})"; //$NON-NLS-1$
+ private static final String USERAGENT_MAC = "{0}/{1} (Macintosh; U; Intel Mac OS X
{2}; {3})"; //$NON-NLS-1$
private static final String USERAGENT_LINUX = "{0}/{1} (X11; U; Linux i686;
{2})"; //$NON-NLS-1$
-
- public static final char VERSION_DELIMITER = '.';
+ public static final char VERSION_DELIMITER = '.'; //$NON-NLS-1$
+
+ private static final String PROP_OS_VERSION = "os.version"; //$NON-NLS-1$
+
private String browserLanguage;
private String createBrowserLanguage() {
@@ -51,18 +53,18 @@
builder.append(nl.substring(indexOf + 1));
return builder.toString();
}
-
+
protected String getNL() {
return Platform.getNL();
}
-
+
public String getBrowserLanguage() {
if (browserLanguage == null) {
browserLanguage = createBrowserLanguage();
}
return browserLanguage;
}
-
+
public String toString() {
String productId = getApplicationName();
String productVersion = getApplicationVersion();
@@ -82,6 +84,7 @@
getUserAgentPattern(getOS())
, productId
, productVersion
+ , getOSVersion()
, getBrowserLanguage()
);
}
@@ -90,6 +93,34 @@
return Platform.getOS();
}
+ /**
+ * Returns the version of the operating system this jre is currently running
+ * on.
+ *
+ * @return the os version
+ *
+ * @see <a
href="http://lopica.sourceforge.net/os.html">list of os
versions
+ * and os names</a> return by the j
+ */
+ protected Object getOSVersion() {
+ return System.getProperty(PROP_OS_VERSION);
+ }
+
+ private String getUserAgentPattern(String os) {
+ String userAgentPattern = ""; //$NON-NLS-1$
+ /*
+ * TODO: implement architecture (i686, x86_64 etc.), Windows version, MacOS version
etc.
+ */
+ if (Platform.OS_LINUX.equals(os)) {
+ return USERAGENT_LINUX; //$NON-NLS-1$
+ } else if (Platform.OS_MACOSX.equals(os)) {
+ return USERAGENT_MAC; //$NON-NLS-1$
+ } else if (Platform.OS_WIN32.equals(os)) {
+ return USERAGENT_WIN; //$NON-NLS-1$
+ }
+ return userAgentPattern;
+ }
+
protected String getApplicationName() {
return getApplicationBundle().getSymbolicName();
}
@@ -103,7 +134,7 @@
return fullVersion;
}
}
-
+
/**
* Returns the bundle that launched the application that this class runs in.
*
@@ -117,19 +148,4 @@
return Platform.getBundle(ECLIPSE_RUNTIME_BULDEID);
}
}
-
- private String getUserAgentPattern(String os) {
- String userAgentPattern = ""; //$NON-NLS-1$
- /*
- * TODO: implement architecture (i686, x86_64 etc.), Windows version, MacOS version
etc.
- */
- if (Platform.OS_LINUX.equals(os)) {
- return USERAGENT_LINUX; //$NON-NLS-1$
- } else if (Platform.OS_MACOSX.equals(os)) {
- return USERAGENT_MAC; //$NON-NLS-1$
- } else if (Platform.OS_WIN32.equals(os)) {
- return USERAGENT_WIN; //$NON-NLS-1$
- }
- return userAgentPattern;
- }
}
Modified:
trunk/usage/tests/org.jboss.tools.usage.test/src/org/jboss/tools/usage/test/EclipseUserAgentFake.java
===================================================================
---
trunk/usage/tests/org.jboss.tools.usage.test/src/org/jboss/tools/usage/test/EclipseUserAgentFake.java 2010-09-10
10:13:32 UTC (rev 24859)
+++
trunk/usage/tests/org.jboss.tools.usage.test/src/org/jboss/tools/usage/test/EclipseUserAgentFake.java 2010-09-10
11:03:07 UTC (rev 24860)
@@ -10,29 +10,51 @@
private static final String APPLICATION_VERSION = "3.0.1";
public static final String LOCALE_US = "en_US";
+ static final String WIN2000_VERSION = "5.0";
+ static final String WINXP_VERSION = "5.1";
+ static final String VISTA_VERSION = "6.0";
+ static final String WIN7_VERSION = "6.1";
+ static final String MACLEOPARD_VERSION = "10.5";
+ static final String MACSNOWLEOPARD_VERSION = "10.6";
+
private String applicationName;
private String applicationVersion;
private String nl;
private String os;
+ private String osVersion;
public EclipseUserAgentFake() {
- this(APPLICATION_NAME, APPLICATION_VERSION, LOCALE_US, Platform.OS_LINUX);
+ this(APPLICATION_NAME, APPLICATION_VERSION, LOCALE_US, Platform.OS_WIN32,
WIN7_VERSION);
}
public EclipseUserAgentFake(String nl) {
- this(APPLICATION_NAME, APPLICATION_VERSION, nl, Platform.OS_LINUX);
+ this(APPLICATION_NAME, APPLICATION_VERSION, nl, Platform.OS_WIN32, WIN7_VERSION);
}
- public EclipseUserAgentFake(String nl, String os) {
- this(APPLICATION_NAME, APPLICATION_VERSION, nl, os);
+ public EclipseUserAgentFake(String nl, String os, String osVersion) {
+ this(APPLICATION_NAME, APPLICATION_VERSION, nl, os, osVersion);
}
- public EclipseUserAgentFake(String applicationName, String applicationVersion, String
nl, String os) {
+ /**
+ * Instantiates a fake of the EclipseUserAgent class
+ *
+ * @param applicationName the name of the applicaiton
+ * @param applicationVersion the version of the application
+ * @param nl the platform locale as returned from
<code>Platform.getNL()</code>
+ * @param os the os name as return from <code>Platform.getOS()</code>
+ * @param osVersion the version of the os as returned from
<code>System.getProperty("os.name")</code>
+ *
+ * @see Platform#getNL()
+ * @see Platform#getOS()
+ * @see System#getProperty("os.version")
+ */
+ public EclipseUserAgentFake(String applicationName, String applicationVersion, String
nl, String os, String osVersion) {
Assert.isTrue(nl != null && nl.indexOf(JAVA_LOCALE_DELIMITER) >= 0, "nl
parameter must for a java locale string <xx_XX>");
this.applicationName = applicationName;
this.applicationVersion = applicationVersion;
this.nl = nl;
this.os = os;
+ this.osVersion = osVersion;
}
@Override
@@ -51,6 +73,11 @@
}
@Override
+ protected String getOSVersion() {
+ return osVersion;
+ }
+
+ @Override
protected String getApplicationVersion() {
return applicationVersion;
}
Modified:
trunk/usage/tests/org.jboss.tools.usage.test/src/org/jboss/tools/usage/test/EclipseUserAgentTest.java
===================================================================
---
trunk/usage/tests/org.jboss.tools.usage.test/src/org/jboss/tools/usage/test/EclipseUserAgentTest.java 2010-09-10
10:13:32 UTC (rev 24859)
+++
trunk/usage/tests/org.jboss.tools.usage.test/src/org/jboss/tools/usage/test/EclipseUserAgentTest.java 2010-09-10
11:03:07 UTC (rev 24860)
@@ -52,21 +52,21 @@
}
@Test
- public void testMacOs() {
- String userAgent = new EclipseUserAgentFake(EclipseUserAgentFake.LOCALE_US,
Platform.OS_MACOSX).toString();
- assertOs("Macintosh", "Intel Mac OS X 10.5", userAgent);
+ public void testMacOsSnowLeopard() {
+ String userAgent = new EclipseUserAgentFake(EclipseUserAgentFake.LOCALE_US,
Platform.OS_MACOSX, EclipseUserAgentFake.MACSNOWLEOPARD_VERSION).toString();
+ assertOs("Macintosh", "Intel Mac OS X " +
EclipseUserAgentFake.MACSNOWLEOPARD_VERSION, userAgent);
}
@Test
public void testLinux() {
- String userAgent = new EclipseUserAgentFake(EclipseUserAgentFake.LOCALE_US,
Platform.OS_LINUX).toString();
+ String userAgent = new EclipseUserAgentFake(EclipseUserAgentFake.LOCALE_US,
Platform.OS_LINUX, EclipseUserAgentFake.WIN7_VERSION).toString();
assertOs("X11", "Linux i686", userAgent);
}
@Test
- public void testWindows() {
- String userAgent = new EclipseUserAgentFake(EclipseUserAgentFake.LOCALE_US,
Platform.OS_WIN32).toString();
- assertOs("Windows", "Windows NT 6.1", userAgent);
+ public void testWindows7() {
+ String userAgent = new EclipseUserAgentFake(EclipseUserAgentFake.LOCALE_US,
Platform.OS_WIN32, EclipseUserAgentFake.WIN7_VERSION).toString();
+ assertOs("Windows", "Windows NT " +
EclipseUserAgentFake.WIN7_VERSION, userAgent);
}
@Test
Modified:
trunk/usage/tests/org.jboss.tools.usage.test/src/org/jboss/tools/usage/test/JBossToolsUsageRequestsTest.java
===================================================================
---
trunk/usage/tests/org.jboss.tools.usage.test/src/org/jboss/tools/usage/test/JBossToolsUsageRequestsTest.java 2010-09-10
10:13:32 UTC (rev 24859)
+++
trunk/usage/tests/org.jboss.tools.usage.test/src/org/jboss/tools/usage/test/JBossToolsUsageRequestsTest.java 2010-09-10
11:03:07 UTC (rev 24860)
@@ -23,592 +23,658 @@
*/
public class JBossToolsUsageRequestsTest {
-// @Ignore
-// @Test
-// public void testUrl0() throws IOException {
-// String userAgent = "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.4)
Gecko/20100614 Ubuntu/10.04 (lucid) Firefox/10.0.0";
-// TestHttpGetMethod method = new TestHttpGetMethod(userAgent, loggingAdapter);
-// String url = "http://www.google-analytics.com/__utm.gif?"
-// + "utmwv=4.7.2"
-// + "&utmn=338321265"
-// + "&utmhn=jboss.org"
-// + "&utmcs=UTF-8"
-// + "&utmsr=1920x1080"
-// + "&utmsc=24-bit"
-// + "&utmul=en-us"
-// + "&utmje=1"
-// + "&utmfl=10.1%20r53"
-// + "&utmdt=-%20JBoss%20Community"
-// + "&utmhid=1087431432"
-// + "&utmr=0"
-// + "&utmp=%2Ftools%2Fusage%2FtestUrl0"
-// + "&utmac=UA-17645367-1"
-// +
"&utmcc=__utma%3D156030507.1285760711.1281430767.1281430767.1281430767.1%3B%2B__utmz%3D156030500.1281430767.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B"
-// + "&gaq=1";
-// method.request(url);
-// assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
-// }
-//
-// @Ignore
-// @Test
-// public void testUrl0_0() throws IOException {
-// String userAgent = "com.jboss.jbds.product/3.0.1 (X11; U; Linux x86_64;
en-US)";
-// TestHttpGetMethod method = new TestHttpGetMethod(userAgent, loggingAdapter);
-// String url = "http://www.google-analytics.com/__utm.gif?"
-// + "utmwv=4.7.2"
-// + "&utmn=338321288"
-// + "&utmhn=jboss.org"
-// + "&utmcs=UTF-8"
-// + "&utmsr=1920x1080"
-// + "&utmsc=24-bit"
-// + "&utmul=en-us"
-// + "&utmje=1"
-// + "&utmfl=10.1%20r53"
-// + "&utmdt=-%20JBoss%20Community"
-// + "&utmhid=1087431432"
-// + "&utmr=0"
-// + "&utmp=%2Ftools%2Fusage%2FtestUrl0_0"
-// + "&utmac=UA-17645367-1"
-// +
"&utmcc=__utma%3D156032507.1285760711.1281430767.1281430767.1281430767.1%3B%2B__utmz%3D156030500.1281430767.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B"
-// + "&gaq=1";
-// method.request(url);
-// assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
-// }
-//
-// @Ignore
-// @Test
-// public void testUrl0_1() throws IOException {
-// String userAgent = "com.jboss.jbds.product/3.0.1 (X11; U; Linux x86_64; en-US;
rv:1.9.2.4) Gecko/20100614 Ubuntu/10.04 (lucid) v201006010437R-H98-GA";
-// TestHttpGetMethod method = new TestHttpGetMethod(userAgent, loggingAdapter);
-// String url = "http://www.google-analytics.com/__utm.gif?"
-// + "utmwv=4.7.2"
-// + "&utmn=3383212651"
-// + "&utmhn=jboss.org"
-// + "&utmcs=UTF-8"
-// + "&utmsr=1920x1080"
-// + "&utmsc=24-bit"
-// + "&utmul=en-us"
-// + "&utmje=1"
-// + "&utmfl=10.1%20r53"
-// + "&utmdt=-%20JBoss%20Community"
-// + "&utmhid=1087431432"
-// + "&utmr=0"
-// + "&utmp=%2Ftools%2Fusage%2FtestUrl0_1"
-// + "&utmac=UA-17645367-1"
-// +
"&utmcc=__utma%3D156030508.195542053.1281528584.1281528584.1281528584.1%3B%2B__utmz%3D156030500.1281528584.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B"
-// + "&gaq=1";
-// method.request(url);
-// assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
-// }
-//
-// @Ignore
-// @Test
-// public void testUrl0_2() throws IOException {
-// String userAgent = "com.jboss.jbds.product/3.0.1 (X11; U; Linux x86_64; en-US;
rv:1.9.2.4) Gecko/20100614 Ubuntu/10.04 (lucid) Eclipse/3.5.0";
-// TestHttpGetMethod method = new TestHttpGetMethod(userAgent, loggingAdapter);
-// String url = "http://www.google-analytics.com/__utm.gif?"
-// + "utmwv=4.7.2"
-// + "&utmn=3383212652"
-// + "&utmhn=jboss.org"
-// + "&utmcs=UTF-8"
-// + "&utmsr=1920x1080"
-// + "&utmsc=24-bit"
-// + "&utmul=en-us"
-// + "&utmje=1"
-// + "&utmfl=10.1%20r53"
-// + "&utmdt=-%20JBoss%20Community"
-// + "&utmhid=1087431432"
-// + "&utmr=0"
-// + "&utmp=%2Ftools%2Fusage%2FtestUrl0_2"
-// + "&utmac=UA-17645367-1"
-// +
"&utmcc=__utma%3D156030509.1285760712.1281430767.1281430767.1281430767.1%3B%2B__utmz%3D156030500.1281430767.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B"
-// + "&gaq=1";
-// method.request(url);
-// assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
-// }
-//
-// @Ignore
-// @Test
-// public void testUrl0_3() throws IOException {
-// String userAgent = "com.jboss.jbds.product/3.0.1 (X11; U; Linux x86_64; en-US;)
Eclipse/3.5.0";
-// TestHttpGetMethod method = new TestHttpGetMethod(userAgent, loggingAdapter);
-// String url = "http://www.google-analytics.com/__utm.gif?"
-// + "utmwv=4.7.2"
-// + "&utmn=3383212651"
-// + "&utmhn=jboss.org"
-// + "&utmcs=UTF-8"
-// + "&utmsr=1920x1080"
-// + "&utmsc=24-bit"
-// + "&utmul=en-us"
-// + "&utmje=1"
-// + "&utmfl=10.1%20r53"
-// + "&utmdt=-%20JBoss%20Community"
-// + "&utmhid=1087431432"
-// + "&utmr=0"
-// + "&utmp=%2Ftools%2Fusage%2FtestUrl0_3"
-// + "&utmac=UA-17645367-1"
-// +
"&utmcc=__utma%3D156030501.1285760711.1281430767.1281430767.1281430767.1%3B%2B__utmz%3D156030500.1281430767.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B"
-// + "&gaq=1";
-// method.request(url);
-// assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
-// }
-//
-// @Ignore
-// @Test
-// public void testUrl0_4() throws IOException {
-// String userAgent = "com.jboss.jbds.product/3.0.1";
-// TestHttpGetMethod method = new TestHttpGetMethod(userAgent, loggingAdapter);
-// String url = "http://www.google-analytics.com/__utm.gif?"
-// + "utmwv=4.7.2"
-// + "&utmn=3383212651"
-// + "&utmhn=jboss.org"
-// + "&utmcs=UTF-8"
-// + "&utmsr=1920x1080"
-// + "&utmsc=24-bit"
-// + "&utmul=en-us"
-// + "&utmje=1"
-// + "&utmfl=10.1%20r53"
-// + "&utmdt=-%20JBoss%20Community"
-// + "&utmhid=1087431432"
-// + "&utmr=0"
-// + "&utmp=%2Ftools%2Fusage%2FtestUrl0_4"
-// + "&utmac=UA-17645367-1"
-// +
"&utmcc=__utma%3D156030502.195542053.1281528584.1281528584.1281528584.1%3B%2B__utmz%3D156030500.1281528584.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B"
-// + "&gaq=1";
-// method.request(url);
-// assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
-// }
-//
-// @Ignore
-// @Test
-// public void testUrl0_5() throws IOException {
-// String userAgent = "com.jboss.jbds.product/3.0.1 (Linux x86_64)";
-// TestHttpGetMethod method = new TestHttpGetMethod(userAgent, loggingAdapter);
-// String url = "http://www.google-analytics.com/__utm.gif?"
-// + "utmwv=4.7.2"
-// + "&utmn=33832126513"
-// + "&utmhn=jboss.org"
-// + "&utmcs=UTF-8"
-// + "&utmsr=1920x1080"
-// + "&utmsc=24-bit"
-// + "&utmul=en-us"
-// + "&utmje=1"
-// + "&utmfl=10.1%20r53"
-// + "&utmdt=-%20JBoss%20Community"
-// + "&utmhid=1087431432"
-// + "&utmr=0"
-// + "&utmp=%2Ftools%2Fusage%2FtestUrl0_5"
-// + "&utmac=UA-17645367-1"
-// +
"&__utma%3D156030503.195542053.1281528584.1281528584.1281528584.1%3B%2B__utmz%3D156030500.1281528584.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B"
-// + "&gaq=1";
-// method.request(url);
-// assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
-// }
-//
-// @Ignore
-// @Test
-// public void testUrl0_6() throws IOException {
-// String userAgent = "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.4)
Gecko/20100614 Ubuntu/10.04 (lucid) com.jboss.jbds.product/3.0.1";
-// TestHttpGetMethod method = new TestHttpGetMethod(userAgent, loggingAdapter);
-// String url = "http://www.google-analytics.com/__utm.gif?"
-// + "utmwv=4.7.2"
-// + "&utmn=338321265"
-// + "&utmhn=jboss.org"
-// + "&utmcs=UTF-8"
-// + "&utmsr=1920x1080"
-// + "&utmsc=24-bit"
-// + "&utmul=en-us"
-// + "&utmje=1"
-// + "&utmfl=10.1%20r53"
-// + "&utmdt=-%20JBoss%20Community"
-// + "&utmhid=1087431432"
-// + "&utmr=0"
-// + "&utmp=%2Ftools%2Fusage%2FtestUrl0_6"
-// + "&utmac=UA-17645367-1"
-// +
"&utmcc=__utma%3D156030507.1285760711.1281430767.1281430767.1281430767.1%3B%2B__utmz%3D156030500.1281430767.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B"
-// + "&gaq=1";
-// method.request(url);
-// assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
-// }
-//
-// @Ignore
-// @Test
-// public void testUrl0_7() throws IOException {
-// String userAgent = "com.jboss.jbds.product/3.0.1 (X11; U; Linux x86_64;
en-US)";
-// TestHttpGetMethod method = new TestHttpGetMethod(userAgent, loggingAdapter);
-// String url = "http://www.google-analytics.com/__utm.gif?"
-// + "utmwv=4.7.2"
-// + "&utmn=338321268"
-// + "&utmhn=jboss.org"
-// + "&utmcs=UTF-8"
-// + "&utmsr=1920x1080"
-// + "&utmsc=24-bit"
-// + "&utmul=en-us"
-// + "&utmje=1"
-// + "&utmfl=10.1%20r53"
-// + "&utmdt=-%20JBoss%20Community"
-// + "&utmhid=1087431432"
-// + "&utmr=0"
-// + "&utmp=%2Ftools%2Fusage%2FtestUrl0_7"
-// + "&utmac=UA-17645367-1"
-// +
"&utmcc=__utma%3D156030507.1285760711.1281430767.1281430767.1281430767.1%3B%2B__utmz%3D156030500.1281430767.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B"
-// + "&gaq=1";
-// method.request(url);
-// assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
-// }
-//
-// @Ignore
-// @Test
-// public void testUrl0_7_1() throws IOException {
-// String userAgent = "com.jboss.jbds.product/3.0.1 (X11; U; Linux x86_64;
en-us)";
-// TestHttpGetMethod method = new TestHttpGetMethod(userAgent, loggingAdapter);
-// String url = "http://www.google-analytics.com/__utm.gif?"
-// + "utmwv=4.7.2"
-// + "&utmn=338321068"
-// + "&utmhn=jboss.org"
-// + "&utmcs=UTF-8"
-// + "&utmsr=1920x1080"
-// + "&utmsc=24-bit"
-// + "&utmje=1"
-// + "&utmfl=10.1%20r53"
-// + "&utmdt=-%20JBoss%20Community"
-// + "&utmhid=1087431432"
-// + "&utmr=0"
-// + "&utmp=%2Ftools%2Fusage%2FtestUrl0_7_1"
-// + "&utmac=UA-17645367-1"
-// +
"&utmcc=__utma%3D156030507.1285760711.1281430767.1281430767.1281430767.1%3B%2B__utmz%3D156030500.1281430767.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B"
-// + "&gaq=1";
-// method.request(url);
-// assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
-// }
-//
-// @Ignore
-// @Test
-// public void testUrl0_7_2() throws IOException {
-// String userAgent = "com.jboss.jbds.product/3.0.1 (X11; U; Linux x86_64;
en-US)";
-// TestHttpGetMethod method = new TestHttpGetMethod(userAgent, loggingAdapter);
-// String url = "http://www.google-analytics.com/__utm.gif?"
-// + "utmwv=4.7.2"
-// + "&utmn=338333268"
-// + "&utmhn=jboss.org"
-// + "&utmcs=UTF-8"
-// + "&utmsr=1920x1080"
-// + "&utmsc=24-bit"
-// + "&utmul=en-us"
-// + "&utmdt=-%20JBoss%20Community"
-// + "&utmhid=1087431432"
-// + "&utmr=0"
-// + "&utmp=%2Ftools%2Fusage%2FtestUrl0_7_2"
-// + "&utmac=UA-17645367-1"
-// +
"&utmcc=__utma%3D156620507.1285760111.1281430767.1281430767.1281430767.1%3B%2B__utmz%3D156030500.1281430767.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B"
-// + "&gaq=1";
-// method.request(url);
-// assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
-// }
-//
-// @Ignore
-// @Test
-// public void testUrl0_7_3() throws IOException {
-// String userAgent = "com.jboss.jbds.product/3.0.1 (X11; U; Linux x86_64;
en-US)";
-// TestHttpGetMethod method = new TestHttpGetMethod(userAgent, loggingAdapter);
-// String url = "http://www.google-analytics.com/__utm.gif?"
-// + "utmwv=4.7.2"
-// + "&utmn=311333268"
-// + "&utmhn=jboss.org"
-// + "&utmcs=UTF-8"
-// + "&utmsr=1920x1080"
-// + "&utmsc=24-bit"
-// + "&utmul=en-us"
-// + "&utmdt=tools-usage-test_0_7_3"
-// + "&utmhid=1087431432"
-// + "&utmr=0"
-// + "&utmp=%2Ftools%2Fusage%2FtestUrl0_7_3"
-// + "&utmac=UA-17645367-1"
-// +
"&utmcc=__utma%3D112660507.1285760711.1281430767.1281430767.1281430767.1%3B%2B__utmz%3D156030500.1281430767.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B"
-// + "&gaq=1";
-// method.request(url);
-// assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
-// }
-//
-// @Ignore
-// @Test
-// public void testUrl0_7_3_mac() throws IOException {
-// String userAgent = "com.jboss.jbds.product/3.0.1 (Macintosh; U; Intel Mac OS X
10.5; fr)";
-// TestHttpGetMethod method = new TestHttpGetMethod(userAgent, loggingAdapter);
-// String url = "http://www.google-analytics.com/__utm.gif?"
-// + "utmwv=4.7.2"
-// + "&utmn=351333268"
-// + "&utmhn=jboss.org"
-// + "&utmcs=UTF-8"
-// + "&utmsr=1920x1080"
-// + "&utmsc=24-bit"
-// + "&utmul=en-us"
-// + "&utmdt=tools-usage-test_0_7_3"
-// + "&utmhid=1087431432"
-// + "&utmr=0"
-// + "&utmp=%2Ftools%2Fusage%2FtestUrl0_7_3_mac"
-// + "&utmac=UA-17645367-1"
-// +
"&utmcc=__utma%3D133660507.1285760711.1281430767.1281430767.1281430767.1%3B%2B__utmz%3D156030500.1281430767.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B"
-// + "&gaq=1";
-// method.request(url);
-// assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
-// }
-//
-// @Ignore
-// @Test
-// public void testUrl0_7_3_win() throws IOException {
-// String userAgent = "com.jboss.jbds.product/3.0.1 (Windows; U; Windows NT 6.1;
en-US)";
-// TestHttpGetMethod method = new TestHttpGetMethod(userAgent, loggingAdapter);
-// String url = "http://www.google-analytics.com/__utm.gif?"
-// + "utmwv=4.7.2"
-// + "&utmn=351333254"
-// + "&utmhn=jboss.org"
-// + "&utmcs=UTF-8"
-// + "&utmsr=1920x1080"
-// + "&utmsc=24-bit"
-// + "&utmul=en-us"
-// + "&utmdt=tools-usage-test_0_7_3_win"
-// + "&utmhid=1087431432"
-// + "&utmr=0"
-// + "&utmp=%2Ftools%2Fusage%2FtestUrl0_7_3_win"
-// + "&utmac=UA-17645367-1"
-// +
"&utmcc=__utma%3D133660522.1285760711.1281430767.1281430767.1281430767.1%3B%2B__utmz%3D156030500.1281430767.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B"
-// + "&gaq=1";
-// method.request(url);
-// assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
-// }
-//
-// @Ignore
-// @Test
-// public void testUrl0_7_3_1() throws IOException {
-// String userAgent = "com.jboss.jbds.product/3.0.1 (Windows; U; Windows NT 6.1;
en-US)";
-// TestHttpGetMethod method = new TestHttpGetMethod(userAgent, loggingAdapter);
-// String url = "http://www.google-analytics.com/__utm.gif?"
-// + "utmwv=4.7.2"
-// + "&utmn=358333254"
-// + "&utmhn=jboss.org"
-// + "&utmcs=UTF-8"
-// + "&utmsr=1920x1080"
-// + "&utmsc=24-bit"
-// + "&utmul=en-us"
-// + "&utmdt=tools-usage-test_0_7_3_1"
-// + "&utmhid=1087431432"
-// + "&utmr=smooks|seam|drools|esb"
-// + "&utmp=%2Ftools%2Fusage%2FtestUrl0_7_3_1"
-// + "&utmac=UA-17645367-1"
-// +
"&utmcc=__utma%3D133860522.1285760711.1281430767.1281430767.1281430767.1%3B%2B__utmz%3D156030500.1281430767.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B"
-// + "&gaq=1";
-// method.request(url);
-// assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
-// }
-//
-// @Ignore
-// @Test
-// public void testUrl8() throws IOException {
-// String userAgent = "com.jboss.jbds.product/3.0.1 (Windows; U; Windows NT 6.1;
en-US)";
-// TestHttpGetMethod method = new TestHttpGetMethod(userAgent, loggingAdapter);
-// String url = "http://www.google-analytics.com/__utm.gif?"
-// + "utmwv=4.7.2"
-// + "&utmn=453325272"
-// + "&utmhn=jboss.org"
-// + "&utmcs=UTF-8"
-// + "&utmsr=1920x1080"
-// + "&utmsc=24-bit"
-// + "&utmul=en-US"
-// + "&utmdt=jboss.org-tools-usage-instance"
-// + "&utmhid=1722580305"
-// + "&utmr=org.jboss.tools.usage.tests"
-// + "&utmp=%2Fjboss.org%2Ftools%2Fusage%2FtestUrl8"
-// + "&utmac=UA-17645367-1"
-// +
"&utmcc=__utma%3D999.69517276658961975851281943564260.1281943564259.1281943564259.1281943564259.-1%3B%2B__utmz%3D999.1281943564259.1.1.utmcsr%3D%28direct%29%7Cutmccn%3D%28direct%29%7Cutmcmd%3D%28none%29%3B"
-// + "&gaq=1";
-// method.request(url);
-// assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
-// }
-//
-// @Ignore
-// @Test
-// public void testUrl0_7_3_win_referral() throws IOException {
-// String userAgent = "com.jboss.jbds.product/3.0.1 (Windows; U; Windows NT 6.1;
en-US)";
-// TestHttpGetMethod method = new TestHttpGetMethod(userAgent, loggingAdapter);
-// String url = "http://www.google-analytics.com/__utm.gif?"
-// + "utmwv=4.7.2"
-// + "&utmn=351334444"
-// + "&utmhn=jboss.org"
-// + "&utmcs=UTF-8"
-// + "&utmsr=1920x1080"
-// + "&utmsc=24-bit"
-// + "&utmul=en-us"
-// + "&utmdt=tools-usage-test_0_7_3_win_referral"
-// + "&utmhid=1087431432"
-// + "&utmr=seam|esb|smooks|birt|bpel|cdi|deltacloud|drools"
-// + "&utm_content=test1%7Ctest2%7Ctest3"
-// + "&utmp=%2Ftools%2Fusage%2FtestUrl0_7_3_win_referral"
-// + "&utmac=UA-17645367-1"
-// +
"&utmcc=__utma%3D133663892.1285760711.1281430767.1281430767.1281430767.1%3B%2B__utmz%3D156030500.1281430767.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B"
-// + "&gaq=1";
-// method.request(url);
-// assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
-// }
-//
-// @Ignore
-// @Test
-// public void testUrl0_7_3_win_adcontent() throws IOException {
-// String userAgent = "com.jboss.jbds.product/3.0.1 (Windows; U; Windows NT 6.1;
en-US)";
-// TestHttpGetMethod method = new TestHttpGetMethod(userAgent, loggingAdapter);
-// String url = "http://www.google-analytics.com/__utm.gif?"
-// + "utmwv=4.7.2"
-// + "&utmn=378334444"
-// + "&utmhn=jboss.org"
-// + "&utmcs=UTF-8"
-// + "&utmsr=1920x1080"
-// + "&utmsc=24-bit"
-// + "&utmul=en-us"
-// + "&utmdt=tools-usage-test_0_7_3_win_adcontent"
-// + "&utmhid=1087431432"
-// + "&utmr=seam|esb|smooks|birt|bpel|cdi|deltacloud|drools"
-// + "&utm_content=test1%7Ctest2%7Ctest3%7test4"
-// + "&utmp=%2Ftools%2Fusage%2FtestUrl0_7_3_win_adcontent"
-// + "&utmac=UA-17645367-1"
-// +
"&utmcc=__utma%3D455663892.1285760711.1281430767.1281430767.1281430767.1%3B%2B__utmz%3D156030500.1281430767.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B"
-// + "&gaq=1";
-// method.request(url);
-// assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
-// }
-//
-// @Ignore
-// @Test
-// public void testUrl0_7_3_win_keyword() throws IOException {
-// String userAgent = "com.jboss.jbds.product/3.0.1 (Windows; U; Windows NT 6.1;
en-US)";
-// TestHttpGetMethod method = new TestHttpGetMethod(userAgent, loggingAdapter);
-// String url = "http://www.google-analytics.com/__utm.gif?"
-// + "utmwv=4.7.2"
-// + "&utmn=378334354"
-// + "&utmhn=jboss.org"
-// + "&utmcs=UTF-8"
-// + "&utmsr=1920x1080"
-// + "&utmsc=24-bit"
-// + "&utmul=en-us"
-// + "&utmdt=tools-usage-test_0_7_3_win_keyword"
-// + "&utmhid=1087431432"
-// + "&utmr=seam|esb|smooks|birt|bpel|cdi|deltacloud|drools"
-// + "&term=test1%7Ctest2%7Ctest3%7test4"
-// + "&utm_term=test1a%7Ctest2a%7Ctest3a%7test4a"
-// + "&utmp=%2Ftools%2Fusage%2FtestUrl0_7_3_win_keyword"
-// + "&utmac=UA-17645367-1"
-// +
"&utmcc=__utma%3D887463892.1285760711.1281430767.1281430767.1281430767.1%3B%2B__utmz%3D156030500.1281430767.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B"
-// + "&gaq=1";
-// method.request(url);
-// assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
-// }
-//
-// @Ignore
-// @Test
-// public void testUrl0_7_3_win_utmz() throws IOException {
-// String userAgent = "com.jboss.jbds.product/3.0.1 (Windows; U; Windows NT 6.1;
en-US)";
-// TestHttpGetMethod method = new TestHttpGetMethod(userAgent, loggingAdapter);
-// String url = "http://www.google-analytics.com/__utm.gif?"
-// + "utmwv=4.7.2"
-// + "&utmn=351334444"
-// + "&utmhn=jboss.org"
-// + "&utmcs=UTF-8"
-// + "&utmsr=1920x1080"
-// + "&utmsc=24-bit"
-// + "&utmul=en-us"
-// + "&utmdt=tools-usage-test_0_7_3_win__utmz"
-// + "&utmhid=1087431432"
-// + "&utmr=seam|esb|smooks|birt|bpel|cdi|deltacloud|drools"
-// + "&utm_content=test1%7Ctest2%7Ctest3"
-// + "&utmp=%2Ftools%2Fusage%2FtestUrl0_7_3_win__utmz"
-// + "&utmac=UA-17645367-1"
-// + "&utmz=test1%7Ctest2%7Ctest3"
-// +
"&utmcc=__utma%3D133663892.1285760711.1281430767.1281430767.1281430767.1%3B%2B__utmz%3D156030500.1281430767.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B"
-// + "&gaq=1";
-// method.request(url);
-// assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
-// }
-//
-// @Ignore
-// @Test
-// public void testUrl0_7_3_win_utmctr() throws IOException {
-// String userAgent = "com.jboss.jbds.product/3.0.1 (Windows; U; Windows NT 6.1;
en-US)";
-// TestHttpGetMethod method = new TestHttpGetMethod(userAgent, loggingAdapter);
-// String url = "http://www.google-analytics.com/__utm.gif?"
-// + "utmwv=4.7.2"
-// + "&utmn=351334444"
-// + "&utmhn=jboss.org"
-// + "&utmcs=UTF-8"
-// + "&utmsr=1920x1080"
-// + "&utmsc=24-bit"
-// + "&utmul=en-us"
-// + "&utmdt=tools-usage-test_0_7_3_win__utmctr"
-// + "&utmhid=1087431432"
-// + "&utmr=seam|esb|smooks|birt|bpel|cdi|deltacloud|drools"
-// + "&utm_content=test1%7Ctest2%7Ctest3"
-// + "&utmp=%2Ftools%2Fusage%2FtestUrl0_7_3_win_utctr"
-// + "&utmac=UA-17645367-1"
-// + "&utmz=test1%7Ctest2%7Ctest3"
-// +
"&utmcc=__utma%3D133663892.1285760711.1281430767.1281430767.1281430767.1%3B%2B__utmz%3D156030500.1281430767.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3D%7Cutmctr%3Dtest1%7Ctest2%7Ctest3%3B"
-// + "&gaq=1";
-// method.request(url);
-// assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
-// }
-//
-// @Ignore
-// @Test
-// public void testUrl0_7_3_win_utmctr_lengthtest() throws IOException {
-// String userAgent = "com.jboss.jbds.product/3.0.1 (Windows; U; Windows NT 6.1;
en-US)";
-// TestHttpGetMethod method = new TestHttpGetMethod(userAgent, loggingAdapter);
-// String url = "http://www.google-analytics.com/__utm.gif?"
-// + "utmwv=4.7.2"
-// + "&utmn=351334794"
-// + "&utmhn=jboss.org"
-// + "&utmcs=UTF-8"
-// + "&utmsr=1920x1080"
-// + "&utmsc=24-bit"
-// + "&utmul=en-us"
-// + "&utmdt=tools-usage-test_0_7_3_win_lengthtest"
-// + "&utmhid=1087431432"
-// + "&utmp=%2Ftools%2Fusage%2FtestUrl0_7_3_win_lengthtest"
-// + "&utmac=UA-17645367-1"
-// + "&utmcc="
-// +
"__utma%3D133697892.1285760711.1281430767.1281430767.1281430767.1%3B%2B"
-// + "__utmz%3D156030500.1281430767.1.1."
-// + "utmcsr%3D(direct)%7C"
-// + "utmccn%3D(direct)%7C"
-// + "utmcmd%3D(none)%7C"
-// +
"utmctr%3Dtest1%7Ctest2%7Ctest3%7Ctest4%7Ctest5%7Ctest6%7Ctest7%7Ctest8%7Ctest8%7Ctest9%7Ctest10%7Ctest11%7Ctest12%7Ctest13%7Ctest514%7Ctest14%7Ctest15%7Ctest16%7Ctest17%7Ctest18%7Ctest19%7Ctest20%7Ctest20%7Ctest21%7Ctest22%7Ctest23%7Ctest514%7Ctest24%7Ctest25%7Ctest26%7Ctest27%7Ctest28%7Ctest29%7Ctest30%7Ctest31%3B"
-// + "&gaq=1";
-// method.request(url);
-// assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
-// }
+ // @Ignore
+ // @Test
+ // public void testUrl0() throws IOException {
+ // String userAgent =
+ // "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.4) Gecko/20100614
Ubuntu/10.04 (lucid) Firefox/10.0.0";
+ // TestHttpGetMethod method = new TestHttpGetMethod(userAgent,
+ // loggingAdapter);
+ // String url = "http://www.google-analytics.com/__utm.gif?"
+ // + "utmwv=4.7.2"
+ // + "&utmn=338321265"
+ // + "&utmhn=jboss.org"
+ // + "&utmcs=UTF-8"
+ // + "&utmsr=1920x1080"
+ // + "&utmsc=24-bit"
+ // + "&utmul=en-us"
+ // + "&utmje=1"
+ // + "&utmfl=10.1%20r53"
+ // + "&utmdt=-%20JBoss%20Community"
+ // + "&utmhid=1087431432"
+ // + "&utmr=0"
+ // + "&utmp=%2Ftools%2Fusage%2FtestUrl0"
+ // + "&utmac=UA-17645367-1"
+ // +
+ //
"&utmcc=__utma%3D156030507.1285760711.1281430767.1281430767.1281430767.1%3B%2B__utmz%3D156030500.1281430767.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B"
+ // + "&gaq=1";
+ // method.request(url);
+ // assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
+ // }
+ //
+ // @Ignore
+ // @Test
+ // public void testUrl0_0() throws IOException {
+ // String userAgent =
+ // "com.jboss.jbds.product/3.0.1 (X11; U; Linux x86_64; en-US)";
+ // TestHttpGetMethod method = new TestHttpGetMethod(userAgent,
+ // loggingAdapter);
+ // String url = "http://www.google-analytics.com/__utm.gif?"
+ // + "utmwv=4.7.2"
+ // + "&utmn=338321288"
+ // + "&utmhn=jboss.org"
+ // + "&utmcs=UTF-8"
+ // + "&utmsr=1920x1080"
+ // + "&utmsc=24-bit"
+ // + "&utmul=en-us"
+ // + "&utmje=1"
+ // + "&utmfl=10.1%20r53"
+ // + "&utmdt=-%20JBoss%20Community"
+ // + "&utmhid=1087431432"
+ // + "&utmr=0"
+ // + "&utmp=%2Ftools%2Fusage%2FtestUrl0_0"
+ // + "&utmac=UA-17645367-1"
+ // +
+ //
"&utmcc=__utma%3D156032507.1285760711.1281430767.1281430767.1281430767.1%3B%2B__utmz%3D156030500.1281430767.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B"
+ // + "&gaq=1";
+ // method.request(url);
+ // assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
+ // }
+ //
+ // @Ignore
+ // @Test
+ // public void testUrl0_1() throws IOException {
+ // String userAgent =
+ // "com.jboss.jbds.product/3.0.1 (X11; U; Linux x86_64; en-US; rv:1.9.2.4)
Gecko/20100614 Ubuntu/10.04 (lucid) v201006010437R-H98-GA";
+ // TestHttpGetMethod method = new TestHttpGetMethod(userAgent,
+ // loggingAdapter);
+ // String url = "http://www.google-analytics.com/__utm.gif?"
+ // + "utmwv=4.7.2"
+ // + "&utmn=3383212651"
+ // + "&utmhn=jboss.org"
+ // + "&utmcs=UTF-8"
+ // + "&utmsr=1920x1080"
+ // + "&utmsc=24-bit"
+ // + "&utmul=en-us"
+ // + "&utmje=1"
+ // + "&utmfl=10.1%20r53"
+ // + "&utmdt=-%20JBoss%20Community"
+ // + "&utmhid=1087431432"
+ // + "&utmr=0"
+ // + "&utmp=%2Ftools%2Fusage%2FtestUrl0_1"
+ // + "&utmac=UA-17645367-1"
+ // +
+ //
"&utmcc=__utma%3D156030508.195542053.1281528584.1281528584.1281528584.1%3B%2B__utmz%3D156030500.1281528584.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B"
+ // + "&gaq=1";
+ // method.request(url);
+ // assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
+ // }
+ //
+ // @Ignore
+ // @Test
+ // public void testUrl0_2() throws IOException {
+ // String userAgent =
+ // "com.jboss.jbds.product/3.0.1 (X11; U; Linux x86_64; en-US; rv:1.9.2.4)
Gecko/20100614 Ubuntu/10.04 (lucid) Eclipse/3.5.0";
+ // TestHttpGetMethod method = new TestHttpGetMethod(userAgent,
+ // loggingAdapter);
+ // String url = "http://www.google-analytics.com/__utm.gif?"
+ // + "utmwv=4.7.2"
+ // + "&utmn=3383212652"
+ // + "&utmhn=jboss.org"
+ // + "&utmcs=UTF-8"
+ // + "&utmsr=1920x1080"
+ // + "&utmsc=24-bit"
+ // + "&utmul=en-us"
+ // + "&utmje=1"
+ // + "&utmfl=10.1%20r53"
+ // + "&utmdt=-%20JBoss%20Community"
+ // + "&utmhid=1087431432"
+ // + "&utmr=0"
+ // + "&utmp=%2Ftools%2Fusage%2FtestUrl0_2"
+ // + "&utmac=UA-17645367-1"
+ // +
+ //
"&utmcc=__utma%3D156030509.1285760712.1281430767.1281430767.1281430767.1%3B%2B__utmz%3D156030500.1281430767.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B"
+ // + "&gaq=1";
+ // method.request(url);
+ // assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
+ // }
+ //
+ // @Ignore
+ // @Test
+ // public void testUrl0_3() throws IOException {
+ // String userAgent =
+ // "com.jboss.jbds.product/3.0.1 (X11; U; Linux x86_64; en-US;)
Eclipse/3.5.0";
+ // TestHttpGetMethod method = new TestHttpGetMethod(userAgent,
+ // loggingAdapter);
+ // String url = "http://www.google-analytics.com/__utm.gif?"
+ // + "utmwv=4.7.2"
+ // + "&utmn=3383212651"
+ // + "&utmhn=jboss.org"
+ // + "&utmcs=UTF-8"
+ // + "&utmsr=1920x1080"
+ // + "&utmsc=24-bit"
+ // + "&utmul=en-us"
+ // + "&utmje=1"
+ // + "&utmfl=10.1%20r53"
+ // + "&utmdt=-%20JBoss%20Community"
+ // + "&utmhid=1087431432"
+ // + "&utmr=0"
+ // + "&utmp=%2Ftools%2Fusage%2FtestUrl0_3"
+ // + "&utmac=UA-17645367-1"
+ // +
+ //
"&utmcc=__utma%3D156030501.1285760711.1281430767.1281430767.1281430767.1%3B%2B__utmz%3D156030500.1281430767.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B"
+ // + "&gaq=1";
+ // method.request(url);
+ // assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
+ // }
+ //
+ // @Ignore
+ // @Test
+ // public void testUrl0_4() throws IOException {
+ // String userAgent = "com.jboss.jbds.product/3.0.1";
+ // TestHttpGetMethod method = new TestHttpGetMethod(userAgent,
+ // loggingAdapter);
+ // String url = "http://www.google-analytics.com/__utm.gif?"
+ // + "utmwv=4.7.2"
+ // + "&utmn=3383212651"
+ // + "&utmhn=jboss.org"
+ // + "&utmcs=UTF-8"
+ // + "&utmsr=1920x1080"
+ // + "&utmsc=24-bit"
+ // + "&utmul=en-us"
+ // + "&utmje=1"
+ // + "&utmfl=10.1%20r53"
+ // + "&utmdt=-%20JBoss%20Community"
+ // + "&utmhid=1087431432"
+ // + "&utmr=0"
+ // + "&utmp=%2Ftools%2Fusage%2FtestUrl0_4"
+ // + "&utmac=UA-17645367-1"
+ // +
+ //
"&utmcc=__utma%3D156030502.195542053.1281528584.1281528584.1281528584.1%3B%2B__utmz%3D156030500.1281528584.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B"
+ // + "&gaq=1";
+ // method.request(url);
+ // assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
+ // }
+ //
+ // @Ignore
+ // @Test
+ // public void testUrl0_5() throws IOException {
+ // String userAgent = "com.jboss.jbds.product/3.0.1 (Linux x86_64)";
+ // TestHttpGetMethod method = new TestHttpGetMethod(userAgent,
+ // loggingAdapter);
+ // String url = "http://www.google-analytics.com/__utm.gif?"
+ // + "utmwv=4.7.2"
+ // + "&utmn=33832126513"
+ // + "&utmhn=jboss.org"
+ // + "&utmcs=UTF-8"
+ // + "&utmsr=1920x1080"
+ // + "&utmsc=24-bit"
+ // + "&utmul=en-us"
+ // + "&utmje=1"
+ // + "&utmfl=10.1%20r53"
+ // + "&utmdt=-%20JBoss%20Community"
+ // + "&utmhid=1087431432"
+ // + "&utmr=0"
+ // + "&utmp=%2Ftools%2Fusage%2FtestUrl0_5"
+ // + "&utmac=UA-17645367-1"
+ // +
+ //
"&__utma%3D156030503.195542053.1281528584.1281528584.1281528584.1%3B%2B__utmz%3D156030500.1281528584.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B"
+ // + "&gaq=1";
+ // method.request(url);
+ // assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
+ // }
+ //
+ // @Ignore
+ // @Test
+ // public void testUrl0_6() throws IOException {
+ // String userAgent =
+ // "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.4) Gecko/20100614
Ubuntu/10.04 (lucid) com.jboss.jbds.product/3.0.1";
+ // TestHttpGetMethod method = new TestHttpGetMethod(userAgent,
+ // loggingAdapter);
+ // String url = "http://www.google-analytics.com/__utm.gif?"
+ // + "utmwv=4.7.2"
+ // + "&utmn=338321265"
+ // + "&utmhn=jboss.org"
+ // + "&utmcs=UTF-8"
+ // + "&utmsr=1920x1080"
+ // + "&utmsc=24-bit"
+ // + "&utmul=en-us"
+ // + "&utmje=1"
+ // + "&utmfl=10.1%20r53"
+ // + "&utmdt=-%20JBoss%20Community"
+ // + "&utmhid=1087431432"
+ // + "&utmr=0"
+ // + "&utmp=%2Ftools%2Fusage%2FtestUrl0_6"
+ // + "&utmac=UA-17645367-1"
+ // +
+ //
"&utmcc=__utma%3D156030507.1285760711.1281430767.1281430767.1281430767.1%3B%2B__utmz%3D156030500.1281430767.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B"
+ // + "&gaq=1";
+ // method.request(url);
+ // assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
+ // }
+ //
+ // @Ignore
+ // @Test
+ // public void testUrl0_7() throws IOException {
+ // String userAgent =
+ // "com.jboss.jbds.product/3.0.1 (X11; U; Linux x86_64; en-US)";
+ // TestHttpGetMethod method = new TestHttpGetMethod(userAgent,
+ // loggingAdapter);
+ // String url = "http://www.google-analytics.com/__utm.gif?"
+ // + "utmwv=4.7.2"
+ // + "&utmn=338321268"
+ // + "&utmhn=jboss.org"
+ // + "&utmcs=UTF-8"
+ // + "&utmsr=1920x1080"
+ // + "&utmsc=24-bit"
+ // + "&utmul=en-us"
+ // + "&utmje=1"
+ // + "&utmfl=10.1%20r53"
+ // + "&utmdt=-%20JBoss%20Community"
+ // + "&utmhid=1087431432"
+ // + "&utmr=0"
+ // + "&utmp=%2Ftools%2Fusage%2FtestUrl0_7"
+ // + "&utmac=UA-17645367-1"
+ // +
+ //
"&utmcc=__utma%3D156030507.1285760711.1281430767.1281430767.1281430767.1%3B%2B__utmz%3D156030500.1281430767.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B"
+ // + "&gaq=1";
+ // method.request(url);
+ // assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
+ // }
+ //
+ // @Ignore
+ // @Test
+ // public void testUrl0_7_1() throws IOException {
+ // String userAgent =
+ // "com.jboss.jbds.product/3.0.1 (X11; U; Linux x86_64; en-us)";
+ // TestHttpGetMethod method = new TestHttpGetMethod(userAgent,
+ // loggingAdapter);
+ // String url = "http://www.google-analytics.com/__utm.gif?"
+ // + "utmwv=4.7.2"
+ // + "&utmn=338321068"
+ // + "&utmhn=jboss.org"
+ // + "&utmcs=UTF-8"
+ // + "&utmsr=1920x1080"
+ // + "&utmsc=24-bit"
+ // + "&utmje=1"
+ // + "&utmfl=10.1%20r53"
+ // + "&utmdt=-%20JBoss%20Community"
+ // + "&utmhid=1087431432"
+ // + "&utmr=0"
+ // + "&utmp=%2Ftools%2Fusage%2FtestUrl0_7_1"
+ // + "&utmac=UA-17645367-1"
+ // +
+ //
"&utmcc=__utma%3D156030507.1285760711.1281430767.1281430767.1281430767.1%3B%2B__utmz%3D156030500.1281430767.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B"
+ // + "&gaq=1";
+ // method.request(url);
+ // assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
+ // }
+ //
+ // @Ignore
+ // @Test
+ // public void testUrl0_7_2() throws IOException {
+ // String userAgent =
+ // "com.jboss.jbds.product/3.0.1 (X11; U; Linux x86_64; en-US)";
+ // TestHttpGetMethod method = new TestHttpGetMethod(userAgent,
+ // loggingAdapter);
+ // String url = "http://www.google-analytics.com/__utm.gif?"
+ // + "utmwv=4.7.2"
+ // + "&utmn=338333268"
+ // + "&utmhn=jboss.org"
+ // + "&utmcs=UTF-8"
+ // + "&utmsr=1920x1080"
+ // + "&utmsc=24-bit"
+ // + "&utmul=en-us"
+ // + "&utmdt=-%20JBoss%20Community"
+ // + "&utmhid=1087431432"
+ // + "&utmr=0"
+ // + "&utmp=%2Ftools%2Fusage%2FtestUrl0_7_2"
+ // + "&utmac=UA-17645367-1"
+ // +
+ //
"&utmcc=__utma%3D156620507.1285760111.1281430767.1281430767.1281430767.1%3B%2B__utmz%3D156030500.1281430767.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B"
+ // + "&gaq=1";
+ // method.request(url);
+ // assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
+ // }
+ //
+ // @Ignore
+ // @Test
+ // public void testUrl0_7_3() throws IOException {
+ // String userAgent =
+ // "com.jboss.jbds.product/3.0.1 (X11; U; Linux x86_64; en-US)";
+ // TestHttpGetMethod method = new TestHttpGetMethod(userAgent,
+ // loggingAdapter);
+ // String url = "http://www.google-analytics.com/__utm.gif?"
+ // + "utmwv=4.7.2"
+ // + "&utmn=311333268"
+ // + "&utmhn=jboss.org"
+ // + "&utmcs=UTF-8"
+ // + "&utmsr=1920x1080"
+ // + "&utmsc=24-bit"
+ // + "&utmul=en-us"
+ // + "&utmdt=tools-usage-test_0_7_3"
+ // + "&utmhid=1087431432"
+ // + "&utmr=0"
+ // + "&utmp=%2Ftools%2Fusage%2FtestUrl0_7_3"
+ // + "&utmac=UA-17645367-1"
+ // +
+ //
"&utmcc=__utma%3D112660507.1285760711.1281430767.1281430767.1281430767.1%3B%2B__utmz%3D156030500.1281430767.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B"
+ // + "&gaq=1";
+ // method.request(url);
+ // assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
+ // }
+ //
+ // @Ignore
+ // @Test
+ // public void testUrl0_7_3_mac() throws IOException {
+ // String userAgent =
+ // "com.jboss.jbds.product/3.0.1 (Macintosh; U; Intel Mac OS X 10.5; fr)";
+ // TestHttpGetMethod method = new TestHttpGetMethod(userAgent,
+ // loggingAdapter);
+ // String url = "http://www.google-analytics.com/__utm.gif?"
+ // + "utmwv=4.7.2"
+ // + "&utmn=351333268"
+ // + "&utmhn=jboss.org"
+ // + "&utmcs=UTF-8"
+ // + "&utmsr=1920x1080"
+ // + "&utmsc=24-bit"
+ // + "&utmul=en-us"
+ // + "&utmdt=tools-usage-test_0_7_3"
+ // + "&utmhid=1087431432"
+ // + "&utmr=0"
+ // + "&utmp=%2Ftools%2Fusage%2FtestUrl0_7_3_mac"
+ // + "&utmac=UA-17645367-1"
+ // +
+ //
"&utmcc=__utma%3D133660507.1285760711.1281430767.1281430767.1281430767.1%3B%2B__utmz%3D156030500.1281430767.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B"
+ // + "&gaq=1";
+ // method.request(url);
+ // assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
+ // }
+ //
+ // @Ignore
+ // @Test
+ // public void testUrl0_7_3_win() throws IOException {
+ // String userAgent =
+ // "com.jboss.jbds.product/3.0.1 (Windows; U; Windows NT 6.1; en-US)";
+ // TestHttpGetMethod method = new TestHttpGetMethod(userAgent,
+ // loggingAdapter);
+ // String url = "http://www.google-analytics.com/__utm.gif?"
+ // + "utmwv=4.7.2"
+ // + "&utmn=351333254"
+ // + "&utmhn=jboss.org"
+ // + "&utmcs=UTF-8"
+ // + "&utmsr=1920x1080"
+ // + "&utmsc=24-bit"
+ // + "&utmul=en-us"
+ // + "&utmdt=tools-usage-test_0_7_3_win"
+ // + "&utmhid=1087431432"
+ // + "&utmr=0"
+ // + "&utmp=%2Ftools%2Fusage%2FtestUrl0_7_3_win"
+ // + "&utmac=UA-17645367-1"
+ // +
+ //
"&utmcc=__utma%3D133660522.1285760711.1281430767.1281430767.1281430767.1%3B%2B__utmz%3D156030500.1281430767.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B"
+ // + "&gaq=1";
+ // method.request(url);
+ // assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
+ // }
+ //
+ // @Ignore
+ // @Test
+ // public void testUrl0_7_3_1() throws IOException {
+ // String userAgent =
+ // "com.jboss.jbds.product/3.0.1 (Windows; U; Windows NT 6.1; en-US)";
+ // TestHttpGetMethod method = new TestHttpGetMethod(userAgent,
+ // loggingAdapter);
+ // String url = "http://www.google-analytics.com/__utm.gif?"
+ // + "utmwv=4.7.2"
+ // + "&utmn=358333254"
+ // + "&utmhn=jboss.org"
+ // + "&utmcs=UTF-8"
+ // + "&utmsr=1920x1080"
+ // + "&utmsc=24-bit"
+ // + "&utmul=en-us"
+ // + "&utmdt=tools-usage-test_0_7_3_1"
+ // + "&utmhid=1087431432"
+ // + "&utmr=smooks|seam|drools|esb"
+ // + "&utmp=%2Ftools%2Fusage%2FtestUrl0_7_3_1"
+ // + "&utmac=UA-17645367-1"
+ // +
+ //
"&utmcc=__utma%3D133860522.1285760711.1281430767.1281430767.1281430767.1%3B%2B__utmz%3D156030500.1281430767.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B"
+ // + "&gaq=1";
+ // method.request(url);
+ // assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
+ // }
+ //
+ // @Ignore
+ // @Test
+ // public void testUrl8() throws IOException {
+ // String userAgent =
+ // "com.jboss.jbds.product/3.0.1 (Windows; U; Windows NT 6.1; en-US)";
+ // TestHttpGetMethod method = new TestHttpGetMethod(userAgent,
+ // loggingAdapter);
+ // String url = "http://www.google-analytics.com/__utm.gif?"
+ // + "utmwv=4.7.2"
+ // + "&utmn=453325272"
+ // + "&utmhn=jboss.org"
+ // + "&utmcs=UTF-8"
+ // + "&utmsr=1920x1080"
+ // + "&utmsc=24-bit"
+ // + "&utmul=en-US"
+ // + "&utmdt=jboss.org-tools-usage-instance"
+ // + "&utmhid=1722580305"
+ // + "&utmr=org.jboss.tools.usage.tests"
+ // + "&utmp=%2Fjboss.org%2Ftools%2Fusage%2FtestUrl8"
+ // + "&utmac=UA-17645367-1"
+ // +
+ //
"&utmcc=__utma%3D999.69517276658961975851281943564260.1281943564259.1281943564259.1281943564259.-1%3B%2B__utmz%3D999.1281943564259.1.1.utmcsr%3D%28direct%29%7Cutmccn%3D%28direct%29%7Cutmcmd%3D%28none%29%3B"
+ // + "&gaq=1";
+ // method.request(url);
+ // assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
+ // }
+ //
+ // @Ignore
+ // @Test
+ // public void testUrl0_7_3_win_referral() throws IOException {
+ // String userAgent =
+ // "com.jboss.jbds.product/3.0.1 (Windows; U; Windows NT 6.1; en-US)";
+ // TestHttpGetMethod method = new TestHttpGetMethod(userAgent,
+ // loggingAdapter);
+ // String url = "http://www.google-analytics.com/__utm.gif?"
+ // + "utmwv=4.7.2"
+ // + "&utmn=351334444"
+ // + "&utmhn=jboss.org"
+ // + "&utmcs=UTF-8"
+ // + "&utmsr=1920x1080"
+ // + "&utmsc=24-bit"
+ // + "&utmul=en-us"
+ // + "&utmdt=tools-usage-test_0_7_3_win_referral"
+ // + "&utmhid=1087431432"
+ // + "&utmr=seam|esb|smooks|birt|bpel|cdi|deltacloud|drools"
+ // + "&utm_content=test1%7Ctest2%7Ctest3"
+ // + "&utmp=%2Ftools%2Fusage%2FtestUrl0_7_3_win_referral"
+ // + "&utmac=UA-17645367-1"
+ // +
+ //
"&utmcc=__utma%3D133663892.1285760711.1281430767.1281430767.1281430767.1%3B%2B__utmz%3D156030500.1281430767.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B"
+ // + "&gaq=1";
+ // method.request(url);
+ // assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
+ // }
+ //
+ // @Ignore
+ // @Test
+ // public void testUrl0_7_3_win_adcontent() throws IOException {
+ // String userAgent =
+ // "com.jboss.jbds.product/3.0.1 (Windows; U; Windows NT 6.1; en-US)";
+ // TestHttpGetMethod method = new TestHttpGetMethod(userAgent,
+ // loggingAdapter);
+ // String url = "http://www.google-analytics.com/__utm.gif?"
+ // + "utmwv=4.7.2"
+ // + "&utmn=378334444"
+ // + "&utmhn=jboss.org"
+ // + "&utmcs=UTF-8"
+ // + "&utmsr=1920x1080"
+ // + "&utmsc=24-bit"
+ // + "&utmul=en-us"
+ // + "&utmdt=tools-usage-test_0_7_3_win_adcontent"
+ // + "&utmhid=1087431432"
+ // + "&utmr=seam|esb|smooks|birt|bpel|cdi|deltacloud|drools"
+ // + "&utm_content=test1%7Ctest2%7Ctest3%7test4"
+ // + "&utmp=%2Ftools%2Fusage%2FtestUrl0_7_3_win_adcontent"
+ // + "&utmac=UA-17645367-1"
+ // +
+ //
"&utmcc=__utma%3D455663892.1285760711.1281430767.1281430767.1281430767.1%3B%2B__utmz%3D156030500.1281430767.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B"
+ // + "&gaq=1";
+ // method.request(url);
+ // assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
+ // }
+ //
+ // @Ignore
+ // @Test
+ // public void testUrl0_7_3_win_keyword() throws IOException {
+ // String userAgent =
+ // "com.jboss.jbds.product/3.0.1 (Windows; U; Windows NT 6.1; en-US)";
+ // TestHttpGetMethod method = new TestHttpGetMethod(userAgent,
+ // loggingAdapter);
+ // String url = "http://www.google-analytics.com/__utm.gif?"
+ // + "utmwv=4.7.2"
+ // + "&utmn=378334354"
+ // + "&utmhn=jboss.org"
+ // + "&utmcs=UTF-8"
+ // + "&utmsr=1920x1080"
+ // + "&utmsc=24-bit"
+ // + "&utmul=en-us"
+ // + "&utmdt=tools-usage-test_0_7_3_win_keyword"
+ // + "&utmhid=1087431432"
+ // + "&utmr=seam|esb|smooks|birt|bpel|cdi|deltacloud|drools"
+ // + "&term=test1%7Ctest2%7Ctest3%7test4"
+ // + "&utm_term=test1a%7Ctest2a%7Ctest3a%7test4a"
+ // + "&utmp=%2Ftools%2Fusage%2FtestUrl0_7_3_win_keyword"
+ // + "&utmac=UA-17645367-1"
+ // +
+ //
"&utmcc=__utma%3D887463892.1285760711.1281430767.1281430767.1281430767.1%3B%2B__utmz%3D156030500.1281430767.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B"
+ // + "&gaq=1";
+ // method.request(url);
+ // assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
+ // }
+ //
+ // @Ignore
+ // @Test
+ // public void testUrl0_7_3_win_utmz() throws IOException {
+ // String userAgent =
+ // "com.jboss.jbds.product/3.0.1 (Windows; U; Windows NT 6.1; en-US)";
+ // TestHttpGetMethod method = new TestHttpGetMethod(userAgent,
+ // loggingAdapter);
+ // String url = "http://www.google-analytics.com/__utm.gif?"
+ // + "utmwv=4.7.2"
+ // + "&utmn=351334444"
+ // + "&utmhn=jboss.org"
+ // + "&utmcs=UTF-8"
+ // + "&utmsr=1920x1080"
+ // + "&utmsc=24-bit"
+ // + "&utmul=en-us"
+ // + "&utmdt=tools-usage-test_0_7_3_win__utmz"
+ // + "&utmhid=1087431432"
+ // + "&utmr=seam|esb|smooks|birt|bpel|cdi|deltacloud|drools"
+ // + "&utm_content=test1%7Ctest2%7Ctest3"
+ // + "&utmp=%2Ftools%2Fusage%2FtestUrl0_7_3_win__utmz"
+ // + "&utmac=UA-17645367-1"
+ // + "&utmz=test1%7Ctest2%7Ctest3"
+ // +
+ //
"&utmcc=__utma%3D133663892.1285760711.1281430767.1281430767.1281430767.1%3B%2B__utmz%3D156030500.1281430767.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B"
+ // + "&gaq=1";
+ // method.request(url);
+ // assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
+ // }
+ //
+ // @Ignore
+ // @Test
+ // public void testUrl0_7_3_win_utmctr() throws IOException {
+ // String userAgent =
+ // "com.jboss.jbds.product/3.0.1 (Windows; U; Windows NT 6.1; en-US)";
+ // TestHttpGetMethod method = new TestHttpGetMethod(userAgent,
+ // loggingAdapter);
+ // String url = "http://www.google-analytics.com/__utm.gif?"
+ // + "utmwv=4.7.2"
+ // + "&utmn=351334444"
+ // + "&utmhn=jboss.org"
+ // + "&utmcs=UTF-8"
+ // + "&utmsr=1920x1080"
+ // + "&utmsc=24-bit"
+ // + "&utmul=en-us"
+ // + "&utmdt=tools-usage-test_0_7_3_win__utmctr"
+ // + "&utmhid=1087431432"
+ // + "&utmr=seam|esb|smooks|birt|bpel|cdi|deltacloud|drools"
+ // + "&utm_content=test1%7Ctest2%7Ctest3"
+ // + "&utmp=%2Ftools%2Fusage%2FtestUrl0_7_3_win_utctr"
+ // + "&utmac=UA-17645367-1"
+ // + "&utmz=test1%7Ctest2%7Ctest3"
+ // +
+ //
"&utmcc=__utma%3D133663892.1285760711.1281430767.1281430767.1281430767.1%3B%2B__utmz%3D156030500.1281430767.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3D%7Cutmctr%3Dtest1%7Ctest2%7Ctest3%3B"
+ // + "&gaq=1";
+ // method.request(url);
+ // assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
+ // }
+ //
+ // @Ignore
+ // @Test
+ // public void testUrl0_7_3_win_utmctr_lengthtest() throws IOException {
+ // String userAgent =
+ // "com.jboss.jbds.product/3.0.1 (Windows; U; Windows NT 6.1; en-US)";
+ // TestHttpGetMethod method = new TestHttpGetMethod(userAgent,
+ // loggingAdapter);
+ // String url = "http://www.google-analytics.com/__utm.gif?"
+ // + "utmwv=4.7.2"
+ // + "&utmn=351334794"
+ // + "&utmhn=jboss.org"
+ // + "&utmcs=UTF-8"
+ // + "&utmsr=1920x1080"
+ // + "&utmsc=24-bit"
+ // + "&utmul=en-us"
+ // + "&utmdt=tools-usage-test_0_7_3_win_lengthtest"
+ // + "&utmhid=1087431432"
+ // + "&utmp=%2Ftools%2Fusage%2FtestUrl0_7_3_win_lengthtest"
+ // + "&utmac=UA-17645367-1"
+ // + "&utmcc="
+ // +
+ // "__utma%3D133697892.1285760711.1281430767.1281430767.1281430767.1%3B%2B"
+ // + "__utmz%3D156030500.1281430767.1.1."
+ // + "utmcsr%3D(direct)%7C"
+ // + "utmccn%3D(direct)%7C"
+ // + "utmcmd%3D(none)%7C"
+ // +
+ //
"utmctr%3Dtest1%7Ctest2%7Ctest3%7Ctest4%7Ctest5%7Ctest6%7Ctest7%7Ctest8%7Ctest8%7Ctest9%7Ctest10%7Ctest11%7Ctest12%7Ctest13%7Ctest514%7Ctest14%7Ctest15%7Ctest16%7Ctest17%7Ctest18%7Ctest19%7Ctest20%7Ctest20%7Ctest21%7Ctest22%7Ctest23%7Ctest514%7Ctest24%7Ctest25%7Ctest26%7Ctest27%7Ctest28%7Ctest29%7Ctest30%7Ctest31%3B"
+ // + "&gaq=1";
+ // method.request(url);
+ // assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
+ // }
-// @Test
-// public void testUrl_utmaCookies_0() throws IOException {
-// TestHttpGetMethod method = new TestHttpGetMethod();
-// String url = "http://www.google-analytics.com/__utm.gif?"
-// + "utmwv=4.7.2"
-// + "&utmn=351358794"
-// + "&utmhn=jboss.org"
-// + "&utmcs=UTF-8"
-// + "&utmsr=1920x1080"
-// + "&utmsc=24-bit"
-// + "&utmul=en-us"
-// + "&utmdt=tools-usage-testUrl_utmaCookies_0"
-// + "&utmhid=1087431432"
-// + "&utmp=%2Ftools%2Fusage%2FtestUrl_utmaCookies_0"
-// + "&utmac=UA-17645367-1"
-// + "&utmcc="
-// + "__utma%3D133697892.111.1281430767.1281430767.1281430767.1%3B%2B"
-// + "__utmz%3D156030500.1281430767.1.1."
-// + "utmcsr%3D(direct)%7C"
-// + "utmccn%3D(direct)%7C"
-// + "utmcmd%3D(none)%7C"
-// +
"utmctr%3Dtest1%7Ctest2%7Ctest3%7Ctest4%7Ctest5%7Ctest6%7Ctest7%7Ctest8%7Ctest8%7Ctest9%7Ctest10%7Ctest11%7Ctest12%7Ctest13%7Ctest514%7Ctest14%7Ctest15%7Ctest16%7Ctest17%7Ctest18%7Ctest19%7Ctest20%7Ctest20%7Ctest21%7Ctest22%7Ctest23%7Ctest514%7Ctest24%7Ctest25%7Ctest26%7Ctest27%7Ctest28%7Ctest29%7Ctest30%7Ctest31%3B"
-// + "&gaq=1";
-// method.request(url);
-// assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
-// }
+ // @Test
+ // public void testUrl_utmaCookies_0() throws IOException {
+ // TestHttpGetMethod method = new TestHttpGetMethod();
+ // String url = "http://www.google-analytics.com/__utm.gif?"
+ // + "utmwv=4.7.2"
+ // + "&utmn=351358794"
+ // + "&utmhn=jboss.org"
+ // + "&utmcs=UTF-8"
+ // + "&utmsr=1920x1080"
+ // + "&utmsc=24-bit"
+ // + "&utmul=en-us"
+ // + "&utmdt=tools-usage-testUrl_utmaCookies_0"
+ // + "&utmhid=1087431432"
+ // + "&utmp=%2Ftools%2Fusage%2FtestUrl_utmaCookies_0"
+ // + "&utmac=UA-17645367-1"
+ // + "&utmcc="
+ // + "__utma%3D133697892.111.1281430767.1281430767.1281430767.1%3B%2B"
+ // + "__utmz%3D156030500.1281430767.1.1."
+ // + "utmcsr%3D(direct)%7C"
+ // + "utmccn%3D(direct)%7C"
+ // + "utmcmd%3D(none)%7C"
+ // +
+ //
"utmctr%3Dtest1%7Ctest2%7Ctest3%7Ctest4%7Ctest5%7Ctest6%7Ctest7%7Ctest8%7Ctest8%7Ctest9%7Ctest10%7Ctest11%7Ctest12%7Ctest13%7Ctest514%7Ctest14%7Ctest15%7Ctest16%7Ctest17%7Ctest18%7Ctest19%7Ctest20%7Ctest20%7Ctest21%7Ctest22%7Ctest23%7Ctest514%7Ctest24%7Ctest25%7Ctest26%7Ctest27%7Ctest28%7Ctest29%7Ctest30%7Ctest31%3B"
+ // + "&gaq=1";
+ // method.request(url);
+ // assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
+ // }
/**
* this test should create a request to the same url by a different eclipse
@@ -616,268 +682,415 @@
*
* @throws IOException
*/
-// @Test
-// public void testUrl_utmaCookies_0_otherEclipse() throws IOException {
-// TestHttpGetMethod method = new TestHttpGetMethod();
-// String url = "http://www.google-analytics.com/__utm.gif?"
-// + "utmwv=4.7.2"
-// + "&utmn=351357694"
-// + "&utmhn=jboss.org"
-// + "&utmcs=UTF-8"
-// + "&utmsr=1920x1080"
-// + "&utmsc=24-bit"
-// + "&utmul=en-us"
-// + "&utmdt=tools-usage-testUrl_utmaCookies_0"
-// + "&utmhid=1087431432"
-// + "&utmp=%2Ftools%2Fusage%2FtestUrl_utmaCookies_0"
-// + "&utmac=UA-17645367-1"
-// + "&utmcc="
-// + "__utma%3D133697892.2222.1281430767.1281430767.1281430767.1%3B%2B"
-// + "__utmz%3D156030500.1281430767.1.1."
-// + "utmcsr%3D(direct)%7C"
-// + "utmccn%3D(direct)%7C"
-// + "utmcmd%3D(none)%7C"
-// +
"utmctr%3Dtest1%7Ctest2%7Ctest3%7Ctest4%7Ctest5%7Ctest6%7Ctest7%7Ctest8%7Ctest8%7Ctest9%7Ctest10%7Ctest11%7Ctest12%7Ctest13%7Ctest514%7Ctest14%7Ctest15%7Ctest16%7Ctest17%7Ctest18%7Ctest19%7Ctest20%7Ctest20%7Ctest21%7Ctest22%7Ctest23%7Ctest514%7Ctest24%7Ctest25%7Ctest26%7Ctest27%7Ctest28%7Ctest29%7Ctest30%7Ctest31%3B"
-// + "&gaq=1";
-// method.request(url);
-// assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
-// }
+ // @Test
+ // public void testUrl_utmaCookies_0_otherEclipse() throws IOException {
+ // TestHttpGetMethod method = new TestHttpGetMethod();
+ // String url = "http://www.google-analytics.com/__utm.gif?"
+ // + "utmwv=4.7.2"
+ // + "&utmn=351357694"
+ // + "&utmhn=jboss.org"
+ // + "&utmcs=UTF-8"
+ // + "&utmsr=1920x1080"
+ // + "&utmsc=24-bit"
+ // + "&utmul=en-us"
+ // + "&utmdt=tools-usage-testUrl_utmaCookies_0"
+ // + "&utmhid=1087431432"
+ // + "&utmp=%2Ftools%2Fusage%2FtestUrl_utmaCookies_0"
+ // + "&utmac=UA-17645367-1"
+ // + "&utmcc="
+ // + "__utma%3D133697892.2222.1281430767.1281430767.1281430767.1%3B%2B"
+ // + "__utmz%3D156030500.1281430767.1.1."
+ // + "utmcsr%3D(direct)%7C"
+ // + "utmccn%3D(direct)%7C"
+ // + "utmcmd%3D(none)%7C"
+ // +
+ //
"utmctr%3Dtest1%7Ctest2%7Ctest3%7Ctest4%7Ctest5%7Ctest6%7Ctest7%7Ctest8%7Ctest8%7Ctest9%7Ctest10%7Ctest11%7Ctest12%7Ctest13%7Ctest514%7Ctest14%7Ctest15%7Ctest16%7Ctest17%7Ctest18%7Ctest19%7Ctest20%7Ctest20%7Ctest21%7Ctest22%7Ctest23%7Ctest514%7Ctest24%7Ctest25%7Ctest26%7Ctest27%7Ctest28%7Ctest29%7Ctest30%7Ctest31%3B"
+ // + "&gaq=1";
+ // method.request(url);
+ // assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
+ // }
-// @Test
-// public void testUrl_utmaCookies_1() throws IOException {
-// TestHttpGetMethod method = new TestHttpGetMethod();
-// String url = "http://www.google-analytics.com/__utm.gif?"
-// + "utmwv=4.7.2"
-// + "&utmn=261334794"
-// + "&utmhn=jboss.org"
-// + "&utmcs=UTF-8"
-// + "&utmsr=1920x1080"
-// + "&utmsc=24-bit"
-// + "&utmul=en-us"
-// + "&utmdt=tools-usage-testUrl_utmaCookies_1"
-// + "&utmhid=1087431432"
-// + "&utmp=%2Ftools%2Fusage%2FtestUrl_utmaCookies_1"
-// + "&utmac=UA-17645367-1"
-// + "&utmcc="
-// +
"__utma%3D133697892.1285760711.1281430767.1281430767.1281430867.2%3B%2B"
-// + "__utmz%3D156030500.1281430767.1.1."
-// + "utmcsr%3D(direct)%7C"
-// + "utmccn%3D(direct)%7C"
-// + "utmcmd%3D(none)%7C"
-// +
"utmctr%3Dtest1%7Ctest2%7Ctest3%7Ctest4%7Ctest5%7Ctest6%7Ctest7%7Ctest8%7Ctest8%7Ctest9%7Ctest10%7Ctest11%7Ctest12%7Ctest13%7Ctest514%7Ctest14%7Ctest15%7Ctest16%7Ctest17%7Ctest18%7Ctest19%7Ctest20%7Ctest20%7Ctest21%7Ctest22%7Ctest23%7Ctest514%7Ctest24%7Ctest25%7Ctest26%7Ctest27%7Ctest28%7Ctest29%7Ctest30%7Ctest31%3B"
-// + "&gaq=1";
-// method.request(url);
-// assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
-// }
+ // @Test
+ // public void testUrl_utmaCookies_1() throws IOException {
+ // TestHttpGetMethod method = new TestHttpGetMethod();
+ // String url = "http://www.google-analytics.com/__utm.gif?"
+ // + "utmwv=4.7.2"
+ // + "&utmn=261334794"
+ // + "&utmhn=jboss.org"
+ // + "&utmcs=UTF-8"
+ // + "&utmsr=1920x1080"
+ // + "&utmsc=24-bit"
+ // + "&utmul=en-us"
+ // + "&utmdt=tools-usage-testUrl_utmaCookies_1"
+ // + "&utmhid=1087431432"
+ // + "&utmp=%2Ftools%2Fusage%2FtestUrl_utmaCookies_1"
+ // + "&utmac=UA-17645367-1"
+ // + "&utmcc="
+ // +
+ // "__utma%3D133697892.1285760711.1281430767.1281430767.1281430867.2%3B%2B"
+ // + "__utmz%3D156030500.1281430767.1.1."
+ // + "utmcsr%3D(direct)%7C"
+ // + "utmccn%3D(direct)%7C"
+ // + "utmcmd%3D(none)%7C"
+ // +
+ //
"utmctr%3Dtest1%7Ctest2%7Ctest3%7Ctest4%7Ctest5%7Ctest6%7Ctest7%7Ctest8%7Ctest8%7Ctest9%7Ctest10%7Ctest11%7Ctest12%7Ctest13%7Ctest514%7Ctest14%7Ctest15%7Ctest16%7Ctest17%7Ctest18%7Ctest19%7Ctest20%7Ctest20%7Ctest21%7Ctest22%7Ctest23%7Ctest514%7Ctest24%7Ctest25%7Ctest26%7Ctest27%7Ctest28%7Ctest29%7Ctest30%7Ctest31%3B"
+ // + "&gaq=1";
+ // method.request(url);
+ // assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
+ // }
-// @Test
-// public void testUrl_utmaCookies_1B() throws IOException {
-// String userAgent = "com.jboss.jbds.product/3.0.1 (Windows; U; Windows NT 6.1;
en-US)";
-// TestHttpGetMethod method = new TestHttpGetMethod(userAgent, loggingAdapter);
-// String url = "http://www.google-analytics.com/__utm.gif?"
-// + "utmwv=4.7.2"
-// + "&utmn=261390794"
-// + "&utmhn=jboss.org"
-// + "&utmcs=UTF-8"
-// + "&utmsr=1920x1080"
-// + "&utmsc=24-bit"
-// + "&utmul=en-us"
-// + "&utmdt=tools-usage-testUrl_utmaCookies_1B"
-// + "&utmhid=1087431432"
-// + "&utmp=%2Ftools%2Fusage%2FtestUrl_utmaCookies_1B"
-// + "&utmac=UA-17645367-1"
-// + "&utmcc="
-// +
"__utma%3D133697892.1285760711.1281430767.1281430767.1281430867.2%3B%2B"
-// + "__utmz%3D156030500.1281430767.1.1."
-// + "utmcsr%3D(direct)%7C"
-// + "utmccn%3D(direct)%7C"
-// + "utmcmd%3D(none)%7C"
-// +
"utmctr%3Dtest1%7Ctest2%7Ctest3%7Ctest4%7Ctest5%7Ctest6%7Ctest7%7Ctest8%7Ctest8%7Ctest9%7Ctest10%7Ctest11%7Ctest12%7Ctest13%7Ctest514%7Ctest14%7Ctest15%7Ctest16%7Ctest17%7Ctest18%7Ctest19%7Ctest20%7Ctest20%7Ctest21%7Ctest22%7Ctest23%7Ctest514%7Ctest24%7Ctest25%7Ctest26%7Ctest27%7Ctest28%7Ctest29%7Ctest30%7Ctest31%3B"
-// + "&gaq=1";
-// method.request(url);
-// assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
-// }
+ // @Test
+ // public void testUrl_utmaCookies_1B() throws IOException {
+ // String userAgent =
+ // "com.jboss.jbds.product/3.0.1 (Windows; U; Windows NT 6.1; en-US)";
+ // TestHttpGetMethod method = new TestHttpGetMethod(userAgent,
+ // loggingAdapter);
+ // String url = "http://www.google-analytics.com/__utm.gif?"
+ // + "utmwv=4.7.2"
+ // + "&utmn=261390794"
+ // + "&utmhn=jboss.org"
+ // + "&utmcs=UTF-8"
+ // + "&utmsr=1920x1080"
+ // + "&utmsc=24-bit"
+ // + "&utmul=en-us"
+ // + "&utmdt=tools-usage-testUrl_utmaCookies_1B"
+ // + "&utmhid=1087431432"
+ // + "&utmp=%2Ftools%2Fusage%2FtestUrl_utmaCookies_1B"
+ // + "&utmac=UA-17645367-1"
+ // + "&utmcc="
+ // +
+ // "__utma%3D133697892.1285760711.1281430767.1281430767.1281430867.2%3B%2B"
+ // + "__utmz%3D156030500.1281430767.1.1."
+ // + "utmcsr%3D(direct)%7C"
+ // + "utmccn%3D(direct)%7C"
+ // + "utmcmd%3D(none)%7C"
+ // +
+ //
"utmctr%3Dtest1%7Ctest2%7Ctest3%7Ctest4%7Ctest5%7Ctest6%7Ctest7%7Ctest8%7Ctest8%7Ctest9%7Ctest10%7Ctest11%7Ctest12%7Ctest13%7Ctest514%7Ctest14%7Ctest15%7Ctest16%7Ctest17%7Ctest18%7Ctest19%7Ctest20%7Ctest20%7Ctest21%7Ctest22%7Ctest23%7Ctest514%7Ctest24%7Ctest25%7Ctest26%7Ctest27%7Ctest28%7Ctest29%7Ctest30%7Ctest31%3B"
+ // + "&gaq=1";
+ // method.request(url);
+ // assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
+ // }
-// @Test
-// public void testUrl_utmaCookies_2() throws IOException {
-// TestHttpGetMethod method = new TestHttpGetMethod();
-// String url = "http://www.google-analytics.com/__utm.gif?"
-// + "utmwv=4.7.2"
-// + "&utmn=351784794"
-// + "&utmhn=jboss.org"
-// + "&utmcs=UTF-8"
-// + "&utmsr=1920x1080"
-// + "&utmsc=24-bit"
-// + "&utmul=en-us"
-// + "&utmdt=tools-usage-testUrl_utmaCookies_2"
-// + "&utmhid=1087431432"
-// + "&utmp=%2Ftools%2Fusage%2FtestUrl_utmaCookies_2"
-// + "&utmac=UA-17645367-1"
-// + "&utmcc="
-// +
"__utma%3D133697892.1285760711.1281430767.1281430867.1281430967.2%3B%2B"
-// + "__utmz%3D156030500.1281430767.1.1."
-// + "utmcsr%3D(direct)%7C"
-// + "utmccn%3D(direct)%7C"
-// + "utmcmd%3D(none)%7C"
-// +
"utmctr%3Dtest1%7Ctest2%7Ctest3%7Ctest4%7Ctest5%7Ctest6%7Ctest7%7Ctest8%7Ctest8%7Ctest9%7Ctest10%7Ctest11%7Ctest12%7Ctest13%7Ctest514%7Ctest14%7Ctest15%7Ctest16%7Ctest17%7Ctest18%7Ctest19%7Ctest20%7Ctest20%7Ctest21%7Ctest22%7Ctest23%7Ctest514%7Ctest24%7Ctest25%7Ctest26%7Ctest27%7Ctest28%7Ctest29%7Ctest30%7Ctest31%3B"
-// + "&gaq=1";
-// method.request(url);
-// assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
-// }
+ // @Test
+ // public void testUrl_utmaCookies_2() throws IOException {
+ // TestHttpGetMethod method = new TestHttpGetMethod();
+ // String url = "http://www.google-analytics.com/__utm.gif?"
+ // + "utmwv=4.7.2"
+ // + "&utmn=351784794"
+ // + "&utmhn=jboss.org"
+ // + "&utmcs=UTF-8"
+ // + "&utmsr=1920x1080"
+ // + "&utmsc=24-bit"
+ // + "&utmul=en-us"
+ // + "&utmdt=tools-usage-testUrl_utmaCookies_2"
+ // + "&utmhid=1087431432"
+ // + "&utmp=%2Ftools%2Fusage%2FtestUrl_utmaCookies_2"
+ // + "&utmac=UA-17645367-1"
+ // + "&utmcc="
+ // +
+ // "__utma%3D133697892.1285760711.1281430767.1281430867.1281430967.2%3B%2B"
+ // + "__utmz%3D156030500.1281430767.1.1."
+ // + "utmcsr%3D(direct)%7C"
+ // + "utmccn%3D(direct)%7C"
+ // + "utmcmd%3D(none)%7C"
+ // +
+ //
"utmctr%3Dtest1%7Ctest2%7Ctest3%7Ctest4%7Ctest5%7Ctest6%7Ctest7%7Ctest8%7Ctest8%7Ctest9%7Ctest10%7Ctest11%7Ctest12%7Ctest13%7Ctest514%7Ctest14%7Ctest15%7Ctest16%7Ctest17%7Ctest18%7Ctest19%7Ctest20%7Ctest20%7Ctest21%7Ctest22%7Ctest23%7Ctest514%7Ctest24%7Ctest25%7Ctest26%7Ctest27%7Ctest28%7Ctest29%7Ctest30%7Ctest31%3B"
+ // + "&gaq=1";
+ // method.request(url);
+ // assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
+ // }
-// @Test
-// public void testUrl_utmaCookies_utmb_utmc_1() throws IOException {
-// TestHttpGetMethod method = new TestHttpGetMethod();
-// String url = "http://www.google-analytics.com/__utm.gif?"
-// + "utmwv=4.7.2"
-// + "&utmn=351789994"
-// + "&utmhn=jboss.org"
-// + "&utmcs=UTF-8"
-// + "&utmsr=1920x1080"
-// + "&utmsc=24-bit"
-// + "&utmul=en-us"
-// + "&utmdt=tools-usage-testUrl_utmaCookies_utmb_utmc_1"
-// + "&utmhid=1087431432"
-// + "&utmp=%2Ftools%2Fusage%2FtestUrl_utmaCookies_utmb_utmc_1"
-// + "&utmac=UA-17645367-1"
-// + "&utmcc="
-// +
"__utma%3D131297892.1285760711.1281430767.1281430867.1281430967.2%3B%2B"
-// + "__utmb%3D1%3B%2B"
-// + "__utmc%3D1%3B%2B"
-// + "__utmz%3D156030500.1281430767.1.1."
-// + "utmcsr%3D(direct)%7C"
-// + "utmccn%3D(direct)%7C"
-// + "utmcmd%3D(none)%7C"
-// +
"utmctr%3Dtest1%7Ctest2%7Ctest3%7Ctest4%7Ctest5%7Ctest6%7Ctest7%7Ctest8%7Ctest8%7Ctest9%7Ctest10%7Ctest11%7Ctest12%7Ctest13%7Ctest514%7Ctest14%7Ctest15%7Ctest16%7Ctest17%7Ctest18%7Ctest19%7Ctest20%7Ctest20%7Ctest21%7Ctest22%7Ctest23%7Ctest514%7Ctest24%7Ctest25%7Ctest26%7Ctest27%7Ctest28%7Ctest29%7Ctest30%7Ctest31%3B"
-// + "&gaq=1";
-// method.request(url);
-// assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
-// }
+ // @Test
+ // public void testUrl_utmaCookies_utmb_utmc_1() throws IOException {
+ // TestHttpGetMethod method = new TestHttpGetMethod();
+ // String url = "http://www.google-analytics.com/__utm.gif?"
+ // + "utmwv=4.7.2"
+ // + "&utmn=351789994"
+ // + "&utmhn=jboss.org"
+ // + "&utmcs=UTF-8"
+ // + "&utmsr=1920x1080"
+ // + "&utmsc=24-bit"
+ // + "&utmul=en-us"
+ // + "&utmdt=tools-usage-testUrl_utmaCookies_utmb_utmc_1"
+ // + "&utmhid=1087431432"
+ // + "&utmp=%2Ftools%2Fusage%2FtestUrl_utmaCookies_utmb_utmc_1"
+ // + "&utmac=UA-17645367-1"
+ // + "&utmcc="
+ // +
+ // "__utma%3D131297892.1285760711.1281430767.1281430867.1281430967.2%3B%2B"
+ // + "__utmb%3D1%3B%2B"
+ // + "__utmc%3D1%3B%2B"
+ // + "__utmz%3D156030500.1281430767.1.1."
+ // + "utmcsr%3D(direct)%7C"
+ // + "utmccn%3D(direct)%7C"
+ // + "utmcmd%3D(none)%7C"
+ // +
+ //
"utmctr%3Dtest1%7Ctest2%7Ctest3%7Ctest4%7Ctest5%7Ctest6%7Ctest7%7Ctest8%7Ctest8%7Ctest9%7Ctest10%7Ctest11%7Ctest12%7Ctest13%7Ctest514%7Ctest14%7Ctest15%7Ctest16%7Ctest17%7Ctest18%7Ctest19%7Ctest20%7Ctest20%7Ctest21%7Ctest22%7Ctest23%7Ctest514%7Ctest24%7Ctest25%7Ctest26%7Ctest27%7Ctest28%7Ctest29%7Ctest30%7Ctest31%3B"
+ // + "&gaq=1";
+ // method.request(url);
+ // assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
+ // }
/**
* this test should create a request from the same eclipse instance later in
* time (visit count increased, visit timestamps updated, userId identical)
*/
-// @Test
-// public void testUrl_utmaCookies_utmb_utmc_1B() throws IOException {
-// TestHttpGetMethod method = new TestHttpGetMethod();
-// String url = "http://www.google-analytics.com/__utm.gif?"
-// + "utmwv=4.7.2"
-// + "&utmn=35176694"
-// + "&utmhn=jboss.org"
-// + "&utmcs=UTF-8"
-// + "&utmsr=1920x1080"
-// + "&utmsc=24-bit"
-// + "&utmul=en-us"
-// + "&utmdt=tools-usage-testUrl_utmaCookies_utmb_utmc_1"
-// + "&utmhid=1087431432"
-// + "&utmp=%2Ftools%2Fusage%2FtestUrl_utmaCookies_utmb_utmc_1"
-// + "&utmac=UA-17645367-1"
-// + "&utmcc="
-// +
"__utma%3D131297892.1285760711.1281430767.1281430967.1281430988.3%3B%2B"
-// + "__utmb%3D1%3B%2B"
-// + "__utmc%3D1%3B%2B"
-// + "__utmz%3D156030500.1281430767.1.1."
-// + "utmcsr%3D(direct)%7C"
-// + "utmccn%3D(direct)%7C"
-// + "utmcmd%3D(none)%7C"
-// +
"utmctr%3Dtest1%7Ctest2%7Ctest3%7Ctest4%7Ctest5%7Ctest6%7Ctest7%7Ctest8%7Ctest8%7Ctest9%7Ctest10%7Ctest11%7Ctest12%7Ctest13%7Ctest514%7Ctest14%7Ctest15%7Ctest16%7Ctest17%7Ctest18%7Ctest19%7Ctest20%7Ctest20%7Ctest21%7Ctest22%7Ctest23%7Ctest514%7Ctest24%7Ctest25%7Ctest26%7Ctest27%7Ctest28%7Ctest29%7Ctest30%7Ctest31%3B"
-// + "&gaq=1";
-// method.request(url);
-// assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
-// }
+ // @Test
+ // public void testUrl_utmaCookies_utmb_utmc_1B() throws IOException {
+ // TestHttpGetMethod method = new TestHttpGetMethod();
+ // String url = "http://www.google-analytics.com/__utm.gif?"
+ // + "utmwv=4.7.2"
+ // + "&utmn=35176694"
+ // + "&utmhn=jboss.org"
+ // + "&utmcs=UTF-8"
+ // + "&utmsr=1920x1080"
+ // + "&utmsc=24-bit"
+ // + "&utmul=en-us"
+ // + "&utmdt=tools-usage-testUrl_utmaCookies_utmb_utmc_1"
+ // + "&utmhid=1087431432"
+ // + "&utmp=%2Ftools%2Fusage%2FtestUrl_utmaCookies_utmb_utmc_1"
+ // + "&utmac=UA-17645367-1"
+ // + "&utmcc="
+ // +
+ // "__utma%3D131297892.1285760711.1281430767.1281430967.1281430988.3%3B%2B"
+ // + "__utmb%3D1%3B%2B"
+ // + "__utmc%3D1%3B%2B"
+ // + "__utmz%3D156030500.1281430767.1.1."
+ // + "utmcsr%3D(direct)%7C"
+ // + "utmccn%3D(direct)%7C"
+ // + "utmcmd%3D(none)%7C"
+ // +
+ //
"utmctr%3Dtest1%7Ctest2%7Ctest3%7Ctest4%7Ctest5%7Ctest6%7Ctest7%7Ctest8%7Ctest8%7Ctest9%7Ctest10%7Ctest11%7Ctest12%7Ctest13%7Ctest514%7Ctest14%7Ctest15%7Ctest16%7Ctest17%7Ctest18%7Ctest19%7Ctest20%7Ctest20%7Ctest21%7Ctest22%7Ctest23%7Ctest514%7Ctest24%7Ctest25%7Ctest26%7Ctest27%7Ctest28%7Ctest29%7Ctest30%7Ctest31%3B"
+ // + "&gaq=1";
+ // method.request(url);
+ // assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
+ // }
/**
* this test should create a request from the same eclipse instance later in
* time (visit count increased, visit timestamps updated, userId identical)
*/
-// @Test
-// public void testUrl_debug_utma() throws IOException {
-// TestHttpGetMethod method = new TestHttpGetMethod();
-// String url = "http://www.google-analytics.com/__utm.gif?"
-// + "utmwv=4.7.2"
-// + "&utmn=15176694"
-// + "&utmhn=jboss.org"
-// + "&utmcs=UTF-8"
-// + "&utmsr=1920x1080"
-// + "&utmsc=24-bit"
-// + "&utmul=en-us"
-// + "&utmdt=tools-usage-testUrl_utmaCookies_utmb_utmc_1"
-// + "&utmhid=1087431432"
-// + "&utmp=%2Ftools%2Fusage%2FtestUrl_utmaCookies_utmb_utmc_1"
-// + "&utmac=UA-17645367-1"
-// + "&utmcc="
-// +
"__utma%3D999.5737734690471263281282924103927.1282924103925.1282924103925.1282924103925.1%3B%2B"
-// + "__utmb%3D1%3B%2B"
-// + "__utmc%3D1%3B%2B"
-// + "__utmz%3D156030500.1281430767.1.1."
-// + "utmcsr%3D(direct)%7C"
-// + "utmccn%3D(direct)%7C"
-// + "utmcmd%3D(none)%7C"
-// +
"utmctr%3Dtest1%7Ctest2%7Ctest3%7Ctest4%7Ctest5%7Ctest6%7Ctest7%7Ctest8%7Ctest8%7Ctest9%7Ctest10%7Ctest11%7Ctest12%7Ctest13%7Ctest514%7Ctest14%7Ctest15%7Ctest16%7Ctest17%7Ctest18%7Ctest19%7Ctest20%7Ctest20%7Ctest21%7Ctest22%7Ctest23%7Ctest514%7Ctest24%7Ctest25%7Ctest26%7Ctest27%7Ctest28%7Ctest29%7Ctest30%7Ctest31%3B"
-// + "&gaq=1";
-// method.request(url);
-// assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
-// }
+ // @Test
+ // public void testUrl_debug_utma() throws IOException {
+ // TestHttpGetMethod method = new TestHttpGetMethod();
+ // String url = "http://www.google-analytics.com/__utm.gif?"
+ // + "utmwv=4.7.2"
+ // + "&utmn=15176694"
+ // + "&utmhn=jboss.org"
+ // + "&utmcs=UTF-8"
+ // + "&utmsr=1920x1080"
+ // + "&utmsc=24-bit"
+ // + "&utmul=en-us"
+ // + "&utmdt=tools-usage-testUrl_utmaCookies_utmb_utmc_1"
+ // + "&utmhid=1087431432"
+ // + "&utmp=%2Ftools%2Fusage%2FtestUrl_utmaCookies_utmb_utmc_1"
+ // + "&utmac=UA-17645367-1"
+ // + "&utmcc="
+ // +
+ //
"__utma%3D999.5737734690471263281282924103927.1282924103925.1282924103925.1282924103925.1%3B%2B"
+ // + "__utmb%3D1%3B%2B"
+ // + "__utmc%3D1%3B%2B"
+ // + "__utmz%3D156030500.1281430767.1.1."
+ // + "utmcsr%3D(direct)%7C"
+ // + "utmccn%3D(direct)%7C"
+ // + "utmcmd%3D(none)%7C"
+ // +
+ //
"utmctr%3Dtest1%7Ctest2%7Ctest3%7Ctest4%7Ctest5%7Ctest6%7Ctest7%7Ctest8%7Ctest8%7Ctest9%7Ctest10%7Ctest11%7Ctest12%7Ctest13%7Ctest514%7Ctest14%7Ctest15%7Ctest16%7Ctest17%7Ctest18%7Ctest19%7Ctest20%7Ctest20%7Ctest21%7Ctest22%7Ctest23%7Ctest514%7Ctest24%7Ctest25%7Ctest26%7Ctest27%7Ctest28%7Ctest29%7Ctest30%7Ctest31%3B"
+ // + "&gaq=1";
+ // method.request(url);
+ // assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
+ // }
-// @Test
-// public void testUrl_utma_utmz() throws IOException {
-// TestHttpGetMethod method = new TestHttpGetMethod();
-// String url = "http://www.google-analytics.com/__utm.gif?"
-// + "utmwv=4.7.2"
-// + "&utmn=15176694"
-// + "&utmhn=jboss.org"
-// + "&utmcs=UTF-8"
-// + "&utmsr=1920x1080"
-// + "&utmsc=24-bit"
-// + "&utmul=en-us"
-// + "&utmdt=tools-usage-testUrl_utmaCookies_utmb_utmc_1"
-// + "&utmhid=1087431432"
-// + "&utmp=%2Ftools%2Fusage%2FtestUrl_utmaCookies_utmb_utmc_1"
-// + "&utmac=UA-17645367-1"
-// + "&utmcc="
-// +
"__utma%3D999.5737734690471263281282924103927.1282924103925.1282924103925.1282924103925.1%3B%2B"
-// + "__utmb%3D1%3B%2B"
-// + "__utmc%3D1%3B%2B"
-// + "__utmz%3D999.1282924103925.1.1."
-// + "utmcsr%3D(direct)%7C"
-// + "utmccn%3D(direct)%7C"
-// + "utmcmd%3D(none)%7C"
-// +
"utmctr%3Dtest1%7Ctest2%7Ctest3%7Ctest4%7Ctest5%7Ctest6%7Ctest7%7Ctest8%7Ctest8%7Ctest9%7Ctest10%7Ctest11%7Ctest12%7Ctest13%7Ctest514%7Ctest14%7Ctest15%7Ctest16%7Ctest17%7Ctest18%7Ctest19%7Ctest20%7Ctest20%7Ctest21%7Ctest22%7Ctest23%7Ctest514%7Ctest24%7Ctest25%7Ctest26%7Ctest27%7Ctest28%7Ctest29%7Ctest30%7Ctest31%3B"
-// + "&gaq=1";
-// method.request(url);
-// assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
-// }
-
+ // @Test
+ // public void testUrl_utma_utmz() throws IOException {
+ // TestHttpGetMethod method = new TestHttpGetMethod();
+ // String url = "http://www.google-analytics.com/__utm.gif?"
+ // + "utmwv=4.7.2"
+ // + "&utmn=15176694"
+ // + "&utmhn=jboss.org"
+ // + "&utmcs=UTF-8"
+ // + "&utmsr=1920x1080"
+ // + "&utmsc=24-bit"
+ // + "&utmul=en-us"
+ // + "&utmdt=tools-usage-testUrl_utmaCookies_utmb_utmc_1"
+ // + "&utmhid=1087431432"
+ // + "&utmp=%2Ftools%2Fusage%2FtestUrl_utmaCookies_utmb_utmc_1"
+ // + "&utmac=UA-17645367-1"
+ // + "&utmcc="
+ // +
+ //
"__utma%3D999.5737734690471263281282924103927.1282924103925.1282924103925.1282924103925.1%3B%2B"
+ // + "__utmb%3D1%3B%2B"
+ // + "__utmc%3D1%3B%2B"
+ // + "__utmz%3D999.1282924103925.1.1."
+ // + "utmcsr%3D(direct)%7C"
+ // + "utmccn%3D(direct)%7C"
+ // + "utmcmd%3D(none)%7C"
+ // +
+ //
"utmctr%3Dtest1%7Ctest2%7Ctest3%7Ctest4%7Ctest5%7Ctest6%7Ctest7%7Ctest8%7Ctest8%7Ctest9%7Ctest10%7Ctest11%7Ctest12%7Ctest13%7Ctest514%7Ctest14%7Ctest15%7Ctest16%7Ctest17%7Ctest18%7Ctest19%7Ctest20%7Ctest20%7Ctest21%7Ctest22%7Ctest23%7Ctest514%7Ctest24%7Ctest25%7Ctest26%7Ctest27%7Ctest28%7Ctest29%7Ctest30%7Ctest31%3B"
+ // + "&gaq=1";
+ // method.request(url);
+ // assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
+ // }
+
@Test
public void testJBossToolsVersionInRefererrer() throws IOException {
TestHttpGetMethod method = new TestHttpGetMethod();
String url = "http://www.google-analytics.com/__utm.gif?utmwv=4.7.2"
- + "&utmn=818594305"
- + "&utmhn=jboss.org"
- + "&utmcs=UTF-8"
- + "&utmsr=1920x1080"
- + "&utmsc=24-bit"
- + "&utmul=en-US"
- + "&utmdt=testJBossToolsVersionInRefererrer"
- + "&utmfl=1.6.0_20"
- + "&utmr=1.0.0.qualifier"
- + "&utmp=testJBossToolsVersionInRefererrer"
- + "&utmac=UA-17645367-1"
- +
"&utmcc=__utma%3D999.43297294488397354581284108794036.1284108794025.1284108794025.1284108794025.1%3B%2B__utmz%3D999.1284108794025.1.1.%EF%BF%BFutmcsr%3D%28direct%29%7Cutmccn%3D%28direct%29%7Cutmcmd%3D%28none%29%7Cutmctr%3DVPE-%EF%BF%BF%3B"
- + "&gaq=1";
+ + "&utmn=818594305"
+ + "&utmhn=jboss.org"
+ + "&utmcs=UTF-8"
+ + "&utmsr=1920x1080"
+ + "&utmsc=24-bit"
+ + "&utmul=en-US"
+ + "&utmdt=testJBossToolsVersionInRefererrer"
+ + "&utmfl=1.6.0_20"
+ + "&utmr=1.0.0.qualifier"
+ + "&utmp=testJBossToolsVersionInRefererrer"
+ + "&utmac=UA-17645367-1"
+ +
"&utmcc=__utma%3D999.43297294488397354581284108794036.1284108794025.1284108794025.1284108794025.1%3B%2B__utmz%3D999.1284108794025.1.1.%EF%BF%BFutmcsr%3D%28direct%29%7Cutmccn%3D%28direct%29%7Cutmcmd%3D%28none%29%7Cutmctr%3DVPE-%EF%BF%BF%3B"
+ + "&gaq=1";
method.request(url);
assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
}
+
+ enum UserAgentString {
+
+ DEFAULT("com.jboss.jbds.product/3.0.1 (Windows; U; Windows NT 6.1; en-US)"),
+ WIN7("com.jboss.jbds.product/3.0.1 (Windows; U; Windows NT 6.1; en-US)"),
+ WINVISTA("com.jboss.jbds.product/3.0.1 (Windows; U; Windows NT 6.0;
en-US)"),
+ WINXP("com.jboss.jbds.product/3.0.1 (Windows; U; Windows NT 5.1; en-US)"),
+ WIN2000("com.jboss.jbds.product/3.0.1 (Windows; U; Windows NT 5.0; en-US)"),
+ MACOS_SNOWLEO("com.jboss.jbds.product/3.0.1 (Macintosh; U; Intel Mac OS X 10.6;
en-US)"),
+ MACOS_LEO("com.jboss.jbds.product/3.0.1 (macintosh; U; Intel Mac OS X 10.5;
en-US)");
+
+ private String userAgent;
+
+ UserAgentString(String userAgent) {
+ this.userAgent = userAgent;
+ }
+
+ public String toString() {
+ return userAgent;
+ }
+ }
+
+ @Test
+ public void testWin7UserAgent() throws IOException {
+ TestHttpGetMethod method = new TestHttpGetMethod(UserAgentString.WIN7);
+ String url = "http://www.google-analytics.com/__utm.gif?utmwv=4.7.2"
+ + "&utmn=958594305"
+ + "&utmhn=jboss.org"
+ + "&utmcs=UTF-8"
+ + "&utmsr=1920x1080"
+ + "&utmsc=24-bit"
+ + "&utmul=en-US"
+ + "&utmdt=testWin7UserAgent"
+ + "&utmfl=1.6.0_20"
+ + "&utmr=1.0.0.qualifier"
+ + "&utmp=testWin7UserAgent"
+ + "&utmac=UA-17645367-1"
+ +
"&utmcc=__utma%3D999.43297292388397354581284108794036.1284108794025.1284108794025.1284108794025.1%3B%2B__utmz%3D999.1284108794025.1.1.%EF%BF%BFutmcsr%3D%28direct%29%7Cutmccn%3D%28direct%29%7Cutmcmd%3D%28none%29%7Cutmctr%3DVPE-%EF%BF%BF%3B"
+ + "&gaq=1";
+ method.request(url);
+ assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
+ }
+
+ @Test
+ public void testWinXPUserAgent() throws IOException {
+ TestHttpGetMethod method = new TestHttpGetMethod(UserAgentString.WINXP);
+ String url = "http://www.google-analytics.com/__utm.gif?utmwv=4.7.2"
+ + "&utmn=958593335"
+ + "&utmhn=jboss.org"
+ + "&utmcs=UTF-8"
+ + "&utmsr=1920x1080"
+ + "&utmsc=24-bit"
+ + "&utmul=en-US"
+ + "&utmdt=testWinXPUserAgent"
+ + "&utmfl=1.6.0_20"
+ + "&utmr=1.0.0.qualifier"
+ + "&utmp=testWinXPUserAgent"
+ + "&utmac=UA-17645367-1"
+ +
"&utmcc=__utma%3D999.43297245388397354581284108794036.1284108794025.1284108794025.1284108794025.1%3B%2B__utmz%3D999.1284108794025.1.1.%EF%BF%BFutmcsr%3D%28direct%29%7Cutmccn%3D%28direct%29%7Cutmcmd%3D%28none%29%7Cutmctr%3DVPE-%EF%BF%BF%3B"
+ + "&gaq=1";
+ method.request(url);
+ assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
+ }
+
+ @Test
+ public void testWin2000UserAgent() throws IOException {
+ TestHttpGetMethod method = new TestHttpGetMethod(UserAgentString.WIN2000);
+ String url = "http://www.google-analytics.com/__utm.gif?utmwv=4.7.2"
+ + "&utmn=958894305"
+ + "&utmhn=jboss.org"
+ + "&utmcs=UTF-8"
+ + "&utmsr=1920x1080"
+ + "&utmsc=24-bit"
+ + "&utmul=en-US"
+ + "&utmdt=testWin2000UserAgent"
+ + "&utmfl=1.6.0_20"
+ + "&utmr=1.0.0.qualifier"
+ + "&utmp=testWin2000UserAgent"
+ + "&utmac=UA-17645367-1"
+ +
"&utmcc=__utma%3D999.43297292388397354581284108794036.1284108794025.1284108794025.1284108794025.1%3B%2B__utmz%3D999.1284108794025.1.1.%EF%BF%BFutmcsr%3D%28direct%29%7Cutmccn%3D%28direct%29%7Cutmcmd%3D%28none%29%7Cutmctr%3DVPE-%EF%BF%BF%3B"
+ + "&gaq=1";
+ method.request(url);
+ assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
+ }
+
+ @Test
+ public void testMacLeopardUserAgent() throws IOException {
+ TestHttpGetMethod method = new TestHttpGetMethod(UserAgentString.MACOS_LEO);
+ String url = "http://www.google-analytics.com/__utm.gif?utmwv=4.7.2"
+ + "&utmn=958890305"
+ + "&utmhn=jboss.org"
+ + "&utmcs=UTF-8"
+ + "&utmsr=1920x1080"
+ + "&utmsc=24-bit"
+ + "&utmul=en-US"
+ + "&utmdt=testMacLeopardUserAgent"
+ + "&utmfl=1.6.0_20"
+ + "&utmr=1.0.0.qualifier"
+ + "&utmp=testMacLeopardUserAgent"
+ + "&utmac=UA-17645367-1"
+ +
"&utmcc=__utma%3D999.43297292388397333581284108794036.1284108794025.1284108794025.1284108794025.1%3B%2B__utmz%3D999.1284108794025.1.1.%EF%BF%BFutmcsr%3D%28direct%29%7Cutmccn%3D%28direct%29%7Cutmcmd%3D%28none%29%7Cutmctr%3DVPE-%EF%BF%BF%3B"
+ + "&gaq=1";
+ method.request(url);
+ assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
+ }
+ @Test
+ public void testMacSnowLeopardUserAgent() throws IOException {
+ TestHttpGetMethod method = new TestHttpGetMethod(UserAgentString.MACOS_SNOWLEO);
+ String url = "http://www.google-analytics.com/__utm.gif?utmwv=4.7.2"
+ + "&utmn=958890444"
+ + "&utmhn=jboss.org"
+ + "&utmcs=UTF-8"
+ + "&utmsr=1920x1080"
+ + "&utmsc=24-bit"
+ + "&utmul=en-US"
+ + "&utmdt=testMacSnowLeopardUserAgent"
+ + "&utmfl=1.6.0_20"
+ + "&utmr=1.0.0.qualifier"
+ + "&utmp=testMacSnowLeopardUserAgent"
+ + "&utmac=UA-17645367-1"
+ +
"&utmcc=__utma%3D999.43297292388397333581222108794036.1284108794025.1284108794025.1284108794025.1%3B%2B__utmz%3D999.1284108794025.1.1.%EF%BF%BFutmcsr%3D%28direct%29%7Cutmccn%3D%28direct%29%7Cutmcmd%3D%28none%29%7Cutmctr%3DVPE-%EF%BF%BF%3B"
+ + "&gaq=1";
+ method.request(url);
+ assertEquals(HttpURLConnection.HTTP_OK, method.getResponseCode());
+ }
+
protected class TestHttpGetMethod extends HttpGetRequest {
private HttpURLConnection urlConnection;
+ public TestHttpGetMethod(UserAgentString userAgentString) {
+ this(userAgentString.toString(), new SystemOutLogger());
+ }
+
public TestHttpGetMethod() {
- super("com.jboss.jbds.product/3.0.1 (Windows; U; Windows NT 6.1; en-US)",
new SystemOutLogger());
+ super(UserAgentString.DEFAULT.toString(), new SystemOutLogger());
}
-
+
public TestHttpGetMethod(String userAgent, ILoggingAdapter loggingAdapter) {
super(userAgent, loggingAdapter);
}