JSON filter not working in DevTest 10.x

Document ID : KB000072622
Last Modified Date : 12/07/2018
Show Technical Document Details
Introduction:
Customer has  added  Json Xpath Filter to the Listen step in the VSM.  When you deploy the VSM  or Run it in the ITR,  the Xpath filter properties are not populated. It returns empty strings. 
Environment:
All supported DevTest environments. 
Instructions:
The request when it comes to VS is available in a property "lisa.vse.http.current.transaction.body" and if you use lisa.vse.http.current.transaction.body in the " filter in " fileld then you are going to get the Xpath filter woking as expected.  

Resolution:
***************
In Json Filter,  for  Filter In field  use

 lisa.vse.http.current.transaction.body   

instead of using Listen step rsp property.  

 
Additional Information:
Usage of JSON Path Filter documentation is updated recently. Please refer the below documentation links for different versions of DevTest.

. 9.5: 
https://docops.ca.com/devtest-solutions/9-5/en/reference/filter-descriptions/json-filters/json-path-filter 

. 10.0: 
https://docops.ca.com/devtest-solutions/10-0/en/reference/filter-descriptions/json-filters/json-path-filter/ 

.10.1: 
https://docops.ca.com/devtest-solutions/10-1/en/reference/filter-descriptions/json-filters/json-path-filter/ 

. 10.2: 
https://docops.ca.com/devtest-solutions/10-2/en/reference/filter-descriptions/json-filters/json-path-filter/ 

. 10.3: 
https://docops.ca.com/devtest-solutions/10-3/en/reference/filter-descriptions/json-filters/json-path-filter/ 

. 10.4: 
https://docops.ca.com/devtest-solutions/10-4/en/reference/filter-descriptions/json-filters/json-path-filter/​

You can also validate JSON Path Expressions online at JSONPath Expression Tester