GitHub user max3163 opened a pull request: https://github.com/apache/jmeter/pull/168
Force JSONPATH to always return list of Object When the JSONPATH expression retrieve only one value, an exeption was thrown ( Unable to cast String type to List type by example) Add the Option.ALWAYS_RETURN_LIST force JSONPATH to always return a list. To avoid problem of cast, the list type is set to Object. You can merge this pull request into a Git repository by running: $ git pull https://github.com/max3163/jmeter trunk Alternatively you can review and apply these changes as the patch at: https://github.com/apache/jmeter/pull/168.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #168 ---- commit b7f85917865a5c0ee19cd8dee69e5f08c041b622 Author: max <maxime.chassagn...@gmail.com> Date: 2016-03-16T21:10:14Z Force JSONPATH to always return list of Object ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---