如何在java代码中测试一个java调用极光推送的接口

zls1395286316
2017-08-16 11:13 2.3k 0

该接口功能是推送消息。masterSecret和appKey是我在极光官网注册得到的,但是我在测试的时候,jUnit调用方法,返回结果说我参数不对:Got Response code: 400 content: {"msg_id": 1596890616, "error": {"message": "cannot find user by this audience", "code": 1011}},这是还需要配置什么东西吗?

1个回答

热门排序