Retry Failed Requests

Learn how to retry failed requests with BELLATRIX API attributes.

Example

Feature: Make requests to Music Shop
	To get music information
	As a Music Developer 
	I want to be able to get information about the music pieces

Background:
Given I set max retry attempts to 3
And I pause between failures 2 seconds

Scenario: Successfully Get Album By ID
	When I get album by ID = 10
	Then I assert album ID = 10

Explanations

Given I set max retry attempts to 3

Instructs BELLATRIX to retry all failed requests 3 times until they succeed.