You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by R J Scheuerle Jr <sc...@us.ibm.com> on 2001/11/01 19:10:24 UTC

Running functional tests and tcpmon simultaneously

Does anyone have an easy way of running

   ant functional-tests

and monitoring all of the messages using org.apache.axis.utils.tcpmon ?

--------------------------------------------------------------

The best way that I know how to do this is to change
build_functional_tests.xml
to provide an alternate port to SimpleAxisServer:

 <target name="start-functional-test-http-server" if="junit.present">
    <echo message="Starting test http server."/>
    <java classname="org.apache.axis.transport.http.SimpleAxisServer" fork
="yes" dir="./build">
      <arg line="-p 8011" /> <!-- server port -->
      <classpath refid="test-classpath" />
    </java>
  </target>

And then run tcpmon (listening to 8011 and forwarding to 8080).

----------------------------------------------------------------

Any other ideas?  Does any one object to making the SimpleAxisServer port a
property in the build.xml file?


Rich Scheuerle
ORB/IDLC Development
512-838-5115  (TL 678-5115)