https://bz.apache.org/bugzilla/show_bug.cgi?id=65681

            Bug ID: 65681
           Summary: JSON Extractor returns empty string for null value
                    instead of returning Default value
           Product: JMeter
           Version: 5.4.1
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: JMETER_5.5

Created attachment 38085
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=38085&action=edit
Test plan reproducer

In attached test plan "$.totoman_gap_code" is null but second extractor
extracts empty string.

In JSON we have:
"totoman_gap_code":null

But you can see in Debug Sampler that we end up with:

productGapCode=
productGapCode_matchNr=1


It seems issue appears when combining extractors ie, JSON Extractor -
productGapCode uses a variable "productRetailerOffer" extracted by JSON
Extractor - productRetailerOffer.


Thanks

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to