Pages

Monday, 13 February 2017

Performance Test Result Analysis (Level-III - Part E)

The content has been moved to PerfMatrix site.

Link: https://www.perfmatrix.com/extrapolation-method/

Related Topics:

10 comments:

  1. explian some reltime scenarios

    ReplyDelete
    Replies
    1. I have given one case in the blog. Hope that would be helpful, if not I will put some more examples.

      Thanks

      Delete
  2. Hi ganagan can you discuss about message queue

    ReplyDelete
    Replies
    1. Can you please elaborate more what exactly you want on "Message Queue"?

      Delete
  3. We have an application for which we are planning to do performance test. Following is a brief description of the application architecture:
    1. There is one application (say X) from which user data will be passed into a Message Queue (say MQ1).
    2. A MQ Reader will read MQ1 and put data into tables in XML format.
    3. There is a Sequence Validator which will validate the sequence of the message and rectify the order, if required. 4. Once sequence validation is done, there are Java APIs (e.g., Add/Update APIs) that will be invoked for addition/updation of the data in a Central data repository. 5. Finally, a message will also be generated after the data addition/updation and will be pushed into another Message Queue (say MQ2) for consumption by another application.

    NFR from client -- An average of 250 messages/sec each will be generated from MQ1 and pushed to MQ2.

    Our scope of performance testing lies in testing the application performance once message is generated in MQ1 from app X and till new messages are generated for MQ2.

    QUESTION:

    1. Is LoadRunner required at all for generating test messages in MQ1? Or can we do the same using some bathc jobs while shutting donw MQ1 service?
    2. If LoadRunner is required, what protocol do we need to use?
    3. Is there any monitoring tool that can be used for message queuing performance checking during message processing?

    ReplyDelete
    Replies
    1. Answers:
      1. Above mentioned scenario can be easily simulated using LoadRunner.
      2. Protocol: Java (you need to write java code to connect with MQ and put the message in the queue. The message should be placed on LR host machine, so that script can read it and modify the unique number like message ID. Acknowledgement of message will be depends on type of message i.e. synchronous or asynchronous. If it is synchronous then you also need to prepare a script which will consume processed messages)
      3. IBM WebSphere MQ monitoring is the best tool.

      Delete
  4. Hi Gagan,
    Can you share what are the points that need to be considered while designing a Test strategy for MQ load testing?
    Thanks, Nandini

    ReplyDelete
    Replies
    1. Hi Nandani,

      For MQ scripting using HP LoadRunner, you need to choose "Java" protocol and you should have all the basic information which are listed below:

      1. Hostname
      2. Port
      3. Channel
      4. Request Queue Name
      5. Reply Queue Name

      Although MQ scripting requires programming knowledge (Java), but you can easily understand if you have basic knowledge of coding.

      I can see an example is given at below link, hopefully it will help you a lot:
      http://www.myloadtest.com/loadrunner-websphere-mq/

      Delete
  5. Hi Gagan,
    Can you provide few inputs to be considered while designing Test strategy for MQ Load Testing?
    -Nandini

    ReplyDelete