{"repo":"Blazemeter/apiritif","free":true,"listed":false,"github":"https://github.com/Blazemeter/apiritif","clone":"git clone https://github.com/Blazemeter/apiritif.git","description":"Apiritif: API testing framework in Python","language":"Python","stars":74,"topics":["python","api","testing","framework"],"license":"Apache-2.0","category":"api-integrations-sdks","readme_excerpt":"Apiritif Apiritif is a number of utilities aimed to simplify the process of maintaining API tests. Apiritif tests fully based on python nose tests. This library can help you to develop and run your existing tests. In order to create any valid tests for Apiritif you can read nose test documentation. Check Apiritif version with the following command: Here described some features of Apiritif which can help you to create tests more easily. Overview HTTP Requests Apiritif allows to use simple requests -like API for making HTTP requests. http object provides the following methods: All methods ( get , post , put , patch , delete , head ) support the following arguments: Certificate usage Currently http supports pem and pkcs12 certificates. Here is an example of certificate usage: First parameter is path to certificate, second is the passphrase certificate encrypted with. HTTP Targets Target is an object that captures resource name of the URL (protocol, domain, port) and allows to set some settings applied to all requests made for a target. Target constructor supports the following options: Assertions Apiritif responses provide a lot of useful assertions that can be used on responses. Here's the list of assertions that can be used: Note that assertions can be chained, so the following construction is entirely valid: Transactions Apiritif allows to group multiple requests or actions into a transaction using a transaction context manager. For example when we have test action like bello","default_branch":null,"files":null,"tree":[],"storefront":"/r/Blazemeter","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Blazemeter/apiritif/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}