{"action":"created","issue":{"url":"https://api.github.com/repos/delirius325/jmeter-elasticsearch-backend-listener/issues/22","repository_url":"https://api.github.com/repos/delirius325/jmeter-elasticsearch-backend-listener","labels_url":"https://api.github.com/repos/delirius325/jmeter-elasticsearch-backend-listener/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/delirius325/jmeter-elasticsearch-backend-listener/issues/22/comments","events_url":"https://api.github.com/repos/delirius325/jmeter-elasticsearch-backend-listener/issues/22/events","html_url":"https://github.com/delirius325/jmeter-elasticsearch-backend-listener/issues/22","id":328260202,"node_id":"MDU6SXNzdWUzMjgyNjAyMDI=","number":22,"title":"es.test.mode \"info\" is sending results that doesn't contain errors","user":{"login":"hanaleung","id":39808956,"node_id":"MDQ6VXNlcjM5ODA4OTU2","avatar_url":"https://avatars0.githubusercontent.com/u/39808956?v=4","gravatar_id":"","url":"https://api.github.com/users/hanaleung","html_url":"https://github.com/hanaleung","followers_url":"https://api.github.com/users/hanaleung/followers","following_url":"https://api.github.com/users/hanaleung/following{/other_user}","gists_url":"https://api.github.com/users/hanaleung/gists{/gist_id}","starred_url":"https://api.github.com/users/hanaleung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanaleung/subscriptions","organizations_url":"https://api.github.com/users/hanaleung/orgs","repos_url":"https://api.github.com/users/hanaleung/repos","events_url":"https://api.github.com/users/hanaleung/events{/privacy}","received_events_url":"https://api.github.com/users/hanaleung/received_events","type":"User","site_admin":false},"labels":[{"id":775872019,"node_id":"MDU6TGFiZWw3NzU4NzIwMTk=","url":"https://api.github.com/repos/delirius325/jmeter-elasticsearch-backend-listener/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":{"login":"delirius325","id":6709533,"node_id":"MDQ6VXNlcjY3MDk1MzM=","avatar_url":"https://avatars3.githubusercontent.com/u/6709533?v=4","gravatar_id":"","url":"https://api.github.com/users/delirius325","html_url":"https://github.com/delirius325","followers_url":"https://api.github.com/users/delirius325/followers","following_url":"https://api.github.com/users/delirius325/following{/other_user}","gists_url":"https://api.github.com/users/delirius325/gists{/gist_id}","starred_url":"https://api.github.com/users/delirius325/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delirius325/subscriptions","organizations_url":"https://api.github.com/users/delirius325/orgs","repos_url":"https://api.github.com/users/delirius325/repos","events_url":"https://api.github.com/users/delirius325/events{/privacy}","received_events_url":"https://api.github.com/users/delirius325/received_events","type":"User","site_admin":false},"assignees":[{"login":"delirius325","id":6709533,"node_id":"MDQ6VXNlcjY3MDk1MzM=","avatar_url":"https://avatars3.githubusercontent.com/u/6709533?v=4","gravatar_id":"","url":"https://api.github.com/users/delirius325","html_url":"https://github.com/delirius325","followers_url":"https://api.github.com/users/delirius325/followers","following_url":"https://api.github.com/users/delirius325/following{/other_user}","gists_url":"https://api.github.com/users/delirius325/gists{/gist_id}","starred_url":"https://api.github.com/users/delirius325/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delirius325/subscriptions","organizations_url":"https://api.github.com/users/delirius325/orgs","repos_url":"https://api.github.com/users/delirius325/repos","events_url":"https://api.github.com/users/delirius325/events{/privacy}","received_events_url":"https://api.github.com/users/delirius325/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2018-05-31T19:05:49Z","updated_at":"2018-05-31T20:13:06Z","closed_at":null,"author_association":"NONE","body":"I'm testing on jmeter 4.0 and setting es.test.mode=\"info\" is still sending messages to ElasticSearch even when there isn't an error.\r\n\r\nI'm using ElasticSearch 6.2.4\r\n\r\n![image](https://user-images.githubusercontent.com/39808956/40802465-aa05f3ac-64e3-11e8-89a3-272aa683c852.png)\r\n\r\nKibana Result without filter:\r\n![image](https://user-images.githubusercontent.com/39808956/40802572-f60d3526-64e3-11e8-8fda-b887de3aa874.png)\r\n\r\n\r\nFiltering my messages based on ErrorCount:1:\r\n\r\n![image](https://user-images.githubusercontent.com/39808956/40802602-09ee03a4-64e4-11e8-8914-51fd4cb6a24e.png)\r\n"},"comment":{"url":"https://api.github.com/repos/delirius325/jmeter-elasticsearch-backend-listener/issues/comments/393664800","html_url":"https://github.com/delirius325/jmeter-elasticsearch-backend-listener/issues/22#issuecomment-393664800","issue_url":"https://api.github.com/repos/delirius325/jmeter-elasticsearch-backend-listener/issues/22","id":393664800,"node_id":"MDEyOklzc3VlQ29tbWVudDM5MzY2NDgwMA==","user":{"login":"hanaleung","id":39808956,"node_id":"MDQ6VXNlcjM5ODA4OTU2","avatar_url":"https://avatars0.githubusercontent.com/u/39808956?v=4","gravatar_id":"","url":"https://api.github.com/users/hanaleung","html_url":"https://github.com/hanaleung","followers_url":"https://api.github.com/users/hanaleung/followers","following_url":"https://api.github.com/users/hanaleung/following{/other_user}","gists_url":"https://api.github.com/users/hanaleung/gists{/gist_id}","starred_url":"https://api.github.com/users/hanaleung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanaleung/subscriptions","organizations_url":"https://api.github.com/users/hanaleung/orgs","repos_url":"https://api.github.com/users/hanaleung/repos","events_url":"https://api.github.com/users/hanaleung/events{/privacy}","received_events_url":"https://api.github.com/users/hanaleung/received_events","type":"User","site_admin":false},"created_at":"2018-05-31T20:13:06Z","updated_at":"2018-05-31T20:13:06Z","author_association":"NONE","body":"Hi, \r\n\r\ni may be misinterpretting what is a failed request, but here is what i expect should be sent to ElasticSearch under \"info\" mode which i do see on elasticSearch and can identify via ErrorCount field.\r\n\r\n`{\r\n  \"_index\": \"stockholm_capacity\",\r\n  \"_type\": \"SampleResult\",\r\n  \"_id\": \"a4bDt2MBDfEYHFPh-WVH\",\r\n  \"_version\": 1,\r\n  \"_score\": null,\r\n  \"_source\": {\r\n    \"EndTimeInMs\": 1527796463910,\r\n    \"ContentType\": \"\",\r\n    \"EndTime\": \"2018-05-31T15:54:23.910-0400\",\r\n    \"IdleTime\": 0,\r\n    \"ElapsedTime\": \"Jan 31, 2018 12:36:53 AM\",\r\n    \"ErrorCount\": 1,\r\n    \"Timestamp\": \"2018-05-31T15:54:23.910-0400\",\r\n    \"URL\": \"_removed_\",\r\n    \"Bytes\": 1158,\r\n    \"SentBytes\": 0,\r\n    \"ElapsedTimeInMs\": -556,\r\n    \"AllThreads\": 118,\r\n    \"DataType\": \"text\",\r\n    \"ResponseTime\": 0,\r\n    \"SampleCount\": 1,\r\n    \"ConnectTime\": 0,\r\n    \"RequestHeaders\": \"\",\r\n    \"RequestBody\": \"_removed_\",\r\n    \"StartTimeInMs\": 1527796463910,\r\n    \"ResponseCode\": \"Non HTTP response code: java.net.URISyntaxException\",\r\n    \"StartTime\": \"2018-05-31T15:54:23.910-0400\",\r\n    \"ResponseMessage\": \"Non HTTP response message: Illegal character in path at index 104: _removed_\",\r\n    \"ResponseHeaders\": \"\",\r\n    \"AssertionResults\": [\r\n      {\r\n        \"failure\": true,\r\n        \"name\": \"json_assertion\",\r\n        \"failureMessage\": \"Expected to find an object with property ['catalogGroupView'] in path $ but found 'java.lang.String'. This is not a json object according to the JsonProvider: 'com.jayway.jsonpath.spi.json.JsonSmartJsonProvider'.\"\r\n      }\r\n    ],\r\n    \"Latency\": 0,\r\n    \"ResponseBody\": \"\",\r\n    \"GrpThreads\": 118,\r\n    \"BuildNumber\": 0,\r\n    \"BodySize\": 0,\r\n    \"ThreadName\": \"guest_shopper_api 1-5\",\r\n    \"SampleLabel\": \"_removed_\"\r\n  },\r\n  \"fields\": {\r\n    \"EndTime\": [\r\n      \"2018-05-31T19:54:23.910Z\"\r\n    ],\r\n    \"StartTime\": [\r\n      \"2018-05-31T19:54:23.910Z\"\r\n    ],\r\n    \"Timestamp\": [\r\n      \"2018-05-31T19:54:23.910Z\"\r\n    ]\r\n  },\r\n  \"sort\": [\r\n    1527796463910\r\n  ]\r\n}`\r\n\r\n\r\nAnd then here is what I don't expect to be logged but is currently being logged anyway:\r\n\r\n`{\r\n  \"_index\": \"stockholm_capacity\",\r\n  \"_type\": \"SampleResult\",\r\n  \"_id\": \"X5DTt2MBDfEYHFPhYpk4\",\r\n  \"_version\": 1,\r\n  \"_score\": null,\r\n  \"_source\": {\r\n    \"EndTimeInMs\": 1527797473836,\r\n    \"ContentType\": \"application/json\",\r\n    \"EndTime\": \"2018-05-31T16:11:13.836-0400\",\r\n    \"IdleTime\": 0,\r\n    \"ElapsedTime\": \"Jan 31, 2018 12:53:43 AM\",\r\n    \"ErrorCount\": 0,\r\n    \"Timestamp\": \"2018-05-31T16:11:13.765-0400\",\r\n    \"URL\": \"_removed_\",\r\n    \"Bytes\": 1025,\r\n    \"SentBytes\": 293,\r\n    \"ElapsedTimeInMs\": -489,\r\n    \"AllThreads\": 150,\r\n    \"DataType\": \"text\",\r\n    \"ResponseTime\": 71,\r\n    \"SampleCount\": 1,\r\n    \"ConnectTime\": 0,\r\n    \"StartTimeInMs\": 1527797473765,\r\n    \"ResponseCode\": \"200\",\r\n    \"StartTime\": \"2018-05-31T16:11:13.765-0400\",\r\n    \"AssertionResults\": [\r\n      {\r\n        \"failure\": false,\r\n        \"name\": \"json_assertion\",\r\n        \"failureMessage\": \"\"\r\n      }\r\n    ],\r\n    \"Latency\": 71,\r\n    \"GrpThreads\": 150,\r\n    \"BuildNumber\": 0,\r\n    \"BodySize\": 727,\r\n    \"ThreadName\": \"guest_shopper_api 1-137\",\r\n    \"SampleLabel\": \"_removed_\"\r\n  },\r\n  \"fields\": {\r\n    \"EndTime\": [\r\n      \"2018-05-31T20:11:13.836Z\"\r\n    ],\r\n    \"StartTime\": [\r\n      \"2018-05-31T20:11:13.765Z\"\r\n    ],\r\n    \"Timestamp\": [\r\n      \"2018-05-31T20:11:13.765Z\"\r\n    ]\r\n  },\r\n  \"sort\": [\r\n    1527797473765\r\n  ]\r\n}`"}}
{"actor":{"display_login":"hanaleung"}}