IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Load testing flow services measure response time

    Posted Thu January 09, 2003 02:57 PM

    hi,

    I was trying to baseline the response time for Flow services in webMethods (and subsequently compare with Java Services doing the same functionality). Does anybody know of any tool or sample Flow/Java services code for load testing.

    Thanx
    Ritesh


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 2.  RE: Load testing flow services measure response time

    Posted Fri January 10, 2003 12:14 AM

    The way we do it is to run this simple java service at the beginning of the flow invoke:

    String currentTime = String.valueOf(System.currentTimeMillis());
    IDataHashCursor pipelineCursor = pipeline.getHashCursor();
    pipelineCursor.last();
    pipelineCursor.insertAfter(“currentTime”, currentTime);
    pipelineCursor.destroy();

    This gets us the time (since some arbitrary date in 1970 or something) in milliseconds. We run it again at the end of the flow, and then subtract the difference.


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 3.  RE: Load testing flow services measure response time

    Posted Fri January 10, 2003 04:39 PM

    Why cant we use the service pub.date:currentDate to get this date instead of the Java service?


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: Load testing flow services measure response time

    Posted Fri January 10, 2003 10:57 PM

    You could but you’ll get some overhead associated with the formatting that the service does to put the time into the format specified by pattern.


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 5.  RE: Load testing flow services measure response time

    Posted Fri January 10, 2003 11:02 PM

    I went ahead and used the tool Grinder, for load testing the Flow services as Web Services.


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services