Skip to content

Instantly share code, notes, and snippets.

@vetler
Created March 24, 2014 08:26
Show Gist options
  • Save vetler/9736320 to your computer and use it in GitHub Desktop.
Save vetler/9736320 to your computer and use it in GitHub Desktop.
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.glassfish.jersey:jersey-bom:pom:2.8-SNAPSHOT
[WARNING] 'parent.relativePath' points at org.glassfish.jersey:project instead of net.java:jvnet-parent, please verify your project structure @ line 47, column 13
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] jersey-tests-integration-servlet-2.5-mvc-3
[INFO] jersey-tests-integration-servlet-2.5-reload
[INFO] jersey-tests-integration-servlet-3-async
[INFO] jersey-tests-integration-servlet-3-inflector-1
[INFO] jersey-tests-integration-servlet-3-init-1
[INFO] jersey-tests-integration-servlet-3-init-2
[INFO] jersey-tests-integration-servlet-3-init-3
[INFO] jersey-tests-integration-servlet-3-init-4
[INFO] jersey-tests-integration-servlet-3-init-5
[INFO] jersey-tests-integration-servlet-3-init-provider
[INFO] jersey-tests-integration-servlet-3-params
[INFO] jersey-tests-integration-servlet-3-chunked-io
[INFO] jersey-tests-integration-servlet-3-sse-1
[INFO] jersey-tests-integration-servlet-tests
[INFO] jersey-tests-integration-spring3
[INFO] jersey-tests-integration-tracing-support
[INFO] jersey-tests-osgi
[INFO] jersey-tests-osgi-functional
[INFO] jersey-tests-performance
[INFO] custom-parametrized-test
[INFO] performance-test-tools
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building jersey-tests-integration-servlet-2.5-mvc-3 2.8-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: https://maven.java.net/content/groups/public/org/glassfish/jersey/containers/jersey-container-servlet-core/2.8-SNAPSHOT/maven-metadata.xml
2/2 KB
Downloaded: https://maven.java.net/content/groups/public/org/glassfish/jersey/containers/jersey-container-servlet-core/2.8-SNAPSHOT/maven-metadata.xml (2 KB at 0.9 KB/sec)
Downloading: https://maven.java.net/content/groups/public/org/glassfish/jersey/containers/project/2.8-SNAPSHOT/maven-metadata.xml
613/613 B
Downloaded: https://maven.java.net/content/groups/public/org/glassfish/jersey/containers/project/2.8-SNAPSHOT/maven-metadata.xml (613 B at 2.0 KB/sec)
Downloading: https://maven.java.net/content/groups/public/org/glassfish/jersey/project/2.8-SNAPSHOT/maven-metadata.xml
602/602 B
Downloaded: https://maven.java.net/content/groups/public/org/glassfish/jersey/project/2.8-SNAPSHOT/maven-metadata.xml (602 B at 2.0 KB/sec)
Downloading: https://maven.java.net/content/groups/public/org/glassfish/jersey/core/jersey-server/2.8-SNAPSHOT/maven-metadata.xml
2/2 KB
Downloaded: https://maven.java.net/content/groups/public/org/glassfish/jersey/core/jersey-server/2.8-SNAPSHOT/maven-metadata.xml (2 KB at 4.0 KB/sec)
Downloading: https://maven.java.net/content/groups/public/org/glassfish/jersey/core/jersey-common/2.8-SNAPSHOT/maven-metadata.xml
2/2 KB
Downloaded: https://maven.java.net/content/groups/public/org/glassfish/jersey/core/jersey-common/2.8-SNAPSHOT/maven-metadata.xml (2 KB at 4.0 KB/sec)
Downloading: https://maven.java.net/content/groups/public/org/glassfish/jersey/bundles/repackaged/jersey-guava/2.8-SNAPSHOT/maven-metadata.xml
1011/1011 B
Downloaded: https://maven.java.net/content/groups/public/org/glassfish/jersey/bundles/repackaged/jersey-guava/2.8-SNAPSHOT/maven-metadata.xml (1011 B at 3.3 KB/sec)
Downloading: https://maven.java.net/content/groups/public/org/glassfish/jersey/bundles/repackaged/project/2.8-SNAPSHOT/maven-metadata.xml
621/621 B
Downloaded: https://maven.java.net/content/groups/public/org/glassfish/jersey/bundles/repackaged/project/2.8-SNAPSHOT/maven-metadata.xml (621 B at 2.0 KB/sec)
Downloading: https://maven.java.net/content/groups/public/org/glassfish/jersey/bundles/project/2.8-SNAPSHOT/maven-metadata.xml
610/610 B
Downloaded: https://maven.java.net/content/groups/public/org/glassfish/jersey/bundles/project/2.8-SNAPSHOT/maven-metadata.xml (610 B at 2.0 KB/sec)
Downloading: https://maven.java.net/content/groups/public/org/glassfish/jersey/core/jersey-client/2.8-SNAPSHOT/maven-metadata.xml
2/2 KB
Downloaded: https://maven.java.net/content/groups/public/org/glassfish/jersey/core/jersey-client/2.8-SNAPSHOT/maven-metadata.xml (2 KB at 4.1 KB/sec)
Downloading: https://maven.java.net/content/groups/public/org/glassfish/jersey/ext/jersey-mvc/2.8-SNAPSHOT/maven-metadata.xml
2/2 KB
Downloaded: https://maven.java.net/content/groups/public/org/glassfish/jersey/ext/jersey-mvc/2.8-SNAPSHOT/maven-metadata.xml (2 KB at 4.0 KB/sec)
Downloading: https://maven.java.net/content/groups/public/org/glassfish/jersey/ext/project/2.8-SNAPSHOT/maven-metadata.xml
606/606 B
Downloaded: https://maven.java.net/content/groups/public/org/glassfish/jersey/ext/project/2.8-SNAPSHOT/maven-metadata.xml (606 B at 2.0 KB/sec)
Downloading: https://maven.java.net/content/groups/public/org/glassfish/jersey/ext/jersey-mvc-jsp/2.8-SNAPSHOT/maven-metadata.xml
2/2 KB
Downloaded: https://maven.java.net/content/groups/public/org/glassfish/jersey/ext/jersey-mvc-jsp/2.8-SNAPSHOT/maven-metadata.xml (2 KB at 4.0 KB/sec)
Downloading: https://maven.java.net/content/groups/public/org/glassfish/jersey/test-framework/providers/jersey-test-framework-provider-external/2.8-SNAPSHOT/maven-metadata.xml
2/2 KB
Downloaded: https://maven.java.net/content/groups/public/org/glassfish/jersey/test-framework/providers/jersey-test-framework-provider-external/2.8-SNAPSHOT/maven-metadata.xml (2 KB at 4.2 KB/sec)
Downloading: https://maven.java.net/content/groups/public/org/glassfish/jersey/test-framework/providers/project/2.8-SNAPSHOT/maven-metadata.xml
627/627 B
Downloaded: https://maven.java.net/content/groups/public/org/glassfish/jersey/test-framework/providers/project/2.8-SNAPSHOT/maven-metadata.xml (627 B at 2.1 KB/sec)
Downloading: https://maven.java.net/content/groups/public/org/glassfish/jersey/test-framework/project/2.8-SNAPSHOT/maven-metadata.xml
617/617 B
Downloaded: https://maven.java.net/content/groups/public/org/glassfish/jersey/test-framework/project/2.8-SNAPSHOT/maven-metadata.xml (617 B at 2.0 KB/sec)
Downloading: https://maven.java.net/content/groups/public/org/glassfish/jersey/test-framework/jersey-test-framework-core/2.8-SNAPSHOT/maven-metadata.xml
2/2 KB
Downloaded: https://maven.java.net/content/groups/public/org/glassfish/jersey/test-framework/jersey-test-framework-core/2.8-SNAPSHOT/maven-metadata.xml (2 KB at 4.0 KB/sec)
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ servlet-2.5-mvc-3 ---
[INFO] Deleting /Users/vetleino/dev/jersey/tests/integration/servlet-2.5-mvc-3/target
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-versions) @ servlet-2.5-mvc-3 ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ servlet-2.5-mvc-3 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/vetleino/dev/jersey/tests/integration/servlet-2.5-mvc-3/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ servlet-2.5-mvc-3 ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 4 source files to /Users/vetleino/dev/jersey/tests/integration/servlet-2.5-mvc-3/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ servlet-2.5-mvc-3 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/vetleino/dev/jersey/tests/integration/servlet-2.5-mvc-3/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ servlet-2.5-mvc-3 ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to /Users/vetleino/dev/jersey/tests/integration/servlet-2.5-mvc-3/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ servlet-2.5-mvc-3 ---
[INFO] Surefire report directory: /Users/vetleino/dev/jersey/tests/integration/servlet-2.5-mvc-3/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-war-plugin:2.4:war (default-war) @ servlet-2.5-mvc-3 ---
[INFO] Packaging webapp
[INFO] Assembling webapp [servlet-2.5-mvc-3] in [/Users/vetleino/dev/jersey/tests/integration/servlet-2.5-mvc-3/target/servlet-2.5-mvc-3-2.8-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp resources [/Users/vetleino/dev/jersey/tests/integration/servlet-2.5-mvc-3/src/main/webapp]
[INFO] Webapp assembled in [63 msecs]
[INFO] Building war: /Users/vetleino/dev/jersey/tests/integration/servlet-2.5-mvc-3/target/servlet-2.5-mvc-3-2.8-SNAPSHOT.war
[INFO]
[INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ servlet-2.5-mvc-3 ---
[INFO] Building jar: /Users/vetleino/dev/jersey/tests/integration/servlet-2.5-mvc-3/target/servlet-2.5-mvc-3-2.8-SNAPSHOT-sources.jar
[INFO]
[INFO] >>> jetty-maven-plugin:8.1.8.v20121106:run (start-jetty) @ servlet-2.5-mvc-3 >>>
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-versions) @ servlet-2.5-mvc-3 ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ servlet-2.5-mvc-3 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/vetleino/dev/jersey/tests/integration/servlet-2.5-mvc-3/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ servlet-2.5-mvc-3 ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ servlet-2.5-mvc-3 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/vetleino/dev/jersey/tests/integration/servlet-2.5-mvc-3/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ servlet-2.5-mvc-3 ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] <<< jetty-maven-plugin:8.1.8.v20121106:run (start-jetty) @ servlet-2.5-mvc-3 <<<
[INFO]
[INFO] --- jetty-maven-plugin:8.1.8.v20121106:run (start-jetty) @ servlet-2.5-mvc-3 ---
[INFO] Configuring Jetty for project: jersey-tests-integration-servlet-2.5-mvc-3
[INFO] webAppSourceDirectory not set. Defaulting to /Users/vetleino/dev/jersey/tests/integration/servlet-2.5-mvc-3/src/main/webapp
[INFO] Reload Mechanic: automatic
[INFO] Classes = /Users/vetleino/dev/jersey/tests/integration/servlet-2.5-mvc-3/target/classes
[INFO] Context path = /
[INFO] Tmp directory = /Users/vetleino/dev/jersey/tests/integration/servlet-2.5-mvc-3/target/tmp
[INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml
[INFO] Web overrides = none
[INFO] web.xml file = file:/Users/vetleino/dev/jersey/tests/integration/servlet-2.5-mvc-3/src/main/webapp/WEB-INF/web.xml
[INFO] Webapp directory = /Users/vetleino/dev/jersey/tests/integration/servlet-2.5-mvc-3/src/main/webapp
2014-03-24 09:25:46.452:INFO:oejs.Server:jetty-8.1.8.v20121106
2014-03-24 09:25:46.551:INFO:oejpw.PlusConfiguration:No Transaction manager found - if your webapp requires one, please configure one.
Null identity service, trying login service: null
Finding identity service: null
2014-03-24 09:25:47.015:INFO:oejsh.ContextHandler:started o.m.j.p.JettyWebAppContext{/,file:/Users/vetleino/dev/jersey/tests/integration/servlet-2.5-mvc-3/src/main/webapp/},file:/Users/vetleino/dev/jersey/tests/integration/servlet-2.5-mvc-3/src/main/webapp/
2014-03-24 09:25:47.016:INFO:oejsh.ContextHandler:started o.m.j.p.JettyWebAppContext{/,file:/Users/vetleino/dev/jersey/tests/integration/servlet-2.5-mvc-3/src/main/webapp/},file:/Users/vetleino/dev/jersey/tests/integration/servlet-2.5-mvc-3/src/main/webapp/
2014-03-24 09:25:47.016:INFO:oejsh.ContextHandler:started o.m.j.p.JettyWebAppContext{/,file:/Users/vetleino/dev/jersey/tests/integration/servlet-2.5-mvc-3/src/main/webapp/},file:/Users/vetleino/dev/jersey/tests/integration/servlet-2.5-mvc-3/src/main/webapp/
mar 24, 2014 9:25:47 AM org.glassfish.jersey.server.ApplicationHandler initialize
INFO: Initiating Jersey application, version Jersey: 2.8-SNAPSHOT 2014-03-24 08:51:12...
2014-03-24 09:25:47.574:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:9998
[INFO] Started Jetty Server
[INFO]
[INFO] --- maven-failsafe-plugin:2.16:integration-test (default) @ servlet-2.5-mvc-3 ---
[INFO] Failsafe report directory: /Users/vetleino/dev/jersey/tests/integration/servlet-2.5-mvc-3/target/failsafe-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.glassfish.jersey.tests.integration.servlet_25_mvc_3.BookstoreITCase
mar 24, 2014 9:25:48 AM org.glassfish.jersey.server.ApplicationHandler initialize
INFO: Initiating Jersey application, version Jersey: 2.8-SNAPSHOT 2014-03-24 08:51:12...
mar 24, 2014 9:25:48 AM org.glassfish.jersey.filter.LoggingFilter log
INFO: 1 * Sending client request on thread main
1 > GET http://localhost:9998/
mar 24, 2014 9:25:48 AM org.glassfish.jersey.filter.LoggingFilter log
INFO: 1 * Server has received a request on thread qtp472720354-40
1 > GET http://localhost:9998/
1 > Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
1 > Connection: keep-alive
1 > Host: localhost:9998
1 > User-Agent: Jersey/2.8-SNAPSHOT (HttpUrlConnection 1.7.0_51)
mar 24, 2014 9:25:48 AM org.glassfish.jersey.filter.LoggingFilter log
INFO: 1 * Server responded with a response on thread qtp472720354-40
1 < 200
1 < Content-Type: text/html
mar 24, 2014 9:25:49 AM org.glassfish.jersey.filter.LoggingFilter log
INFO: 2 * Client response received on thread main
2 < 200
2 < Content-Length: 823
2 < Content-Type: text/html;charset=UTF-8
2 < Expires: Thu, 01 Jan 1970 00:00:00 GMT
2 < Server: Jetty(8.1.8.v20121106)
2 < Set-Cookie: JSESSIONID=kpsrawwh6nl615hqxzv5mpitw;Path=/
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css" media="screen">
@import url( /css/style.css;jsessionid=kpsrawwh6nl615hqxzv5mpitw );
</style>
<title>REST Bookstore Sample</title>
</head>
<body>
<h1>Czech Bookstore</h1>
<h2>Item List</h2>
<ul>
<li><a href="items/1/">Svejk</a>
<li><a href="items/2/">Krakatit</a>
</ul>
<h2>Others</h2>
<p>
<a href="count">count inventory</a>
<p>
<a href="time">get the system time</a>
<p>
<a href="jsp/help.jsp">regular resources</a>
</p>
</body>
</html>
mar 24, 2014 9:25:49 AM org.glassfish.jersey.server.ApplicationHandler initialize
INFO: Initiating Jersey application, version Jersey: 2.8-SNAPSHOT 2014-03-24 08:51:12...
mar 24, 2014 9:25:49 AM org.glassfish.jersey.filter.LoggingFilter log
INFO: 1 * Sending client request on thread main
1 > GET http://localhost:9998/
1 > Accept: application/xml
mar 24, 2014 9:25:49 AM org.glassfish.jersey.filter.LoggingFilter log
INFO: 2 * Server has received a request on thread qtp472720354-43
2 > GET http://localhost:9998/
2 > Accept: application/xml
2 > Connection: keep-alive
2 > Host: localhost:9998
2 > User-Agent: Jersey/2.8-SNAPSHOT (HttpUrlConnection 1.7.0_51)
mar 24, 2014 9:25:49 AM org.glassfish.jersey.filter.LoggingFilter log
INFO: 2 * Server responded with a response on thread qtp472720354-43
2 < 200
2 < Content-Type: application/xml
mar 24, 2014 9:25:49 AM org.glassfish.jersey.filter.LoggingFilter log
INFO: 2 * Client response received on thread main
2 < 200
2 < Content-Length: 308
2 < Content-Type: application/xml
2 < Server: Jetty(8.1.8.v20121106)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><bookstore><items><entry><key>1</key><value><title>Svejk</title><author>Jaroslav Ha??ek</author></value></entry><entry><key>2</key><value><title>Krakatit</title><author>Karel Capek</author></value></entry></items><name>Czech Bookstore</name></bookstore>
mar 24, 2014 9:25:49 AM org.glassfish.jersey.server.ApplicationHandler initialize
INFO: Initiating Jersey application, version Jersey: 2.8-SNAPSHOT 2014-03-24 08:51:12...
mar 24, 2014 9:25:49 AM org.glassfish.jersey.filter.LoggingFilter log
INFO: 1 * Sending client request on thread main
1 > GET http://localhost:9998/
1 > Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
mar 24, 2014 9:25:49 AM org.glassfish.jersey.filter.LoggingFilter log
INFO: 3 * Server has received a request on thread qtp472720354-42
3 > GET http://localhost:9998/
3 > Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
3 > Connection: keep-alive
3 > Host: localhost:9998
3 > User-Agent: Jersey/2.8-SNAPSHOT (HttpUrlConnection 1.7.0_51)
mar 24, 2014 9:25:49 AM org.glassfish.jersey.filter.LoggingFilter log
INFO: 3 * Server responded with a response on thread qtp472720354-42
3 < 200
3 < Content-Type: text/html
mar 24, 2014 9:25:49 AM org.glassfish.jersey.filter.LoggingFilter log
INFO: 2 * Client response received on thread main
2 < 200
2 < Content-Length: 824
2 < Content-Type: text/html;charset=UTF-8
2 < Expires: Thu, 01 Jan 1970 00:00:00 GMT
2 < Server: Jetty(8.1.8.v20121106)
2 < Set-Cookie: JSESSIONID=18b7v3j6d0s0g1q0je18i2nfuy;Path=/
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css" media="screen">
@import url( /css/style.css;jsessionid=18b7v3j6d0s0g1q0je18i2nfuy );
</style>
<title>REST Bookstore Sample</title>
</head>
<body>
<h1>Czech Bookstore</h1>
<h2>Item List</h2>
<ul>
<li><a href="items/1/">Svejk</a>
<li><a href="items/2/">Krakatit</a>
</ul>
<h2>Others</h2>
<p>
<a href="count">count inventory</a>
<p>
<a href="time">get the system time</a>
<p>
<a href="jsp/help.jsp">regular resources</a>
</p>
</body>
</html>
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.621 sec - in org.glassfish.jersey.tests.integration.servlet_25_mvc_3.BookstoreITCase
Running org.glassfish.jersey.tests.integration.servlet_25_mvc_3.ItemITCase
mar 24, 2014 9:25:49 AM org.glassfish.jersey.server.ApplicationHandler initialize
INFO: Initiating Jersey application, version Jersey: 2.8-SNAPSHOT 2014-03-24 08:51:12...
mar 24, 2014 9:25:49 AM org.glassfish.jersey.filter.LoggingFilter log
INFO: 1 * Sending client request on thread main
1 > GET http://localhost:9998/items/1
mar 24, 2014 9:25:49 AM org.glassfish.jersey.filter.LoggingFilter log
INFO: 4 * Server has received a request on thread qtp472720354-41
4 > GET http://localhost:9998/items/1
4 > Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
4 > Connection: keep-alive
4 > Host: localhost:9998
4 > User-Agent: Jersey/2.8-SNAPSHOT (HttpUrlConnection 1.7.0_51)
mar 24, 2014 9:25:49 AM org.glassfish.jersey.filter.LoggingFilter log
INFO: 4 * Server responded with a response on thread qtp472720354-41
4 < 200
4 < Content-Type: text/html
mar 24, 2014 9:25:49 AM org.glassfish.jersey.filter.LoggingFilter log
INFO: 2 * Client response received on thread main
2 < 200
2 < Content-Length: 440
2 < Content-Type: text/html;charset=UTF-8
2 < Expires: Thu, 01 Jan 1970 00:00:00 GMT
2 < Server: Jetty(8.1.8.v20121106)
2 < Set-Cookie: JSESSIONID=1cko07splk26kxxzo6cvwy99p;Path=/
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Book</title>
</head>
<body>
<h1>Svejk</h1>
Book from Jaroslav Ha?ek
<p>
<a href="../../">Back</a>
<hr>
<div align="right">
Common footer (title Svejk)
</div>
</body>
</html>
mar 24, 2014 9:25:49 AM org.glassfish.jersey.server.ApplicationHandler initialize
INFO: Initiating Jersey application, version Jersey: 2.8-SNAPSHOT 2014-03-24 08:51:12...
mar 24, 2014 9:25:49 AM org.glassfish.jersey.filter.LoggingFilter log
INFO: 1 * Sending client request on thread main
1 > GET http://localhost:9998/items/1
1 > Accept: application/xml
mar 24, 2014 9:25:49 AM org.glassfish.jersey.filter.LoggingFilter log
INFO: 5 * Server has received a request on thread qtp472720354-42
5 > GET http://localhost:9998/items/1
5 > Accept: application/xml
5 > Connection: keep-alive
5 > Host: localhost:9998
5 > User-Agent: Jersey/2.8-SNAPSHOT (HttpUrlConnection 1.7.0_51)
mar 24, 2014 9:25:49 AM org.glassfish.jersey.filter.LoggingFilter log
INFO: 5 * Server responded with a response on thread qtp472720354-42
5 < 200
5 < Content-Type: application/xml
mar 24, 2014 9:25:49 AM org.glassfish.jersey.filter.LoggingFilter log
INFO: 2 * Client response received on thread main
2 < 200
2 < Content-Length: 120
2 < Content-Type: application/xml
2 < Server: Jetty(8.1.8.v20121106)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><book><title>Svejk</title><author>Jaroslav Ha??ek</author></book>
Item XML is: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><book><title>Svejk</title><author>Jaroslav Ha?ek</author></book>
mar 24, 2014 9:25:49 AM org.glassfish.jersey.filter.LoggingFilter log
INFO: 3 * Sending client request on thread main
3 > GET http://localhost:9998/items/1
3 > Accept: application/xml
mar 24, 2014 9:25:49 AM org.glassfish.jersey.filter.LoggingFilter log
INFO: 6 * Server has received a request on thread qtp472720354-40
6 > GET http://localhost:9998/items/1
6 > Accept: application/xml
6 > Connection: keep-alive
6 > Host: localhost:9998
6 > User-Agent: Jersey/2.8-SNAPSHOT (HttpUrlConnection 1.7.0_51)
mar 24, 2014 9:25:49 AM org.glassfish.jersey.filter.LoggingFilter log
INFO: 6 * Server responded with a response on thread qtp472720354-40
6 < 200
6 < Content-Type: application/xml
mar 24, 2014 9:25:49 AM org.glassfish.jersey.filter.LoggingFilter log
INFO: 4 * Client response received on thread main
4 < 200
4 < Content-Length: 120
4 < Content-Type: application/xml
4 < Server: Jetty(8.1.8.v20121106)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><book><title>Svejk</title><author>Jaroslav Ha??ek</author></book>
mar 24, 2014 9:25:49 AM org.glassfish.jersey.server.ApplicationHandler initialize
INFO: Initiating Jersey application, version Jersey: 2.8-SNAPSHOT 2014-03-24 08:51:12...
mar 24, 2014 9:25:50 AM org.glassfish.jersey.filter.LoggingFilter log
INFO: 1 * Sending client request on thread main
1 > GET http://localhost:9998/items/1/utf
mar 24, 2014 9:25:50 AM org.glassfish.jersey.filter.LoggingFilter log
INFO: 7 * Server has received a request on thread qtp472720354-43
7 > GET http://localhost:9998/items/1/utf
7 > Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
7 > Connection: keep-alive
7 > Host: localhost:9998
7 > User-Agent: Jersey/2.8-SNAPSHOT (HttpUrlConnection 1.7.0_51)
mar 24, 2014 9:25:50 AM org.glassfish.jersey.filter.LoggingFilter log
INFO: 7 * Server responded with a response on thread qtp472720354-43
7 < 200
7 < Content-Type: text/html
mar 24, 2014 9:25:50 AM org.glassfish.jersey.filter.LoggingFilter log
INFO: 2 * Client response received on thread main
2 < 200
2 < Content-Length: 364
2 < Content-Type: text/html;charset=UTF-8
2 < Expires: Thu, 01 Jan 1970 00:00:00 GMT
2 < Server: Jetty(8.1.8.v20121106)
2 < Set-Cookie: JSESSIONID=dvqs7yffoyt8187x24rs1f76c;Path=/
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Book</title>
</head>
<body>
<h1>Svejk</h1>
Book from Jaroslav Ha?ek
<p>
<a href="../../">Back</a>
<hr>
<div align="right">
Common footer (title Svejk)
</div>
</body>
</html>
mar 24, 2014 9:25:50 AM org.glassfish.jersey.server.ApplicationHandler initialize
INFO: Initiating Jersey application, version Jersey: 2.8-SNAPSHOT 2014-03-24 08:51:12...
mar 24, 2014 9:25:50 AM org.glassfish.jersey.filter.LoggingFilter log
INFO: 1 * Sending client request on thread main
1 > GET http://localhost:9998/items/1
1 > Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
mar 24, 2014 9:25:50 AM org.glassfish.jersey.filter.LoggingFilter log
INFO: 8 * Server has received a request on thread qtp472720354-42
8 > GET http://localhost:9998/items/1
8 > Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
8 > Connection: keep-alive
8 > Host: localhost:9998
8 > User-Agent: Jersey/2.8-SNAPSHOT (HttpUrlConnection 1.7.0_51)
mar 24, 2014 9:25:50 AM org.glassfish.jersey.filter.LoggingFilter log
INFO: 8 * Server responded with a response on thread qtp472720354-42
8 < 200
8 < Content-Type: text/html
mar 24, 2014 9:25:50 AM org.glassfish.jersey.filter.LoggingFilter log
INFO: 2 * Client response received on thread main
2 < 200
2 < Content-Length: 440
2 < Content-Type: text/html;charset=UTF-8
2 < Expires: Thu, 01 Jan 1970 00:00:00 GMT
2 < Server: Jetty(8.1.8.v20121106)
2 < Set-Cookie: JSESSIONID=1jpvxgwnjnfq1zlyu64t526ks;Path=/
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Book</title>
</head>
<body>
<h1>Svejk</h1>
Book from Jaroslav Ha?ek
<p>
<a href="../../">Back</a>
<hr>
<div align="right">
Common footer (title Svejk)
</div>
</body>
</html>
mar 24, 2014 9:25:50 AM org.glassfish.jersey.server.ApplicationHandler initialize
INFO: Initiating Jersey application, version Jersey: 2.8-SNAPSHOT 2014-03-24 08:51:12...
mar 24, 2014 9:25:50 AM org.glassfish.jersey.filter.LoggingFilter log
INFO: 1 * Sending client request on thread main
1 > GET http://localhost:9998/items/1/iso
mar 24, 2014 9:25:50 AM org.glassfish.jersey.filter.LoggingFilter log
INFO: 9 * Server has received a request on thread qtp472720354-41
9 > GET http://localhost:9998/items/1/iso
9 > Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
9 > Connection: keep-alive
9 > Host: localhost:9998
9 > User-Agent: Jersey/2.8-SNAPSHOT (HttpUrlConnection 1.7.0_51)
mar 24, 2014 9:25:50 AM org.glassfish.jersey.filter.LoggingFilter log
INFO: 9 * Server responded with a response on thread qtp472720354-41
9 < 200
9 < Content-Type: text/html
mar 24, 2014 9:25:50 AM org.glassfish.jersey.filter.LoggingFilter log
INFO: 2 * Client response received on thread main
2 < 200
2 < Content-Length: 364
2 < Content-Type: text/html;charset=ISO-8859-2
2 < Expires: Thu, 01 Jan 1970 00:00:00 GMT
2 < Server: Jetty(8.1.8.v20121106)
2 < Set-Cookie: JSESSIONID=1b018cdttg2672a5sudnsj9mp;Path=/
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Book</title>
</head>
<body>
<h1>Svejk</h1>
Book from Jaroslav Ha?ek
<p>
<a href="../../">Back</a>
<hr>
<div align="right">
Common footer (title Svejk)
</div>
</body>
</html>
Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.85 sec <<< FAILURE! - in org.glassfish.jersey.tests.integration.servlet_25_mvc_3.ItemITCase
testResourceAsHtmlUtf8(org.glassfish.jersey.tests.integration.servlet_25_mvc_3.ItemITCase) Time elapsed: 0.102 sec <<< FAILURE!
java.lang.AssertionError: Response should contain Ha?ek but was:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Book</title>
</head>
<body>
<h1>Svejk</h1>
Book from Jaroslav Ha?ek
<p>
<a href="../../">Back</a>
<hr>
<div align="right">
Common footer (title Svejk)
</div>
</body>
</html>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.glassfish.jersey.tests.integration.servlet_25_mvc_3.TestSupport.assertResponseContains(TestSupport.java:82)
at org.glassfish.jersey.tests.integration.servlet_25_mvc_3.ItemITCase.testResourceAsHtmlUtf8(ItemITCase.java:67)
Results :
Failed tests:
ItemITCase.testResourceAsHtmlUtf8:67->TestSupport.assertResponseContains:82 Response should contain Ha?ek but was:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Book</title>
</head>
<body>
<h1>Svejk</h1>
Book from Jaroslav Ha?ek
<p>
<a href="../../">Back</a>
<hr>
<div align="right">
Common footer (title Svejk)
</div>
</body>
</html>
Tests run: 8, Failures: 1, Errors: 0, Skipped: 0
[INFO]
[INFO] --- jetty-maven-plugin:8.1.8.v20121106:stop (stop-jetty) @ servlet-2.5-mvc-3 ---
[INFO]
[INFO] --- maven-failsafe-plugin:2.16:verify (default) @ servlet-2.5-mvc-3 ---
Stopping server 0
[INFO] Failsafe report directory: /Users/vetleino/dev/jersey/tests/integration/servlet-2.5-mvc-3/target/failsafe-reports
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] jersey-tests-integration-servlet-2.5-mvc-3 ........ FAILURE [ 12.508 s]
[INFO] jersey-tests-integration-servlet-2.5-reload ....... SKIPPED
[INFO] jersey-tests-integration-servlet-3-async .......... SKIPPED
[INFO] jersey-tests-integration-servlet-3-inflector-1 .... SKIPPED
[INFO] jersey-tests-integration-servlet-3-init-1 ......... SKIPPED
[INFO] jersey-tests-integration-servlet-3-init-2 ......... SKIPPED
[INFO] jersey-tests-integration-servlet-3-init-3 ......... SKIPPED
[INFO] jersey-tests-integration-servlet-3-init-4 ......... SKIPPED
[INFO] jersey-tests-integration-servlet-3-init-5 ......... SKIPPED
[INFO] jersey-tests-integration-servlet-3-init-provider .. SKIPPED
[INFO] jersey-tests-integration-servlet-3-params ......... SKIPPED
[INFO] jersey-tests-integration-servlet-3-chunked-io ..... SKIPPED
[INFO] jersey-tests-integration-servlet-3-sse-1 .......... SKIPPED
[INFO] jersey-tests-integration-servlet-tests ............ SKIPPED
[INFO] jersey-tests-integration-spring3 .................. SKIPPED
[INFO] jersey-tests-integration-tracing-support .......... SKIPPED
[INFO] jersey-tests-osgi ................................. SKIPPED
[INFO] jersey-tests-osgi-functional ...................... SKIPPED
[INFO] jersey-tests-performance .......................... SKIPPED
[INFO] custom-parametrized-test .......................... SKIPPED
[INFO] performance-test-tools ............................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15.968 s
[INFO] Finished at: 2014-03-24T09:25:50+01:00
[INFO] Final Memory: 94M/411M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.16:verify (default) on project servlet-2.5-mvc-3: There are test failures.
[ERROR]
[ERROR] Please refer to /Users/vetleino/dev/jersey/tests/integration/servlet-2.5-mvc-3/target/failsafe-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment