Service Virtualization

Counting Device Id coming in response and dispalying on output Log Message

  • 1.  Counting Device Id coming in response and dispalying on output Log Message

    Posted Sep 08, 2016 05:45 AM

    Hi Team,

     

    I have created a TestCase where in response  DeviceId and PRODUCT DESCRIPTION is coming .

    I have to count how many times It's coming and to write it in output Log message.

    Please help me on this.

     

    Sample response Tag:

    <OptionItem Id="148" Name="610214645067" Path="JumpV1.VLines.VLine1.VLine1.Devices.610214645067">
    <Property Name="UI: PRODUCT DESCRIPTION"
    Type="String" Value="Galaxy J7"/>