You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, we have a performance script (test/performance/scripts/create-outgoing-payments.js) to do load testing for our Admin APIs, which calls createReceivercreateQuote and createOutgoingPayment.
We should add a similar script, but one that uses Open Payments APIs instead. The script will (create incoming payment, create quote, and create outgoing payment), after getting grants for the corresponding resources, and accepting an interactive grant at the MASE to be able to create outgoing payment. We can use a single grant for the outgoing payment.
Keep in mind, if the script is running longer than 10 min, we will need to refresh tokens used for the grant.
We can use the Open Payments client to help orchestrate this. This will require us to bundle the package, similar to how we are doing for json-canonicalize.
The text was updated successfully, but these errors were encountered:
The script will (create incoming payment, create quote, and create outgoing payment), after getting grants for the corresponding resources, and accepting an interactive grant at the MASE to be able to create outgoing payment. We can use a single grant for the outgoing payment.
I guess doing this manually via the UI could work when running locally, but it poses a problem for CI. We talked about using this for the CI performance test instead of the admin api based flow since it's the more complete one.
Right now, we have a performance script (
test/performance/scripts/create-outgoing-payments.js
) to do load testing for our Admin APIs, which callscreateReceiver
createQuote
andcreateOutgoingPayment
.We should add a similar script, but one that uses Open Payments APIs instead. The script will (create incoming payment, create quote, and create outgoing payment), after getting grants for the corresponding resources, and accepting an interactive grant at the MASE to be able to create outgoing payment. We can use a single grant for the outgoing payment.
Keep in mind, if the script is running longer than 10 min, we will need to refresh tokens used for the grant.
We can use the Open Payments client to help orchestrate this. This will require us to bundle the package, similar to how we are doing for
json-canonicalize
.The text was updated successfully, but these errors were encountered: