skip to Main Content

Get the first key from JSON response using JMeter JSON extractor

I am getting below response while running an API. { "bookingId": 0, "bookingIds": { "13320134": "2023-05-01T04:30:00", "13320135": "2023-05-02T04:30:00", "13320136": "2023-05-03T04:30:00" }, "conflictDates": null, "recurrenceID": 1710459 } I want to get the first value inside 'bookingIds' 13320134 What I tried: $.bookingIds.13320134…

VIEW QUESTION

Json – JMeter – How to convert string value to a list

I have an API that returns the following json: { "GetAppendixListResponse": { "GetAppendixListResult": { "FileList": { "string": ["3602","3587"] }, "Code": "0" } } } The debug sampler looks like: JMeterVariables: AppendixCode_1=["3602","3587"] AppendixCode_ALL=["3602","3587"] AppendixCode_matchNr=1 How can I convert ["3602","3587"] from string…

VIEW QUESTION
Back To Top
Search