diff --git a/activemq-web-demo/src/main/webapp/index.html b/activemq-web-demo/src/main/webapp/index.html
index 1b30beea6c..134f00b3f8 100755
--- a/activemq-web-demo/src/main/webapp/index.html
+++ b/activemq-web-demo/src/main/webapp/index.html
@@ -117,7 +117,7 @@
- Receive a message
+ Receive a message
Queue browser example
diff --git a/activemq-web-demo/src/test/java/org/apache/activemq/web/RestTest.java b/activemq-web-demo/src/test/java/org/apache/activemq/web/RestTest.java
index db23419a81..681a068a46 100644
--- a/activemq-web-demo/src/test/java/org/apache/activemq/web/RestTest.java
+++ b/activemq-web-demo/src/test/java/org/apache/activemq/web/RestTest.java
@@ -14,7 +14,7 @@ public class RestTest extends JettyTestSupport {
httpClient.start();
ContentExchange contentExchange = new ContentExchange();
httpClient.setConnectorType(HttpClient.CONNECTOR_SELECT_CHANNEL);
- contentExchange.setURL("http://localhost:8080/message/test?timeout=1000&type=queue");
+ contentExchange.setURL("http://localhost:8080/message/test?readTimeout=1000&type=queue");
httpClient.send(contentExchange);
contentExchange.waitForDone();
assertEquals("test", contentExchange.getResponseContent());
@@ -34,7 +34,7 @@ public class RestTest extends JettyTestSupport {
httpClient.start();
ContentExchange contentExchange = new ContentExchange();
httpClient.setConnectorType(HttpClient.CONNECTOR_SELECT_CHANNEL);
- contentExchange.setURL("http://localhost:8080/message/test?timeout=1000&type=queue");
+ contentExchange.setURL("http://localhost:8080/message/test?readTimeout=1000&type=queue");
contentExchange.setRequestHeader("selector", "test=2");
httpClient.send(contentExchange);
contentExchange.waitForDone();