aboutsummaryrefslogtreecommitdiff
path: root/src/exchange-lib/test_exchange_api.c
AgeCommit message (Collapse)Author
2018-09-15fix #5315, including more testingChristian Grothoff
2018-08-19force TALER_EXCHANGE_connect() va-list to be actually providedChristian Grothoff
2018-04-02Changing configuration structure to enable multiple accounts.Christian Grothoff
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-02-28Test cases connect to the exchange via the base URLMarcello Stanisci
they get from exchange/BASE_URL config value. This way, the twister can be easily put in the middle by making it listen on the same port specified after the : of the exchange/BASE_URL.
2018-01-30use url instead of uri consistentlyFlorian Dold
2018-01-21finish new withdraw command implementationChristian Grothoff
2018-01-21new test interpreter architecture, first draftChristian Grothoff
2018-01-04enable test for #5234Christian Grothoff
2018-01-04comment out extended test againChristian Grothoff
2018-01-04fix auditor to properly verify wire fee signatures and more gracefully ↵Christian Grothoff
handle arithmetic amount issue
2018-01-02extending test logic to detect refund issue (commented out for now)Christian Grothoff
2017-12-14implement taler-bank-transfer, fixes #5195Christian Grothoff
2017-12-10add testcase for #5077 (passes), start to reduce use of exchange's ↵Christian Grothoff
admin/add/incoming (#5172, more to come)
2017-12-10add wirewatch command to testcase (not yet active), for #5077Christian Grothoff
2017-12-10check find_pk return value in testChristian Grothoff
2017-11-29fixing #5178Christian Grothoff
2017-10-31major API refactoring, adding planchet generation and coin extraction APIs ↵Christian Grothoff
to the Taler crypto library, thereby simplifying code in withdraw, refresh, tipping, payback and testcases; slight API incompatibilities to previous versions are introduced
2017-10-06check return value from TALER_JSON_hashChristian Grothoff
2017-09-13add logic to signal exchange to reload keysChristian Grothoff
2017-07-01implement logic to check protocol version compatibility (#5035)Christian Grothoff
2017-06-19fixing #5010 for /reserve/withdrawChristian Grothoff
2017-06-11modify fakebank API to allow arbitrary subjects, not just well-fromed WTIDsChristian Grothoff
2017-06-05assert non-NULLChristian Grothoff
2017-05-29rename proposal_data to contract_terms (see #4879)Florian Dold
2017-05-11generate auditor signatures in exchange-lib testcase, and handle problem ↵Christian Grothoff
with bogus revocation keys during startup more gracefully by terminating instead of looping
2017-04-16test case of /payback done twice, handle 403-case in /payback handler, ↵Christian Grothoff
thereby also testing coin-with-payback history case in test logic (fixes #3887)
2017-04-10also test reserve history after paybackChristian Grothoff
2017-04-10fix test_exchangedb denomkeys testChristian Grothoff
2017-04-10expand /payback testsChristian Grothoff
2017-04-10add test case for #3887Christian Grothoff
2017-04-10preparations for testing /payback APIChristian Grothoff
2017-03-24merge aggregatorChristian Grothoff
2017-03-06test more of /wire, fix off-by-oneChristian Grothoff
2017-03-06cover get more of /wire API in test caseChristian Grothoff
2017-03-04implementing #4929Christian Grothoff
2017-03-02implementing #4921: add base URL to wire transfersChristian Grothoff
2017-02-08do not print warnings for perfectly expected status codesChristian Grothoff
2017-02-08ensure testcase terminates if wget is not installed or launching httpd failedChristian Grothoff
2017-02-08skip test if binaries are not in PATHChristian Grothoff
2017-02-07remove transaction_id, only one payment per proposal allowedFlorian Dold
2017-02-06contract terminology renaming (#4877)Florian Dold
2017-01-13Add option to initialized db, fixes 4858Florian Dold
Additionally remove the TESTRUN option, since the name is confusing and doesn't match the original semantics (temp tables). Test cases should now invoke the exchange httpd with the "-i" option.
2016-11-18addressing #4803: nicer error messages for invalid wire formatsChristian Grothoff
2016-11-17add idempotency checks for /refresh/reveal, fixing #4793Christian Grothoff
2016-11-04wget-ing /admin/add/incoming from bank-lib testcaseMarcello Stanisci
2016-10-20return taler-specific error codes from C API as wellChristian Grothoff
(#4497/4705)
2016-10-19Merge branch 'master' of taler.net:exchangeMarcello Stanisci
2016-10-18implement #4497/#4705 -- addition of unique numeric error codes -- for the ↵Christian Grothoff
server-side of the exchange
2016-10-17indentMarcello Stanisci
2016-10-10check dbinit return value to not fail hard if DB not availableChristian Grothoff