h3. What
Provide a test-driver (e.g. Gatling, JMeter, or Java/Node program) that runs _SEND_ request against the mocked UPS data h3. Why
Testing the PUSH Sender endpoint, under load, against reasonable datasets, seeing how the JMS bus behaves.
h3. 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/ )
h3. Result/Verification
Reasonable tests that stress the SENDER endpoint |
|