{"action":"created","comment":{"url":"https://api.github.com/repos/Kapware64/servo_stress_tester/pulls/comments/68592287","id":68592287,"diff_hunk":"@@ -0,0 +1,94 @@\n+package computerdatabase.servotests\n+\n+import scala.concurrent.duration._\n+\n+import io.gatling.core.Predef._\n+import io.gatling.http.Predef._\n+import io.gatling.jdbc.Predef._\n+\n+class ServoNewCampaign extends Simulation {\n+\n+\tval httpProtocol = http\n+\t\t.baseURL(\"https://servo-iad2.medialets.com\")\n+\t\t.acceptHeader(\"application/json, text/javascript, */*; q=0.01\")\n+\t\t.acceptEncodingHeader(\"gzip, deflate, br\")\n+\t\t.acceptLanguageHeader(\"en-US,zh-CN;q=0.8,zh;q=0.5,en;q=0.3\")\n+\t\t.userAgentHeader(\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:47.0) Gecko/20100101 Firefox/47.0\")\n+\n+\tval headers_0 = Map(\"Accept\" -> \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\")\n+\n+\tval headers_1 = Map(\n+\t\t\"Accept\" -> \"*/*\",\n+\t\t\"Accept-Encoding\" -> \"gzip, deflate\")\n+\n+\tval headers_2 = Map(\"Content-Type\" -> \"application/json\")\n+\n+\tval headers_3 = Map(\n+\t\t\"Content-Type\" -> \"application/json\",\n+\t\t\"X-Requested-With\" -> \"XMLHttpRequest\")\n+\n+\tval headers_6 = Map(\n+\t\t\"Accept\" -> \"*/*\",\n+\t\t\"X-Requested-With\" -> \"XMLHttpRequest\")\n+\n+\tval headers_7 = Map(\"X-Requested-With\" -> \"XMLHttpRequest\")\n+\n+    val uri1 = \"http://hm.baidu.com/hm.gif\"\n+    val uri2 = \"https://servo-iad2.medialets.com:443\"\n+    val uri3 = \"https://d18ml7f8raxjur.cloudfront.net\"\n+\n+    //login\n+\tobject Login {\n+    \tval login = exec(http(\"request_0\")\n+\t\t\t.get(\"/login\")\n+\t\t\t.headers(headers_0)\n+\t\t\t.resources(http(\"request_1\")\n+\t\t\t.get(uri1 + \"?cc=0&ck=1&cl=24-bit&ds=1280x800&ep=15810%2C2649&et=3&fl=21.0&ja=1&ln=en-US&lo=0&lt=1466782504&nv=0&rnd=7976495&si=dd4738b5fb302cb062ef19107df5d2e4&st=4&v=1.1.26&lv=3\")\n+\t\t\t.headers(headers_1)))\n+\t\t\t.pause(1)\n+\t\t\t.exec(http(\"request_2\")\n+\t\t\t.post(\"/internal/session\")\n+\t\t\t.headers(headers_2)\n+\t\t\t.body(RawFileBody(\"ServoNewCampaign_0002_request.txt\"))\n+\t\t\t.resources(http(\"request_3\")\n+\t\t\t.get(\"/internal/campaigns?status=&count=true&noads=false&tracking=1&limit=5000&offset=0&tagsNeedUpdating=0&q=\")\n+\t\t\t.headers(headers_3),\n+            http(\"request_4\")\n+\t\t\t.get(\"/internal/campaigns?status=&limit=305&offset=0&sort=&noads=false&tracking=1&tagsNeedUpdating=0&q=\")\n+\t\t\t.headers(headers_3)))\n+\t\t\t.pause(1)\n+    }\n+\n+    //create a simple campaign, no attributions, no placements, no creatives, no ads\n+    object CreateCam {\n+    \tval create_campaign = exec(http(\"request_5\")","path":"src/test/scala/computerdatabase/servotests/ServoNewCampaign.scala","position":64,"original_position":64,"commit_id":"b7a6719ad700fe3806bb7940959cdb9670638ca5","original_commit_id":"b7a6719ad700fe3806bb7940959cdb9670638ca5","user":{"login":"pinocchiochang","id":15699884,"avatar_url":"https://avatars.githubusercontent.com/u/15699884?v=3","gravatar_id":"","url":"https://api.github.com/users/pinocchiochang","html_url":"https://github.com/pinocchiochang","followers_url":"https://api.github.com/users/pinocchiochang/followers","following_url":"https://api.github.com/users/pinocchiochang/following{/other_user}","gists_url":"https://api.github.com/users/pinocchiochang/gists{/gist_id}","starred_url":"https://api.github.com/users/pinocchiochang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pinocchiochang/subscriptions","organizations_url":"https://api.github.com/users/pinocchiochang/orgs","repos_url":"https://api.github.com/users/pinocchiochang/repos","events_url":"https://api.github.com/users/pinocchiochang/events{/privacy}","received_events_url":"https://api.github.com/users/pinocchiochang/received_events","type":"User","site_admin":false},"body":"What does it mean? You mean the format?","created_at":"2016-06-27T15:02:18Z","updated_at":"2016-06-27T15:02:18Z","html_url":"https://github.com/Kapware64/servo_stress_tester/pull/11#discussion_r68592287","pull_request_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/Kapware64/servo_stress_tester/pulls/comments/68592287"},"html":{"href":"https://github.com/Kapware64/servo_stress_tester/pull/11#discussion_r68592287"},"pull_request":{"href":"https://api.github.com/repos/Kapware64/servo_stress_tester/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/Kapware64/servo_stress_tester/pulls/11","id":75153552,"html_url":"https://github.com/Kapware64/servo_stress_tester/pull/11","diff_url":"https://github.com/Kapware64/servo_stress_tester/pull/11.diff","patch_url":"https://github.com/Kapware64/servo_stress_tester/pull/11.patch","issue_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/issues/11","number":11,"state":"open","locked":false,"title":"change the branch name","user":{"login":"yuchangchencyc","id":19669989,"avatar_url":"https://avatars.githubusercontent.com/u/19669989?v=3","gravatar_id":"","url":"https://api.github.com/users/yuchangchencyc","html_url":"https://github.com/yuchangchencyc","followers_url":"https://api.github.com/users/yuchangchencyc/followers","following_url":"https://api.github.com/users/yuchangchencyc/following{/other_user}","gists_url":"https://api.github.com/users/yuchangchencyc/gists{/gist_id}","starred_url":"https://api.github.com/users/yuchangchencyc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuchangchencyc/subscriptions","organizations_url":"https://api.github.com/users/yuchangchencyc/orgs","repos_url":"https://api.github.com/users/yuchangchencyc/repos","events_url":"https://api.github.com/users/yuchangchencyc/events{/privacy}","received_events_url":"https://api.github.com/users/yuchangchencyc/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-24T18:23:31Z","updated_at":"2016-06-27T15:02:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"031bab5c53d9539929cc7019f86e9d207934b64a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/pulls/11/commits","review_comments_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/pulls/11/comments","review_comment_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/issues/11/comments","statuses_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/statuses/b7a6719ad700fe3806bb7940959cdb9670638ca5","head":{"label":"Kapware64:create_campaign","ref":"create_campaign","sha":"b7a6719ad700fe3806bb7940959cdb9670638ca5","user":{"login":"Kapware64","id":10969894,"avatar_url":"https://avatars.githubusercontent.com/u/10969894?v=3","gravatar_id":"","url":"https://api.github.com/users/Kapware64","html_url":"https://github.com/Kapware64","followers_url":"https://api.github.com/users/Kapware64/followers","following_url":"https://api.github.com/users/Kapware64/following{/other_user}","gists_url":"https://api.github.com/users/Kapware64/gists{/gist_id}","starred_url":"https://api.github.com/users/Kapware64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kapware64/subscriptions","organizations_url":"https://api.github.com/users/Kapware64/orgs","repos_url":"https://api.github.com/users/Kapware64/repos","events_url":"https://api.github.com/users/Kapware64/events{/privacy}","received_events_url":"https://api.github.com/users/Kapware64/received_events","type":"User","site_admin":false},"repo":{"id":61382289,"name":"servo_stress_tester","full_name":"Kapware64/servo_stress_tester","owner":{"login":"Kapware64","id":10969894,"avatar_url":"https://avatars.githubusercontent.com/u/10969894?v=3","gravatar_id":"","url":"https://api.github.com/users/Kapware64","html_url":"https://github.com/Kapware64","followers_url":"https://api.github.com/users/Kapware64/followers","following_url":"https://api.github.com/users/Kapware64/following{/other_user}","gists_url":"https://api.github.com/users/Kapware64/gists{/gist_id}","starred_url":"https://api.github.com/users/Kapware64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kapware64/subscriptions","organizations_url":"https://api.github.com/users/Kapware64/orgs","repos_url":"https://api.github.com/users/Kapware64/repos","events_url":"https://api.github.com/users/Kapware64/events{/privacy}","received_events_url":"https://api.github.com/users/Kapware64/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Kapware64/servo_stress_tester","description":"","fork":false,"url":"https://api.github.com/repos/Kapware64/servo_stress_tester","forks_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/forks","keys_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/teams","hooks_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/hooks","issue_events_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/issues/events{/number}","events_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/events","assignees_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/assignees{/user}","branches_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/branches{/branch}","tags_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/tags","blobs_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/statuses/{sha}","languages_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/languages","stargazers_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/stargazers","contributors_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/contributors","subscribers_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/subscribers","subscription_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/subscription","commits_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/contents/{+path}","compare_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/merges","archive_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/downloads","issues_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/issues{/number}","pulls_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/pulls{/number}","milestones_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/milestones{/number}","notifications_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/labels{/name}","releases_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/releases{/id}","deployments_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/deployments","created_at":"2016-06-17T15:05:51Z","updated_at":"2016-06-17T15:06:00Z","pushed_at":"2016-06-27T14:55:18Z","git_url":"git://github.com/Kapware64/servo_stress_tester.git","ssh_url":"git@github.com:Kapware64/servo_stress_tester.git","clone_url":"https://github.com/Kapware64/servo_stress_tester.git","svn_url":"https://github.com/Kapware64/servo_stress_tester","homepage":null,"size":57,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Kapware64:master","ref":"master","sha":"e6fb9ea66dfaece61d40e77147f7e1a6c5b79c7a","user":{"login":"Kapware64","id":10969894,"avatar_url":"https://avatars.githubusercontent.com/u/10969894?v=3","gravatar_id":"","url":"https://api.github.com/users/Kapware64","html_url":"https://github.com/Kapware64","followers_url":"https://api.github.com/users/Kapware64/followers","following_url":"https://api.github.com/users/Kapware64/following{/other_user}","gists_url":"https://api.github.com/users/Kapware64/gists{/gist_id}","starred_url":"https://api.github.com/users/Kapware64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kapware64/subscriptions","organizations_url":"https://api.github.com/users/Kapware64/orgs","repos_url":"https://api.github.com/users/Kapware64/repos","events_url":"https://api.github.com/users/Kapware64/events{/privacy}","received_events_url":"https://api.github.com/users/Kapware64/received_events","type":"User","site_admin":false},"repo":{"id":61382289,"name":"servo_stress_tester","full_name":"Kapware64/servo_stress_tester","owner":{"login":"Kapware64","id":10969894,"avatar_url":"https://avatars.githubusercontent.com/u/10969894?v=3","gravatar_id":"","url":"https://api.github.com/users/Kapware64","html_url":"https://github.com/Kapware64","followers_url":"https://api.github.com/users/Kapware64/followers","following_url":"https://api.github.com/users/Kapware64/following{/other_user}","gists_url":"https://api.github.com/users/Kapware64/gists{/gist_id}","starred_url":"https://api.github.com/users/Kapware64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kapware64/subscriptions","organizations_url":"https://api.github.com/users/Kapware64/orgs","repos_url":"https://api.github.com/users/Kapware64/repos","events_url":"https://api.github.com/users/Kapware64/events{/privacy}","received_events_url":"https://api.github.com/users/Kapware64/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Kapware64/servo_stress_tester","description":"","fork":false,"url":"https://api.github.com/repos/Kapware64/servo_stress_tester","forks_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/forks","keys_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/teams","hooks_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/hooks","issue_events_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/issues/events{/number}","events_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/events","assignees_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/assignees{/user}","branches_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/branches{/branch}","tags_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/tags","blobs_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/statuses/{sha}","languages_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/languages","stargazers_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/stargazers","contributors_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/contributors","subscribers_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/subscribers","subscription_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/subscription","commits_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/contents/{+path}","compare_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/merges","archive_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/downloads","issues_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/issues{/number}","pulls_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/pulls{/number}","milestones_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/milestones{/number}","notifications_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/labels{/name}","releases_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/releases{/id}","deployments_url":"https://api.github.com/repos/Kapware64/servo_stress_tester/deployments","created_at":"2016-06-17T15:05:51Z","updated_at":"2016-06-17T15:06:00Z","pushed_at":"2016-06-27T14:55:18Z","git_url":"git://github.com/Kapware64/servo_stress_tester.git","ssh_url":"git@github.com:Kapware64/servo_stress_tester.git","clone_url":"https://github.com/Kapware64/servo_stress_tester.git","svn_url":"https://github.com/Kapware64/servo_stress_tester","homepage":null,"size":57,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Kapware64/servo_stress_tester/pulls/11"},"html":{"href":"https://github.com/Kapware64/servo_stress_tester/pull/11"},"issue":{"href":"https://api.github.com/repos/Kapware64/servo_stress_tester/issues/11"},"comments":{"href":"https://api.github.com/repos/Kapware64/servo_stress_tester/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/Kapware64/servo_stress_tester/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/Kapware64/servo_stress_tester/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Kapware64/servo_stress_tester/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/Kapware64/servo_stress_tester/statuses/b7a6719ad700fe3806bb7940959cdb9670638ca5"}}}}
{"actor":{"display_login":"pinocchiochang"}}