File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change
1
+ Feature : Agent Transport User agent Header
2
+
3
+ Scenario : Default user-agent
4
+ Given an agent
5
+ When service name is not set
6
+ When service version is not set
7
+ Then the User-Agent header matches regex '^apm-agent-[a-z]+/[^ ]*'
8
+
9
+ Scenario : User-agent with service name only
10
+ Given an agent
11
+ When service name is set to 'myService'
12
+ When service version is not set
13
+ Then the User-Agent header matches regex '^apm-agent-[a-z]+/[^ ]* \( myService\) '
14
+
15
+ Scenario : User-agent with service name and service version
16
+ Given an agent
17
+ When service name is set to 'myService'
18
+ When service version is set to 'v42'
19
+ Then the User-Agent header matches regex '^apm-agent-[a-z]+/[^ ]* \( myService v42\) '
You can’t perform that action at this time.
0 commit comments