Author: jim.ma
Date: 2014-03-07 06:37:37 -0500 (Fri, 07 Mar 2014)
New Revision: 18477
Removed:
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/resources/jaxws/samples/wsse/policy/basic/gcm/WEB-INF/jboss-webservices.xml
Modified:
stack/cxf/trunk/modules/testsuite/cxf-tests/scripts/cxf-samples-jars-jaxws.xml
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsse/policy/basic/AnnotatedSignEncryptTestCase.java
Log:
Revert r18468:Add debug test to get the server response time
Modified: stack/cxf/trunk/modules/testsuite/cxf-tests/scripts/cxf-samples-jars-jaxws.xml
===================================================================
---
stack/cxf/trunk/modules/testsuite/cxf-tests/scripts/cxf-samples-jars-jaxws.xml 2014-03-07
11:33:11 UTC (rev 18476)
+++
stack/cxf/trunk/modules/testsuite/cxf-tests/scripts/cxf-samples-jars-jaxws.xml 2014-03-07
11:37:37 UTC (rev 18477)
@@ -355,9 +355,6 @@
<include name="bob.jks" />
<include name="bob.properties" />
</zipfileset>
- <webinf
dir="${tests.output.dir}/test-resources/jaxws/samples/wsse/policy/basic/gcm/WEB-INF">
- <include name="jboss-webservices.xml"/>
- </webinf>
<manifest>
<attribute name="Dependencies"
value="org.jboss.ws.cxf.jbossws-cxf-client"/>
</manifest>
Modified:
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsse/policy/basic/AnnotatedSignEncryptTestCase.java
===================================================================
---
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsse/policy/basic/AnnotatedSignEncryptTestCase.java 2014-03-07
11:33:11 UTC (rev 18476)
+++
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsse/policy/basic/AnnotatedSignEncryptTestCase.java 2014-03-07
11:37:37 UTC (rev 18477)
@@ -22,11 +22,7 @@
package org.jboss.test.ws.jaxws.samples.wsse.policy.basic;
import java.net.URL;
-import java.util.Iterator;
-import java.util.Set;
-import javax.management.MBeanServerConnection;
-import javax.management.ObjectName;
import javax.xml.namespace.QName;
import javax.xml.ws.BindingProvider;
import javax.xml.ws.Service;
@@ -75,26 +71,6 @@
throw CryptoHelper.checkAndWrapException(e);
}
}
-
- public void testResponseTime() throws Exception {
- MBeanServerConnection server = getServer();
- ObjectName sayhelloCounter = new
ObjectName("org.apache.cxf:operation=\"sayHello\",*");
- Set<?> s = server.queryNames(sayhelloCounter, null);
- Iterator<?> it = s.iterator();
-
- while (it.hasNext()) {
- ObjectName mbean = (ObjectName)it.next();
- System.out.println("Object Name : " + mbean);
- Object val = server.getAttribute(mbean, "NumInvocations");
- System.out.println("Number invocation : " + val);
- Object totalTime = server.getAttribute(mbean, "TotalHandlingTime");
- System.out.println("Total handling time : " + totalTime);
- Object maxTime = server.getAttribute(mbean, "MaxResponseTime");
- System.out.println("Max Respone time : " + maxTime);
- }
- }
-
-
private void setupWsse(AnnotatedServiceIface proxy)
{
Deleted:
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/resources/jaxws/samples/wsse/policy/basic/gcm/WEB-INF/jboss-webservices.xml
===================================================================
---
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/resources/jaxws/samples/wsse/policy/basic/gcm/WEB-INF/jboss-webservices.xml 2014-03-07
11:33:11 UTC (rev 18476)
+++
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/resources/jaxws/samples/wsse/policy/basic/gcm/WEB-INF/jboss-webservices.xml 2014-03-07
11:37:37 UTC (rev 18477)
@@ -1,13 +0,0 @@
-<?xml version="1.1" encoding="UTF-8"?>
-<webservices
-
xmlns="http://www.jboss.com/xml/ns/javaee"
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- version="1.2"
-
xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee">
-
- <property>
- <name>cxf.management.enabled</name>
- <value>true</value>
- </property>
-
-</webservices>
\ No newline at end of file