-
Task
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
IR298 - UPS_BF_316
-
8
What
Provide a test-driver (e.g. Gatling, JMeter, or Java/Node program) that runs SEND request against the mocked UPS data
Why
Testing the PUSH Sender endpoint, under load, against reasonable datasets, seeing how the JMS bus behaves.
How
now that AGPUSH-1985 is in place the following needs to be done:
- connect to keycloak and request a bearer token to be able to talk to UPS (here is some ideas for Node: https://github.com/aerogear/aerogear-unifiedpush-server/tree/master/node.js)
- using the bearer token, get a list of all PushApplications on the server (and their ID:MasterSecret) (e.g. using https://github.com/bucharest-gold/unifiedpush-admin-client or https://github.com/mfischelmayer/aerogear-push-helper)
- Send one push request to each Push application, between each app, I'd give it 30 seconds pause/break, using the same alias, as discussed above (using https://github.com/aerogear/aerogear-unifiedpush-nodejs-client/ )
Result/Verification
Reasonable tests that stress the SENDER endpoint
- relates to
-
AEROGEAR-6698 create test driver for public sender endpoint
- Resolved