Service Virtualization

Expand all | Collapse all

Using LISA 8.0.1 for Random Code Generator allows Length though providing 112 getting value of maximum 37 characters

  • 1.  Using LISA 8.0.1 for Random Code Generator allows Length though providing 112 getting value of maximum 37 characters

    Posted May 22, 2017 03:19 AM

    Using LISA 8.0.1. I have to create Session ID for one Web Service Response and it should be 112 Alpha Numeric Characters.So that purpose using Random Code Generator data set though providing Length 112 or anything greater than 40 getting result but maximum length of 37.Am I doing something wrong here?



  • 2.  Re: Using LISA 8.0.1 for Random Code Generator allows Length though providing 112 getting value of maximum 37 characters
    Best Answer

    Broadcom Employee
    Posted May 22, 2017 06:53 AM

    DevTest has always has a maximum length for randomly-generated parameters. In really early versions, it was approximating max int + padding, then it moved to approximating to max long.

     

    If you want longer than 36 random characters, I suppose you could create multiple string properties (longRand1, longRand2, longRand3) and concatenate them: longRand = longRand1.concat(longRand2).concat(longRand3).



  • 3.  Re: Using LISA 8.0.1 for Random Code Generator allows Length though providing 112 getting value of maximum 37 characters

    Posted May 24, 2017 07:19 AM

    Thank you for the clarification.