In any test case, the fastest way to insert a query is by using Query command :
[query ?-alwayslist? variable_name mapper_query]
2. Click down arrow in the Description cell and Select a query command format. Right-click an element in the structure view and Select "Copy Xpath" or "Copy Query" option to copy the mapper_query into the query command. We can get this While working in the Test Case editor on a step for which a response map is specified (for the Expected Response).
Note: mapper_Query is a mapping query that will be applied to the structured data in that response object (either Xpath query or Query from the response map). If query includes whitespace,it must be surrounded by double-quotes.