What (Re)start the UPS server with APNs endpoints for push/feedback servers and point to mockbackend (See AGPUSH-1994) Why For stress-testing we should not talk directly to APNs, but against some other mock tool... How The UPS has support for APNs fake backend host/port. Please take a look here: https://aerogear.org/docs/unifiedpush/ups_userguide/index/#sysprops There are two ways of configuring this:
- In the $JBOSS/standalone/config/standalone-full.xml file, provide a System property, with the right URL to the mock system:
... |
</extensions> |
|
<system-properties> |
<property name="The system properties to use" value="SomeValue"/> |
</system-properties>
|
- provide system property on the command line, when starting the server:
/JBOSS_HOME/bin/standalone.sh -b 0.0.0.0 --server-config=standalone-full.xml -DsomeProperty=SomeValue
|
Result/Verification Calls are not going to APNs, but to our mockbackend |