Service Virtualization

  • 1.  How to increase processing time and capacity for load testing

    Posted Jun 01, 2017 02:15 AM

    Hello All,

     

    During load testing, project team is facing some Issue in MQ stub testing. Issues is described as : Upto 10 records it is processed good but for 5 K records there is slowness. Even we are able to sit hits in Lisa but fron end who is expecting these messages not able to see any message at their end.

     

    Ca we do somethig around in Lisa to increase processing time so that Lisa can respond quickly or can put messages in reply queue in bulk? Consider Lisa will get 5k or 10k records at once in request queue.

     

    please help or any suggestion.

     

    Thanks..

    Shivam Garg



  • 2.  Re: How to increase processing time and capacity for load testing

    Posted Jun 01, 2017 05:45 AM

    Hi,

     

    If I have understood your question correctly you will have 5,000 or more records on the queue awaiting processing at a time.

     

    If this is really the case, then the things you can do are increase capacity. ensure that you have VSE performance enabled and make sure that your process has enough memory. The processing will then be limited by the complexity of the virtual service, the size of the requests, system IO constraints and processor resource. 

     

    To optimise the virtual service, ensure that you are performing the minimum amount of work (reduce number of arguments etc). Also ensure that your logging is set to WARN or ERROR.

     

    If you are running out of system resources after this you will probably need to scale out with additional VSEs on additional hardware. 



  • 3.  Re: How to increase processing time and capacity for load testing

    Posted Jun 01, 2017 05:53 AM

    Thanks David for your reply.

     

    Can you please let me now how I can check memory of process? Also complexity, size and processor resource?

     

    Is there any document which can help?

     

    Thanks..

    Shivam Garg



  • 4.  Re: How to increase processing time and capacity for load testing
    Best Answer

    Posted Jun 01, 2017 06:01 AM

    Hi

    The complexity of your virtual service is viewable in the Workstation - make sure that you are not using any fields in the virtual service image (vsi) that you don't need, are not processing magic strings that you don't want, and so on.

     

    The memory utilisation is logged in the vse.log - as are errors should allocated memory be exhausted.

     

    As for physical system constraints such as IO, processor etc, you should consult your system administration team.

     

    Be aware that optimising a system for performance is non-trivial, and you may wish to seek expert help to assist you on-premises.



  • 5.  Re: How to increase processing time and capacity for load testing

    Posted Jun 01, 2017 12:29 PM

    If possible, please answer Dave's most important question -- Are you running under a performance VSE license, and do you have lisa.vse.performance.enabled? As Dave wisely pointed out, performance tuning is not a trivial exercise due to the number of variables that come into the picture. It will be difficult to address all of the specifics in this forum.