Highlighted
Contributor.
Contributor.
315 views

Load Testing end to end data flow from JMS to HBase.

The Architecture goes like:

JMS -> KAfka -> spark -> hbase

Their is a data flow(XML) from JMS to Hbase.

My Requirement:

  1. Benchmarking for various sized data which i am able to achieve using timestamp.(done)
  2. Load testing the same scenario? How can achieve the whole transaction response time with the help of loadrunner.(Response time when the data reaches Hbase)?
    Below is the code to generate load on JMS queue:

    Action() {
    jms_publish_message_topic("SendMessage", 
        "hello {NewParam_2}", 
        "sampletopic");
    
    jms_publish_message_topic("sendXml", 
        "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<ns0:NotificaCollezioneTessile "
        "xmlns:ns0=\"http://carrefour.it/mdg/schemas/xsd\">\r\n    <ns0:Infolog>\r\n     "
        "   <ns0:TimeStamp>{NewParam_7}</ns0:TimeStamp>\r\n    "
        "</ns0:Infolog>\r\n    <ns0:Context>\r\n        <ns0:ContextId>"
        "ASTRA-ACCTB-VL-FIRST</ns0:ContextId>\r\n    </ns0:Context>\r\n    "
        "<ns0:CollezioneTessile>\r\n        <ns0:Anagrafica>\r\n            <ns0:Anno>"
        "2017</ns0:Anno>\r\n            <ns0:CollezioneTessileDx>"
        "CONTINUATIVO</ns0:CollezioneTessileDx>\r\n            "
        "<ns0:CollezioneTessileTipoCod>CO</ns0:CollezioneTessileTipoCod>\r\n            "
        "<ns0:DtImpianto>2017-07-10</ns0:DtImpianto>\r\n            <ns0:FDeMarca>"
        "false</ns0:FDeMarca>\r\n            <ns0:DtDec>2017-07-07+02:00</ns0:DtDec>\r\n "
        "           <ns0:DtCes>2017-10-01</ns0:DtCes>\r\n        </ns0:Anagrafica>\r\n   "
        "     <ns0:AlberoPrincipale>\r\n            <ns0:RepCod>60</ns0:RepCod>\r\n      "
        "  </ns0:AlberoPrincipale>\r\n    </ns0:CollezioneTessile>"
        "\r\n</ns0:NotificaCollezioneTessile>", 
        "fornitore");
    
    
    return 0;

    }

i will parameterize the xml data and also send the current timestamp for every run.

Please suggest any ideas to achieve end to end response time?

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.