-
Task
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
IR295 - eteam LastOf16
-
5
What
(Re)start the UPS server with FCM endpoint override to mockbackend (e.g. Wiremock)
Why
For stress-testing we should not talk directly to FCM, but against some other mock tool, like wiremock
How
There are two ways of doing 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="custom.aerogear.fcm.push.host" value="http://URL_OF_MY_WIREMOCK"/> </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 -Dcustom.aerogear.fcm.push.host=http://URL_OF_MY_WIREMOCK
Result/Verification
Calls are not going to FCM, but to our mockbackend