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