summaryrefslogtreecommitdiff
path: root/manpages/taler-merchant-benchmark.1.rst
blob: 3d688e07b6ffef13cada4f567bb84e2ddefab56e (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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
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
       options.

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


       -t TN, --tracks-number=TN
              Perform TN many tracking operations, 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.


       -i AI, --alt-instance=AI
              Use AI as the instance, instead of 'default' (which is the
              default instance used.)


       -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
==============

-k K, --currency=K
       Use currency K, mandatory.


-m URL, --merchant-url=URL
       Use URL as the merchant base URL during the benchmark.  The URL
       is mainly used to download and pay for contracts.  Mandatory.


-b URL, --bank-url=URL
       Use URL as the bank's base URL during the benchmark.  The URL is
       used to test whether the bank is up and running.  Mandatory.

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

-h, --help
       Print short help on options.

-v, --version
       Print version information.

-l LF, --logfile=LF
       Sends logs to file whose path is LF.


-L LOGLEVEL, --log=LOGLEVEL
       Use loglevel LOGLEVEL.


Bugs
====

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


See Also
========

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