Skip to content

mehmetg/RestClientRateLimitExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Rest Client Rate Limit Example

This example demonstrates the use of response headers to determine the rate limiting period using Sauce Labs REST API. It has the required header to opt into rate limiting.

Endpoint: https://saucelabs.com/rest/v1/{username}/activity Retry delay: 30 seconds. Max Retry count: 120 Default attempts using RestExecutor: 10 For more info: Sauce Labs Documentation

Setup:

export SAUCE_USERNAME=<sauce_user_name>

export SAUCE_ACCESS_KEY=<sauce_access_key>

Run:

mvn exec:java

Notes:

Requires Java8

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages