Service Virtualization

 View Only
  • 1.  parse text as xml tag not taking property name

    Posted 27 days ago
    Edited by John Sebastian 27 days ago

    parse text as xml tag not taking property name

    Error:

     Exception: 
    ============================================================================
    | Step:        Read file def-ob-pain001.xml
    ----------------------------------------------------------------------------
    | Message:     java.lang.NumberFormatException: For input string: "{{tagCount}}"
    ----------------------------------------------------------------------------
    | Trapped Exception: For input string: "{{tagCount}}"
    | Trapped Message:   java.lang.NumberFormatException: For input string: "{{tagCount}}"
    ----------------------------------------------------------------------------
    STACK TRACE
    java.lang.NumberFormatException: For input string: "{{tagCount}}"
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
    at java.lang.Integer.parseInt(Integer.java:580)
    at java.lang.Integer.parseInt(Integer.java:615)
    at com.itko.lisa.test.FilterGetChildText.subPostFilter(FilterGetChildText.java:173)
    at com.itko.lisa.test.FilterBaseImpl.subFilter(FilterBaseImpl.java:148)
    at com.itko.lisa.test.FilterBaseImpl.postFilter(FilterBaseImpl.java:122)
    at com.itko.lisa.test.TestNode.doFilters(TestNode.java:1572)
    at com.itko.lisa.test.TestNode.doPostFilters(TestNode.java:1521)
    at com.itko.lisa.test.TestNode.executeNode(TestNode.java:1008)
    at com.itko.lisa.test.TestCase.execute(TestCase.java:1297)
    at com.itko.lisa.test.TestCase.execute(TestCase.java:1198)
    at com.itko.lisa.test.TestCase.executeNextNode(TestCase.java:1183)
    at com.itko.lisa.editor.WalkThruPanel.prepAndExecNode(WalkThruPanel.java:1122)
    at com.itko.lisa.editor.WalkThruPanel.access$900(WalkThruPanel.java:72)
    at com.itko.lisa.editor.WalkThruPanel$10.doCallback(WalkThruPanel.java:1021)
    at com.itko.util.swing.panels.ProcessingDialog$2.run(ProcessingDialog.java:195)
    at java.lang.Thread.run(Thread.java:748)
    ============================================================================


  • 2.  RE: parse text as xml tag not taking property name

    Broadcom Employee
    Posted 27 days ago

    Hi John,

    Can you run the test in ITR and share the testcase and associated assets and ITR results for analysis?

    Prema