Service Virtualization

  • 1.  Regex usage for constant value in response

    Posted Sep 22, 2017 03:26 AM

    whats the difference between the below two regex used in customizing the response value when both are giving the same result as 5 in response?

     

          <abc>{{=[:logonId:5]}}</abc>

          <abc>5</abc>

     

     



  • 2.  Re: Regex usage for constant value in response
    Best Answer

    Broadcom Employee
    Posted Sep 22, 2017 11:07 AM

    I agree, both will give the same result. You can use either one. You can use RegEx or String patterns if you are looking for a dynamic value.