JSONPath preprocessing step returns invalid result for empty list

XMLWordPrintable

    • Type: Problem report
    • Resolution: Duplicate
    • Priority: Trivial
    • None
    • Affects Version/s: 6.0.11
    • Component/s: Server (S)
    • None
    • Sprint 96 (Jan 2023), Sprint 97 (Feb 2023), Sprint 98 (Mar 2023), Sprint 99 (Apr 2023)

      Steps to reproduce:

      1. Create an item
      2. Add a JSONPath preprocessing step
      3. Set parameters to $.items
      4. Test item with the value 
        {
            "items": []
        } 

      Result:

      Result is

      ]

      Expected:
      Result is

      []

            Assignee:
            Dmitrijs Goloscapovs (Inactive)
            Reporter:
            Kim Randell
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: