• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1This app can be used to manually test gRPC under changing network conditions.
2
3It makes RPCs in a loop, logging when the request is sent and the response is received.
4
5To test on the simulator, run `pod install`, open the workspace created by Cocoapods, and run the
6app on an iOS device. Once running, tap a few times of each of the two buttons to make a few unary and streaming
7calls. Then disable/enable different network interfaces (WiFi, cellular) on your device.
8
9The expected behavior is that the pending streaming calls fails immediately with error UNAVAILABLE.
10Moreover, when network comes back, new calls have the same behavior.
11
12```
132016-06-29 16:51:29.443 ConnectivityTestingApp[73129:3567949] Sending request.
14```
15