summaryrefslogtreecommitdiff
path: root/manpages/taler-merchant-benchmark.1.rst
blob: 7016c9d4b0420c44691eb6702a5b7027d66ba2f5 (plain)
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
89
90
91
92
93
taler-merchant-benchmark(1)
###########################


.. only:: html

  Name
  ====

  **taler-merchant-benchmark** - generate Taler-style benchmarking payments


Synopsis
========

**taler-merchant-benchmark** [*subcommand*] [*options*]


Description
===========

**taler-merchant-benchmark** is a command-line tool to populate your
merchant database with payments for benchmarking.


Subcommands
===========

ordinary
       Generate normal payments: all the payments are performed (by the
       default instance) and aggregated by the exchange.  Takes the following
       option:

       **-p** *PN* \| **--payments-number=**\ \ *PN*
              Perform PN many payments, defaults to 1.


corner
       Drive the generator to create unusual situations, like for example
       leaving payments unaggregated, or using a non-default merchant
       instance.  Takes the following options:


       **-t** *TC* \| **--two-coins=**\ \ *TC*
              Perform TC many payments that use two coins (normally, all the
              payments use only one coin).  TC defaults to 1.


       **-u** *UN* \| **--unaggregated-number=**\ \ *UN*
              Generate UN payments that will be left unaggregated.  Note that
              subsequent invocations of the generator may pick those
              unaggregated payments and actually aggregated them.



Common Options
==============

**-a** *APIKEY* \| **--apikey=**\ \ *APIKEY*
   HTTP 'Authorization' header to send to the merchant.

**-c** *FILENAME* \| **--config=**\ \ *FILENAME*
   Use the configuration and other resources for the merchant to
   operate from FILENAME.

**-u** *SECTION* \| **--exchange-account-section=**\ \ *SECTION*
   Configuration *SECTION* specifying the exchange account to use.

**-h** \| **--help**
   Print short help on options.

**-L** *LOGLEVEL* \| **--loglevel=**\ ‌\ *LOGLEVEL*
   Specifies the log level to use. Accepted values are: ``DEBUG``, ``INFO``,
   ``WARNING``, ``ERROR``.

**-l** *FILENAME* \| **--logfile=**\ ‌\ *FILENAME*
   Send logging output to *FILENAME*.

**-v** \| **--version**
   Print version information.


See Also
========

taler-merchant-dbinit(1), taler.conf(5)


Bugs
====

Report bugs by using https://bugs.taler.net/ or by sending electronic
mail to <taler@gnu.org>.