summaryrefslogtreecommitdiffstats
path: root/vbench/src/tests/app_vbench/vbench.tls.cfg.template.template
blob: 48603998de5d9eb65d60457dae9944c72e3ed2c7 (plain) (blame)
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
{
    http_threads: 32,
    inputs: [
        {
            source: { type: 'RequestGenerator', file: '@CMAKE_CURRENT_SOURCE_DIR@/input.txt' },
            prepare: [
                { type: 'ServerTagger', host: 'localhost', port:_LOCAL_PORT_ },
                { type: 'QpsTagger', qps: 10 }
            ]
        },
        {
            source: { type: 'RequestGenerator', file: '@CMAKE_CURRENT_SOURCE_DIR@/input.txt' },
            prepare: [
                { type: 'ServerTagger', host: 'localhost', port:_LOCAL_PORT_ },
                { type: 'QpsTagger', qps: 10 }
            ]
        }
    ],
    analyze: [
        { type: 'IgnoreBefore', time: 1.0 },
        { type: 'QpsAnalyzer' },
        { type: 'LatencyAnalyzer' },
        { type: 'RequestDumper' }
    ],
    tls: {
        ca-certificates: 'ca_certs.pem',
        certificates:    'certs.pem',
        private-key:     'test.key'
    }
}