REST Assured Tutorial: How to test API with ExampleExplore further
2021-9-7u2002·u2002Steps: Step 1) The amount field is within an array with Key 'statements' which is in turn in the list with key 'result'. Step 2) Rest Assured, provides a mechanism to reach the values in the API using 'path'. Step 3) The path to reach amounts is 'result.statements.AMOUNT'. Think of it like Xpath in selenium.
Get Price