{"action":"created","comment":{"url":"https://api.github.com/repos/edx/edx-load-tests/pulls/comments/43178925","id":43178925,"diff_hunk":"@@ -0,0 +1,40 @@\n+from datetime import datetime\n+import uuid\n+\n+import jwt\n+from locust import TaskSet, task, HttpLocust\n+\n+from helpers.api import LocustEdxRestApiClient\n+from programs.config import PROGRAMS_API_URL, JWT_AUDIENCE, JWT_ISSUER, JWT_SECRET_KEY","path":"programs/locustfile.py","position":8,"original_position":8,"commit_id":"6cd5929dab3999cd50b0c36e8a82a24e5ee32cae","original_commit_id":"6cd5929dab3999cd50b0c36e8a82a24e5ee32cae","user":{"login":"cpennington","id":30236,"avatar_url":"https://avatars.githubusercontent.com/u/30236?v=3","gravatar_id":"","url":"https://api.github.com/users/cpennington","html_url":"https://github.com/cpennington","followers_url":"https://api.github.com/users/cpennington/followers","following_url":"https://api.github.com/users/cpennington/following{/other_user}","gists_url":"https://api.github.com/users/cpennington/gists{/gist_id}","starred_url":"https://api.github.com/users/cpennington/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpennington/subscriptions","organizations_url":"https://api.github.com/users/cpennington/orgs","repos_url":"https://api.github.com/users/cpennington/repos","events_url":"https://api.github.com/users/cpennington/events{/privacy}","received_events_url":"https://api.github.com/users/cpennington/received_events","type":"User","site_admin":false},"body":"If you pull in `helpers.raw_logs`, then you can get csv files with all of the requests in them, and use the ipython notebook that's also checked into the repo to get better stats than locust gives on its own.","created_at":"2015-10-27T20:09:20Z","updated_at":"2015-10-27T20:09:20Z","html_url":"https://github.com/edx/edx-load-tests/pull/28#discussion_r43178925","pull_request_url":"https://api.github.com/repos/edx/edx-load-tests/pulls/28","_links":{"self":{"href":"https://api.github.com/repos/edx/edx-load-tests/pulls/comments/43178925"},"html":{"href":"https://github.com/edx/edx-load-tests/pull/28#discussion_r43178925"},"pull_request":{"href":"https://api.github.com/repos/edx/edx-load-tests/pulls/28"}}},"pull_request":{"url":"https://api.github.com/repos/edx/edx-load-tests/pulls/28","id":48820046,"html_url":"https://github.com/edx/edx-load-tests/pull/28","diff_url":"https://github.com/edx/edx-load-tests/pull/28.diff","patch_url":"https://github.com/edx/edx-load-tests/pull/28.patch","issue_url":"https://api.github.com/repos/edx/edx-load-tests/issues/28","number":28,"state":"open","locked":false,"title":"Add Programs load test","user":{"login":"rlucioni","id":969289,"avatar_url":"https://avatars.githubusercontent.com/u/969289?v=3","gravatar_id":"","url":"https://api.github.com/users/rlucioni","html_url":"https://github.com/rlucioni","followers_url":"https://api.github.com/users/rlucioni/followers","following_url":"https://api.github.com/users/rlucioni/following{/other_user}","gists_url":"https://api.github.com/users/rlucioni/gists{/gist_id}","starred_url":"https://api.github.com/users/rlucioni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlucioni/subscriptions","organizations_url":"https://api.github.com/users/rlucioni/orgs","repos_url":"https://api.github.com/users/rlucioni/repos","events_url":"https://api.github.com/users/rlucioni/events{/privacy}","received_events_url":"https://api.github.com/users/rlucioni/received_events","type":"User","site_admin":false},"body":"Includes a task exercising the Programs API's program list endpoint. Also cleans up some aspects of this repo. ECOM-2627.\r\n\r\n@jimabramson @cpennington @edx/ecommerce ","created_at":"2015-10-27T01:50:47Z","updated_at":"2015-10-27T20:09:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a35e18f0474992d387726c8785ecd42b6e3f0a85","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/edx/edx-load-tests/pulls/28/commits","review_comments_url":"https://api.github.com/repos/edx/edx-load-tests/pulls/28/comments","review_comment_url":"https://api.github.com/repos/edx/edx-load-tests/pulls/comments{/number}","comments_url":"https://api.github.com/repos/edx/edx-load-tests/issues/28/comments","statuses_url":"https://api.github.com/repos/edx/edx-load-tests/statuses/6cd5929dab3999cd50b0c36e8a82a24e5ee32cae","head":{"label":"edx:renzo/programs","ref":"renzo/programs","sha":"6cd5929dab3999cd50b0c36e8a82a24e5ee32cae","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":39958996,"name":"edx-load-tests","full_name":"edx/edx-load-tests","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx/edx-load-tests","description":"Open source load tests for edX software components","fork":false,"url":"https://api.github.com/repos/edx/edx-load-tests","forks_url":"https://api.github.com/repos/edx/edx-load-tests/forks","keys_url":"https://api.github.com/repos/edx/edx-load-tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/edx-load-tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/edx-load-tests/teams","hooks_url":"https://api.github.com/repos/edx/edx-load-tests/hooks","issue_events_url":"https://api.github.com/repos/edx/edx-load-tests/issues/events{/number}","events_url":"https://api.github.com/repos/edx/edx-load-tests/events","assignees_url":"https://api.github.com/repos/edx/edx-load-tests/assignees{/user}","branches_url":"https://api.github.com/repos/edx/edx-load-tests/branches{/branch}","tags_url":"https://api.github.com/repos/edx/edx-load-tests/tags","blobs_url":"https://api.github.com/repos/edx/edx-load-tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/edx-load-tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/edx-load-tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/edx-load-tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/edx-load-tests/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/edx-load-tests/languages","stargazers_url":"https://api.github.com/repos/edx/edx-load-tests/stargazers","contributors_url":"https://api.github.com/repos/edx/edx-load-tests/contributors","subscribers_url":"https://api.github.com/repos/edx/edx-load-tests/subscribers","subscription_url":"https://api.github.com/repos/edx/edx-load-tests/subscription","commits_url":"https://api.github.com/repos/edx/edx-load-tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/edx-load-tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/edx-load-tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/edx-load-tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/edx-load-tests/contents/{+path}","compare_url":"https://api.github.com/repos/edx/edx-load-tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/edx-load-tests/merges","archive_url":"https://api.github.com/repos/edx/edx-load-tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/edx-load-tests/downloads","issues_url":"https://api.github.com/repos/edx/edx-load-tests/issues{/number}","pulls_url":"https://api.github.com/repos/edx/edx-load-tests/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/edx-load-tests/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/edx-load-tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/edx-load-tests/labels{/name}","releases_url":"https://api.github.com/repos/edx/edx-load-tests/releases{/id}","created_at":"2015-07-30T15:52:54Z","updated_at":"2015-08-19T21:04:20Z","pushed_at":"2015-10-27T18:05:20Z","git_url":"git://github.com/edx/edx-load-tests.git","ssh_url":"git@github.com:edx/edx-load-tests.git","clone_url":"https://github.com/edx/edx-load-tests.git","svn_url":"https://github.com/edx/edx-load-tests","homepage":null,"size":695,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"edx:master","ref":"master","sha":"a930a57b72e261c992ee29410356792a26dbef50","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":39958996,"name":"edx-load-tests","full_name":"edx/edx-load-tests","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx/edx-load-tests","description":"Open source load tests for edX software components","fork":false,"url":"https://api.github.com/repos/edx/edx-load-tests","forks_url":"https://api.github.com/repos/edx/edx-load-tests/forks","keys_url":"https://api.github.com/repos/edx/edx-load-tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/edx-load-tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/edx-load-tests/teams","hooks_url":"https://api.github.com/repos/edx/edx-load-tests/hooks","issue_events_url":"https://api.github.com/repos/edx/edx-load-tests/issues/events{/number}","events_url":"https://api.github.com/repos/edx/edx-load-tests/events","assignees_url":"https://api.github.com/repos/edx/edx-load-tests/assignees{/user}","branches_url":"https://api.github.com/repos/edx/edx-load-tests/branches{/branch}","tags_url":"https://api.github.com/repos/edx/edx-load-tests/tags","blobs_url":"https://api.github.com/repos/edx/edx-load-tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/edx-load-tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/edx-load-tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/edx-load-tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/edx-load-tests/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/edx-load-tests/languages","stargazers_url":"https://api.github.com/repos/edx/edx-load-tests/stargazers","contributors_url":"https://api.github.com/repos/edx/edx-load-tests/contributors","subscribers_url":"https://api.github.com/repos/edx/edx-load-tests/subscribers","subscription_url":"https://api.github.com/repos/edx/edx-load-tests/subscription","commits_url":"https://api.github.com/repos/edx/edx-load-tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/edx-load-tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/edx-load-tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/edx-load-tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/edx-load-tests/contents/{+path}","compare_url":"https://api.github.com/repos/edx/edx-load-tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/edx-load-tests/merges","archive_url":"https://api.github.com/repos/edx/edx-load-tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/edx-load-tests/downloads","issues_url":"https://api.github.com/repos/edx/edx-load-tests/issues{/number}","pulls_url":"https://api.github.com/repos/edx/edx-load-tests/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/edx-load-tests/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/edx-load-tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/edx-load-tests/labels{/name}","releases_url":"https://api.github.com/repos/edx/edx-load-tests/releases{/id}","created_at":"2015-07-30T15:52:54Z","updated_at":"2015-08-19T21:04:20Z","pushed_at":"2015-10-27T18:05:20Z","git_url":"git://github.com/edx/edx-load-tests.git","ssh_url":"git@github.com:edx/edx-load-tests.git","clone_url":"https://github.com/edx/edx-load-tests.git","svn_url":"https://github.com/edx/edx-load-tests","homepage":null,"size":695,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edx/edx-load-tests/pulls/28"},"html":{"href":"https://github.com/edx/edx-load-tests/pull/28"},"issue":{"href":"https://api.github.com/repos/edx/edx-load-tests/issues/28"},"comments":{"href":"https://api.github.com/repos/edx/edx-load-tests/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/edx/edx-load-tests/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/edx/edx-load-tests/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/edx/edx-load-tests/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/edx/edx-load-tests/statuses/6cd5929dab3999cd50b0c36e8a82a24e5ee32cae"}}}}