Exactly. The timers inside Java and the OS are not very accurate,
especially for small numbers. Unless you are doing something very
serious, the modules are probably going to take microseconds to run.
Therefore a statistical load driver test is much more effective than
individual timers.

Paul

On 6/7/07, David Illsley <[EMAIL PROTECTED]> wrote:
Inder,
I'm not an expert but I think what the others are getting at is that
you'll see much more repsesentative numbers if you time how long it
takes to deal with some thousands of requests and divide by the number
of requests. One way to approach this is to use one of the test client
mentioned.
Does that make any sense?
David

On 06/06/07, Inder Dhillon <[EMAIL PROTECTED]> wrote:
> Hello
>
> Thanks for all of your comments. But my question was that how can we measure
> the time taken by axis2 engine to process both incoming and outgoing soap
> messages. Actually am just running a simple example and have developed some
> custom handlers and modules, so now I wanted to see how much delay it takes
> during the invocation of those custom handlers.
>
> I'll really appreciate if someone can help me on this.
>
> Thanks
> Inder
>
> -----Original Message-----
> From: Paul Fremantle [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 06, 2007 5:43 AM
> To: [email protected]
> Subject: Re: Axis2: How to measure the time taken by Axis2 engine to process
> the request/reply SOAP messages
>
> Interesting blog! Thanks for the pointer. I'm not sure I understand
> the comment about single threading. Certainly AB allows you to send
> multiple simultaneous requests. If its singlethreaded then its pretty
> cunning about it.
>
> Anyway, part of the HTTPCore project in Apache has a multi-threaded
> Java version of AB. This also supports chunking and HTTP1.1 keepalive.
> Unfortunately there isn't a build yet, but we've used it to test
> Synapse.
> https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpcore/tags/4.0-al
> pha4/contrib/src/main/java/org/apache/http/contrib/benchmark/
>
> We will take a look at hosting a build on wso2.org.
>
> Paul
>
> On 6/6/07, Michele Mazzucco <[EMAIL PROTECTED]> wrote:
> > Paul,
> >
> > maybe ab is not the best tool to use...
> > http://weblogs.java.net/blog/sdo/archive/2007/03/ab_considered_h.html
> >
> >
> > Michele
> >
> > On Wed, 2007-06-06 at 08:47 +0100, Paul Fremantle wrote:
> > > We did some benchmarking of Axis2 here
> > > http://wso2.org/library/91
> > >
> > > We used ab which is part of the Apache HTTPD project.
> > >
> > > Paul
> > >
> > > On 6/6/07, Inder Dhillon <[EMAIL PROTECTED]> wrote:
> > > >
> > > >
> > > >
> > > >
> > > > Hello
> > > >
> > > >
> > > >
> > > > I'll really appreciate if someone can suggest me how to measure the
> time
> > > > taken by Axis2 engine to process the messages?
> > > >
> > > >
> > > >
> > > > Thanks
> > > >
> > > > Inder
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Paul Fremantle
> Co-Founder and VP of Technical Sales, WSO2
> OASIS WS-RX TC Co-chair
>
> blog: http://pzf.fremantle.org
> [EMAIL PROTECTED]
>
> "Oxygenating the Web Service Platform", www.wso2.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
David Illsley - IBM Web Services Development

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Paul Fremantle
Co-Founder and VP of Technical Sales, WSO2
OASIS WS-RX TC Co-chair

blog: http://pzf.fremantle.org
[EMAIL PROTECTED]

"Oxygenating the Web Service Platform", www.wso2.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to