Commit Graph

113 Commits

Author SHA1 Message Date
Marcello Stanisci
220ce20d05
Revert explicit AUDITOR_connect at tests. 2019-01-25 15:57:27 +01:00
Marcello Stanisci
862ed50d7d
Auditor tests.
Fix double connection.
2019-01-24 17:53:10 +01:00
Marcello Stanisci
08eafb1add
Export testing-cert_cb in the API.
This way, this very basic cert_cb can be reused
by other testing commands.
2019-01-21 15:40:07 +01:00
Marcello Stanisci
148b546435
/keys API.
Adding method to override the last_denom value for a key set.
2019-01-17 16:37:16 +01:00
Marcello Stanisci
448a57d81e
Extend tests.
Give a way to force redownload (= no cherry picking) all /keys.
2019-01-16 19:44:44 +01:00
Marcello Stanisci
b657910c19
Send SIGUSR1 for new keys reloading. 2019-01-09 17:48:44 +01:00
Marcello Stanisci
c1c242e3c7
Export new API 2018-12-21 20:59:27 +01:00
Marcello Stanisci
df6eda3994
Provide test API for keys serialization. 2018-12-21 14:04:43 +01:00
Marcello Stanisci
93ff2d93cc
/withdraw: #5284. 2018-12-18 17:35:23 +01:00
Marcello Stanisci
e634c877e3
/wire: #5284 2018-12-18 17:05:26 +01:00
Marcello Stanisci
ce36e23a88
/track/*: #5284. 2018-12-18 16:46:16 +01:00
Marcello Stanisci
baf95b86e2
/refresh/* & /reserve/status: #5284. 2018-12-18 16:36:29 +01:00
Marcello Stanisci
2fc84dd07f
/refresh/*: #5284. 2018-12-18 16:27:50 +01:00
Marcello Stanisci
c38f521dd8
/deposit: #5284. 2018-12-18 16:09:17 +01:00
Marcello Stanisci
bb45ee0e8e
check-keys CMD: #5284. 2018-12-18 15:46:32 +01:00
Christian Grothoff
5052698cbc
getting test_auditor_api to pass 2018-11-25 14:40:03 +01:00
Marcello Stanisci
793c57317a
Offer contract terms trait as a JSON object. 2018-11-20 13:32:02 +01:00
Christian Grothoff
bbbb0986c6
complete /deposit-confirmation test command 2018-11-17 19:23:39 +01:00
Christian Grothoff
e42f014cff
use more const in taler_testing_lib.h 2018-11-17 17:19:02 +01:00
Christian Grothoff
cf1ce47863
more work towards testing deposit confirmations 2018-11-17 16:11:47 +01:00
Christian Grothoff
4d058c4eb7
work towards testing auditor deposit-confirmation API 2018-11-17 15:15:51 +01:00
Christian Grothoff
17edb09f38
extend testing logic to setup handle for the auditor 2018-11-11 16:45:09 +01:00
Christian Grothoff
debe0d05ad
improve auditor support in libtalertesting 2018-11-11 15:46:06 +01:00
Christian Grothoff
277f90bf2b
preparing test logic for new auditor requirements (incomplete) 2018-11-10 19:28:28 +01:00
Christian Grothoff
85e22419c9
fix issue with 'meta' not being initialized - by getting rid of it 2018-10-13 18:08:51 +02:00
Christian Grothoff
46e4ea696c
add sleep command 2018-09-15 19:17:06 +02:00
Christian Grothoff
ddca1f5c68
add logic to allow fakebank transfers to be retried 2018-08-19 14:19:17 +02:00
Florian Dold
96e047b186
add remote benchmarking 2018-08-19 00:49:16 +02:00
Christian Grothoff
96c2fb8e10
implement retries for a few more commands 2018-08-11 11:29:02 +02:00
Christian Grothoff
abb84bd065
add variant that allows us to control the timeout 2018-08-10 22:29:43 +02:00
Christian Grothoff
866df0fb66
add retry support to withdraw test logic 2018-08-10 12:39:47 +02:00
Christian Grothoff
f17ad4de76
in parallel tests, only launch one exchange -- still broken: code attempts to launch multiple fakebanks 2018-08-09 10:33:21 +02:00
Marcello Stanisci
b9fa9bc48b
Instruction pointer gets negative values too. 2018-06-28 21:35:43 +02:00
Marcello Stanisci
feec78dd56
Implementing #5306. 2018-06-20 22:16:24 +02:00
Marcello Stanisci
1d83e01320
batch CMD skeleton + include defs. 2018-06-20 11:20:48 +02:00
Marcello Stanisci
61fecfcd6f
Put lookup logic for meta-commands. 2018-06-20 11:08:56 +02:00
Marcello Stanisci
01f933bbdc
Get rid of "@param selector". 2018-05-29 12:43:34 +02:00
Marcello Stanisci
3cb0454dc0
Commenting the main "testing" header file. 2018-05-29 12:18:18 +02:00
Marcello Stanisci
381ac75ae0
Trigger conflicting refunds 2018-05-17 15:50:50 +02:00
Marcello Stanisci
08824870e6
Triggering doubled /refresh/melt, plus prepare ground for twisting the /refresh/reveal 2018-05-14 22:32:13 +02:00
Christian Grothoff
cb55c1a3af
Changing configuration structure to enable multiple accounts.
This change enables using multiple wire plugins at the same time.
Also, we now distinguish between the wire plugin (i.e. EBICS or
taler_bank) and the wire method (i.e. SEPA or x-taler-bank) that
the wire plugin is implementing.  The "taler-bank" wire method
was renamed from "test" to "x-taler-bank".

This also changes the format of the /wire response of the exchange,
as we now need to return multiple accounts.  Note that wire fees
are specified per wire method, not per wire account.

taler-exchange-keyup now automatically signs all of the /wire
responses in the location specified by the configuration.

Account identification in wire plugins was changed to use
payto://-URLs instead of method-specific JSON fields.  Signing
and validation of /wire responses was moved from each wire
plugin to a generic validation method in libtalerutil (crypto)
or libtalerjson (for JSON-formatted inputs).
Convenience methods were added to generate JSON for wire accounts
(salting, signing).

Various section and option names were adjusted to streamline the
configuration and make it more consistent overall.  Documentation
was updated as well.
2018-04-02 14:29:44 +02:00
Marcello Stanisci
ed8dfac6db
helpers return exchange base url from config. 2018-02-28 16:15:18 +01:00
Marcello Stanisci
b593d416d6
Bank-lib tests, using the new (libraries-based) style. 2018-02-26 14:12:46 +01:00
Marcello Stanisci
8d5cc9f550
denom pub trait made 'const' 2018-02-21 16:58:18 +01:00
Marcello Stanisci
1e6efdc5f0
no need for a "hash trait" here. Removing code. 2018-02-21 15:13:58 +01:00
Marcello Stanisci
377f35fd7d
adding command to wire transfer to exchange by
reading a merchant instance's (reserve tip) private
key in order to construct the subject.
2018-02-21 12:23:45 +01:00
Marcello Stanisci
b09bd97c3b
test command "fakebank transfer"
takes exchange url in arguments
2018-02-21 09:56:49 +01:00
Marcello Stanisci
6ac3c6cd4d
bank-check test cmd offers exchange url as trait. 2018-02-19 15:38:21 +01:00
Marcello Stanisci
844f39c85e
hash and public key traits. 2018-02-17 15:39:44 +01:00
Marcello Stanisci
7ffc6d0fb9
hash code trait 2018-02-16 11:59:32 +01:00
Marcello Stanisci
513a22c344
offering amount _objects_ as traits (a string version of
it was already implemented).  "Withdraw" command uses it.
2018-02-16 10:57:23 +01:00
Marcello Stanisci
912fd77aa2
fix paste leftover 2018-02-15 16:39:00 +01:00
Marcello Stanisci
d78f66d5e4
adding "order id" trait 2018-02-15 16:36:00 +01:00
Marcello Stanisci
5b1e17617f
offer url trait 2018-02-14 12:46:01 +01:00
Marcello Stanisci
fe6960cce8
Implement new traits-based tests. 2018-02-12 16:12:07 +01:00
Christian Grothoff
de092c2c2b
make fakebank_url more robust 2018-01-21 20:10:05 +01:00
Christian Grothoff
652bb0f9c4
finish simplifying main by adding more helpers and macros 2018-01-21 19:57:09 +01:00
Christian Grothoff
3f930c0f6a
more wire transfer variants 2018-01-21 19:21:45 +01:00
Christian Grothoff
a252daa6a1
factor out more helpers 2018-01-21 19:11:27 +01:00
Christian Grothoff
d09beecc8f
integrate sigpipe with ain loop 2018-01-21 18:49:47 +01:00
Christian Grothoff
bba0ec72fa
finish new withdraw command implementation 2018-01-21 16:27:58 +01:00
Christian Grothoff
6ba7747ac3
more traits 2018-01-21 16:01:08 +01:00
Christian Grothoff
82b0eda3ef
new test interpreter architecture, first draft 2018-01-21 15:39:48 +01:00