How to use the apiritif.http function in apiritif

To help you get started, we’ve selected a few apiritif examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Blazemeter / taurus / tests / resources / apiritif / test_transactions.py View on Github external
def _3_t2(self):
        with apiritif.smart_transaction('t_2'):
            response = apiritif.http.get('url_2.0')
            sleep(2.0)
            with apiritif.transaction('t_22'):
                response = apiritif.http.get('url_22.0')
                sleep(3.0)
github Blazemeter / taurus / tests / resources / apiritif / test_transactions.py View on Github external
def _3_t2(self):
        with apiritif.smart_transaction('t_2'):
            response = apiritif.http.get('url_2.0')
            sleep(2.0)
            with apiritif.transaction('t_22'):
                response = apiritif.http.get('url_22.0')
                sleep(3.0)
github Blazemeter / taurus / tests / resources / apiritif / test_codegen_requests.py View on Github external
def test_1_apiritif(self):
        with apiritif.transaction('apiritif'):
            response = apiritif.http.get('http://localhost:8000/')