{"action":"created","issue":{"url":"https://api.github.com/repos/postmanlabs/newman/issues/304","labels_url":"https://api.github.com/repos/postmanlabs/newman/issues/304/labels{/name}","comments_url":"https://api.github.com/repos/postmanlabs/newman/issues/304/comments","events_url":"https://api.github.com/repos/postmanlabs/newman/issues/304/events","html_url":"https://github.com/postmanlabs/newman/issues/304","id":122900130,"number":304,"title":"newman + Behaviour test script  shows setTimeout is not defined","user":{"login":"yyppaag","id":520787,"avatar_url":"https://avatars.githubusercontent.com/u/520787?v=3","gravatar_id":"","url":"https://api.github.com/users/yyppaag","html_url":"https://github.com/yyppaag","followers_url":"https://api.github.com/users/yyppaag/followers","following_url":"https://api.github.com/users/yyppaag/following{/other_user}","gists_url":"https://api.github.com/users/yyppaag/gists{/gist_id}","starred_url":"https://api.github.com/users/yyppaag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yyppaag/subscriptions","organizations_url":"https://api.github.com/users/yyppaag/orgs","repos_url":"https://api.github.com/users/yyppaag/repos","events_url":"https://api.github.com/users/yyppaag/events{/privacy}","received_events_url":"https://api.github.com/users/yyppaag/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"czardoz","id":3726484,"avatar_url":"https://avatars.githubusercontent.com/u/3726484?v=3","gravatar_id":"","url":"https://api.github.com/users/czardoz","html_url":"https://github.com/czardoz","followers_url":"https://api.github.com/users/czardoz/followers","following_url":"https://api.github.com/users/czardoz/following{/other_user}","gists_url":"https://api.github.com/users/czardoz/gists{/gist_id}","starred_url":"https://api.github.com/users/czardoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/czardoz/subscriptions","organizations_url":"https://api.github.com/users/czardoz/orgs","repos_url":"https://api.github.com/users/czardoz/repos","events_url":"https://api.github.com/users/czardoz/events{/privacy}","received_events_url":"https://api.github.com/users/czardoz/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-12-18T07:56:00Z","updated_at":"2015-12-18T08:48:40Z","closed_at":"2015-12-18T08:48:40Z","body":"I'm using newman + http://blog.getpostman.com/2015/09/29/writing-a-behaviour-driven-api-testing-environment-within-postman/.\r\nWhen I run the newman command to execute tests,  it shows \"setTimeout is not defined\". Why newman can not recognize setTimeout?"},"comment":{"url":"https://api.github.com/repos/postmanlabs/newman/issues/comments/165716172","html_url":"https://github.com/postmanlabs/newman/issues/304#issuecomment-165716172","issue_url":"https://api.github.com/repos/postmanlabs/newman/issues/304","id":165716172,"user":{"login":"czardoz","id":3726484,"avatar_url":"https://avatars.githubusercontent.com/u/3726484?v=3","gravatar_id":"","url":"https://api.github.com/users/czardoz","html_url":"https://github.com/czardoz","followers_url":"https://api.github.com/users/czardoz/followers","following_url":"https://api.github.com/users/czardoz/following{/other_user}","gists_url":"https://api.github.com/users/czardoz/gists{/gist_id}","starred_url":"https://api.github.com/users/czardoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/czardoz/subscriptions","organizations_url":"https://api.github.com/users/czardoz/orgs","repos_url":"https://api.github.com/users/czardoz/repos","events_url":"https://api.github.com/users/czardoz/events{/privacy}","received_events_url":"https://api.github.com/users/czardoz/received_events","type":"User","site_admin":false},"created_at":"2015-12-18T08:48:39Z","updated_at":"2015-12-18T08:48:39Z","body":"Hi @yyppaag,\r\n\r\nThis is by design. The Newman sandbox executes tests synchronously, therefore setTimeout is not available in the Newman sandbox. "}}