Hi Firas,

What do you mean by the response time at the client. Is it the Round Trip 
Time(RTT) of the web service invocation?
The reasons you are getting the same time may be;
You are using the server and the client in the same machine and the time it 
takes for processing at the server is not captured at milliseconds resolution.

If you are in JDK1.5 or above try using, System.nanoTime();
You will get a higer RTT if you deploy the server in a differnt machine than 
where you run the client.

Thanks,
-jaliya


  ----- Original Message ----- 
  From: Firas Khasawneh (fkhasawn) 
  To: Jaliya Ekanayake ; [email protected] ; [EMAIL PROTECTED] 
  Sent: Monday, July 23, 2007 9:45 AM
  Subject: RE: measuring Axix 1.4 overhead


  Hi Jaliya,

  I am using only server side Axis, for client I am using SoapUI. if I put the 
handler in transport for both response and request, I am getting the response 
time I am measuring from my client so looks like it is measuring from the 
client side (the time it gets the request till it releases the http connection)

  Thanks,
  Firas



------------------------------------------------------------------------------
  From: Jaliya Ekanayake [mailto:[EMAIL PROTECTED] 
  Sent: Monday, July 23, 2007 9:42 AM
  To: [email protected]; [EMAIL PROTECTED]; Firas Khasawneh (fkhasawn)
  Subject: Re: measuring Axix 1.4 overhead


  Hi Firas,

  Are you trying both axis server and the client in a same machine? If you put 
the handler in transport section, then what you will measure is the time it 
takes inside the engine from transport handlers ->service -> transport 
handlers. One other possibility is to keep track of the time in AxisServlet. 
Measure the time in AxisServlet before it calls AxisEngine's invoke(..) method 
and after it is returned and you will get the time for the total invocation.

  Thanks,
  -jaliya
    ----- Original Message ----- 
    From: Firas Khasawneh (fkhasawn) 
    To: [EMAIL PROTECTED] ; [email protected] 
    Sent: Monday, July 23, 2007 6:06 AM
    Subject: RE: measuring Axix 1.4 overhead


    Any help regarding the below please? any suggestions on how to measure the 
overhead Axis adds?



----------------------------------------------------------------------------
    From: Firas Khasawneh (fkhasawn) 
    Sent: Sunday, July 22, 2007 11:50 PM
    To: '[EMAIL PROTECTED]'
    Subject: measuring Axix 1.4 overhead


    Hi all,

    Anybody knows how to measure the overhead Axis 1.4 adds to response time? I 
created a handler in the requestFlow to  store System.currentTimeMillis in 
messageContext and another handler in the responseFlow that retrieved this 
value and subtracts it from System.currentTimeMillis(), when I use these 
classes in the global conf or transport (server side) I am getting values that 
correspond to the response time the client is getting so it looks like it is 
not calculating the Axix overhead on the server side, when I put these handlers 
in the requestFlow and responseFlow in the service section in server-conf.wsdd 
it gives differnt time which seem right but I am nti sure if this is the Axix 
engine overhead? Any suggestions? other ways to do this? please reply back to 
me or CC me if you are sending to the list since I am not yet a member in this 
list.

    Regards,
    Firas Khasawneh

Reply via email to