Hi All,

I have exposed a EJB method as a web service using AXIS, WebSphere 5.1
on the server side and  also used AXIS on the client side . Now I want
to have metrics for below :


1. Time taken to send a request (soap message) to the service
2. Time taken to send a response (soap message) to the client
3. Total roundtrip time taken for the whole request/response cycle.


Now I am novice to various ways of measuring the roundrip time other than using 
"System.currentTimeMillis()" as show below between web service call
invocations.

public class Client {
        private String m_target;
        private AmalWSImplBindingStub m_proxy;

        private void query() throws Exception {
                try {
                        m_proxy = (AmalWSImplBindingStub)new
AmalWSImplInterfaceServiceLocator().getAmalWSImpl();
                        int startTime = System.currentTimeMillis();
                        String ret1 = m_proxy.capturedPCNList("amla");
                        int endTime = System.currentTimeMillis();
                }
                catch (Exception e) {
                }
        }
}


I know that request and response times start on various parameters
like the network bandwidth, application server, hardware resources
etc. but I want to arrive at some metric calculations purely on web
service calls made by axis, the time taken for (de)serializing by axis
it etc. etc.   Are there any (free for personal use) tools out there
that can monitor and log the response times of web service  endpoints.
Can anybody please share their knowledge and experiences and help me
to starup this metric calculation.



Thanks & Regards,
Kumar.

Reply via email to