Как извлечь массив значений из ответа и установить запрос следующего сообщения в JMETER
Я пытался использовать экстрактор JSON, но когда я установил все поля, заполненные одинаковыми значениями.
{"status":"success","mainCategories":[{"categoryName":"Comfort & Convenience","sortNo":"1","recommendedFeatures":[{"featureId":"MVS-2018-MIC-32","featureName":"Bluetooth® Hands-free Phone System","featureSortNumber":"0","videoURL":"","videoName":"","showVideo":"N","image":"","copy":"","intelligentMobility":"N","steps":[],"isCompleted":"N"},{"featureId":"MVS-2018-MIC-39","featureName":"Tilt steering column","featureSortNumber":"0","videoURL":"","videoName":"","showVideo":"N","image":"","copy":"","intelligentMobility":"N","steps":[],"isCompleted":"N"}],"optionalFeatures":[{"featureId":"MVS-2018-MIC-34","featureName":"Air conditioning","featureSortNumber":"0","videoURL":"","videoName":"","showVideo":"N","image":"","copy":"","intelligentMobility":"N","steps":[],"isCompleted":"N"},{"featureId":"MVS-2018-MIC-36","featureName":"Integrated Key with remote keyless entry","featureSortNumber":"0","videoURL":"","videoName":"","showVideo":"N","image":"","copy":"","intelligentMobility":"N","steps":[],"isCompleted":"N"}]},{"categoryName":"Instrumentation & Driver Controls","sortNo":"1","optionalFeatures":[{"featureId":"MVS-2018-MIC-33","featureName":"Trip computer (average fuel economy, current fuel economy, distance to empty)","featureSortNumber":"0","videoURL":"","videoName":"","showVideo":"N","image":"","copy":"","intelligentMobility":"N","steps":[],"isCompleted":"N"},{"featureId":"MVS-2018-MIC-40","featureName":"Cruise control with steering-wheel-mounted controls",
Вздесь я должен извлечь значения featureID и isCompleted и установить следующий запрос.Я получаю одинаковое значение для всех этих 2 полей.