Accelerate Test Execution

To speed up the CI process, we developed a group of features that support every phаse of the process, from test creation to execution. Let’s take a look at how BELLATRIX can speed up your test execution by retry failed requests.

Retry Failed Requests

Retry the failed requests a few times to make sure that there is a real problem.

There are cases where your API is deployed or unavailable for some reason. This can lead to failing some of the currently-executing tests. Instead of waiting just to see that there is a minor problem with your test environment and retrying the whole test run again, BELLATRIX can retry the failed requests a few times.

[RetryFailedRequests(3, 200, TimeUnit.Milliseconds)]
public class RetryFailedRequestsTests : APITest
    public void GetAlbumById()
        var request = new RestRequest("api/Albums/10");

        var client = App.GetApiClientService();

        var response = client.Get<Albums>(request);

        Assert.AreEqual(10, response.Data.AlbumId);

Apply RetryFailedRequests attribute to your test class and configure it. The rules apply to all tests in the class.
Learn more

Try Now Bellatrix

Build up to 100 tests using full product capabilities.