{"comment":{"url":"https://api.github.com/repos/amarzavery/AutoRest/comments/15982438","html_url":"https://github.com/amarzavery/AutoRest/commit/876f74b86c9b9b3ffe876e9d6de64c50a0a2e499#commitcomment-15982438","id":15982438,"user":{"login":"RSsimranjeetsingh","id":15341713,"avatar_url":"https://avatars.githubusercontent.com/u/15341713?v=3","gravatar_id":"","url":"https://api.github.com/users/RSsimranjeetsingh","html_url":"https://github.com/RSsimranjeetsingh","followers_url":"https://api.github.com/users/RSsimranjeetsingh/followers","following_url":"https://api.github.com/users/RSsimranjeetsingh/following{/other_user}","gists_url":"https://api.github.com/users/RSsimranjeetsingh/gists{/gist_id}","starred_url":"https://api.github.com/users/RSsimranjeetsingh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RSsimranjeetsingh/subscriptions","organizations_url":"https://api.github.com/users/RSsimranjeetsingh/orgs","repos_url":"https://api.github.com/users/RSsimranjeetsingh/repos","events_url":"https://api.github.com/users/RSsimranjeetsingh/events{/privacy}","received_events_url":"https://api.github.com/users/RSsimranjeetsingh/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"876f74b86c9b9b3ffe876e9d6de64c50a0a2e499","created_at":"2016-02-09T16:34:41Z","updated_at":"2016-02-09T16:34:41Z","body":"Hi,\r\n\r\nI am utilizing the generated SDK's in the jasmine unit tests.\r\nBut when a 500 error is received from the API, then SDK starts retrying for the request.\r\nAlso there are 4 parameters that are being set internally in ms-rest code i.e.:\r\n\r\nDEFAULT_CLIENT_RETRY_INTERVAL\r\nDEFAULT_CLIENT_RETRY_COUNT\r\nDEFAULT_CLIENT_MAX_RETRY_INTERVAL\r\nDEFAULT_CLIENT_MIN_RETRY_INTERVAL\r\n\r\nI want to know, how can i set value of these variables in my test scripts using the 'options' argument in the SDK method.\r\n\r\nFor eg: getdata('name of url resource', 'options', 'callback'). Let's say, this is my SDK method.\r\n\r\nIn above method, currently I am sending options as : \r\n\r\noptions = customHeaders : {\r\n                            Authorization: 'bearer  authcode'\r\n                             };\r\n\r\nSo how can i send the retry count or interval along with this options argument so as to control the request processing time ?\r\n\r\nLooking forward for your early support on this.\r\n\r\n\r\nRegards\r\nSimran"}}