QuickStart API Assertions for Header Contains, Header Value, JSON Path Exists, JSON Validation
    • Dark
      Light

    QuickStart API Assertions for Header Contains, Header Value, JSON Path Exists, JSON Validation

    • Dark
      Light

    Article Summary

    Test Modeller has now expanded its capabilities to include a more extensive collection of API assertions straight out-of-the-box. 

    These new assertions enable the testing of API headers and JSON data returned from API requests, providing a more comprehensive set of tools for API testing.

    To utilise the new API Assertions, open an existing API Module collection and edit the API Function you want to add the assertions to. 

    In the Edit Function window, open the API Requests tab and then the Assertions SubTab.

    In the Assertions SubTab, you can now add a range of assertions to run on your API Request execution, including Header Contains, Header Value, JSON Path Exists and more!