-
Notifications
You must be signed in to change notification settings - Fork 1
/
notifydemo.json
88 lines (88 loc) · 1.78 KB
/
notifydemo.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"scenario": [
{
"action": "openhub",
"label": "open hub",
"disabled": false,
"settings": {}
},
{
"action": "thinktime",
"label": "think for 10-15s",
"disabled": false,
"settings": {
"type": "uniform",
"mean": 15,
"dev": 5
}
},
{
"action": "openapp",
"label": "open app",
"disabled": false,
"settings": {
"appmode": "name",
"app": "Ctrl00_allObj"
}
},
{
"action": "thinktime",
"label": "think for 10-15s",
"disabled": false,
"settings": {
"type": "uniform",
"mean": 15,
"dev": 5
}
},
{
"action": "slacknotify",
"settings" : {
"webhook": "https://hooks.slack.com/services/MY/SLACK/WEBHOOK",
"msg" : "`{{.UserName}}` successfully finished session<{{.Session}}> thread<{{.Thread}}> warnings<{{.Local.Warnings}}>"
}
}
],
"settings": {
"timeout": 300,
"logs": {
"filename": "./logs/slacknotifier.tsv",
"traffic": true
},
"outputs": {
"dir": ""
}
},
"loginSettings": {
"type": "prefix",
"settings": {
"prefix": "testuser"
}
},
"connectionSettings": {
"mode": "ws",
"server": "myWindowsServerWithHeaderAuth",
"virtualproxy": "header",
"security": true,
"allowuntrusted": true,
"headers": {
"X-Qlik-User-Header": "{{.UserName}}"
}
},
"scheduler": {
"type": "simple",
"iterationtimebuffer": {
"mode": "onerror",
"duration": "10s"
},
"instance": 1,
"settings": {
"executionTime": -1,
"iterations": 2,
"rampupDelay": 7,
"concurrentUsers": 2,
"reuseUsers": false,
"onlyinstanceseed": false
}
}
}