Service Virtualization

  • 1.  Can Lisa recorder handle 1+gb of raw traffic file?

    Posted Feb 04, 2017 09:50 AM

    I have raw traffic file that is more than 1gb in size.

     

    I need to virtualize using lisa recorder choosing the import file option.

     

    Can Lisa workstation handle this size?

     

    Else suggest the best option to virtualize the service.

     

    Also is there any way to split the traffic file in to smaller files so that recording can be done pretty easily?

     

    Regards

    Raj



  • 2.  Re: Can Lisa recorder handle 1+gb of raw traffic file?
    Best Answer

    Broadcom Employee
    Posted Feb 04, 2017 10:57 AM

    I've done a recording of a 1Gb raw traffic file before, when I had a retail web app that cached the whole database on login. DevTest is written in Java, so I had to dramatically increase the JVM maximum memory to permit this. You will see if you need to do this because the generation will start at normal speed, and then slow to a crawl when the JVM runs out of memory. You will also get errors in the log file.

    The file to increase RAM is DEVTEST_HOME/bin/Workstation.vmoptions. I had to add the line "-Xmx3g" (without quotes) to this, to provide DevTest with access to 3GB of RAM.

     

    The raw traffic file is just XML, so if you have an editor that can cope with files of this size, you can split it, so long as you remember to include all the XML prefix and suffix tags in each of the raw traffic files you generate.