newrelic_rpm 3.9.3.241 → 3.9.4.245
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/.gitignore +1 -0
- data/CHANGELOG +29 -0
- data/Rakefile +41 -0
- data/cert/cacert.pem +1176 -117
- data/lib/new_relic/agent/agent_logger.rb +14 -0
- data/lib/new_relic/agent/configuration/default_source.rb +88 -86
- data/lib/new_relic/agent/configuration/environment_source.rb +5 -1
- data/lib/new_relic/agent/configuration/high_security_source.rb +3 -1
- data/lib/new_relic/agent/configuration/yaml_source.rb +3 -3
- data/lib/new_relic/agent/instrumentation/active_record_subscriber.rb +4 -0
- data/lib/new_relic/agent/method_tracer.rb +17 -2
- data/lib/new_relic/agent/new_relic_service.rb +21 -19
- data/lib/new_relic/agent/new_relic_service/json_marshaller.rb +8 -2
- data/lib/new_relic/agent/request_sampler.rb +9 -11
- data/lib/new_relic/version.rb +1 -1
- data/lib/tasks/config.html.erb +2 -2
- data/lib/tasks/config.rake +6 -6
- data/test/environments/lib/environments/runner.rb +4 -4
- data/test/environments/rails42/Gemfile +35 -0
- data/test/environments/rails42/Rakefile +11 -0
- data/test/environments/rails42/config/application.rb +18 -0
- data/test/environments/rails42/config/boot.rb +10 -0
- data/test/environments/rails42/config/database.yml +26 -0
- data/test/environments/rails42/config/environment.rb +6 -0
- data/test/environments/rails42/db/schema.rb +5 -0
- data/test/fixtures/cross_agent_tests/README.md +40 -1
- data/test/fixtures/cross_agent_tests/cat_map.json +305 -73
- data/test/fixtures/cross_agent_tests/sql_obfuscation/pathological/README.md +4 -0
- data/test/fixtures/cross_agent_tests/sql_obfuscation/{end_of_line_comments_with_quotes.obfuscated → pathological/end_of_line_comments_with_quotes.obfuscated} +0 -0
- data/test/fixtures/cross_agent_tests/sql_obfuscation/{end_of_line_comments_with_quotes.sql → pathological/end_of_line_comments_with_quotes.sql} +0 -0
- data/test/fixtures/cross_agent_tests/sql_obfuscation/{mixed_comments_and_quotes.obfuscated → pathological/mixed_comments_and_quotes.obfuscated} +0 -0
- data/test/fixtures/cross_agent_tests/sql_obfuscation/{mixed_comments_and_quotes.sql → pathological/mixed_comments_and_quotes.sql} +0 -0
- data/test/fixtures/cross_agent_tests/sql_obfuscation/{mixed_quotes_comments_and_newlines.obfuscated → pathological/mixed_quotes_comments_and_newlines.obfuscated} +0 -0
- data/test/fixtures/cross_agent_tests/sql_obfuscation/{mixed_quotes_comments_and_newlines.sql → pathological/mixed_quotes_comments_and_newlines.sql} +0 -0
- data/test/fixtures/cross_agent_tests/sql_obfuscation/{mixed_quotes_end_of_line_comments.obfuscated → pathological/mixed_quotes_end_of_line_comments.obfuscated} +0 -0
- data/test/fixtures/cross_agent_tests/sql_obfuscation/{mixed_quotes_end_of_line_comments.sql → pathological/mixed_quotes_end_of_line_comments.sql} +0 -0
- data/test/fixtures/cross_agent_tests/sql_obfuscation/{quote_delimiters_in_comments.obfuscated → pathological/quote_delimiters_in_comments.obfuscated} +0 -0
- data/test/fixtures/cross_agent_tests/sql_obfuscation/{quote_delimiters_in_comments.sql → pathological/quote_delimiters_in_comments.sql} +0 -0
- data/test/multiverse/suites/agent_only/cross_application_tracing_test.rb +9 -4
- data/test/multiverse/suites/rails/Envfile +6 -0
- data/test/multiverse/suites/rails/ignore_test.rb +7 -7
- data/test/multiverse/suites/rails/view_instrumentation_test.rb +13 -13
- data/test/new_relic/agent/configuration/environment_source_test.rb +8 -0
- data/test/new_relic/agent/configuration/yaml_source_test.rb +1 -1
- data/test/new_relic/agent/database/sql_obfuscation_test.rb +17 -8
- data/test/new_relic/agent/instrumentation/active_record_test.rb +50 -7
- data/test/new_relic/agent/new_relic_service_test.rb +17 -4
- data/test/new_relic/http_client_test_cases.rb +15 -5
- data/test/performance/lib/performance.rb +8 -0
- data/test/performance/lib/performance/baseline.rb +36 -0
- data/test/performance/lib/performance/baseline_compare_reporter.rb +82 -0
- data/test/performance/lib/performance/baseline_save_reporter.rb +24 -0
- data/test/performance/lib/performance/console_reporter.rb +7 -20
- data/test/performance/lib/performance/reporting.rb +36 -0
- data/test/performance/lib/performance/table.rb +105 -0
- data/test/performance/script/runner +26 -20
- data/test/performance/suites/marshalling.rb +12 -12
- data/test/script/path_hash.rb +1 -1
- metadata +25 -25
- metadata.gz.sig +0 -0
- data/cert/oldsite.pem +0 -28
- data/cert/site.pem +0 -27
- data/test/flaky_proxy/Gemfile +0 -3
- data/test/flaky_proxy/README.md +0 -140
- data/test/flaky_proxy/lib/flaky_proxy.rb +0 -23
- data/test/flaky_proxy/lib/flaky_proxy/connection.rb +0 -45
- data/test/flaky_proxy/lib/flaky_proxy/http_message.rb +0 -107
- data/test/flaky_proxy/lib/flaky_proxy/proxy.rb +0 -58
- data/test/flaky_proxy/lib/flaky_proxy/rule.rb +0 -72
- data/test/flaky_proxy/lib/flaky_proxy/rule_set.rb +0 -45
- data/test/flaky_proxy/lib/flaky_proxy/sequence.rb +0 -14
- data/test/flaky_proxy/lib/flaky_proxy/server.rb +0 -22
- data/test/flaky_proxy/script/flaky_proxy +0 -39
@@ -1,12 +1,51 @@
|
|
1
1
|
# Cross Agent Tests
|
2
2
|
|
3
|
+
### Data Policy
|
4
|
+
|
5
|
+
None of these tests should contain customer data such as SQL strings.
|
6
|
+
Please be careful when adding new tests from real world failures.
|
7
|
+
|
8
|
+
### Tests
|
9
|
+
|
3
10
|
| Test Files | Description |
|
4
11
|
| ------------- |-------------|
|
5
12
|
| [rum_loader_insertion_location](rum_loader_insertion_location) | Describe where the RUM loader (formerly known as header) should be inserted. |
|
6
|
-
| [rum_footer_insertion_location](rum_footer_insertion_location) | Describe where the RUM footer should be inserted. |
|
13
|
+
| [rum_footer_insertion_location](rum_footer_insertion_location) | Describe where the RUM footer (aka "client config") should be inserted. These tests do not apply to agents which insert the footer directly after the loader. |
|
7
14
|
| [rules.json](rules.json) | Describe how url/metric/txn-name rules should be applied. |
|
8
15
|
| [rum_client_config.json](rum_client_config.json) | These tests dictate the format and contents of the browser monitoring client configuration. For more information see: [SPEC](https://newrelic.atlassian.net/wiki/display/eng/JavaScript+Agent+Auto-Instrumentation) |
|
9
16
|
| [rum_cookie.json](rum_cookie.json) | These tests indicate the format requirements of a valid RUM cookie. |
|
10
17
|
| [sql_parsing.json](sql_parsing.json) | These tests show how an SQL string should be parsed for the operation and table name. |
|
11
18
|
| [url_clean.json](url_clean.json) | These tests show how URLs should be cleaned before putting them into a trace segment's parameter hash (under the key 'uri'). |
|
12
19
|
| [url_domain_extraction.json](url_domain_extraction.json) | These tests show how the domain of a URL should be extracted (for the purpose of creating external metrics). |
|
20
|
+
| [postgres_explain_obfuscation](postgres_explain_obfuscation) | These tests show how plain-text explain plan output from PostgreSQL should be obfuscated when SQL obfuscation is enabled. |
|
21
|
+
| [sql_obfuscation](sql_obfuscation) | Describe how agents should obfuscate SQL queries before transmission to the collector. |
|
22
|
+
| [attribute_configuration](attribute_configuration.json) | These tests show how agents should respond to the various attribute configuration settings. For more information see: [Attributes SPEC](https://newrelic.atlassian.net/wiki/display/eng/Agent+Attributes) |
|
23
|
+
| [cat_map](cat_map.json) | These tests cover the new Dirac attributes that are added for the CAT Map project. See the [CAT Map Spec](https://newrelic.jiveon.com/docs/DOC-1798) and the section below for details.|
|
24
|
+
| [labels](labels.json) | These tests cover the Labels for Language Agents project. See the [Labels for Language Agents Spec](https://newrelic.atlassian.net/wiki/display/eng/Labels+for+Language+Agents+-+draft+spec) for details.|
|
25
|
+
|
26
|
+
### CAT Map test details
|
27
|
+
|
28
|
+
The CAT map test cases in `cat_map.json` are meant to be used to verify the
|
29
|
+
attributes that agents collect and attach to analytics transaction events for
|
30
|
+
the CAT map project.
|
31
|
+
|
32
|
+
Each test case should correspond to a simulated transaction in the agent under
|
33
|
+
test. Here's what the various fields in each test case mean:
|
34
|
+
|
35
|
+
| Name | Meaning |
|
36
|
+
| ---- | ------- |
|
37
|
+
| `name` | A human-meaningful name for the test case. |
|
38
|
+
| `appName` | The name of the New Relic application for the simulated transaction. |
|
39
|
+
| `transactionName` | The final name of the simulated transaction. |
|
40
|
+
| `transactionGuid` | The GUID of the simulated transaction. |
|
41
|
+
| `inboundPayload` | The (non-serialized) contents of the `X-NewRelic-Transaction` HTTP request header on the simulated transaction. Note that this value should be serialized to JSON, obfuscated using the CAT obfuscation algorithm, and Base64-encoded before being used in the header value. Note also that the `X-NewRelic-ID` header should be set on the simulated transaction, though its value is not specified in these tests. |
|
42
|
+
| `expectedIntrinsicFields` | A set of key-value pairs that are expected to be present in the analytics event generated for the simulated transaction. These fields should be present in the first hash of the analytic event payload (built-in agent-supplied fields). |
|
43
|
+
| `nonExpectedIntrinsicFields` | An array of attribute names that should *not* be present in the analytics event generated for the simulated transaction. |
|
44
|
+
| `outboundRequests` | An array of objects representing outbound requests that should be made in the context of the simulated transaction. See the table below for details. Only present if the test case involves making outgoing requests from the simulated transaction. |
|
45
|
+
|
46
|
+
Here's what the fields of each entry in the `outboundRequests` array mean:
|
47
|
+
|
48
|
+
| Name | Meaning |
|
49
|
+
| ---- | ------- |
|
50
|
+
| `outboundTxnName` | The name of the simulated transaction at the time this outbound request is made. Your test driver should set the transaction name to this value prior to simulating the outbound request. |
|
51
|
+
| `expectedOutboundPayload` | The expected (un-obfuscated) content of the outbound `X-NewRelic-Transaction` request header for this request. |
|
@@ -4,20 +4,20 @@
|
|
4
4
|
"appName": "testAppName",
|
5
5
|
"transactionName": "WebTransaction/testTxnName",
|
6
6
|
"transactionGuid": "9323dc260548ed0e",
|
7
|
-
"
|
7
|
+
"inboundPayload": [
|
8
8
|
"b854df4feb2b1f06",
|
9
9
|
false,
|
10
10
|
"7e249074f277923d",
|
11
11
|
"5d2957be"
|
12
12
|
],
|
13
|
-
"
|
13
|
+
"expectedIntrinsicFields": {
|
14
14
|
"nr.guid": "9323dc260548ed0e",
|
15
15
|
"nr.tripId": "7e249074f277923d",
|
16
16
|
"nr.pathHash": "169d655a",
|
17
17
|
"nr.referringTransactionGuid": "b854df4feb2b1f06",
|
18
18
|
"nr.referringPathHash": "5d2957be"
|
19
19
|
},
|
20
|
-
"
|
20
|
+
"nonExpectedIntrinsicFields": [
|
21
21
|
"nr.alternatePathHashes"
|
22
22
|
]
|
23
23
|
},
|
@@ -26,20 +26,20 @@
|
|
26
26
|
"appName": "testAppName",
|
27
27
|
"transactionName": "WebTransaction/txn7",
|
28
28
|
"transactionGuid": "9323dc260548ed0e",
|
29
|
-
"
|
29
|
+
"inboundPayload": [
|
30
30
|
"b854df4feb2b1f06",
|
31
31
|
false,
|
32
32
|
"7e249074f277923d",
|
33
33
|
"5d2957be"
|
34
34
|
],
|
35
|
-
"
|
35
|
+
"expectedIntrinsicFields": {
|
36
36
|
"nr.guid": "9323dc260548ed0e",
|
37
37
|
"nr.tripId": "7e249074f277923d",
|
38
38
|
"nr.pathHash": "04429689",
|
39
39
|
"nr.referringTransactionGuid": "b854df4feb2b1f06",
|
40
40
|
"nr.referringPathHash": "5d2957be"
|
41
41
|
},
|
42
|
-
"
|
42
|
+
"nonExpectedIntrinsicFields": [
|
43
43
|
"nr.alternatePathHashes"
|
44
44
|
]
|
45
45
|
},
|
@@ -48,9 +48,9 @@
|
|
48
48
|
"appName": "testAppName",
|
49
49
|
"transactionName": "WebTransaction/testTxnName",
|
50
50
|
"transactionGuid": "9323dc260548ed0e",
|
51
|
-
"
|
52
|
-
"
|
53
|
-
"
|
51
|
+
"inboundPayload": null,
|
52
|
+
"expectedIntrinsicFields": {},
|
53
|
+
"nonExpectedIntrinsicFields": [
|
54
54
|
"nr.guid",
|
55
55
|
"nr.tripId",
|
56
56
|
"nr.pathHash",
|
@@ -64,16 +64,24 @@
|
|
64
64
|
"appName": "testAppName",
|
65
65
|
"transactionName": "WebTransaction/testTxnName",
|
66
66
|
"transactionGuid": "9323dc260548ed0e",
|
67
|
-
"
|
68
|
-
"
|
69
|
-
|
67
|
+
"inboundPayload": null,
|
68
|
+
"outboundRequests": [
|
69
|
+
{
|
70
|
+
"outboundTxnName": "WebTransaction/testTxnName",
|
71
|
+
"expectedOutboundPayload": [
|
72
|
+
"9323dc260548ed0e",
|
73
|
+
false,
|
74
|
+
"9323dc260548ed0e",
|
75
|
+
"accfca26"
|
76
|
+
]
|
77
|
+
}
|
70
78
|
],
|
71
|
-
"
|
79
|
+
"expectedIntrinsicFields": {
|
72
80
|
"nr.guid": "9323dc260548ed0e",
|
73
81
|
"nr.tripId": "9323dc260548ed0e",
|
74
82
|
"nr.pathHash": "accfca26"
|
75
83
|
},
|
76
|
-
"
|
84
|
+
"nonExpectedIntrinsicFields": [
|
77
85
|
"nr.referringTransactionGuid",
|
78
86
|
"nr.referringPathHash",
|
79
87
|
"nr.alternatePathHashes"
|
@@ -84,20 +92,52 @@
|
|
84
92
|
"appName": "testAppName",
|
85
93
|
"transactionName": "WebTransaction/testTxnName",
|
86
94
|
"transactionGuid": "9323dc260548ed0e",
|
87
|
-
"
|
88
|
-
"
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
95
|
+
"inboundPayload": null,
|
96
|
+
"outboundRequests": [
|
97
|
+
{
|
98
|
+
"outboundTxnName": "WebTransaction/otherTxnName",
|
99
|
+
"expectedOutboundPayload": [
|
100
|
+
"9323dc260548ed0e",
|
101
|
+
false,
|
102
|
+
"9323dc260548ed0e",
|
103
|
+
"df3fb1b5"
|
104
|
+
]
|
105
|
+
},
|
106
|
+
{
|
107
|
+
"outboundTxnName": "WebTransaction/otherTxnName",
|
108
|
+
"expectedOutboundPayload": [
|
109
|
+
"9323dc260548ed0e",
|
110
|
+
false,
|
111
|
+
"9323dc260548ed0e",
|
112
|
+
"df3fb1b5"
|
113
|
+
]
|
114
|
+
},
|
115
|
+
{
|
116
|
+
"outboundTxnName": "WebTransaction/moreOtherTxnName",
|
117
|
+
"expectedOutboundPayload": [
|
118
|
+
"9323dc260548ed0e",
|
119
|
+
false,
|
120
|
+
"9323dc260548ed0e",
|
121
|
+
"cf3bc3a8"
|
122
|
+
]
|
123
|
+
},
|
124
|
+
{
|
125
|
+
"outboundTxnName": "WebTransaction/moreDifferentTxnName",
|
126
|
+
"expectedOutboundPayload": [
|
127
|
+
"9323dc260548ed0e",
|
128
|
+
false,
|
129
|
+
"9323dc260548ed0e",
|
130
|
+
"2ab5328c"
|
131
|
+
]
|
132
|
+
}
|
93
133
|
],
|
94
|
-
"
|
134
|
+
"expectedIntrinsicFields": {
|
95
135
|
"nr.guid": "9323dc260548ed0e",
|
96
136
|
"nr.tripId": "9323dc260548ed0e",
|
97
137
|
"nr.pathHash": "accfca26",
|
98
138
|
"nr.alternatePathHashes": "2ab5328c,cf3bc3a8,df3fb1b5"
|
99
139
|
},
|
100
|
-
"
|
140
|
+
"nonExpectedIntrinsicFields": [
|
101
141
|
"nr.referringTransactionGuid",
|
102
142
|
"nr.referringPathHash"
|
103
143
|
]
|
@@ -107,27 +147,115 @@
|
|
107
147
|
"appName": "testAppName",
|
108
148
|
"transactionName": "WebTransaction/testTxnName",
|
109
149
|
"transactionGuid": "9323dc260548ed0e",
|
110
|
-
"
|
111
|
-
"
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
150
|
+
"inboundPayload": null,
|
151
|
+
"outboundRequests": [
|
152
|
+
{
|
153
|
+
"outboundTxnName": "WebTransaction/txn1",
|
154
|
+
"expectedOutboundPayload": [
|
155
|
+
"9323dc260548ed0e",
|
156
|
+
false,
|
157
|
+
"9323dc260548ed0e",
|
158
|
+
"a7d2798f"
|
159
|
+
]
|
160
|
+
},
|
161
|
+
{
|
162
|
+
"outboundTxnName": "WebTransaction/txn2",
|
163
|
+
"expectedOutboundPayload": [
|
164
|
+
"9323dc260548ed0e",
|
165
|
+
false,
|
166
|
+
"9323dc260548ed0e",
|
167
|
+
"55f97a7f"
|
168
|
+
]
|
169
|
+
},
|
170
|
+
{
|
171
|
+
"outboundTxnName": "WebTransaction/txn3",
|
172
|
+
"expectedOutboundPayload": [
|
173
|
+
"9323dc260548ed0e",
|
174
|
+
false,
|
175
|
+
"9323dc260548ed0e",
|
176
|
+
"72827114"
|
177
|
+
]
|
178
|
+
},
|
179
|
+
{
|
180
|
+
"outboundTxnName": "WebTransaction/txn4",
|
181
|
+
"expectedOutboundPayload": [
|
182
|
+
"9323dc260548ed0e",
|
183
|
+
false,
|
184
|
+
"9323dc260548ed0e",
|
185
|
+
"9a3ed934"
|
186
|
+
]
|
187
|
+
},
|
188
|
+
{
|
189
|
+
"outboundTxnName": "WebTransaction/txn5",
|
190
|
+
"expectedOutboundPayload": [
|
191
|
+
"9323dc260548ed0e",
|
192
|
+
false,
|
193
|
+
"9323dc260548ed0e",
|
194
|
+
"a1744603"
|
195
|
+
]
|
196
|
+
},
|
197
|
+
{
|
198
|
+
"outboundTxnName": "WebTransaction/txn6",
|
199
|
+
"expectedOutboundPayload": [
|
200
|
+
"9323dc260548ed0e",
|
201
|
+
false,
|
202
|
+
"9323dc260548ed0e",
|
203
|
+
"ccadfd2c"
|
204
|
+
]
|
205
|
+
},
|
206
|
+
{
|
207
|
+
"outboundTxnName": "WebTransaction/txn7",
|
208
|
+
"expectedOutboundPayload": [
|
209
|
+
"9323dc260548ed0e",
|
210
|
+
false,
|
211
|
+
"9323dc260548ed0e",
|
212
|
+
"be1039f5"
|
213
|
+
]
|
214
|
+
},
|
215
|
+
{
|
216
|
+
"outboundTxnName": "WebTransaction/txn8",
|
217
|
+
"expectedOutboundPayload": [
|
218
|
+
"9323dc260548ed0e",
|
219
|
+
false,
|
220
|
+
"9323dc260548ed0e",
|
221
|
+
"da7edf2e"
|
222
|
+
]
|
223
|
+
},
|
224
|
+
{
|
225
|
+
"outboundTxnName": "WebTransaction/txn9",
|
226
|
+
"expectedOutboundPayload": [
|
227
|
+
"9323dc260548ed0e",
|
228
|
+
false,
|
229
|
+
"9323dc260548ed0e",
|
230
|
+
"eaca716b"
|
231
|
+
]
|
232
|
+
},
|
233
|
+
{
|
234
|
+
"outboundTxnName": "WebTransaction/txn10",
|
235
|
+
"expectedOutboundPayload": [
|
236
|
+
"9323dc260548ed0e",
|
237
|
+
false,
|
238
|
+
"9323dc260548ed0e",
|
239
|
+
"6fc8d18f"
|
240
|
+
]
|
241
|
+
},
|
242
|
+
{
|
243
|
+
"outboundTxnName": "WebTransaction/txn11",
|
244
|
+
"expectedOutboundPayload": [
|
245
|
+
"9323dc260548ed0e",
|
246
|
+
false,
|
247
|
+
"9323dc260548ed0e",
|
248
|
+
"dbe37177"
|
249
|
+
]
|
250
|
+
}
|
123
251
|
],
|
124
|
-
"
|
252
|
+
"expectedIntrinsicFields": {
|
125
253
|
"nr.guid": "9323dc260548ed0e",
|
126
254
|
"nr.tripId": "9323dc260548ed0e",
|
127
255
|
"nr.pathHash": "accfca26",
|
128
256
|
"nr.alternatePathHashes": "55f97a7f,6fc8d18f,72827114,9a3ed934,a1744603,a7d2798f,be1039f5,ccadfd2c,da7edf2e,eaca716b"
|
129
257
|
},
|
130
|
-
"
|
258
|
+
"nonExpectedIntrinsicFields": [
|
131
259
|
"nr.referringTransactionGuid",
|
132
260
|
"nr.referringPathHash"
|
133
261
|
]
|
@@ -137,28 +265,124 @@
|
|
137
265
|
"appName": "testAppName",
|
138
266
|
"transactionName": "WebTransaction/testTxnName",
|
139
267
|
"transactionGuid": "9323dc260548ed0e",
|
140
|
-
"
|
141
|
-
"
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
268
|
+
"inboundPayload": null,
|
269
|
+
"outboundRequests": [
|
270
|
+
{
|
271
|
+
"outboundTxnName": "WebTransaction/txn1",
|
272
|
+
"expectedOutboundPayload": [
|
273
|
+
"9323dc260548ed0e",
|
274
|
+
false,
|
275
|
+
"9323dc260548ed0e",
|
276
|
+
"a7d2798f"
|
277
|
+
]
|
278
|
+
},
|
279
|
+
{
|
280
|
+
"outboundTxnName": "WebTransaction/txn1",
|
281
|
+
"expectedOutboundPayload": [
|
282
|
+
"9323dc260548ed0e",
|
283
|
+
false,
|
284
|
+
"9323dc260548ed0e",
|
285
|
+
"a7d2798f"
|
286
|
+
]
|
287
|
+
},
|
288
|
+
{
|
289
|
+
"outboundTxnName": "WebTransaction/txn1",
|
290
|
+
"expectedOutboundPayload": [
|
291
|
+
"9323dc260548ed0e",
|
292
|
+
false,
|
293
|
+
"9323dc260548ed0e",
|
294
|
+
"a7d2798f"
|
295
|
+
]
|
296
|
+
},
|
297
|
+
{
|
298
|
+
"outboundTxnName": "WebTransaction/txn1",
|
299
|
+
"expectedOutboundPayload": [
|
300
|
+
"9323dc260548ed0e",
|
301
|
+
false,
|
302
|
+
"9323dc260548ed0e",
|
303
|
+
"a7d2798f"
|
304
|
+
]
|
305
|
+
},
|
306
|
+
{
|
307
|
+
"outboundTxnName": "WebTransaction/txn1",
|
308
|
+
"expectedOutboundPayload": [
|
309
|
+
"9323dc260548ed0e",
|
310
|
+
false,
|
311
|
+
"9323dc260548ed0e",
|
312
|
+
"a7d2798f"
|
313
|
+
]
|
314
|
+
},
|
315
|
+
{
|
316
|
+
"outboundTxnName": "WebTransaction/txn1",
|
317
|
+
"expectedOutboundPayload": [
|
318
|
+
"9323dc260548ed0e",
|
319
|
+
false,
|
320
|
+
"9323dc260548ed0e",
|
321
|
+
"a7d2798f"
|
322
|
+
]
|
323
|
+
},
|
324
|
+
{
|
325
|
+
"outboundTxnName": "WebTransaction/txn1",
|
326
|
+
"expectedOutboundPayload": [
|
327
|
+
"9323dc260548ed0e",
|
328
|
+
false,
|
329
|
+
"9323dc260548ed0e",
|
330
|
+
"a7d2798f"
|
331
|
+
]
|
332
|
+
},
|
333
|
+
{
|
334
|
+
"outboundTxnName": "WebTransaction/txn1",
|
335
|
+
"expectedOutboundPayload": [
|
336
|
+
"9323dc260548ed0e",
|
337
|
+
false,
|
338
|
+
"9323dc260548ed0e",
|
339
|
+
"a7d2798f"
|
340
|
+
]
|
341
|
+
},
|
342
|
+
{
|
343
|
+
"outboundTxnName": "WebTransaction/txn1",
|
344
|
+
"expectedOutboundPayload": [
|
345
|
+
"9323dc260548ed0e",
|
346
|
+
false,
|
347
|
+
"9323dc260548ed0e",
|
348
|
+
"a7d2798f"
|
349
|
+
]
|
350
|
+
},
|
351
|
+
{
|
352
|
+
"outboundTxnName": "WebTransaction/txn1",
|
353
|
+
"expectedOutboundPayload": [
|
354
|
+
"9323dc260548ed0e",
|
355
|
+
false,
|
356
|
+
"9323dc260548ed0e",
|
357
|
+
"a7d2798f"
|
358
|
+
]
|
359
|
+
},
|
360
|
+
{
|
361
|
+
"outboundTxnName": "WebTransaction/txn1",
|
362
|
+
"expectedOutboundPayload": [
|
363
|
+
"9323dc260548ed0e",
|
364
|
+
false,
|
365
|
+
"9323dc260548ed0e",
|
366
|
+
"a7d2798f"
|
367
|
+
]
|
368
|
+
},
|
369
|
+
{
|
370
|
+
"outboundTxnName": "WebTransaction/txn2",
|
371
|
+
"expectedOutboundPayload": [
|
372
|
+
"9323dc260548ed0e",
|
373
|
+
false,
|
374
|
+
"9323dc260548ed0e",
|
375
|
+
"55f97a7f"
|
376
|
+
]
|
377
|
+
}
|
154
378
|
],
|
155
|
-
"
|
379
|
+
"expectedIntrinsicFields": {
|
156
380
|
"nr.guid": "9323dc260548ed0e",
|
157
381
|
"nr.tripId": "9323dc260548ed0e",
|
158
382
|
"nr.pathHash": "accfca26",
|
159
383
|
"nr.alternatePathHashes": "55f97a7f,a7d2798f"
|
160
384
|
},
|
161
|
-
"
|
385
|
+
"nonExpectedIntrinsicFields": [
|
162
386
|
"nr.referringTransactionGuid",
|
163
387
|
"nr.referringPathHash"
|
164
388
|
]
|
@@ -168,16 +392,24 @@
|
|
168
392
|
"appName": "testAppName",
|
169
393
|
"transactionName": "WebTransaction/testTxnName",
|
170
394
|
"transactionGuid": "9323dc260548ed0e",
|
171
|
-
"
|
395
|
+
"inboundPayload": [
|
172
396
|
"b854df4feb2b1f06",
|
173
397
|
false,
|
174
398
|
"7e249074f277923d",
|
175
399
|
"5d2957be"
|
176
400
|
],
|
177
|
-
"
|
178
|
-
|
401
|
+
"outboundRequests": [
|
402
|
+
{
|
403
|
+
"outboundTxnName": "WebTransaction/otherTxnName",
|
404
|
+
"expectedOutboundPayload": [
|
405
|
+
"9323dc260548ed0e",
|
406
|
+
false,
|
407
|
+
"7e249074f277923d",
|
408
|
+
"656d1ec9"
|
409
|
+
]
|
410
|
+
}
|
179
411
|
],
|
180
|
-
"
|
412
|
+
"expectedIntrinsicFields": {
|
181
413
|
"nr.guid": "9323dc260548ed0e",
|
182
414
|
"nr.tripId": "7e249074f277923d",
|
183
415
|
"nr.pathHash": "169d655a",
|
@@ -185,25 +417,25 @@
|
|
185
417
|
"nr.referringTransactionGuid": "b854df4feb2b1f06",
|
186
418
|
"nr.referringPathHash": "5d2957be"
|
187
419
|
},
|
188
|
-
"
|
420
|
+
"nonExpectedIntrinsicFields": []
|
189
421
|
},
|
190
422
|
{
|
191
423
|
"name": "new_cat_missing_path_hash",
|
192
424
|
"appName": "testAppName",
|
193
425
|
"transactionName": "WebTransaction/testTxnName",
|
194
426
|
"transactionGuid": "9323dc260548ed0e",
|
195
|
-
"
|
427
|
+
"inboundPayload": [
|
196
428
|
"b854df4feb2b1f06",
|
197
429
|
false,
|
198
430
|
"7e249074f277923d"
|
199
431
|
],
|
200
|
-
"
|
432
|
+
"expectedIntrinsicFields": {
|
201
433
|
"nr.guid": "9323dc260548ed0e",
|
202
434
|
"nr.tripId": "7e249074f277923d",
|
203
435
|
"nr.pathHash": "accfca26",
|
204
436
|
"nr.referringTransactionGuid": "b854df4feb2b1f06"
|
205
437
|
},
|
206
|
-
"
|
438
|
+
"nonExpectedIntrinsicFields": [
|
207
439
|
"nr.alternatePathHashes",
|
208
440
|
"nr.referringPathHash"
|
209
441
|
]
|
@@ -213,19 +445,19 @@
|
|
213
445
|
"appName": "testAppName",
|
214
446
|
"transactionName": "WebTransaction/testTxnName",
|
215
447
|
"transactionGuid": "9323dc260548ed0e",
|
216
|
-
"
|
448
|
+
"inboundPayload": [
|
217
449
|
"b854df4feb2b1f06",
|
218
450
|
false,
|
219
451
|
"7e249074f277923d",
|
220
452
|
null
|
221
453
|
],
|
222
|
-
"
|
454
|
+
"expectedIntrinsicFields": {
|
223
455
|
"nr.guid": "9323dc260548ed0e",
|
224
456
|
"nr.tripId": "7e249074f277923d",
|
225
457
|
"nr.pathHash": "accfca26",
|
226
458
|
"nr.referringTransactionGuid": "b854df4feb2b1f06"
|
227
459
|
},
|
228
|
-
"
|
460
|
+
"nonExpectedIntrinsicFields": [
|
229
461
|
"nr.alternatePathHashes",
|
230
462
|
"nr.referringPathHash"
|
231
463
|
]
|
@@ -235,7 +467,7 @@
|
|
235
467
|
"appName": "testAppName",
|
236
468
|
"transactionName": "WebTransaction/testTxnName",
|
237
469
|
"transactionGuid": "9323dc260548ed0e",
|
238
|
-
"
|
470
|
+
"inboundPayload": [
|
239
471
|
"b854df4feb2b1f06",
|
240
472
|
false,
|
241
473
|
"7e249074f277923d",
|
@@ -244,13 +476,13 @@
|
|
244
476
|
"eggs"
|
245
477
|
]
|
246
478
|
],
|
247
|
-
"
|
479
|
+
"expectedIntrinsicFields": {
|
248
480
|
"nr.guid": "9323dc260548ed0e",
|
249
481
|
"nr.tripId": "7e249074f277923d",
|
250
482
|
"nr.pathHash": "accfca26",
|
251
483
|
"nr.referringTransactionGuid": "b854df4feb2b1f06"
|
252
484
|
},
|
253
|
-
"
|
485
|
+
"nonExpectedIntrinsicFields": [
|
254
486
|
"nr.alternatePathHashes",
|
255
487
|
"nr.referringPathHash"
|
256
488
|
]
|
@@ -260,17 +492,17 @@
|
|
260
492
|
"appName": "testAppName",
|
261
493
|
"transactionName": "WebTransaction/testTxnName",
|
262
494
|
"transactionGuid": "9323dc260548ed0e",
|
263
|
-
"
|
495
|
+
"inboundPayload": [
|
264
496
|
"b854df4feb2b1f06",
|
265
497
|
false
|
266
498
|
],
|
267
|
-
"
|
499
|
+
"expectedIntrinsicFields": {
|
268
500
|
"nr.guid": "9323dc260548ed0e",
|
269
501
|
"nr.tripId": "9323dc260548ed0e",
|
270
502
|
"nr.pathHash": "accfca26",
|
271
503
|
"nr.referringTransactionGuid": "b854df4feb2b1f06"
|
272
504
|
},
|
273
|
-
"
|
505
|
+
"nonExpectedIntrinsicFields": [
|
274
506
|
"nr.referringPathHash",
|
275
507
|
"nr.alternatePathHashes"
|
276
508
|
]
|
@@ -280,18 +512,18 @@
|
|
280
512
|
"appName": "testAppName",
|
281
513
|
"transactionName": "WebTransaction/testTxnName",
|
282
514
|
"transactionGuid": "9323dc260548ed0e",
|
283
|
-
"
|
515
|
+
"inboundPayload": [
|
284
516
|
"b854df4feb2b1f06",
|
285
517
|
false,
|
286
518
|
null
|
287
519
|
],
|
288
|
-
"
|
520
|
+
"expectedIntrinsicFields": {
|
289
521
|
"nr.guid": "9323dc260548ed0e",
|
290
522
|
"nr.tripId": "9323dc260548ed0e",
|
291
523
|
"nr.pathHash": "accfca26",
|
292
524
|
"nr.referringTransactionGuid": "b854df4feb2b1f06"
|
293
525
|
},
|
294
|
-
"
|
526
|
+
"nonExpectedIntrinsicFields": [
|
295
527
|
"nr.alternatePathHashes",
|
296
528
|
"nr.referringPathHash"
|
297
529
|
]
|