diff --git a/.pubnub.yml b/.pubnub.yml index 739ce051..2b3912a1 100644 --- a/.pubnub.yml +++ b/.pubnub.yml @@ -1,5 +1,19 @@ --- changelog: + - + changes: + - + text: “Subscribe v2 Abort Fix” + type: improvement + date: Oct 3, 17 + version: v3.16.0 + - + changes: + - + text: “Add support for setting the non subscribe HTTP client” + type: improvement + date: Jun 21, 17 + version: v3.15.0 - changes: - diff --git a/README.md b/README.md index 174fe2f8..6bb1835c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -#PubNub 3.14.0 client for Go +#PubNub 3.16.0 client for Go * Go (1.2, 1.3, 1.4, 1.5, 1.6, 1.7.3, 1.8) * Google App Engine (1.9.28 - 2015-10-29) * Managed VMs (Google Cloud SDK 133.0.0) @@ -9,7 +9,7 @@ ## Contact support@pubnub.com for all questions -##PubNub 3.14.0 Go based APIs +##PubNub 3.16.0 Go based APIs Learn more at http://www.pubnub.com ## Available in this repository @@ -22,7 +22,7 @@ Learn more at http://www.pubnub.com ### For Non Google App Engine -* [PubNub SDK for GO](messaging) (3.14.0) +* [PubNub SDK for GO](messaging) (3.16.0) * [Example](messaging/examples/cli/pubnubExample.go) ## Contact support@pubnub.com for all questions diff --git a/VERSION b/VERSION index f982feb4..1eeac129 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.14.0 +3.16.0 diff --git a/messaging/README.md b/messaging/README.md index 013c1468..3c113491 100644 --- a/messaging/README.md +++ b/messaging/README.md @@ -1,12 +1,16 @@ ## Contact support@pubnub.com for all questions -# PubNub 3.15.0 client for Go 1.0.3, 1.1, 1.3, 1.3.1, 1.4.2, 1.5.2, 1.6.2, 1.7.3, 1.8 +# PubNub 3.16.0 client for Go 1.0.3, 1.1, 1.3, 1.3.1, 1.4.2, 1.5.2, 1.6.2, 1.7.3, 1.8 ### Important changes from version 3.10.0 onwards: Breaking API Change: newPubnub has a new parameter where it expects a logger instance [Example](#init). This fixes a rare race condition ### Change log +* 3.16.0 + * Subscribe v2 Abort Fix * 3.15.0 + * Add support for setting the non subscribe HTTP client +* 3.14.0 * Fixed a corner case panic * 3.13.0 * Presence Delta Intervals diff --git a/messaging/examples/cli/pubnubExample.go b/messaging/examples/cli/pubnubExample.go index efe1c931..b06b6d2d 100644 --- a/messaging/examples/cli/pubnubExample.go +++ b/messaging/examples/cli/pubnubExample.go @@ -185,7 +185,7 @@ func Init() (b bool) { } //messaging.SetOrigin("balancer-tj71.devbuild.aws-pdx-1.ps.pn") - messaging.SetOrigin("ps.pndsn.com") + messaging.SetOrigin("beta-2017q3.pubnub.com");//"ps.pndsn.com") var pubInstance = messaging.NewPubnub(publishKey, subscribeKey, secretKey, cipher, ssl, uuid, infoLogger) diff --git a/messaging/pubnub.go b/messaging/pubnub.go index 37440324..9e21e7e7 100644 --- a/messaging/pubnub.go +++ b/messaging/pubnub.go @@ -1,6 +1,6 @@ // Package messaging provides the implemetation to connect to pubnub api. -// Version: 3.15.0 -// Build Date: Jun 19, 2017 +// Version: 3.16.0 +// Build Date: Sep 28, 2017 package messaging import ( @@ -31,9 +31,9 @@ import ( const ( // sdkVersion is the current SDK version - sdkVersion = "3.15.0" + sdkVersion = "3.16.0" // sdkDate is the version release date - sdkDate = "Jun 19, 2017" + sdkDate = "Sep 28, 2017" ) type responseStatus int @@ -690,6 +690,7 @@ func (pub *Pubnub) Abort() { subscribedGroups := pub.groups.ConnectedNamesString() if subscribedChannels != "" || subscribedGroups != "" { + pub.infoLogger.Printf("INFO: aborting subscribedChannels or subscribedGroups:%s == %s", subscribedChannels, subscribedGroups) value, _, err := pub.sendLeaveRequest(subscribedChannels, subscribedGroups) if err != nil { @@ -698,6 +699,8 @@ func (pub *Pubnub) Abort() { pub.sendSubscribeError(subscribedChannels, subscribedGroups, err.Error(), responseAsIsError) } else { + pub.infoLogger.Printf("INFO: value:%s", value) + pub.sendSuccessResponse(subscribedChannels, subscribedGroups, value) } @@ -707,6 +710,8 @@ func (pub *Pubnub) Abort() { pub.channels.Abort(pub.infoLogger) pub.groups.Abort(pub.infoLogger) pub.Unlock() + } else { + pub.infoLogger.Printf("INFO: subscribedChannels or subscribedGroups empty:%s == %s", subscribedChannels, subscribedGroups) } pub.subscribeWorker.Cancel() @@ -1747,18 +1752,27 @@ func (pub *Pubnub) sendSuccessResponse(channels, groups string, response []byte) channel, found := pub.channels.Get(itemName) if !found { pub.infoLogger.Printf("ERROR: Channel '%s' not found\n", itemName) + continue + } + if(channel.IsV2){ + channel.StatusChannel <- createPNStatus(false, "", nil, PNCancelledCategory, []string{itemName}, nil) + } else { + channel.SuccessChannel <- response } - - channel.SuccessChannel <- response } for _, itemName := range splitItems(groups) { group, found := pub.channels.Get(itemName) if !found { pub.infoLogger.Printf("ERROR: Group '%s' not found\n", itemName) + continue } + if(group.IsV2){ + group.StatusChannel <- createPNStatus(false, "", nil, PNCancelledCategory, nil, []string{itemName}) + } else { - group.SuccessChannel <- response + group.SuccessChannel <- response + } } } diff --git a/messaging/pubnub_test.go b/messaging/pubnub_test.go index 6cd2f3b2..3ad2c444 100644 --- a/messaging/pubnub_test.go +++ b/messaging/pubnub_test.go @@ -1149,7 +1149,7 @@ func TestCreateSubscribeURLReset(t *testing.T) { b, tt := pubnub.createSubscribeURL("", "4") //log.SetOutput(os.Stdout) //log.Printf("b:%s, tt:%s", b, tt) - assert.Contains(b, "/v2/subscribe/demo/ch/0?channel-group=cg&uuid=testuuid&tt=0&tr=4&filter-expr=aoi_x%20%3E%3D%200&heartbeat=10&state=%7B%22ch%22%3A%7B%22k%22%3A%22v%22%7D%7D&pnsdk=PubNub-Go%2F3.15.0") + assert.Contains(b, "/v2/subscribe/demo/ch/0?channel-group=cg&uuid=testuuid&tt=0&tr=4&filter-expr=aoi_x%20%3E%3D%200&heartbeat=10&state=%7B%22ch%22%3A%7B%22k%22%3A%22v%22%7D%7D&pnsdk=PubNub-Go%2F3.16.0") assert.Equal(senttt, tt) presenceHeartbeat = 0 } @@ -1174,7 +1174,7 @@ func TestCreateSubscribeURL(t *testing.T) { b, tt := pubnub.createSubscribeURL("14767805072942467", "4") //log.SetOutput(os.Stdout) //log.Printf("b:%s, tt:%s", b, tt) - assert.Contains(b, "/v2/subscribe/demo/ch/0?channel-group=cg&uuid=testuuid&tt=14767805072942467&tr=4&filter-expr=aoi_x%20%3E%3D%200&pnsdk=PubNub-Go%2F3.15.0") + assert.Contains(b, "/v2/subscribe/demo/ch/0?channel-group=cg&uuid=testuuid&tt=14767805072942467&tr=4&filter-expr=aoi_x%20%3E%3D%200&pnsdk=PubNub-Go%2F3.16.0") assert.Equal(senttt, tt) } @@ -1198,7 +1198,7 @@ func TestCreateSubscribeURLFilterExp(t *testing.T) { b, tt := pubnub.createSubscribeURL("14767805072942467", "4") //log.SetOutput(os.Stdout) //log.Printf("b:%s, tt:%s", b, tt) - assert.Contains(b, "/v2/subscribe/demo/ch/0?channel-group=cg&uuid=testuuid&tt=14767805072942467&tr=4&filter-expr=aoi_x%20%3E%3D%200%20AND%20aoi_x%20%3C%3D%202%20AND%20aoi_y%20%3E%3D%200%20AND%20aoi_y%3C%3D%202&pnsdk=PubNub-Go%2F3.15.0") + assert.Contains(b, "/v2/subscribe/demo/ch/0?channel-group=cg&uuid=testuuid&tt=14767805072942467&tr=4&filter-expr=aoi_x%20%3E%3D%200%20AND%20aoi_x%20%3C%3D%202%20AND%20aoi_y%20%3E%3D%200%20AND%20aoi_y%3C%3D%202&pnsdk=PubNub-Go%2F3.16.0") assert.Equal(senttt, tt) } @@ -1228,7 +1228,7 @@ func TestCreatePresenceHeartbeatURL(t *testing.T) { //log.SetOutput(os.Stdout) //log.Printf("b:%s", b) - assert.Equal("/v2/presence/sub_key/demo/channel/ch/heartbeat?channel-group=cg&uuid=testuuid&heartbeat=10&state=%7B%22ch%22%3A%7B%22k%22%3A%22v%22%7D%7D&pnsdk=PubNub-Go%2F3.15.0", b) + assert.Equal("/v2/presence/sub_key/demo/channel/ch/heartbeat?channel-group=cg&uuid=testuuid&heartbeat=10&state=%7B%22ch%22%3A%7B%22k%22%3A%22v%22%7D%7D&pnsdk=PubNub-Go%2F3.16.0", b) presenceHeartbeat = 0 } diff --git a/messaging/subscription.go b/messaging/subscription.go index 021acb6a..17b2f7aa 100644 --- a/messaging/subscription.go +++ b/messaging/subscription.go @@ -336,7 +336,7 @@ func CreateSubscriptionChannels() (chan []byte, chan []byte) { } // CreateSubscriptionChannelsV2 creates channels for subscription -func CreateSubscriptionChannelsV2() (chan PNStatus, +/*func CreateSubscriptionChannelsV2() (chan PNStatus, chan PNMessageResult, chan PNPresenceEventResult) { @@ -345,4 +345,4 @@ func CreateSubscriptionChannelsV2() (chan PNStatus, presenceChannel := make(chan PNPresenceEventResult) return statusChannel, messageChannel, presenceChannel -} +}*/ diff --git a/messaging/tests/fixtures/groups/addRemove_NonSubscribe.yaml b/messaging/tests/fixtures/groups/addRemove_NonSubscribe.yaml index 598d6397..38349ccd 100644 --- a/messaging/tests/fixtures/groups/addRemove_NonSubscribe.yaml +++ b/messaging/tests/fixtures/groups/addRemove_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_AddRemove?add=Channel_AddRemove1%2CChannel_AddRemove2&pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_AddRemove_1 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_AddRemove?add=Channel_AddRemove1%2CChannel_AddRemove2&pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_AddRemove_1 method: GET response: body: '{"status": 200, "message": "OK", "service": "channel-registry", "error": @@ -44,8 +44,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_AddRemove?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_AddRemove_1 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_AddRemove?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_AddRemove_1 method: GET response: body: '{"status": 200, "payload": {"channels": ["Channel_AddRemove1", "Channel_AddRemove2"], @@ -80,8 +80,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_AddRemove?pnsdk=PubNub-Go%2F3.15.0&remove=Channel_AddRemove1&uuid=UUID_AddRemove_2 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_AddRemove?pnsdk=PubNub-Go%2F3.16.0&remove=Channel_AddRemove1&uuid=UUID_AddRemove_2 method: GET response: body: '{"status": 200, "message": "OK", "service": "channel-registry", "error": @@ -116,8 +116,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_AddRemove?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_AddRemove_2 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_AddRemove?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_AddRemove_2 method: GET response: body: '{"status": 200, "payload": {"channels": ["Channel_AddRemove2"], "group": diff --git a/messaging/tests/fixtures/groups/alreadySubscribed_NonSubscribe.yaml b/messaging/tests/fixtures/groups/alreadySubscribed_NonSubscribe.yaml index 8912b281..81190e9c 100644 --- a/messaging/tests/fixtures/groups/alreadySubscribed_NonSubscribe.yaml +++ b/messaging/tests/fixtures/groups/alreadySubscribed_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_AlreadySubscribed?add=adsf&pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_AlreadySubscribed + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_AlreadySubscribed?add=adsf&pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_AlreadySubscribed method: GET response: body: '{"status": 200, "message": "OK", "service": "channel-registry", "error": @@ -44,8 +44,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/,/leave?uuid=UUID_AlreadySubscribed&channel-group=Group_AlreadySubscribed&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/,/leave?uuid=UUID_AlreadySubscribed&channel-group=Group_AlreadySubscribed&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"status": 200, "action": "leave", "message": "OK", "service": "Presence"}' @@ -79,8 +79,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_AlreadySubscribed/remove?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_AlreadySubscribed + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_AlreadySubscribed/remove?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_AlreadySubscribed method: GET response: body: '{"status": 200, "message": "OK", "service": "channel-registry", "error": diff --git a/messaging/tests/fixtures/groups/alreadySubscribed_Subscribe.yaml b/messaging/tests/fixtures/groups/alreadySubscribed_Subscribe.yaml index 6993562b..a5dc1a21 100644 --- a/messaging/tests/fixtures/groups/alreadySubscribed_Subscribe.yaml +++ b/messaging/tests/fixtures/groups/alreadySubscribed_Subscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/,/0?channel-group=Group_AlreadySubscribed&tt=0&uuid=UUID_AlreadySubscribed&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/,/0?channel-group=Group_AlreadySubscribed&tt=0&uuid=UUID_AlreadySubscribed&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '[[],"14588035016872721"]' @@ -37,8 +37,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/,/0?channel-group=Group_AlreadySubscribed&tt=0&uuid=UUID_AlreadySubscribed&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/,/0?channel-group=Group_AlreadySubscribed&tt=0&uuid=UUID_AlreadySubscribed&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '[[],"14588035017179157"]' @@ -60,5 +60,5 @@ interactions: status: 200 OK code: 200 unclosed_requests: - ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/,/0?channel-group=Group_AlreadySubscribed&tt=14588035016872721&uuid=UUID_AlreadySubscribed&pnsdk=PubNub-Go%2F3.15.0 + ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/,/0?channel-group=Group_AlreadySubscribed&tt=14588035016872721&uuid=UUID_AlreadySubscribed&pnsdk=PubNub-Go%2F3.16.0 : {} diff --git a/messaging/tests/fixtures/groups/conAndUnsMultiple_NonSubscribe.yaml b/messaging/tests/fixtures/groups/conAndUnsMultiple_NonSubscribe.yaml index da2e5184..f54cb560 100644 --- a/messaging/tests/fixtures/groups/conAndUnsMultiple_NonSubscribe.yaml +++ b/messaging/tests/fixtures/groups/conAndUnsMultiple_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_ConAndUnsMult_1?add=adsf&pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_Multiple_CAU + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_ConAndUnsMult_1?add=adsf&pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_Multiple_CAU method: GET response: body: '{"status": 200, "message": "OK", "service": "channel-registry", "error": @@ -44,8 +44,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_ConAndUnsMult_2?add=adsf&pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_Multiple_CAU + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_ConAndUnsMult_2?add=adsf&pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_Multiple_CAU method: GET response: body: '{"status": 200, "message": "OK", "service": "channel-registry", "error": @@ -80,8 +80,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_ConAndUnsMult_3?add=adsf&pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_Multiple_CAU + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_ConAndUnsMult_3?add=adsf&pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_Multiple_CAU method: GET response: body: '{"status": 200, "message": "OK", "service": "channel-registry", "error": @@ -116,8 +116,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/,/leave?uuid=UUID_Multiple_CAU&channel-group=Group_ConAndUnsMult_1,Group_ConAndUnsMult_2,Group_ConAndUnsMult_3&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/,/leave?uuid=UUID_Multiple_CAU&channel-group=Group_ConAndUnsMult_1,Group_ConAndUnsMult_2,Group_ConAndUnsMult_3&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"status": 200, "action": "leave", "message": "OK", "service": "Presence"}' @@ -151,8 +151,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_ConAndUnsMult_1/remove?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_Multiple_CAU + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_ConAndUnsMult_1/remove?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_Multiple_CAU method: GET response: body: '{"status": 200, "message": "OK", "service": "channel-registry", "error": @@ -187,8 +187,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_ConAndUnsMult_2/remove?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_Multiple_CAU + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_ConAndUnsMult_2/remove?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_Multiple_CAU method: GET response: body: '{"status": 200, "message": "OK", "service": "channel-registry", "error": @@ -223,8 +223,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_ConAndUnsMult_3/remove?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_Multiple_CAU + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_ConAndUnsMult_3/remove?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_Multiple_CAU method: GET response: body: '{"status": 200, "message": "OK", "service": "channel-registry", "error": diff --git a/messaging/tests/fixtures/groups/conAndUnsMultiple_Subscribe.yaml b/messaging/tests/fixtures/groups/conAndUnsMultiple_Subscribe.yaml index 31ea553b..4d8bdd2e 100644 --- a/messaging/tests/fixtures/groups/conAndUnsMultiple_Subscribe.yaml +++ b/messaging/tests/fixtures/groups/conAndUnsMultiple_Subscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/,/0?channel-group=Group_ConAndUnsMult_1,Group_ConAndUnsMult_2,Group_ConAndUnsMult_3&tt=0&uuid=UUID_Multiple_CAU&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/,/0?channel-group=Group_ConAndUnsMult_1,Group_ConAndUnsMult_2,Group_ConAndUnsMult_3&tt=0&uuid=UUID_Multiple_CAU&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '[[],"14592519402599982",""]' @@ -31,5 +31,5 @@ interactions: status: 200 OK code: 200 unclosed_requests: - ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/,/0?channel-group=Group_ConAndUnsMult_1,Group_ConAndUnsMult_2,Group_ConAndUnsMult_3&tt=14592519402599982&uuid=UUID_Multiple_CAU&pnsdk=PubNub-Go%2F3.15.0 + ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/,/0?channel-group=Group_ConAndUnsMult_1,Group_ConAndUnsMult_2,Group_ConAndUnsMult_3&tt=14592519402599982&uuid=UUID_Multiple_CAU&pnsdk=PubNub-Go%2F3.16.0 : {} diff --git a/messaging/tests/fixtures/groups/conAndUnsSingle_NonSubscribe.yaml b/messaging/tests/fixtures/groups/conAndUnsSingle_NonSubscribe.yaml index 7545e0b1..0b747280 100644 --- a/messaging/tests/fixtures/groups/conAndUnsSingle_NonSubscribe.yaml +++ b/messaging/tests/fixtures/groups/conAndUnsSingle_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_GroupSubscriptionConAndUnsSingle?add=adsf&pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_GroupSubscriptionConAndUnsSingle + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_GroupSubscriptionConAndUnsSingle?add=adsf&pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_GroupSubscriptionConAndUnsSingle method: GET response: body: '{"status": 200, "message": "OK", "service": "channel-registry", "error": @@ -44,8 +44,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/,/leave?uuid=UUID_GroupSubscriptionConAndUnsSingle&channel-group=Group_GroupSubscriptionConAndUnsSingle&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/,/leave?uuid=UUID_GroupSubscriptionConAndUnsSingle&channel-group=Group_GroupSubscriptionConAndUnsSingle&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"status": 200, "action": "leave", "message": "OK", "service": "Presence"}' @@ -79,8 +79,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_GroupSubscriptionConAndUnsSingle/remove?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_GroupSubscriptionConAndUnsSingle + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_GroupSubscriptionConAndUnsSingle/remove?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_GroupSubscriptionConAndUnsSingle method: GET response: body: '{"status": 200, "message": "OK", "service": "channel-registry", "error": diff --git a/messaging/tests/fixtures/groups/conAndUnsSingle_Subscribe.yaml b/messaging/tests/fixtures/groups/conAndUnsSingle_Subscribe.yaml index 4be27880..5cded847 100644 --- a/messaging/tests/fixtures/groups/conAndUnsSingle_Subscribe.yaml +++ b/messaging/tests/fixtures/groups/conAndUnsSingle_Subscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/,/0?channel-group=Group_GroupSubscriptionConAndUnsSingle&tt=0&uuid=UUID_GroupSubscriptionConAndUnsSingle&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/,/0?channel-group=Group_GroupSubscriptionConAndUnsSingle&tt=0&uuid=UUID_GroupSubscriptionConAndUnsSingle&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '[[],"14588034967961806"]' @@ -31,5 +31,5 @@ interactions: status: 200 OK code: 200 unclosed_requests: - ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/,/0?channel-group=Group_GroupSubscriptionConAndUnsSingle&tt=14588034967961806&uuid=UUID_GroupSubscriptionConAndUnsSingle&pnsdk=PubNub-Go%2F3.15.0 + ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/,/0?channel-group=Group_GroupSubscriptionConAndUnsSingle&tt=14588034967961806&uuid=UUID_GroupSubscriptionConAndUnsSingle&pnsdk=PubNub-Go%2F3.16.0 : {} diff --git a/messaging/tests/fixtures/groups/notExistingCG_NonSubscribe.yaml b/messaging/tests/fixtures/groups/notExistingCG_NonSubscribe.yaml index 79fcb05b..cc9534ff 100644 --- a/messaging/tests/fixtures/groups/notExistingCG_NonSubscribe.yaml +++ b/messaging/tests/fixtures/groups/notExistingCG_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_NotExistingCG/remove?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_NotExistingCG + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_NotExistingCG/remove?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_NotExistingCG method: GET response: body: '{"status": 200, "message": "OK", "service": "channel-registry", "error": @@ -44,8 +44,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/,/leave?uuid=UUID_NotExistingCG&channel-group=Group_NotExistingCG&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/,/leave?uuid=UUID_NotExistingCG&channel-group=Group_NotExistingCG&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"status": 200, "action": "leave", "message": "OK", "service": "Presence"}' diff --git a/messaging/tests/fixtures/groups/notExistingCG_Subscribe.yaml b/messaging/tests/fixtures/groups/notExistingCG_Subscribe.yaml index 75ae697d..fd360a39 100644 --- a/messaging/tests/fixtures/groups/notExistingCG_Subscribe.yaml +++ b/messaging/tests/fixtures/groups/notExistingCG_Subscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/,/0?channel-group=Group_NotExistingCG&uuid=UUID_NotExistingCG&tt=0&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/,/0?channel-group=Group_NotExistingCG&uuid=UUID_NotExistingCG&tt=0&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"status":400,"service":"PubSub","error":true,"message":"Channel group diff --git a/messaging/tests/fixtures/groups/notSubscribed_NonSubscribe.yaml b/messaging/tests/fixtures/groups/notSubscribed_NonSubscribe.yaml index 73e36143..be097442 100644 --- a/messaging/tests/fixtures/groups/notSubscribed_NonSubscribe.yaml +++ b/messaging/tests/fixtures/groups/notSubscribed_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_NotSubscribed?add=adsf&pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_NotSubscribed + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_NotSubscribed?add=adsf&pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_NotSubscribed method: GET response: body: '{"status": 200, "message": "OK", "service": "channel-registry", "error": @@ -44,8 +44,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_NotSubscribed/remove?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_NotSubscribed + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_NotSubscribed/remove?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_NotSubscribed method: GET response: body: '{"status": 200, "message": "OK", "service": "channel-registry", "error": diff --git a/messaging/tests/fixtures/groups/receiveSingleMessage_NonSubscribe.yaml b/messaging/tests/fixtures/groups/receiveSingleMessage_NonSubscribe.yaml index a51d56a8..1be8d7f3 100644 --- a/messaging/tests/fixtures/groups/receiveSingleMessage_NonSubscribe.yaml +++ b/messaging/tests/fixtures/groups/receiveSingleMessage_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_GroupReceiveSingleMessage?add=Channel_GroupReceiveSingleMessage&pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_GroupReceiveSingleMessage + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_GroupReceiveSingleMessage?add=Channel_GroupReceiveSingleMessage&pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_GroupReceiveSingleMessage method: GET response: body: '{"status": 200, "message": "OK", "service": "channel-registry", "error": @@ -44,8 +44,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_GroupReceiveSingleMessage/0/%22hey%22?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_GroupReceiveSingleMessage&seqn=1 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_GroupReceiveSingleMessage/0/%22hey%22?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_GroupReceiveSingleMessage&seqn=1 method: GET response: body: '[1,"Sent","14588034994296823"]' @@ -73,8 +73,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/,/leave?uuid=UUID_GroupReceiveSingleMessage&channel-group=Group_GroupReceiveSingleMessage&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/,/leave?uuid=UUID_GroupReceiveSingleMessage&channel-group=Group_GroupReceiveSingleMessage&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"status": 200, "action": "leave", "message": "OK", "service": "Presence"}' @@ -108,8 +108,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_GroupReceiveSingleMessage/remove?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_GroupReceiveSingleMessage + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Group_GroupReceiveSingleMessage/remove?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_GroupReceiveSingleMessage method: GET response: body: '{"status": 200, "message": "OK", "service": "channel-registry", "error": diff --git a/messaging/tests/fixtures/groups/receiveSingleMessage_Subscribe.yaml b/messaging/tests/fixtures/groups/receiveSingleMessage_Subscribe.yaml index dedbe612..2f50673e 100644 --- a/messaging/tests/fixtures/groups/receiveSingleMessage_Subscribe.yaml +++ b/messaging/tests/fixtures/groups/receiveSingleMessage_Subscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/,/0?channel-group=Group_GroupReceiveSingleMessage&tt=0&uuid=UUID_GroupReceiveSingleMessage&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/,/0?channel-group=Group_GroupReceiveSingleMessage&tt=0&uuid=UUID_GroupReceiveSingleMessage&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"t":{"t":"14588028428566008","r":4},"m":[]}' @@ -37,8 +37,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/,/0?channel-group=Group_GroupReceiveSingleMessage&uuid=UUID_GroupReceiveSingleMessage&tt=14588028428566008&tr=4&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/,/0?channel-group=Group_GroupReceiveSingleMessage&uuid=UUID_GroupReceiveSingleMessage&tt=14588028428566008&tr=4&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"t":{"t":"14588034994295336","r":4},"m":[{"a":"1","f":0,"i":"UUID_SubscriptionConnectedForSimpleWithCipher","s":1,"p":{"t":"14593254434932405","r":4},"k":"sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f","c":"Channel_GroupReceiveSingleMessage","b":"Group_GroupReceiveSingleMessage","d":"hey"}]}' @@ -60,5 +60,5 @@ interactions: status: 200 OK code: 200 unclosed_requests: - ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/,/0?channel-group=Group_GroupReceiveSingleMessage&tt=14588034994295336&tr=4&uuid=UUID_GroupReceiveSingleMessage&pnsdk=PubNub-Go%2F3.15.0 + ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/,/0?channel-group=Group_GroupReceiveSingleMessage&tt=14588034994295336&tr=4&uuid=UUID_GroupReceiveSingleMessage&pnsdk=PubNub-Go%2F3.16.0 : {} diff --git a/messaging/tests/fixtures/history/historyFor10EncryptedMessages_NonSubscribe.yaml b/messaging/tests/fixtures/history/historyFor10EncryptedMessages_NonSubscribe.yaml index 8cc899ae..17933edf 100644 --- a/messaging/tests/fixtures/history/historyFor10EncryptedMessages_NonSubscribe.yaml +++ b/messaging/tests/fixtures/history/historyFor10EncryptedMessages_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyFor10EncryptedMessages/0/%22XggLXEc7XxPftPda7MAeYbIeTF6QrmMKA1zz/+PKMGo=%22?pnsdk=PubNub-Go%2F3.15.0&uuid=aabe6be9402dd13b805e47103d9baa0e&seqn=1 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyFor10EncryptedMessages/0/%22XggLXEc7XxPftPda7MAeYbIeTF6QrmMKA1zz/+PKMGo=%22?pnsdk=PubNub-Go%2F3.16.0&uuid=aabe6be9402dd13b805e47103d9baa0e&seqn=1 method: GET response: body: '[1,"Sent","14610686529002182"]' @@ -37,8 +37,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyFor10EncryptedMessages/0/%22mAw0tx7L5zEWKIYnvb0FJB08/k38qK2rnD82fN2yy4E=%22?pnsdk=PubNub-Go%2F3.15.0&uuid=aabe6be9402dd13b805e47103d9baa0e&seqn=2 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyFor10EncryptedMessages/0/%22mAw0tx7L5zEWKIYnvb0FJB08/k38qK2rnD82fN2yy4E=%22?pnsdk=PubNub-Go%2F3.16.0&uuid=aabe6be9402dd13b805e47103d9baa0e&seqn=2 method: GET response: body: '[1,"Sent","14610686529220636"]' @@ -66,8 +66,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyFor10EncryptedMessages/0/%22SSWpsb6UwtDt+bwR2RxwNq++q7In4Fv3P+BryUgre3I=%22?pnsdk=PubNub-Go%2F3.15.0&uuid=aabe6be9402dd13b805e47103d9baa0e&seqn=3 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyFor10EncryptedMessages/0/%22SSWpsb6UwtDt+bwR2RxwNq++q7In4Fv3P+BryUgre3I=%22?pnsdk=PubNub-Go%2F3.16.0&uuid=aabe6be9402dd13b805e47103d9baa0e&seqn=3 method: GET response: body: '[1,"Sent","14610686529438761"]' @@ -95,8 +95,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyFor10EncryptedMessages/0/%22ciDFGdEkWXpZhMeSrBEbP3bEfFaZM+6Dsq90VUGA6+I=%22?pnsdk=PubNub-Go%2F3.15.0&uuid=aabe6be9402dd13b805e47103d9baa0e&seqn=4 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyFor10EncryptedMessages/0/%22ciDFGdEkWXpZhMeSrBEbP3bEfFaZM+6Dsq90VUGA6+I=%22?pnsdk=PubNub-Go%2F3.16.0&uuid=aabe6be9402dd13b805e47103d9baa0e&seqn=4 method: GET response: body: '[1,"Sent","14610686529658963"]' @@ -124,8 +124,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyFor10EncryptedMessages/0/%22KY2sTN89UKR6JJB+GdNZqiLzU8JC0acN8ExV3ZwUiJ4=%22?pnsdk=PubNub-Go%2F3.15.0&uuid=aabe6be9402dd13b805e47103d9baa0e&seqn=5 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyFor10EncryptedMessages/0/%22KY2sTN89UKR6JJB+GdNZqiLzU8JC0acN8ExV3ZwUiJ4=%22?pnsdk=PubNub-Go%2F3.16.0&uuid=aabe6be9402dd13b805e47103d9baa0e&seqn=5 method: GET response: body: '[1,"Sent","14610686529875057"]' @@ -153,8 +153,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyFor10EncryptedMessages/0/%22h5Uhyc8uf3h11w5C68QsVenCf7Llvdq5XWLa1RSgdfU=%22?pnsdk=PubNub-Go%2F3.15.0&uuid=aabe6be9402dd13b805e47103d9baa0e&seqn=6 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyFor10EncryptedMessages/0/%22h5Uhyc8uf3h11w5C68QsVenCf7Llvdq5XWLa1RSgdfU=%22?pnsdk=PubNub-Go%2F3.16.0&uuid=aabe6be9402dd13b805e47103d9baa0e&seqn=6 method: GET response: body: '[1,"Sent","14610686530090303"]' @@ -182,8 +182,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyFor10EncryptedMessages/0/%22AA9MBpymUzq/bfLCtIKFB+J6L+s3UGm6xPGh9kuXsoQ=%22?pnsdk=PubNub-Go%2F3.15.0&uuid=aabe6be9402dd13b805e47103d9baa0e&seqn=7 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyFor10EncryptedMessages/0/%22AA9MBpymUzq/bfLCtIKFB+J6L+s3UGm6xPGh9kuXsoQ=%22?pnsdk=PubNub-Go%2F3.16.0&uuid=aabe6be9402dd13b805e47103d9baa0e&seqn=7 method: GET response: body: '[1,"Sent","14610686530309259"]' @@ -211,8 +211,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyFor10EncryptedMessages/0/%22SfGYYp58jU2FGBNNsRk0kZ8KWRjZ6OsG3OxSySd7FF0=%22?pnsdk=PubNub-Go%2F3.15.0&uuid=aabe6be9402dd13b805e47103d9baa0e&seqn=8 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyFor10EncryptedMessages/0/%22SfGYYp58jU2FGBNNsRk0kZ8KWRjZ6OsG3OxSySd7FF0=%22?pnsdk=PubNub-Go%2F3.16.0&uuid=aabe6be9402dd13b805e47103d9baa0e&seqn=8 method: GET response: body: '[1,"Sent","14610686530526644"]' @@ -240,8 +240,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyFor10EncryptedMessages/0/%22ek+lrKjHCJPp5wYpxWlZcg806w/SWU5dzNYmjqDVb6o=%22?pnsdk=PubNub-Go%2F3.15.0&uuid=aabe6be9402dd13b805e47103d9baa0e&seqn=9 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyFor10EncryptedMessages/0/%22ek+lrKjHCJPp5wYpxWlZcg806w/SWU5dzNYmjqDVb6o=%22?pnsdk=PubNub-Go%2F3.16.0&uuid=aabe6be9402dd13b805e47103d9baa0e&seqn=9 method: GET response: body: '[1,"Sent","14610686530745567"]' @@ -269,8 +269,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyFor10EncryptedMessages/0/%22HrIrwvdGrm3/TM4kCf0EGl5SzcD+JqOXesWtzzc8+UA=%22?pnsdk=PubNub-Go%2F3.15.0&uuid=aabe6be9402dd13b805e47103d9baa0e&seqn=10 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyFor10EncryptedMessages/0/%22HrIrwvdGrm3/TM4kCf0EGl5SzcD+JqOXesWtzzc8+UA=%22?pnsdk=PubNub-Go%2F3.16.0&uuid=aabe6be9402dd13b805e47103d9baa0e&seqn=10 method: GET response: body: '[1,"Sent","14610686530964823"]' @@ -298,8 +298,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/history/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/historyFor10EncryptedMessages?count=10&reverse=false&include_token=false&pnsdk=PubNub-Go%2F3.15.0&uuid=aabe6be9402dd13b805e47103d9baa0e + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/history/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/historyFor10EncryptedMessages?count=10&reverse=false&include_token=false&pnsdk=PubNub-Go%2F3.16.0&uuid=aabe6be9402dd13b805e47103d9baa0e method: GET response: body: '[["XggLXEc7XxPftPda7MAeYbIeTF6QrmMKA1zz/+PKMGo=","mAw0tx7L5zEWKIYnvb0FJB08/k38qK2rnD82fN2yy4E=","SSWpsb6UwtDt+bwR2RxwNq++q7In4Fv3P+BryUgre3I=","ciDFGdEkWXpZhMeSrBEbP3bEfFaZM+6Dsq90VUGA6+I=","KY2sTN89UKR6JJB+GdNZqiLzU8JC0acN8ExV3ZwUiJ4=","h5Uhyc8uf3h11w5C68QsVenCf7Llvdq5XWLa1RSgdfU=","AA9MBpymUzq/bfLCtIKFB+J6L+s3UGm6xPGh9kuXsoQ=","SfGYYp58jU2FGBNNsRk0kZ8KWRjZ6OsG3OxSySd7FF0=","ek+lrKjHCJPp5wYpxWlZcg806w/SWU5dzNYmjqDVb6o=","HrIrwvdGrm3/TM4kCf0EGl5SzcD+JqOXesWtzzc8+UA="],14610686529002182,14610686530964823]' diff --git a/messaging/tests/fixtures/history/historyFor10Messages_NonSubscribe.yaml b/messaging/tests/fixtures/history/historyFor10Messages_NonSubscribe.yaml index df2e509b..353cab0c 100644 --- a/messaging/tests/fixtures/history/historyFor10Messages_NonSubscribe.yaml +++ b/messaging/tests/fixtures/history/historyFor10Messages_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyFor10Messages/0/%22Test%20Message%200%22?pnsdk=PubNub-Go%2F3.15.0&uuid=ed37aad040cc602280dc702b7693ae48&seqn=1 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyFor10Messages/0/%22Test%20Message%200%22?pnsdk=PubNub-Go%2F3.16.0&uuid=ed37aad040cc602280dc702b7693ae48&seqn=1 method: GET response: body: '[1,"Sent","14610686496145768"]' @@ -37,8 +37,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyFor10Messages/0/%22Test%20Message%201%22?pnsdk=PubNub-Go%2F3.15.0&uuid=ed37aad040cc602280dc702b7693ae48&seqn=2 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyFor10Messages/0/%22Test%20Message%201%22?pnsdk=PubNub-Go%2F3.16.0&uuid=ed37aad040cc602280dc702b7693ae48&seqn=2 method: GET response: body: '[1,"Sent","14610686496359615"]' @@ -66,8 +66,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyFor10Messages/0/%22Test%20Message%202%22?pnsdk=PubNub-Go%2F3.15.0&uuid=ed37aad040cc602280dc702b7693ae48&seqn=3 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyFor10Messages/0/%22Test%20Message%202%22?pnsdk=PubNub-Go%2F3.16.0&uuid=ed37aad040cc602280dc702b7693ae48&seqn=3 method: GET response: body: '[1,"Sent","14610686496577545"]' @@ -95,8 +95,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyFor10Messages/0/%22Test%20Message%203%22?pnsdk=PubNub-Go%2F3.15.0&uuid=ed37aad040cc602280dc702b7693ae48&seqn=4 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyFor10Messages/0/%22Test%20Message%203%22?pnsdk=PubNub-Go%2F3.16.0&uuid=ed37aad040cc602280dc702b7693ae48&seqn=4 method: GET response: body: '[1,"Sent","14610686496820894"]' @@ -124,8 +124,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyFor10Messages/0/%22Test%20Message%204%22?pnsdk=PubNub-Go%2F3.15.0&uuid=ed37aad040cc602280dc702b7693ae48&seqn=5 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyFor10Messages/0/%22Test%20Message%204%22?pnsdk=PubNub-Go%2F3.16.0&uuid=ed37aad040cc602280dc702b7693ae48&seqn=5 method: GET response: body: '[1,"Sent","14610686497039988"]' @@ -153,8 +153,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyFor10Messages/0/%22Test%20Message%205%22?pnsdk=PubNub-Go%2F3.15.0&uuid=ed37aad040cc602280dc702b7693ae48&seqn=6 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyFor10Messages/0/%22Test%20Message%205%22?pnsdk=PubNub-Go%2F3.16.0&uuid=ed37aad040cc602280dc702b7693ae48&seqn=6 method: GET response: body: '[1,"Sent","14610686497257789"]' @@ -182,8 +182,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyFor10Messages/0/%22Test%20Message%206%22?pnsdk=PubNub-Go%2F3.15.0&uuid=ed37aad040cc602280dc702b7693ae48&seqn=7 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyFor10Messages/0/%22Test%20Message%206%22?pnsdk=PubNub-Go%2F3.16.0&uuid=ed37aad040cc602280dc702b7693ae48&seqn=7 method: GET response: body: '[1,"Sent","14610686497480307"]' @@ -211,8 +211,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyFor10Messages/0/%22Test%20Message%207%22?pnsdk=PubNub-Go%2F3.15.0&uuid=ed37aad040cc602280dc702b7693ae48&seqn=8 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyFor10Messages/0/%22Test%20Message%207%22?pnsdk=PubNub-Go%2F3.16.0&uuid=ed37aad040cc602280dc702b7693ae48&seqn=8 method: GET response: body: '[1,"Sent","14610686497708413"]' @@ -240,8 +240,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyFor10Messages/0/%22Test%20Message%208%22?pnsdk=PubNub-Go%2F3.15.0&uuid=ed37aad040cc602280dc702b7693ae48&seqn=9 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyFor10Messages/0/%22Test%20Message%208%22?pnsdk=PubNub-Go%2F3.16.0&uuid=ed37aad040cc602280dc702b7693ae48&seqn=9 method: GET response: body: '[1,"Sent","14610686497924679"]' @@ -269,8 +269,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyFor10Messages/0/%22Test%20Message%209%22?pnsdk=PubNub-Go%2F3.15.0&uuid=ed37aad040cc602280dc702b7693ae48&seqn=10 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyFor10Messages/0/%22Test%20Message%209%22?pnsdk=PubNub-Go%2F3.16.0&uuid=ed37aad040cc602280dc702b7693ae48&seqn=10 method: GET response: body: '[1,"Sent","14610686498144536"]' @@ -298,8 +298,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/history/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/historyFor10Messages?count=10&reverse=false&include_token=false&pnsdk=PubNub-Go%2F3.15.0&uuid=ed37aad040cc602280dc702b7693ae48 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/history/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/historyFor10Messages?count=10&reverse=false&include_token=false&pnsdk=PubNub-Go%2F3.16.0&uuid=ed37aad040cc602280dc702b7693ae48 method: GET response: body: '[["Test Message 0","Test Message 1","Test Message 2","Test Message 3","Test diff --git a/messaging/tests/fixtures/history/historyParamsFor10EncryptedMessages_NonSubscribe.yaml b/messaging/tests/fixtures/history/historyParamsFor10EncryptedMessages_NonSubscribe.yaml index 8c9af1c4..f7fcf8a5 100644 --- a/messaging/tests/fixtures/history/historyParamsFor10EncryptedMessages_NonSubscribe.yaml +++ b/messaging/tests/fixtures/history/historyParamsFor10EncryptedMessages_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/time/0?pnsdk=PubNub-Go%2F3.15.0&uuid=timeGetter_start + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/time/0?pnsdk=PubNub-Go%2F3.16.0&uuid=timeGetter_start method: GET response: body: '[14610686725684022]' @@ -37,8 +37,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyParamsFor10EncryptedMessages/0/%22XggLXEc7XxPftPda7MAeYbIeTF6QrmMKA1zz/+PKMGo=%22?pnsdk=PubNub-Go%2F3.15.0&uuid=uuid_historyParamsFor10EncryptedMessages&seqn=1 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyParamsFor10EncryptedMessages/0/%22XggLXEc7XxPftPda7MAeYbIeTF6QrmMKA1zz/+PKMGo=%22?pnsdk=PubNub-Go%2F3.16.0&uuid=uuid_historyParamsFor10EncryptedMessages&seqn=1 method: GET response: body: '[1,"Sent","14610686725740916"]' @@ -66,8 +66,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyParamsFor10EncryptedMessages/0/%22mAw0tx7L5zEWKIYnvb0FJB08/k38qK2rnD82fN2yy4E=%22?pnsdk=PubNub-Go%2F3.15.0&uuid=uuid_historyParamsFor10EncryptedMessages&seqn=2 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyParamsFor10EncryptedMessages/0/%22mAw0tx7L5zEWKIYnvb0FJB08/k38qK2rnD82fN2yy4E=%22?pnsdk=PubNub-Go%2F3.16.0&uuid=uuid_historyParamsFor10EncryptedMessages&seqn=2 method: GET response: body: '[1,"Sent","14610686725959587"]' @@ -95,8 +95,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyParamsFor10EncryptedMessages/0/%22SSWpsb6UwtDt+bwR2RxwNq++q7In4Fv3P+BryUgre3I=%22?pnsdk=PubNub-Go%2F3.15.0&uuid=uuid_historyParamsFor10EncryptedMessages&seqn=3 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyParamsFor10EncryptedMessages/0/%22SSWpsb6UwtDt+bwR2RxwNq++q7In4Fv3P+BryUgre3I=%22?pnsdk=PubNub-Go%2F3.16.0&uuid=uuid_historyParamsFor10EncryptedMessages&seqn=3 method: GET response: body: '[1,"Sent","14610686726177522"]' @@ -124,8 +124,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyParamsFor10EncryptedMessages/0/%22ciDFGdEkWXpZhMeSrBEbP3bEfFaZM+6Dsq90VUGA6+I=%22?pnsdk=PubNub-Go%2F3.15.0&uuid=uuid_historyParamsFor10EncryptedMessages&seqn=4 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyParamsFor10EncryptedMessages/0/%22ciDFGdEkWXpZhMeSrBEbP3bEfFaZM+6Dsq90VUGA6+I=%22?pnsdk=PubNub-Go%2F3.16.0&uuid=uuid_historyParamsFor10EncryptedMessages&seqn=4 method: GET response: body: '[1,"Sent","14610686726390662"]' @@ -153,8 +153,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyParamsFor10EncryptedMessages/0/%22KY2sTN89UKR6JJB+GdNZqiLzU8JC0acN8ExV3ZwUiJ4=%22?pnsdk=PubNub-Go%2F3.15.0&uuid=uuid_historyParamsFor10EncryptedMessages&seqn=5 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyParamsFor10EncryptedMessages/0/%22KY2sTN89UKR6JJB+GdNZqiLzU8JC0acN8ExV3ZwUiJ4=%22?pnsdk=PubNub-Go%2F3.16.0&uuid=uuid_historyParamsFor10EncryptedMessages&seqn=5 method: GET response: body: '[1,"Sent","14610686726607632"]' @@ -182,8 +182,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/time/0?pnsdk=PubNub-Go%2F3.15.0&uuid=timeGetter_mid + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/time/0?pnsdk=PubNub-Go%2F3.16.0&uuid=timeGetter_mid method: GET response: body: '[14610686757022368]' @@ -211,8 +211,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyParamsFor10EncryptedMessages/0/%22h5Uhyc8uf3h11w5C68QsVenCf7Llvdq5XWLa1RSgdfU=%22?pnsdk=PubNub-Go%2F3.15.0&uuid=uuid_historyParamsFor10EncryptedMessages&seqn=6 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyParamsFor10EncryptedMessages/0/%22h5Uhyc8uf3h11w5C68QsVenCf7Llvdq5XWLa1RSgdfU=%22?pnsdk=PubNub-Go%2F3.16.0&uuid=uuid_historyParamsFor10EncryptedMessages&seqn=6 method: GET response: body: '[1,"Sent","14610686757083461"]' @@ -240,8 +240,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyParamsFor10EncryptedMessages/0/%22AA9MBpymUzq/bfLCtIKFB+J6L+s3UGm6xPGh9kuXsoQ=%22?pnsdk=PubNub-Go%2F3.15.0&uuid=uuid_historyParamsFor10EncryptedMessages&seqn=7 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyParamsFor10EncryptedMessages/0/%22AA9MBpymUzq/bfLCtIKFB+J6L+s3UGm6xPGh9kuXsoQ=%22?pnsdk=PubNub-Go%2F3.16.0&uuid=uuid_historyParamsFor10EncryptedMessages&seqn=7 method: GET response: body: '[1,"Sent","14610686757299827"]' @@ -269,8 +269,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyParamsFor10EncryptedMessages/0/%22SfGYYp58jU2FGBNNsRk0kZ8KWRjZ6OsG3OxSySd7FF0=%22?pnsdk=PubNub-Go%2F3.15.0&uuid=uuid_historyParamsFor10EncryptedMessages&seqn=8 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyParamsFor10EncryptedMessages/0/%22SfGYYp58jU2FGBNNsRk0kZ8KWRjZ6OsG3OxSySd7FF0=%22?pnsdk=PubNub-Go%2F3.16.0&uuid=uuid_historyParamsFor10EncryptedMessages&seqn=8 method: GET response: body: '[1,"Sent","14610686757512593"]' @@ -298,8 +298,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyParamsFor10EncryptedMessages/0/%22ek+lrKjHCJPp5wYpxWlZcg806w/SWU5dzNYmjqDVb6o=%22?pnsdk=PubNub-Go%2F3.15.0&uuid=uuid_historyParamsFor10EncryptedMessages&seqn=9 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyParamsFor10EncryptedMessages/0/%22ek+lrKjHCJPp5wYpxWlZcg806w/SWU5dzNYmjqDVb6o=%22?pnsdk=PubNub-Go%2F3.16.0&uuid=uuid_historyParamsFor10EncryptedMessages&seqn=9 method: GET response: body: '[1,"Sent","14610686757723807"]' @@ -327,8 +327,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyParamsFor10EncryptedMessages/0/%22HrIrwvdGrm3/TM4kCf0EGl5SzcD+JqOXesWtzzc8+UA=%22?pnsdk=PubNub-Go%2F3.15.0&uuid=uuid_historyParamsFor10EncryptedMessages&seqn=10 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyParamsFor10EncryptedMessages/0/%22HrIrwvdGrm3/TM4kCf0EGl5SzcD+JqOXesWtzzc8+UA=%22?pnsdk=PubNub-Go%2F3.16.0&uuid=uuid_historyParamsFor10EncryptedMessages&seqn=10 method: GET response: body: '[1,"Sent","14610686757935083"]' @@ -356,8 +356,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/time/0?pnsdk=PubNub-Go%2F3.15.0&uuid=timeGetter_end + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/time/0?pnsdk=PubNub-Go%2F3.16.0&uuid=timeGetter_end method: GET response: body: '[14610686788315970]' @@ -385,8 +385,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/history/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/historyParamsFor10EncryptedMessages?count=5&reverse=false&start=14610686725684022&end=14610686757022368&include_token=false&pnsdk=PubNub-Go%2F3.15.0&uuid=uuid_historyParamsFor10EncryptedMessages + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/history/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/historyParamsFor10EncryptedMessages?count=5&reverse=false&start=14610686725684022&end=14610686757022368&include_token=false&pnsdk=PubNub-Go%2F3.16.0&uuid=uuid_historyParamsFor10EncryptedMessages method: GET response: body: '[["XggLXEc7XxPftPda7MAeYbIeTF6QrmMKA1zz/+PKMGo=","mAw0tx7L5zEWKIYnvb0FJB08/k38qK2rnD82fN2yy4E=","SSWpsb6UwtDt+bwR2RxwNq++q7In4Fv3P+BryUgre3I=","ciDFGdEkWXpZhMeSrBEbP3bEfFaZM+6Dsq90VUGA6+I=","KY2sTN89UKR6JJB+GdNZqiLzU8JC0acN8ExV3ZwUiJ4="],14610686725740916,14610686726607632]' @@ -420,8 +420,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/history/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/historyParamsFor10EncryptedMessages?count=5&reverse=false&start=14610686757022368&end=14610686788315970&include_token=false&pnsdk=PubNub-Go%2F3.15.0&uuid=uuid_historyParamsFor10EncryptedMessages + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/history/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/historyParamsFor10EncryptedMessages?count=5&reverse=false&start=14610686757022368&end=14610686788315970&include_token=false&pnsdk=PubNub-Go%2F3.16.0&uuid=uuid_historyParamsFor10EncryptedMessages method: GET response: body: '[["h5Uhyc8uf3h11w5C68QsVenCf7Llvdq5XWLa1RSgdfU=","AA9MBpymUzq/bfLCtIKFB+J6L+s3UGm6xPGh9kuXsoQ=","SfGYYp58jU2FGBNNsRk0kZ8KWRjZ6OsG3OxSySd7FF0=","ek+lrKjHCJPp5wYpxWlZcg806w/SWU5dzNYmjqDVb6o=","HrIrwvdGrm3/TM4kCf0EGl5SzcD+JqOXesWtzzc8+UA="],14610686757083461,14610686757935083]' diff --git a/messaging/tests/fixtures/history/historyParamsFor10Messages_NonSubscribe.yaml b/messaging/tests/fixtures/history/historyParamsFor10Messages_NonSubscribe.yaml index 8a3a8c09..10e6b4ad 100644 --- a/messaging/tests/fixtures/history/historyParamsFor10Messages_NonSubscribe.yaml +++ b/messaging/tests/fixtures/history/historyParamsFor10Messages_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/time/0?pnsdk=PubNub-Go%2F3.15.0&uuid=timeGetter_start + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/time/0?pnsdk=PubNub-Go%2F3.16.0&uuid=timeGetter_start method: GET response: body: '[14610686611848931]' @@ -37,8 +37,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyParamsFor10Messages/0/%22Test%20Message%200%22?pnsdk=PubNub-Go%2F3.15.0&uuid=uuid_historyParamsFor10Messages&seqn=1 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyParamsFor10Messages/0/%22Test%20Message%200%22?pnsdk=PubNub-Go%2F3.16.0&uuid=uuid_historyParamsFor10Messages&seqn=1 method: GET response: body: '[1,"Sent","14610686611901609"]' @@ -66,8 +66,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyParamsFor10Messages/0/%22Test%20Message%201%22?pnsdk=PubNub-Go%2F3.15.0&uuid=uuid_historyParamsFor10Messages&seqn=2 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyParamsFor10Messages/0/%22Test%20Message%201%22?pnsdk=PubNub-Go%2F3.16.0&uuid=uuid_historyParamsFor10Messages&seqn=2 method: GET response: body: '[1,"Sent","14610686612122668"]' @@ -95,8 +95,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyParamsFor10Messages/0/%22Test%20Message%202%22?pnsdk=PubNub-Go%2F3.15.0&uuid=uuid_historyParamsFor10Messages&seqn=3 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyParamsFor10Messages/0/%22Test%20Message%202%22?pnsdk=PubNub-Go%2F3.16.0&uuid=uuid_historyParamsFor10Messages&seqn=3 method: GET response: body: '[1,"Sent","14610686612361210"]' @@ -124,8 +124,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyParamsFor10Messages/0/%22Test%20Message%203%22?pnsdk=PubNub-Go%2F3.15.0&uuid=uuid_historyParamsFor10Messages&seqn=4 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyParamsFor10Messages/0/%22Test%20Message%203%22?pnsdk=PubNub-Go%2F3.16.0&uuid=uuid_historyParamsFor10Messages&seqn=4 method: GET response: body: '[1,"Sent","14610686612581098"]' @@ -153,8 +153,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyParamsFor10Messages/0/%22Test%20Message%204%22?pnsdk=PubNub-Go%2F3.15.0&uuid=uuid_historyParamsFor10Messages&seqn=5 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyParamsFor10Messages/0/%22Test%20Message%204%22?pnsdk=PubNub-Go%2F3.16.0&uuid=uuid_historyParamsFor10Messages&seqn=5 method: GET response: body: '[1,"Sent","14610686612795087"]' @@ -182,8 +182,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/time/0?pnsdk=PubNub-Go%2F3.15.0&uuid=timeGetter_mid + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/time/0?pnsdk=PubNub-Go%2F3.16.0&uuid=timeGetter_mid method: GET response: body: '[14610686643184393]' @@ -211,8 +211,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyParamsFor10Messages/0/%22Test%20Message%205%22?pnsdk=PubNub-Go%2F3.15.0&uuid=uuid_historyParamsFor10Messages&seqn=6 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyParamsFor10Messages/0/%22Test%20Message%205%22?pnsdk=PubNub-Go%2F3.16.0&uuid=uuid_historyParamsFor10Messages&seqn=6 method: GET response: body: '[1,"Sent","14610686643238899"]' @@ -240,8 +240,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyParamsFor10Messages/0/%22Test%20Message%206%22?pnsdk=PubNub-Go%2F3.15.0&uuid=uuid_historyParamsFor10Messages&seqn=7 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyParamsFor10Messages/0/%22Test%20Message%206%22?pnsdk=PubNub-Go%2F3.16.0&uuid=uuid_historyParamsFor10Messages&seqn=7 method: GET response: body: '[1,"Sent","14610686643453273"]' @@ -269,8 +269,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyParamsFor10Messages/0/%22Test%20Message%207%22?pnsdk=PubNub-Go%2F3.15.0&uuid=uuid_historyParamsFor10Messages&seqn=8 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyParamsFor10Messages/0/%22Test%20Message%207%22?pnsdk=PubNub-Go%2F3.16.0&uuid=uuid_historyParamsFor10Messages&seqn=8 method: GET response: body: '[1,"Sent","14610686643664973"]' @@ -298,8 +298,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyParamsFor10Messages/0/%22Test%20Message%208%22?pnsdk=PubNub-Go%2F3.15.0&uuid=uuid_historyParamsFor10Messages&seqn=9 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyParamsFor10Messages/0/%22Test%20Message%208%22?pnsdk=PubNub-Go%2F3.16.0&uuid=uuid_historyParamsFor10Messages&seqn=9 method: GET response: body: '[1,"Sent","14610686643875191"]' @@ -327,8 +327,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyParamsFor10Messages/0/%22Test%20Message%209%22?pnsdk=PubNub-Go%2F3.15.0&uuid=uuid_historyParamsFor10Messages&seqn=10 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/historyParamsFor10Messages/0/%22Test%20Message%209%22?pnsdk=PubNub-Go%2F3.16.0&uuid=uuid_historyParamsFor10Messages&seqn=10 method: GET response: body: '[1,"Sent","14610686644086027"]' @@ -356,8 +356,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/time/0?pnsdk=PubNub-Go%2F3.15.0&uuid=timeGetter_end + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/time/0?pnsdk=PubNub-Go%2F3.16.0&uuid=timeGetter_end method: GET response: body: '[14610686674473994]' @@ -385,8 +385,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/history/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/historyParamsFor10Messages?count=5&reverse=false&start=14610686611848931&end=14610686643184393&include_token=false&pnsdk=PubNub-Go%2F3.15.0&uuid=uuid_historyParamsFor10Messages + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/history/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/historyParamsFor10Messages?count=5&reverse=false&start=14610686611848931&end=14610686643184393&include_token=false&pnsdk=PubNub-Go%2F3.16.0&uuid=uuid_historyParamsFor10Messages method: GET response: body: '[["Test Message 0","Test Message 1","Test Message 2","Test Message 3","Test @@ -421,8 +421,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/history/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/historyParamsFor10Messages?count=5&reverse=false&start=14610686643184393&end=14610686674473994&include_token=false&pnsdk=PubNub-Go%2F3.15.0&uuid=uuid_historyParamsFor10Messages + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/history/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/historyParamsFor10Messages?count=5&reverse=false&start=14610686643184393&end=14610686674473994&include_token=false&pnsdk=PubNub-Go%2F3.16.0&uuid=uuid_historyParamsFor10Messages method: GET response: body: '[["Test Message 5","Test Message 6","Test Message 7","Test Message 8","Test diff --git a/messaging/tests/fixtures/history/withTimetoken_NonSubscribe.yaml b/messaging/tests/fixtures/history/withTimetoken_NonSubscribe.yaml index b6c15093..fd1e9151 100644 --- a/messaging/tests/fixtures/history/withTimetoken_NonSubscribe.yaml +++ b/messaging/tests/fixtures/history/withTimetoken_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_HistoryWithTT/0/%22Test%20TT%20Message%200%22?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_HistoryWithTT&seqn=1 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_HistoryWithTT/0/%22Test%20TT%20Message%200%22?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_HistoryWithTT&seqn=1 method: GET response: body: '[1,"Sent","14615805862249273"]' @@ -37,8 +37,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_HistoryWithTT/0/%22Test%20TT%20Message%201%22?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_HistoryWithTT&seqn=2 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_HistoryWithTT/0/%22Test%20TT%20Message%201%22?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_HistoryWithTT&seqn=2 method: GET response: body: '[1,"Sent","14615805862479911"]' @@ -66,8 +66,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_HistoryWithTT/0/%22Test%20TT%20Message%202%22?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_HistoryWithTT&seqn=3 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_HistoryWithTT/0/%22Test%20TT%20Message%202%22?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_HistoryWithTT&seqn=3 method: GET response: body: '[1,"Sent","14615805862706370"]' @@ -95,8 +95,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_HistoryWithTT/0/%22Test%20TT%20Message%203%22?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_HistoryWithTT&seqn=4 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_HistoryWithTT/0/%22Test%20TT%20Message%203%22?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_HistoryWithTT&seqn=4 method: GET response: body: '[1,"Sent","14615805862937770"]' @@ -124,8 +124,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_HistoryWithTT/0/%22Test%20TT%20Message%204%22?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_HistoryWithTT&seqn=5 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_HistoryWithTT/0/%22Test%20TT%20Message%204%22?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_HistoryWithTT&seqn=5 method: GET response: body: '[1,"Sent","14615805863182787"]' @@ -153,8 +153,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_HistoryWithTT/0/%22Test%20TT%20Message%205%22?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_HistoryWithTT&seqn=6 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_HistoryWithTT/0/%22Test%20TT%20Message%205%22?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_HistoryWithTT&seqn=6 method: GET response: body: '[1,"Sent","14615805863426513"]' @@ -182,8 +182,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_HistoryWithTT/0/%22Test%20TT%20Message%206%22?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_HistoryWithTT&seqn=7 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_HistoryWithTT/0/%22Test%20TT%20Message%206%22?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_HistoryWithTT&seqn=7 method: GET response: body: '[1,"Sent","14615805863682264"]' @@ -211,8 +211,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_HistoryWithTT/0/%22Test%20TT%20Message%207%22?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_HistoryWithTT&seqn=8 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_HistoryWithTT/0/%22Test%20TT%20Message%207%22?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_HistoryWithTT&seqn=8 method: GET response: body: '[1,"Sent","14615805864120535"]' @@ -240,8 +240,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_HistoryWithTT/0/%22Test%20TT%20Message%208%22?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_HistoryWithTT&seqn=9 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_HistoryWithTT/0/%22Test%20TT%20Message%208%22?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_HistoryWithTT&seqn=9 method: GET response: body: '[1,"Sent","14615805864372345"]' @@ -269,8 +269,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_HistoryWithTT/0/%22Test%20TT%20Message%209%22?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_HistoryWithTT&seqn=10 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_HistoryWithTT/0/%22Test%20TT%20Message%209%22?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_HistoryWithTT&seqn=10 method: GET response: body: '[1,"Sent","14615805864620141"]' @@ -298,8 +298,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/history/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_HistoryWithTT?count=10&reverse=false&include_token=true&pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_HistoryWithTT + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/history/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_HistoryWithTT?count=10&reverse=false&include_token=true&pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_HistoryWithTT method: GET response: body: '[[{"message":"Test TT Message 0","timetoken":14615805862249273},{"message":"Test diff --git a/messaging/tests/fixtures/pam/grantAndRevokeChannelLevelSubscribe_NonSubscribe.yaml b/messaging/tests/fixtures/pam/grantAndRevokeChannelLevelSubscribe_NonSubscribe.yaml index ae2d357e..1a7b69c4 100644 --- a/messaging/tests/fixtures/pam/grantAndRevokeChannelLevelSubscribe_NonSubscribe.yaml +++ b/messaging/tests/fixtures/pam/grantAndRevokeChannelLevelSubscribe_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v1/auth/grant/sub-key/sub-c-90c51098-c040-11e5-a316-0619f8945a4f?channel=testChannelGrantAndRevokeChannelLevelSubscribe&pnsdk=PubNub-Go%2F3.15.0&r=1×tamp=1457161961&ttl=8&uuid=2675e92b40231861806fdf340d4b6c45&w=1&signature=Q6iIMsqZ5u_oWfdtP2VbG2V6eQVDaYZ6w6I_XoxQ1fE= + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v1/auth/grant/sub-key/sub-c-90c51098-c040-11e5-a316-0619f8945a4f?channel=testChannelGrantAndRevokeChannelLevelSubscribe&pnsdk=PubNub-Go%2F3.16.0&r=1×tamp=1457161961&ttl=8&uuid=2675e92b40231861806fdf340d4b6c45&w=1&signature=Q6iIMsqZ5u_oWfdtP2VbG2V6eQVDaYZ6w6I_XoxQ1fE= method: GET response: body: '{"message":"Success","payload":{"level":"channel","subscribe_key":"sub-c-90c51098-c040-11e5-a316-0619f8945a4f","ttl":8,"channels":{"testChannelGrantAndRevokeChannelLevelSubscribe":{"r":1,"w":1,"m":0}}},"service":"Access @@ -40,8 +40,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v1/auth/grant/sub-key/sub-c-90c51098-c040-11e5-a316-0619f8945a4f?channel=testChannelGrantAndRevokeChannelLevelSubscribe&pnsdk=PubNub-Go%2F3.15.0&r=0×tamp=1457161967&uuid=2675e92b40231861806fdf340d4b6c45&w=0&signature=3Dp8Bvpo8BSR_i57ckh9hjxjhATFhcVQl4rslYBNxZg= + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v1/auth/grant/sub-key/sub-c-90c51098-c040-11e5-a316-0619f8945a4f?channel=testChannelGrantAndRevokeChannelLevelSubscribe&pnsdk=PubNub-Go%2F3.16.0&r=0×tamp=1457161967&uuid=2675e92b40231861806fdf340d4b6c45&w=0&signature=3Dp8Bvpo8BSR_i57ckh9hjxjhATFhcVQl4rslYBNxZg= method: GET response: body: '{"message":"Success","payload":{"level":"channel","subscribe_key":"sub-c-90c51098-c040-11e5-a316-0619f8945a4f","ttl":1,"channels":{"testChannelGrantAndRevokeChannelLevelSubscribe":{"r":0,"w":0,"m":0}}},"service":"Access diff --git a/messaging/tests/fixtures/pam/grantAndRevokeSubKeyLevelSubscribe_NonSubscribe.yaml b/messaging/tests/fixtures/pam/grantAndRevokeSubKeyLevelSubscribe_NonSubscribe.yaml index d2be3447..e6cd2fd6 100644 --- a/messaging/tests/fixtures/pam/grantAndRevokeSubKeyLevelSubscribe_NonSubscribe.yaml +++ b/messaging/tests/fixtures/pam/grantAndRevokeSubKeyLevelSubscribe_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v1/auth/grant/sub-key/sub-c-90c51098-c040-11e5-a316-0619f8945a4f?pnsdk=PubNub-Go%2F3.15.0&r=1×tamp=1457161956&ttl=4&uuid=3a3053a7407da58980129ac89a598c3f&w=1&signature=GsQFhb1S7SW8uR0VTnHLhnbxHfSiJQ_BpUjCx0UPhzw= + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v1/auth/grant/sub-key/sub-c-90c51098-c040-11e5-a316-0619f8945a4f?pnsdk=PubNub-Go%2F3.16.0&r=1×tamp=1457161956&ttl=4&uuid=3a3053a7407da58980129ac89a598c3f&w=1&signature=GsQFhb1S7SW8uR0VTnHLhnbxHfSiJQ_BpUjCx0UPhzw= method: GET response: body: '{"message":"Success","payload":{"level":"subkey","subscribe_key":"sub-c-90c51098-c040-11e5-a316-0619f8945a4f","ttl":4,"r":1,"w":1,"m":0},"service":"Access @@ -40,8 +40,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v1/auth/grant/sub-key/sub-c-90c51098-c040-11e5-a316-0619f8945a4f?pnsdk=PubNub-Go%2F3.15.0&r=0×tamp=1457161961&uuid=3a3053a7407da58980129ac89a598c3f&w=0&signature=yO1RPSW9PleUmgt7j_ETv3usQCx8TgSphX8hrDGHdKg= + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v1/auth/grant/sub-key/sub-c-90c51098-c040-11e5-a316-0619f8945a4f?pnsdk=PubNub-Go%2F3.16.0&r=0×tamp=1457161961&uuid=3a3053a7407da58980129ac89a598c3f&w=0&signature=yO1RPSW9PleUmgt7j_ETv3usQCx8TgSphX8hrDGHdKg= method: GET response: body: '{"message":"Success","payload":{"level":"subkey","subscribe_key":"sub-c-90c51098-c040-11e5-a316-0619f8945a4f","ttl":1,"r":0,"w":0,"m":0},"service":"Access diff --git a/messaging/tests/fixtures/pam/grantChannelLevelSubscribeWithAuth_NonSubscribe.yaml b/messaging/tests/fixtures/pam/grantChannelLevelSubscribeWithAuth_NonSubscribe.yaml index 706fe206..3ea2de47 100644 --- a/messaging/tests/fixtures/pam/grantChannelLevelSubscribeWithAuth_NonSubscribe.yaml +++ b/messaging/tests/fixtures/pam/grantChannelLevelSubscribeWithAuth_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v1/auth/grant/sub-key/sub-c-90c51098-c040-11e5-a316-0619f8945a4f?auth=myAuthKey&channel=testGrantChannelLevelSubscribeWithAuth&pnsdk=PubNub-Go%2F3.15.0&r=1×tamp=1457161967&ttl=1&uuid=d1093722407c1fd980ba5ed0e9882d91&w=1&signature=eyvk-U21nVGWGfmV_aIpaAHG5UFW9PYDZ4Bts80yGEU= + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v1/auth/grant/sub-key/sub-c-90c51098-c040-11e5-a316-0619f8945a4f?auth=myAuthKey&channel=testGrantChannelLevelSubscribeWithAuth&pnsdk=PubNub-Go%2F3.16.0&r=1×tamp=1457161967&ttl=1&uuid=d1093722407c1fd980ba5ed0e9882d91&w=1&signature=eyvk-U21nVGWGfmV_aIpaAHG5UFW9PYDZ4Bts80yGEU= method: GET response: body: '{"message":"Success","payload":{"level":"user","subscribe_key":"sub-c-90c51098-c040-11e5-a316-0619f8945a4f","ttl":1,"channel":"testGrantChannelLevelSubscribeWithAuth","auths":{"myAuthKey":{"r":1,"w":1,"m":0}}},"service":"Access diff --git a/messaging/tests/fixtures/presence/customUuid_NonSubscribe.yaml b/messaging/tests/fixtures/presence/customUuid_NonSubscribe.yaml index 40527b8a..b1d44a0a 100644 --- a/messaging/tests/fixtures/presence/customUuid_NonSubscribe.yaml +++ b/messaging/tests/fixtures/presence/customUuid_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/customUuid?disable_uuids=0&state=1&pnsdk=PubNub-Go%2F3.15.0&uuid=customuuid + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/customUuid?disable_uuids=0&state=1&pnsdk=PubNub-Go%2F3.16.0&uuid=customuuid method: GET response: body: '{"status": 200, "message": "OK", "service": "Presence", "uuids": [{"uuid": @@ -44,8 +44,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/customUuid/leave?uuid=customuuid&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/customUuid/leave?uuid=customuuid&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"status": 200, "action": "leave", "message": "OK", "service": "Presence"}' diff --git a/messaging/tests/fixtures/presence/customUuid_Subscribe.yaml b/messaging/tests/fixtures/presence/customUuid_Subscribe.yaml index 98a9eec8..6111383f 100644 --- a/messaging/tests/fixtures/presence/customUuid_Subscribe.yaml +++ b/messaging/tests/fixtures/presence/customUuid_Subscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/customUuid/0?uuid=customuuid&tt=0&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/customUuid/0?uuid=customuuid&tt=0&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '[[],"14599294753227235"]' @@ -31,5 +31,5 @@ interactions: status: 200 OK code: 200 unclosed_requests: - ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/customUuid/0?uuid=customuuid&tt=14599294753227235&pnsdk=PubNub-Go%2F3.15.0 + ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/customUuid/0?uuid=customuuid&tt=14599294753227235&pnsdk=PubNub-Go%2F3.16.0 : {} diff --git a/messaging/tests/fixtures/presence/globalWhereNow_NonSubscribe.yaml b/messaging/tests/fixtures/presence/globalWhereNow_NonSubscribe.yaml index 1b5b2da7..9fdf438e 100644 --- a/messaging/tests/fixtures/presence/globalWhereNow_NonSubscribe.yaml +++ b/messaging/tests/fixtures/presence/globalWhereNow_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f?disable_uuids=0&state=0&pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_GlobalWhereNow + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f?disable_uuids=0&state=0&pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_GlobalWhereNow method: GET response: body: '{"status": 200, "message": "OK", "payload": {"channels": {"Channel_GlobalWhereNow": @@ -45,8 +45,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_GlobalWhereNow/leave?uuid=UUID_GlobalWhereNow&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_GlobalWhereNow/leave?uuid=UUID_GlobalWhereNow&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"status": 200, "action": "leave", "message": "OK", "service": "Presence"}' diff --git a/messaging/tests/fixtures/presence/globalWhereNow_Subscribe.yaml b/messaging/tests/fixtures/presence/globalWhereNow_Subscribe.yaml index 13ce5d57..00e6bd56 100644 --- a/messaging/tests/fixtures/presence/globalWhereNow_Subscribe.yaml +++ b/messaging/tests/fixtures/presence/globalWhereNow_Subscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_GlobalWhereNow/0?uuid=UUID_GlobalWhereNow&tt=0&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_GlobalWhereNow/0?uuid=UUID_GlobalWhereNow&tt=0&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '[[],"14599294809819999"]' @@ -31,5 +31,5 @@ interactions: status: 200 OK code: 200 unclosed_requests: - ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_GlobalWhereNow/0?uuid=UUID_GlobalWhereNow&tt=14599294809819999&pnsdk=PubNub-Go%2F3.15.0 + ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_GlobalWhereNow/0?uuid=UUID_GlobalWhereNow&tt=14599294809819999&pnsdk=PubNub-Go%2F3.16.0 : {} diff --git a/messaging/tests/fixtures/presence/setGetUserState_NonSubscribe.yaml b/messaging/tests/fixtures/presence/setGetUserState_NonSubscribe.yaml index 364a0cce..407bb281 100644 --- a/messaging/tests/fixtures/presence/setGetUserState_NonSubscribe.yaml +++ b/messaging/tests/fixtures/presence/setGetUserState_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_SetGetUserState/uuid/UUID_SetGetUserState/data?state=%7B%22testkey%22%3A%22testval%22%7D&pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_SetGetUserState + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_SetGetUserState/uuid/UUID_SetGetUserState/data?state=%7B%22testkey%22%3A%22testval%22%7D&pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_SetGetUserState method: GET response: body: '{"status": 200, "message": "OK", "payload": {"testkey": "testval"}, "service": @@ -44,8 +44,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_SetGetUserState/uuid/UUID_SetGetUserState?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_SetGetUserState + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_SetGetUserState/uuid/UUID_SetGetUserState?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_SetGetUserState method: GET response: body: '{"status": 200, "uuid": "UUID_SetGetUserState", "service": "Presence", @@ -80,8 +80,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_SetGetUserState/leave?uuid=UUID_SetGetUserState&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_SetGetUserState/leave?uuid=UUID_SetGetUserState&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"status": 200, "action": "leave", "message": "OK", "service": "Presence"}' diff --git a/messaging/tests/fixtures/presence/setGetUserState_Subscribe.yaml b/messaging/tests/fixtures/presence/setGetUserState_Subscribe.yaml index 721d9914..e991f0cf 100644 --- a/messaging/tests/fixtures/presence/setGetUserState_Subscribe.yaml +++ b/messaging/tests/fixtures/presence/setGetUserState_Subscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SetGetUserState/0?uuid=UUID_SetGetUserState&tt=0&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SetGetUserState/0?uuid=UUID_SetGetUserState&tt=0&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '[[],"14615710323529829"]' @@ -31,7 +31,7 @@ interactions: status: 200 OK code: 200 unclosed_requests: - ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SetGetUserState/0?uuid=UUID_SetGetUserState&tt=14615710323529829&pnsdk=PubNub-Go%2F3.15.0 + ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SetGetUserState/0?uuid=UUID_SetGetUserState&tt=14615710323529829&pnsdk=PubNub-Go%2F3.16.0 : {} - ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SetGetUserState/0?uuid=UUID_SetGetUserState&tt=0&state=%7B%22Channel_SetGetUserState%22%3A%7B%22testkey%22%3A%22testval%22%7D%7D&pnsdk=PubNub-Go%2F3.15.0 + ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SetGetUserState/0?uuid=UUID_SetGetUserState&tt=0&state=%7B%22Channel_SetGetUserState%22%3A%7B%22testkey%22%3A%22testval%22%7D%7D&pnsdk=PubNub-Go%2F3.16.0 : {} diff --git a/messaging/tests/fixtures/presence/setUserStateGlobalHereNow_NonSubscribe.yaml b/messaging/tests/fixtures/presence/setUserStateGlobalHereNow_NonSubscribe.yaml index ff4694f3..9b2837ae 100644 --- a/messaging/tests/fixtures/presence/setUserStateGlobalHereNow_NonSubscribe.yaml +++ b/messaging/tests/fixtures/presence/setUserStateGlobalHereNow_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_SetUserStateGlobalHereNow/uuid/UUID_SetUserStateGlobalHereNow/data?state=%7B%22testkey%22%3A%22testval%22%7D&pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_SetUserStateGlobalHereNow + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_SetUserStateGlobalHereNow/uuid/UUID_SetUserStateGlobalHereNow/data?state=%7B%22testkey%22%3A%22testval%22%7D&pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_SetUserStateGlobalHereNow method: GET response: body: '{"status": 200, "message": "OK", "payload": {"testkey": "testval"}, "service": @@ -44,8 +44,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f?disable_uuids=0&state=1&pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_SetUserStateGlobalHereNow + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f?disable_uuids=0&state=1&pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_SetUserStateGlobalHereNow method: GET response: body: '{"status": 200, "message": "OK", "payload": {"channels": {"Channel_SetUserStateGlobalHereNow": @@ -81,8 +81,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_SetUserStateGlobalHereNow/leave?uuid=UUID_SetUserStateGlobalHereNow&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_SetUserStateGlobalHereNow/leave?uuid=UUID_SetUserStateGlobalHereNow&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"status": 200, "action": "leave", "message": "OK", "service": "Presence"}' diff --git a/messaging/tests/fixtures/presence/setUserStateGlobalHereNow_Subscribe.yaml b/messaging/tests/fixtures/presence/setUserStateGlobalHereNow_Subscribe.yaml index 15173733..c3de6a1d 100644 --- a/messaging/tests/fixtures/presence/setUserStateGlobalHereNow_Subscribe.yaml +++ b/messaging/tests/fixtures/presence/setUserStateGlobalHereNow_Subscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SetUserStateGlobalHereNow/0?uuid=UUID_SetUserStateGlobalHereNow&tt=0&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SetUserStateGlobalHereNow/0?uuid=UUID_SetUserStateGlobalHereNow&tt=0&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '[[],"14615710400371409"]' @@ -31,7 +31,7 @@ interactions: status: 200 OK code: 200 unclosed_requests: - ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SetUserStateGlobalHereNow/0?uuid=UUID_SetUserStateGlobalHereNow&tt=0&state=%7B%22Channel_SetUserStateGlobalHereNow%22%3A%7B%22testkey%22%3A%22testval%22%7D%7D&pnsdk=PubNub-Go%2F3.15.0 + ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SetUserStateGlobalHereNow/0?uuid=UUID_SetUserStateGlobalHereNow&tt=0&state=%7B%22Channel_SetUserStateGlobalHereNow%22%3A%7B%22testkey%22%3A%22testval%22%7D%7D&pnsdk=PubNub-Go%2F3.16.0 : {} - ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SetUserStateGlobalHereNow/0/14615710400371409?uuid=UUID_SetUserStateGlobalHereNow&state=%7B%22Channel_SetUserStateGlobalHereNow%22%3A%7B%22testkey%22%3A%22testval%22%7D%7D&pnsdk=PubNub-Go%2F3.15.0 + ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SetUserStateGlobalHereNow/0/14615710400371409?uuid=UUID_SetUserStateGlobalHereNow&state=%7B%22Channel_SetUserStateGlobalHereNow%22%3A%7B%22testkey%22%3A%22testval%22%7D%7D&pnsdk=PubNub-Go%2F3.16.0 : {} diff --git a/messaging/tests/fixtures/presence/setUserStateHereNow_NonSubscribe.yaml b/messaging/tests/fixtures/presence/setUserStateHereNow_NonSubscribe.yaml index 983df747..08431a20 100644 --- a/messaging/tests/fixtures/presence/setUserStateHereNow_NonSubscribe.yaml +++ b/messaging/tests/fixtures/presence/setUserStateHereNow_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_SetUserStateHereNow/uuid/UUID_SetUserStateHereNow/data?state=%7B%22testkey%22%3A%22testval%22%7D&pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_SetUserStateHereNow + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_SetUserStateHereNow/uuid/UUID_SetUserStateHereNow/data?state=%7B%22testkey%22%3A%22testval%22%7D&pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_SetUserStateHereNow method: GET response: body: '{"status": 200, "message": "OK", "payload": {"testkey": "testval"}, "service": @@ -44,8 +44,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_SetUserStateHereNow?disable_uuids=0&state=1&pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_SetUserStateHereNow + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_SetUserStateHereNow?disable_uuids=0&state=1&pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_SetUserStateHereNow method: GET response: body: '{"status": 200, "message": "OK", "service": "Presence", "uuids": [{"state": @@ -80,8 +80,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_SetUserStateHereNow/leave?uuid=UUID_SetUserStateHereNow&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_SetUserStateHereNow/leave?uuid=UUID_SetUserStateHereNow&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"status": 200, "action": "leave", "message": "OK", "service": "Presence"}' diff --git a/messaging/tests/fixtures/presence/setUserStateHereNow_Subscribe.yaml b/messaging/tests/fixtures/presence/setUserStateHereNow_Subscribe.yaml index 5776e44d..32b97c5a 100644 --- a/messaging/tests/fixtures/presence/setUserStateHereNow_Subscribe.yaml +++ b/messaging/tests/fixtures/presence/setUserStateHereNow_Subscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SetUserStateHereNow/0?uuid=UUID_SetUserStateHereNow&tt=0&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SetUserStateHereNow/0?uuid=UUID_SetUserStateHereNow&tt=0&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '[[],"14615710361330684"]' @@ -31,6 +31,6 @@ interactions: status: 200 OK code: 200 unclosed_requests: - #? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SetUserStateHereNow/0?uuid=UUID_SetUserStateHereNow&tt=14615710361330684&state=%7B%22Channel_SetUserStateHereNow%22%3A%7B%22testkey%22%3A%22testval%22%7D%7D&pnsdk=PubNub-Go%2F3.15.0 - ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SetUserStateHereNow/0?uuid=UUID_SetUserStateHereNow&tt=0&state=%7B%22Channel_SetUserStateHereNow%22%3A%7B%22testkey%22%3A%22testval%22%7D%7D&pnsdk=PubNub-Go%2F3.15.0 + #? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SetUserStateHereNow/0?uuid=UUID_SetUserStateHereNow&tt=14615710361330684&state=%7B%22Channel_SetUserStateHereNow%22%3A%7B%22testkey%22%3A%22testval%22%7D%7D&pnsdk=PubNub-Go%2F3.16.0 + ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SetUserStateHereNow/0?uuid=UUID_SetUserStateHereNow&tt=0&state=%7B%22Channel_SetUserStateHereNow%22%3A%7B%22testkey%22%3A%22testval%22%7D%7D&pnsdk=PubNub-Go%2F3.16.0 : {} diff --git a/messaging/tests/fixtures/presence/setUserStateJSON_NonSubscribe.yaml b/messaging/tests/fixtures/presence/setUserStateJSON_NonSubscribe.yaml index 17421cb8..83eb0ce4 100644 --- a/messaging/tests/fixtures/presence/setUserStateJSON_NonSubscribe.yaml +++ b/messaging/tests/fixtures/presence/setUserStateJSON_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_SetUserStateJSON/uuid/UUID_SetUserStateJSON/data?state=%7B%22testkey%22%3A+%22testval%22%2C%22testkey2%22%3A+%22testval2%22%7D&pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_SetUserStateJSON + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_SetUserStateJSON/uuid/UUID_SetUserStateJSON/data?state=%7B%22testkey%22%3A+%22testval%22%2C%22testkey2%22%3A+%22testval2%22%7D&pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_SetUserStateJSON method: GET response: body: '{"status": 200, "message": "OK", "payload": {"testkey2": "testval2", "testkey": @@ -44,8 +44,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_SetUserStateJSON/uuid/UUID_SetUserStateJSON/data?state=%7B%22testkey%22%3A%22testval%22%7D&pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_SetUserStateJSON + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_SetUserStateJSON/uuid/UUID_SetUserStateJSON/data?state=%7B%22testkey%22%3A%22testval%22%7D&pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_SetUserStateJSON method: GET response: body: '{"status": 200, "message": "OK", "payload": {"testkey": "testval"}, "service": diff --git a/messaging/tests/fixtures/presence/whereNow_NonSubscribe.yaml b/messaging/tests/fixtures/presence/whereNow_NonSubscribe.yaml index 820b14a7..78c1ebc1 100644 --- a/messaging/tests/fixtures/presence/whereNow_NonSubscribe.yaml +++ b/messaging/tests/fixtures/presence/whereNow_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/uuid/UUID_WhereNow?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_WhereNow + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/uuid/UUID_WhereNow?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_WhereNow method: GET response: body: '{"status": 200, "message": "OK", "payload": {"channels": ["Channel_WhereNow"]}, @@ -44,8 +44,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_WhereNow/leave?uuid=UUID_WhereNow&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_WhereNow/leave?uuid=UUID_WhereNow&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"status": 200, "action": "leave", "message": "OK", "service": "Presence"}' diff --git a/messaging/tests/fixtures/presence/whereNow_Subscribe.yaml b/messaging/tests/fixtures/presence/whereNow_Subscribe.yaml index 73b6159b..65e85612 100644 --- a/messaging/tests/fixtures/presence/whereNow_Subscribe.yaml +++ b/messaging/tests/fixtures/presence/whereNow_Subscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_WhereNow/0?uuid=UUID_WhereNow&tt=0&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_WhereNow/0?uuid=UUID_WhereNow&tt=0&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '[[],"14599243663018153"]' @@ -31,5 +31,5 @@ interactions: status: 200 OK code: 200 unclosed_requests: - ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_WhereNow/0?uuid=UUID_WhereNow&tt=14599243663018153&pnsdk=PubNub-Go%2F3.15.0 + ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_WhereNow/0?uuid=UUID_WhereNow&tt=14599243663018153&pnsdk=PubNub-Go%2F3.16.0 : {} diff --git a/messaging/tests/fixtures/presence/zeroPresence_NonSubscribe.yaml b/messaging/tests/fixtures/presence/zeroPresence_NonSubscribe.yaml index 1c53771b..38e0154b 100644 --- a/messaging/tests/fixtures/presence/zeroPresence_NonSubscribe.yaml +++ b/messaging/tests/fixtures/presence/zeroPresence_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_ZeroPresence/leave?uuid=UUID_zeroPresence&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_ZeroPresence/leave?uuid=UUID_zeroPresence&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"status": 200, "action": "leave", "message": "OK", "service": "Presence"}' @@ -43,8 +43,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_ZeroPresence-pnpres/leave?uuid=UUID_zeroPresence&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_ZeroPresence-pnpres/leave?uuid=UUID_zeroPresence&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"status": 200, "action": "leave", "message": "OK", "service": "Presence"}' diff --git a/messaging/tests/fixtures/presence/zeroPresence_Subscribe.yaml b/messaging/tests/fixtures/presence/zeroPresence_Subscribe.yaml index 7bef418a..56d6ec80 100644 --- a/messaging/tests/fixtures/presence/zeroPresence_Subscribe.yaml +++ b/messaging/tests/fixtures/presence/zeroPresence_Subscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_ZeroPresence-pnpres/0?uuid=UUID_zeroPresence&tt=0&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_ZeroPresence-pnpres/0?uuid=UUID_zeroPresence&tt=0&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '[[],"14615591687540479"]' @@ -37,8 +37,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_ZeroPresence-pnpres,Channel_ZeroPresence/0?uuid=UUID_zeroPresence&tt=0&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_ZeroPresence-pnpres,Channel_ZeroPresence/0?uuid=UUID_zeroPresence&tt=0&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '[[],"14615591687802848"]' @@ -66,8 +66,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_ZeroPresence,Channel_ZeroPresence-pnpres/0?uuid=UUID_zeroPresence&tt=14615591687802848&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_ZeroPresence,Channel_ZeroPresence-pnpres/0?uuid=UUID_zeroPresence&tt=14615591687802848&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '[[{"action": "join", "timestamp": 1461559169, "uuid": "UUID_zeroPresence", @@ -96,8 +96,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_ZeroPresence-pnpres/0?uuid=UUID_zeroPresence&tt=14615591687540479&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_ZeroPresence-pnpres/0?uuid=UUID_zeroPresence&tt=14615591687540479&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '[[{"action": "join", "timestamp": 1461559169, "uuid": "UUID_zeroPresence", @@ -126,8 +126,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_ZeroPresence-pnpres/0?uuid=UUID_zeroPresence&tt=14615591694446754&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_ZeroPresence-pnpres/0?uuid=UUID_zeroPresence&tt=14615591694446754&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '[[{"action": "leave", "timestamp": 1461559169, "uuid": "UUID_zeroPresence", @@ -156,8 +156,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_ZeroPresence-pnpres,Channel_ZeroPresence/0?uuid=UUID_zeroPresence&tt=14615591694446754&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_ZeroPresence-pnpres,Channel_ZeroPresence/0?uuid=UUID_zeroPresence&tt=14615591694446754&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '[[{"action": "leave", "timestamp": 1461559169, "uuid": "UUID_zeroPresence", diff --git a/messaging/tests/fixtures/publish/fire_NonSubscribe.yaml b/messaging/tests/fixtures/publish/fire_NonSubscribe.yaml index 756883c1..519aba25 100644 --- a/messaging/tests/fixtures/publish/fire_NonSubscribe.yaml +++ b/messaging/tests/fixtures/publish/fire_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/fireChannel/0/%22fireTest%22?pnsdk=PubNub-Go%2F3.15.0&uuid=83a979c0407178ba809e6be0c9972c6d&store=0&norep=true&seqn=1 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/fireChannel/0/%22fireTest%22?pnsdk=PubNub-Go%2F3.16.0&uuid=83a979c0407178ba809e6be0c9972c6d&store=0&norep=true&seqn=1 method: GET response: body: '[1,"Sent","14615805862249273"]' @@ -37,8 +37,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/history/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/fireChannel?count=1&reverse=false&include_token=false&pnsdk=PubNub-Go%2F3.15.0&uuid=4ec1923240c7aaf5809466fc7277e02b + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/history/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/fireChannel?count=1&reverse=false&include_token=false&pnsdk=PubNub-Go%2F3.16.0&uuid=4ec1923240c7aaf5809466fc7277e02b method: GET response: body: '[[{"message":"Test TT Message 9","timetoken":14615805864620141}],14615805862249273,14615805864620141]' diff --git a/messaging/tests/fixtures/publish/publishStringWithSerialization_NonSubscribe.yaml b/messaging/tests/fixtures/publish/publishStringWithSerialization_NonSubscribe.yaml index 98afd1e3..d9cad02e 100644 --- a/messaging/tests/fixtures/publish/publishStringWithSerialization_NonSubscribe.yaml +++ b/messaging/tests/fixtures/publish/publishStringWithSerialization_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_PublishStringWithSerialization/0/%22%7B%5C%22name%5C%22:%20%5C%22Alex%5C%22,%20%5C%22age%5C%22:%20%5C%22123%5C%22%7D%22?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_PublishStringWithSerialization&seqn=1 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_PublishStringWithSerialization/0/%22%7B%5C%22name%5C%22:%20%5C%22Alex%5C%22,%20%5C%22age%5C%22:%20%5C%22123%5C%22%7D%22?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_PublishStringWithSerialization&seqn=1 method: GET response: body: '[1,"Sent","14588070821147008"]' @@ -37,8 +37,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_PublishStringWithSerialization/leave?uuid=UUID_PublishStringWithSerialization&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_PublishStringWithSerialization/leave?uuid=UUID_PublishStringWithSerialization&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"status": 200, "action": "leave", "message": "OK", "service": "Presence"}' diff --git a/messaging/tests/fixtures/publish/publishStringWithSerialization_Subscribe.yaml b/messaging/tests/fixtures/publish/publishStringWithSerialization_Subscribe.yaml index 154650d0..d50da187 100644 --- a/messaging/tests/fixtures/publish/publishStringWithSerialization_Subscribe.yaml +++ b/messaging/tests/fixtures/publish/publishStringWithSerialization_Subscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_PublishStringWithSerialization/0?uuid=UUID_PublishStringWithSerialization&tt=0&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_PublishStringWithSerialization/0?uuid=UUID_PublishStringWithSerialization&tt=0&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"t":{"t":"14588062885529707","r":4},"m":[]}' @@ -37,8 +37,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_PublishStringWithSerialization/0?uuid=UUID_PublishStringWithSerialization&tt=14588062885529707&tr=4&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_PublishStringWithSerialization/0?uuid=UUID_PublishStringWithSerialization&tt=14588062885529707&tr=4&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"t":{"t":"14588062885529707","r":4},"m":[{"a":"1","f":0,"i":"UUID_PublishStringWithoutSerialization","s":1,"p":{"t":"14588070821139768","r":4},"k":"sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f","c":"Channel_PublishStringWithSerialization","d":{"name": "Alex", "age": "123"}}]}' @@ -60,5 +60,5 @@ interactions: status: 200 OK code: 200 unclosed_requests: - ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_PublishStringWithSerialization/0?uuid=UUID_PublishStringWithSerialization&tt=14588070821139768&pnsdk=PubNub-Go%2F3.15.0 + ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_PublishStringWithSerialization/0?uuid=UUID_PublishStringWithSerialization&tt=14588070821139768&pnsdk=PubNub-Go%2F3.16.0 : {} diff --git a/messaging/tests/fixtures/publish/publishStringWithoutSerialization_NonSubscribe.yaml b/messaging/tests/fixtures/publish/publishStringWithoutSerialization_NonSubscribe.yaml index 897649fe..65b809c1 100644 --- a/messaging/tests/fixtures/publish/publishStringWithoutSerialization_NonSubscribe.yaml +++ b/messaging/tests/fixtures/publish/publishStringWithoutSerialization_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_PublishStringWithoutSerialization/0/%7B%22name%22:%20%22Alex%22,%20%22age%22:%20%22123%22%7D?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_PublishStringWithoutSerialization&store=0&seqn=1 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_PublishStringWithoutSerialization/0/%7B%22name%22:%20%22Alex%22,%20%22age%22:%20%22123%22%7D?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_PublishStringWithoutSerialization&store=0&seqn=1 method: GET response: body: '[1,"Sent","14588070825058322"]' @@ -37,8 +37,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_PublishStringWithoutSerialization/leave?uuid=UUID_PublishStringWithoutSerialization&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_PublishStringWithoutSerialization/leave?uuid=UUID_PublishStringWithoutSerialization&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"status": 200, "action": "leave", "message": "OK", "service": "Presence"}' diff --git a/messaging/tests/fixtures/publish/publishStringWithoutSerialization_Subscribe.yaml b/messaging/tests/fixtures/publish/publishStringWithoutSerialization_Subscribe.yaml index d1063de3..2cd93adb 100644 --- a/messaging/tests/fixtures/publish/publishStringWithoutSerialization_Subscribe.yaml +++ b/messaging/tests/fixtures/publish/publishStringWithoutSerialization_Subscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_PublishStringWithoutSerialization/0?uuid=UUID_PublishStringWithoutSerialization&tt=0&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_PublishStringWithoutSerialization/0?uuid=UUID_PublishStringWithoutSerialization&tt=0&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"t":{"t":"14588062886538014","r":4},"m":[]}' @@ -37,8 +37,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_PublishStringWithoutSerialization/0?uuid=UUID_PublishStringWithoutSerialization&tt=14588062886538014&tr=4&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_PublishStringWithoutSerialization/0?uuid=UUID_PublishStringWithoutSerialization&tt=14588062886538014&tr=4&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"t":{"t":"14588062886538014","r":4},"m":[{"a":"1","f":0,"i":"UUID_PublishStringWithoutSerialization","s":1,"p":{"t":"14588070825056505","r":4},"k":"sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f","c":"Channel_PublishStringWithoutSerialization","d":{"name": "Alex", "age": "123"}}]}' @@ -60,5 +60,5 @@ interactions: status: 200 OK code: 200 unclosed_requests: - ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_PublishStringWithoutSerialization/0?uuid=UUID_PublishStringWithoutSerialization&tt=14588070825056505&pnsdk=PubNub-Go%2F3.15.0 + ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_PublishStringWithoutSerialization/0?uuid=UUID_PublishStringWithoutSerialization&tt=14588070825056505&pnsdk=PubNub-Go%2F3.16.0 : {} diff --git a/messaging/tests/fixtures/publish/publishWithReplicateAndTTL_NonSubscribe.yaml b/messaging/tests/fixtures/publish/publishWithReplicateAndTTL_NonSubscribe.yaml index f350d492..bc15cf3b 100644 --- a/messaging/tests/fixtures/publish/publishWithReplicateAndTTL_NonSubscribe.yaml +++ b/messaging/tests/fixtures/publish/publishWithReplicateAndTTL_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(darwin) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/publishWithReplicate/0/%22publishWithReplicate%22?pnsdk=PubNub-Go%2F3.15.0&uuid=279cf3d34053522780466a84346cd79c&norep=true&ttl=10&seqn=1 + - ua_string=(darwin) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/publishWithReplicate/0/%22publishWithReplicate%22?pnsdk=PubNub-Go%2F3.16.0&uuid=279cf3d34053522780466a84346cd79c&norep=true&ttl=10&seqn=1 method: GET response: body: '[1,"Sent","14840636772542248"]' @@ -37,8 +37,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(darwin) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/history/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/publishWithReplicate?count=1&reverse=false&include_token=false&pnsdk=PubNub-Go%2F3.15.0&uuid=279cf3d34053522780466a84346cd79c + - ua_string=(darwin) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/history/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/publishWithReplicate?count=1&reverse=false&include_token=false&pnsdk=PubNub-Go%2F3.16.0&uuid=279cf3d34053522780466a84346cd79c method: GET response: body: '[["publishWithReplicate"],14840636772542248,14840636772542248]' diff --git a/messaging/tests/fixtures/publish/publishWithReplicate_NonSubscribe.yaml b/messaging/tests/fixtures/publish/publishWithReplicate_NonSubscribe.yaml index b1c89b18..e590caee 100644 --- a/messaging/tests/fixtures/publish/publishWithReplicate_NonSubscribe.yaml +++ b/messaging/tests/fixtures/publish/publishWithReplicate_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/publishWithReplicate/0/%22publishWithReplicate%22?pnsdk=PubNub-Go%2F3.15.0&uuid=069f92924086b3cb80b040839df4f77a&norep=true&seqn=1 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/publishWithReplicate/0/%22publishWithReplicate%22?pnsdk=PubNub-Go%2F3.16.0&uuid=069f92924086b3cb80b040839df4f77a&norep=true&seqn=1 method: GET response: body: '[1,"Sent","14615805862249273"]' @@ -37,8 +37,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/history/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/publishWithReplicate?count=1&reverse=false&include_token=false&pnsdk=PubNub-Go%2F3.15.0&uuid=4ec1923240c7aaf5809466fc7277e02b + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/history/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/publishWithReplicate?count=1&reverse=false&include_token=false&pnsdk=PubNub-Go%2F3.16.0&uuid=4ec1923240c7aaf5809466fc7277e02b method: GET response: body: '[[{"message":"publishWithReplicate","timetoken":14615805864620141}],14615805862249273,14615805864620141]' diff --git a/messaging/tests/fixtures/publish/successCodeAndInfoForComplexMessage2WithEncryption_NonSubscribe.yaml b/messaging/tests/fixtures/publish/successCodeAndInfoForComplexMessage2WithEncryption_NonSubscribe.yaml index 150dc09f..638dc76b 100644 --- a/messaging/tests/fixtures/publish/successCodeAndInfoForComplexMessage2WithEncryption_NonSubscribe.yaml +++ b/messaging/tests/fixtures/publish/successCodeAndInfoForComplexMessage2WithEncryption_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/successCodeAndInfoForComplexMessage2WithEncryption/0/%22Bc846Ri5HK1ixqP/dzAyZq23Z/NBlcPn2UX8h38xTGINs72yF5gtU0t9fFEMxjY+DmezWt0nG7eN7RABrj697tK1nooVHYIxgDLMsjMTw5N0K+rUM823n7LcHfEoXaX8oH2E6zkg6iK5pmT8nlh6LF6Bw1G5zkluT8oTjnbFJcpEvTyT2ZKzcqptgYsE9XZiEn84zv0wjDMxSJzlM7cbe2JpLtR99mdkUf8SMVr+J0ym6Z9c02MKLP6bygWzdG9zTdkLSIxJE3R9Yt76XeRFdrbRNWkuQM/uItDsE23+8RKwZRyAScoDMwFAg+BSa6KF1tS6cJlyjxA8o5e9iWykKuHO0h1uAiapzTx9iZluOH2bVZgTUu1GABjXveMBAkrZ1eG4nVOlytsAr1oSekKvWxzyUEP2kFSrtQbg6oGECb1OMmj5bd21cx0vpDWr/juGT7/n4sBr7gYsWDvBaU7awN9Y7bcq14jtiXq/2iNNW0zoI3xe6+qByimHaiAgVoqO%22?pnsdk=PubNub-Go%2F3.15.0&uuid=39388c02403e3719807f25be71d4b628&seqn=1 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/successCodeAndInfoForComplexMessage2WithEncryption/0/%22Bc846Ri5HK1ixqP/dzAyZq23Z/NBlcPn2UX8h38xTGINs72yF5gtU0t9fFEMxjY+DmezWt0nG7eN7RABrj697tK1nooVHYIxgDLMsjMTw5N0K+rUM823n7LcHfEoXaX8oH2E6zkg6iK5pmT8nlh6LF6Bw1G5zkluT8oTjnbFJcpEvTyT2ZKzcqptgYsE9XZiEn84zv0wjDMxSJzlM7cbe2JpLtR99mdkUf8SMVr+J0ym6Z9c02MKLP6bygWzdG9zTdkLSIxJE3R9Yt76XeRFdrbRNWkuQM/uItDsE23+8RKwZRyAScoDMwFAg+BSa6KF1tS6cJlyjxA8o5e9iWykKuHO0h1uAiapzTx9iZluOH2bVZgTUu1GABjXveMBAkrZ1eG4nVOlytsAr1oSekKvWxzyUEP2kFSrtQbg6oGECb1OMmj5bd21cx0vpDWr/juGT7/n4sBr7gYsWDvBaU7awN9Y7bcq14jtiXq/2iNNW0zoI3xe6+qByimHaiAgVoqO%22?pnsdk=PubNub-Go%2F3.16.0&uuid=39388c02403e3719807f25be71d4b628&seqn=1 method: GET response: body: '[1,"Sent","14570054981518097"]' diff --git a/messaging/tests/fixtures/publish/successCodeAndInfoForComplexMessage2_NonSubscribe.yaml b/messaging/tests/fixtures/publish/successCodeAndInfoForComplexMessage2_NonSubscribe.yaml index bac9f57b..6088c1f8 100644 --- a/messaging/tests/fixtures/publish/successCodeAndInfoForComplexMessage2_NonSubscribe.yaml +++ b/messaging/tests/fixtures/publish/successCodeAndInfoForComplexMessage2_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/successCodeAndInfoForComplexMessage2/0/%7B%22VersionID%22:%223.4%22,%22TimeToken%22:%2213601488652764619%22,%22OperationName%22:%22Publish%22,%22Channels%22:%5B%22ch1%22,%22ch%202%22%5D,%22DemoMessage%22:%7B%22DefaultMessage%22:%22%5C%22~%21@%23$%25%5E%5C%5Cu0026%2A%28%29_+%20%601234567890-=%20qwertyuiop%5B%5D%5C%5C%5C%5C%20%7B%7D%7C%20asdfghjkl;%27%20:%5C%5C%5C%22%20zxcvbnm,./%20%5C%5Cu003c%5C%5Cu003e%3F%20%5C%22%22%7D,%22SampleXML%22:%22%5C%22%5C%5Cu003cdata%5C%5Cu003e%5C%5Cu003cname%5C%5Cu003eDoe%5C%5Cu003c/name%5C%5Cu003e%5C%5Cu003cage%5C%5Cu003e42%5C%5Cu003c/age%5C%5Cu003e%5C%5Cu003c/data%5C%5Cu003e%5C%22%22%7D?pnsdk=PubNub-Go%2F3.15.0&uuid=e8e25d0140f088b68027c6637ae99bac&seqn=1 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/successCodeAndInfoForComplexMessage2/0/%7B%22VersionID%22:%223.4%22,%22TimeToken%22:%2213601488652764619%22,%22OperationName%22:%22Publish%22,%22Channels%22:%5B%22ch1%22,%22ch%202%22%5D,%22DemoMessage%22:%7B%22DefaultMessage%22:%22%5C%22~%21@%23$%25%5E%5C%5Cu0026%2A%28%29_+%20%601234567890-=%20qwertyuiop%5B%5D%5C%5C%5C%5C%20%7B%7D%7C%20asdfghjkl;%27%20:%5C%5C%5C%22%20zxcvbnm,./%20%5C%5Cu003c%5C%5Cu003e%3F%20%5C%22%22%7D,%22SampleXML%22:%22%5C%22%5C%5Cu003cdata%5C%5Cu003e%5C%5Cu003cname%5C%5Cu003eDoe%5C%5Cu003c/name%5C%5Cu003e%5C%5Cu003cage%5C%5Cu003e42%5C%5Cu003c/age%5C%5Cu003e%5C%5Cu003c/data%5C%5Cu003e%5C%22%22%7D?pnsdk=PubNub-Go%2F3.16.0&uuid=e8e25d0140f088b68027c6637ae99bac&seqn=1 method: GET response: body: '[1,"Sent","14570044383815484"]' diff --git a/messaging/tests/fixtures/publish/successCodeAndInfoForComplexMessage_NonSubscribe.yaml b/messaging/tests/fixtures/publish/successCodeAndInfoForComplexMessage_NonSubscribe.yaml index d48581f3..cbdc9d0a 100644 --- a/messaging/tests/fixtures/publish/successCodeAndInfoForComplexMessage_NonSubscribe.yaml +++ b/messaging/tests/fixtures/publish/successCodeAndInfoForComplexMessage_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/successCodeAndInfoForComplexMessage/0/%7B%22Foo%22:%22hi%21%22,%22Bar%22:%5B1,2,3,4,5%5D%7D?pnsdk=PubNub-Go%2F3.15.0&uuid=be2f216440b27fbe8050e1a0cd5386e4&seqn=1 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/successCodeAndInfoForComplexMessage/0/%7B%22Foo%22:%22hi%21%22,%22Bar%22:%5B1,2,3,4,5%5D%7D?pnsdk=PubNub-Go%2F3.16.0&uuid=be2f216440b27fbe8050e1a0cd5386e4&seqn=1 method: GET response: body: '[1,"Sent","14570044383524662"]' diff --git a/messaging/tests/fixtures/publish/successCodeAndInfoWithEncryption_NonSubscribe.yaml b/messaging/tests/fixtures/publish/successCodeAndInfoWithEncryption_NonSubscribe.yaml index b8fb37ff..ec25352f 100644 --- a/messaging/tests/fixtures/publish/successCodeAndInfoWithEncryption_NonSubscribe.yaml +++ b/messaging/tests/fixtures/publish/successCodeAndInfoWithEncryption_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/successCodeAndInfo/0/%225c69IWbJmfgAF18380MRmWe+1V3gHYH4Wxnlzm4l0RM=%22?pnsdk=PubNub-Go%2F3.15.0&uuid=efc7182f4021463280ec12ff30a6741e&seqn=1 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/successCodeAndInfo/0/%225c69IWbJmfgAF18380MRmWe+1V3gHYH4Wxnlzm4l0RM=%22?pnsdk=PubNub-Go%2F3.16.0&uuid=efc7182f4021463280ec12ff30a6741e&seqn=1 method: GET response: body: '[1,"Sent","14570025379708944"]' diff --git a/messaging/tests/fixtures/publish/successCodeAndInfo_NonSubscribe.yaml b/messaging/tests/fixtures/publish/successCodeAndInfo_NonSubscribe.yaml index ea937e74..2d7df7c9 100644 --- a/messaging/tests/fixtures/publish/successCodeAndInfo_NonSubscribe.yaml +++ b/messaging/tests/fixtures/publish/successCodeAndInfo_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/successCodeAndInfo/0/%22Pubnub%20API%20Usage%20Example%22?pnsdk=PubNub-Go%2F3.15.0&uuid=51fa763a4073511f80ee640fe40da223&seqn=1 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/successCodeAndInfo/0/%22Pubnub%20API%20Usage%20Example%22?pnsdk=PubNub-Go%2F3.16.0&uuid=51fa763a4073511f80ee640fe40da223&seqn=1 method: GET response: body: '[1,"Sent","14570017673026211"]' diff --git a/messaging/tests/fixtures/subscribe/alreadySubscribed_NonSubscribe.yaml b/messaging/tests/fixtures/subscribe/alreadySubscribed_NonSubscribe.yaml index be80138a..6363cb00 100644 --- a/messaging/tests/fixtures/subscribe/alreadySubscribed_NonSubscribe.yaml +++ b/messaging/tests/fixtures/subscribe/alreadySubscribed_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_AlreadySubscribed/0/%22blah%22?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_AlreadySubscribed&seqn=1 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_AlreadySubscribed/0/%22blah%22?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_AlreadySubscribed&seqn=1 method: GET response: body: '[1,"Sent","14603735665822132"]' @@ -37,8 +37,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_AlreadySubscribed/leave?uuid=UUID_AlreadySubscribed&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_AlreadySubscribed/leave?uuid=UUID_AlreadySubscribed&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"status": 200, "action": "leave", "message": "OK", "service": "Presence"}' diff --git a/messaging/tests/fixtures/subscribe/alreadySubscribed_Subscribe.yaml b/messaging/tests/fixtures/subscribe/alreadySubscribed_Subscribe.yaml index c50e7220..fab85f22 100644 --- a/messaging/tests/fixtures/subscribe/alreadySubscribed_Subscribe.yaml +++ b/messaging/tests/fixtures/subscribe/alreadySubscribed_Subscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_AlreadySubscribed/0?uuid=UUID_AlreadySubscribed&tt=0&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_AlreadySubscribed/0?uuid=UUID_AlreadySubscribed&tt=0&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"t":{"t":"14603735664245698","r":4},"m":[]}' @@ -37,8 +37,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_AlreadySubscribed/0?uuid=UUID_AlreadySubscribed&tt=14603735664245698&tr=4&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_AlreadySubscribed/0?uuid=UUID_AlreadySubscribed&tt=14603735664245698&tr=4&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"t":{"t":"14603735665857211","r":4},"m":[{"a":"1","f":0,"i":"UUID_AlreadySubscribed","s":1,"p":{"t":"14591685620543810","r":4},"k":"sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f","c":"Channel_AlreadySubscribed","d":["blah"]}]}' @@ -60,5 +60,5 @@ interactions: status: 200 OK code: 200 unclosed_requests: - ? http://ps.pndsn.com/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_AlreadySubscribed/0?uuid=UUID_AlreadySubscribed&tt=14603735665857211&tr=4&pnsdk=PubNub-Go%2F3.15.0 + ? http://ps.pndsn.com/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_AlreadySubscribed/0?uuid=UUID_AlreadySubscribed&tt=14603735665857211&tr=4&pnsdk=PubNub-Go%2F3.16.0 : {} diff --git a/messaging/tests/fixtures/subscribe/connectMultipleStatus_NonSubscribe.yaml b/messaging/tests/fixtures/subscribe/connectMultipleStatus_NonSubscribe.yaml index d99246ee..347b37df 100644 --- a/messaging/tests/fixtures/subscribe/connectMultipleStatus_NonSubscribe.yaml +++ b/messaging/tests/fixtures/subscribe/connectMultipleStatus_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_ConnectStatus_14,Channel_ConnectStatus_992/leave?uuid=UUID_ConnectStatus&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_ConnectStatus_14,Channel_ConnectStatus_992/leave?uuid=UUID_ConnectStatus&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"status": 200, "action": "leave", "message": "OK", "service": "Presence"}' diff --git a/messaging/tests/fixtures/subscribe/connectMultipleStatus_Subscribe.yaml b/messaging/tests/fixtures/subscribe/connectMultipleStatus_Subscribe.yaml index 7de156c5..e80289db 100644 --- a/messaging/tests/fixtures/subscribe/connectMultipleStatus_Subscribe.yaml +++ b/messaging/tests/fixtures/subscribe/connectMultipleStatus_Subscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_ConnectStatus_14,Channel_ConnectStatus_992/0?uuid=UUID_ConnectStatus&tt=0&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_ConnectStatus_14,Channel_ConnectStatus_992/0?uuid=UUID_ConnectStatus&tt=0&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '[[],"14595081223862742"]' @@ -31,5 +31,5 @@ interactions: status: 200 OK code: 200 unclosed_requests: - ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_ConnectStatus_14,Channel_ConnectStatus_992/0?uuid=UUID_ConnectStatus&tt=14595081223862742&pnsdk=PubNub-Go%2F3.15.0 + ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_ConnectStatus_14,Channel_ConnectStatus_992/0?uuid=UUID_ConnectStatus&tt=14595081223862742&pnsdk=PubNub-Go%2F3.16.0 : {} diff --git a/messaging/tests/fixtures/subscribe/connectStatus_NonSubscribe.yaml b/messaging/tests/fixtures/subscribe/connectStatus_NonSubscribe.yaml index 17a2adba..16a68f73 100644 --- a/messaging/tests/fixtures/subscribe/connectStatus_NonSubscribe.yaml +++ b/messaging/tests/fixtures/subscribe/connectStatus_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_ConnectStatus/leave?uuid=UUID_ConnectStatus&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_ConnectStatus/leave?uuid=UUID_ConnectStatus&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"status": 200, "action": "leave", "message": "OK", "service": "Presence"}' diff --git a/messaging/tests/fixtures/subscribe/connectStatus_Subscribe.yaml b/messaging/tests/fixtures/subscribe/connectStatus_Subscribe.yaml index 6853b434..ec893011 100644 --- a/messaging/tests/fixtures/subscribe/connectStatus_Subscribe.yaml +++ b/messaging/tests/fixtures/subscribe/connectStatus_Subscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_ConnectStatus/0?uuid=UUID_ConnectStatus&tt=0&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_ConnectStatus/0?uuid=UUID_ConnectStatus&tt=0&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '[[],"14586613256441817"]' @@ -31,5 +31,5 @@ interactions: status: 200 OK code: 200 unclosed_requests: - ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_ConnectStatus/0?uuid=UUID_ConnectStatus&tt=14586613256441817&pnsdk=PubNub-Go%2F3.15.0 + ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_ConnectStatus/0?uuid=UUID_ConnectStatus&tt=14586613256441817&pnsdk=PubNub-Go%2F3.16.0 : {} diff --git a/messaging/tests/fixtures/subscribe/forComplexMessageWithCipher_NonSubscribe.yaml b/messaging/tests/fixtures/subscribe/forComplexMessageWithCipher_NonSubscribe.yaml index 9c655c65..89cb7b26 100644 --- a/messaging/tests/fixtures/subscribe/forComplexMessageWithCipher_NonSubscribe.yaml +++ b/messaging/tests/fixtures/subscribe/forComplexMessageWithCipher_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_SubscriptionConnectedForComplexWithCipher/0/%22Bc846Ri5HK1ixqP/dzAyZq23Z/NBlcPn2UX8h38xTGINs72yF5gtU0t9fFEMxjY+DmezWt0nG7eN7RABrj697tK1nooVHYIxgDLMsjMTw5N0K+rUM823n7LcHfEoXaX8oH2E6zkg6iK5pmT8nlh6LF6Bw1G5zkluT8oTjnbFJcpEvTyT2ZKzcqptgYsE9XZiEn84zv0wjDMxSJzlM7cbe2JpLtR99mdkUf8SMVr+J0ym6Z9c02MKLP6bygWzdG9zTdkLSIxJE3R9Yt76XeRFdrbRNWkuQM/uItDsE23+8RKwZRyAScoDMwFAg+BSa6KF1tS6cJlyjxA8o5e9iWykKuHO0h1uAiapzTx9iZluOH2bVZgTUu1GABjXveMBAkrZ1eG4nVOlytsAr1oSekKvWxzyUEP2kFSrtQbg6oGECb1OMmj5bd21cx0vpDWr/juGT7/n4sBr7gYsWDvBaU7awN9Y7bcq14jtiXq/2iNNW0zoI3xe6+qByimHaiAgVoqO%22?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_SubscriptionConnectedForComplexWithCipher&seqn=1 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_SubscriptionConnectedForComplexWithCipher/0/%22Bc846Ri5HK1ixqP/dzAyZq23Z/NBlcPn2UX8h38xTGINs72yF5gtU0t9fFEMxjY+DmezWt0nG7eN7RABrj697tK1nooVHYIxgDLMsjMTw5N0K+rUM823n7LcHfEoXaX8oH2E6zkg6iK5pmT8nlh6LF6Bw1G5zkluT8oTjnbFJcpEvTyT2ZKzcqptgYsE9XZiEn84zv0wjDMxSJzlM7cbe2JpLtR99mdkUf8SMVr+J0ym6Z9c02MKLP6bygWzdG9zTdkLSIxJE3R9Yt76XeRFdrbRNWkuQM/uItDsE23+8RKwZRyAScoDMwFAg+BSa6KF1tS6cJlyjxA8o5e9iWykKuHO0h1uAiapzTx9iZluOH2bVZgTUu1GABjXveMBAkrZ1eG4nVOlytsAr1oSekKvWxzyUEP2kFSrtQbg6oGECb1OMmj5bd21cx0vpDWr/juGT7/n4sBr7gYsWDvBaU7awN9Y7bcq14jtiXq/2iNNW0zoI3xe6+qByimHaiAgVoqO%22?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_SubscriptionConnectedForComplexWithCipher&seqn=1 method: GET response: body: '[1,"Sent","14586613301466659"]' @@ -37,8 +37,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_SubscriptionConnectedForComplexWithCipher/leave?uuid=UUID_SubscriptionConnectedForComplexWithCipher&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_SubscriptionConnectedForComplexWithCipher/leave?uuid=UUID_SubscriptionConnectedForComplexWithCipher&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"status": 200, "action": "leave", "message": "OK", "service": "Presence"}' diff --git a/messaging/tests/fixtures/subscribe/forComplexMessageWithCipher_Subscribe.yaml b/messaging/tests/fixtures/subscribe/forComplexMessageWithCipher_Subscribe.yaml index 99b26f10..e95d9f59 100644 --- a/messaging/tests/fixtures/subscribe/forComplexMessageWithCipher_Subscribe.yaml +++ b/messaging/tests/fixtures/subscribe/forComplexMessageWithCipher_Subscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SubscriptionConnectedForComplexWithCipher/0?uuid=UUID_SubscriptionConnectedForComplexWithCipher&tt=0&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SubscriptionConnectedForComplexWithCipher/0?uuid=UUID_SubscriptionConnectedForComplexWithCipher&tt=0&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"t":{"t":"14586610188035175","r":4},"m":[]}' @@ -37,8 +37,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SubscriptionConnectedForComplexWithCipher/0?uuid=UUID_SubscriptionConnectedForComplexWithCipher&tt=14586610188035175&tr=4&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SubscriptionConnectedForComplexWithCipher/0?uuid=UUID_SubscriptionConnectedForComplexWithCipher&tt=14586610188035175&tr=4&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"t":{"t":"14586613301503994","r":4},"m":[{"a":"1","f":0,"i":"UUID_SubscriptionConnectedForComplexWithCipher","s":1,"p":{"t":"14593254434932405","r":4},"k":"sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f","c":"Channel_SubscriptionConnectedForComplexWithCipher","b":"Channel_SubscriptionConnectedForComplexWithCipher","d":"Bc846Ri5HK1ixqP/dzAyZq23Z/NBlcPn2UX8h38xTGINs72yF5gtU0t9fFEMxjY+DmezWt0nG7eN7RABrj697tK1nooVHYIxgDLMsjMTw5N0K+rUM823n7LcHfEoXaX8oH2E6zkg6iK5pmT8nlh6LF6Bw1G5zkluT8oTjnbFJcpEvTyT2ZKzcqptgYsE9XZiEn84zv0wjDMxSJzlM7cbe2JpLtR99mdkUf8SMVr+J0ym6Z9c02MKLP6bygWzdG9zTdkLSIxJE3R9Yt76XeRFdrbRNWkuQM/uItDsE23+8RKwZRyAScoDMwFAg+BSa6KF1tS6cJlyjxA8o5e9iWykKuHO0h1uAiapzTx9iZluOH2bVZgTUu1GABjXveMBAkrZ1eG4nVOlytsAr1oSekKvWxzyUEP2kFSrtQbg6oGECb1OMmj5bd21cx0vpDWr/juGT7/n4sBr7gYsWDvBaU7awN9Y7bcq14jtiXq/2iNNW0zoI3xe6+qByimHaiAgVoqO"}]}' @@ -60,5 +60,5 @@ interactions: status: 200 OK code: 200 unclosed_requests: - ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SubscriptionConnectedForComplexWithCipher/0?uuid=UUID_SubscriptionConnectedForComplexWithCipher&tt=14586613301503994&tr=4&pnsdk=PubNub-Go%2F3.15.0 + ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SubscriptionConnectedForComplexWithCipher/0?uuid=UUID_SubscriptionConnectedForComplexWithCipher&tt=14586613301503994&tr=4&pnsdk=PubNub-Go%2F3.16.0 : {} diff --git a/messaging/tests/fixtures/subscribe/forComplexMessage_NonSubscribe.yaml b/messaging/tests/fixtures/subscribe/forComplexMessage_NonSubscribe.yaml index 2108d5dd..193f73e7 100644 --- a/messaging/tests/fixtures/subscribe/forComplexMessage_NonSubscribe.yaml +++ b/messaging/tests/fixtures/subscribe/forComplexMessage_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_SubscriptionConnectedForComplex/0/%7B%22VersionID%22:%223.4%22,%22TimeToken%22:%2213601488652764619%22,%22OperationName%22:%22Publish%22,%22Channels%22:%5B%22ch1%22,%22ch%202%22%5D,%22DemoMessage%22:%7B%22DefaultMessage%22:%22%5C%22~%21@%23$%25%5E%5C%5Cu0026%2A%28%29_+%20%601234567890-=%20qwertyuiop%5B%5D%5C%5C%5C%5C%20%7B%7D%7C%20asdfghjkl;%27%20:%5C%5C%5C%22%20zxcvbnm,./%20%5C%5Cu003c%5C%5Cu003e%3F%20%5C%22%22%7D,%22SampleXML%22:%22%5C%22%5C%5Cu003cdata%5C%5Cu003e%5C%5Cu003cname%5C%5Cu003eDoe%5C%5Cu003c/name%5C%5Cu003e%5C%5Cu003cage%5C%5Cu003e42%5C%5Cu003c/age%5C%5Cu003e%5C%5Cu003c/data%5C%5Cu003e%5C%22%22%7D?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_SubscriptionConnectedForComplex&seqn=1 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_SubscriptionConnectedForComplex/0/%7B%22VersionID%22:%223.4%22,%22TimeToken%22:%2213601488652764619%22,%22OperationName%22:%22Publish%22,%22Channels%22:%5B%22ch1%22,%22ch%202%22%5D,%22DemoMessage%22:%7B%22DefaultMessage%22:%22%5C%22~%21@%23$%25%5E%5C%5Cu0026%2A%28%29_+%20%601234567890-=%20qwertyuiop%5B%5D%5C%5C%5C%5C%20%7B%7D%7C%20asdfghjkl;%27%20:%5C%5C%5C%22%20zxcvbnm,./%20%5C%5Cu003c%5C%5Cu003e%3F%20%5C%22%22%7D,%22SampleXML%22:%22%5C%22%5C%5Cu003cdata%5C%5Cu003e%5C%5Cu003cname%5C%5Cu003eDoe%5C%5Cu003c/name%5C%5Cu003e%5C%5Cu003cage%5C%5Cu003e42%5C%5Cu003c/age%5C%5Cu003e%5C%5Cu003c/data%5C%5Cu003e%5C%22%22%7D?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_SubscriptionConnectedForComplex&seqn=1 method: GET response: body: '[1,"Sent","14586613295261991"]' @@ -37,8 +37,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_SubscriptionConnectedForComplex/leave?uuid=UUID_SubscriptionConnectedForComplex&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_SubscriptionConnectedForComplex/leave?uuid=UUID_SubscriptionConnectedForComplex&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"status": 200, "action": "leave", "message": "OK", "service": "Presence"}' diff --git a/messaging/tests/fixtures/subscribe/forComplexMessage_Subscribe.yaml b/messaging/tests/fixtures/subscribe/forComplexMessage_Subscribe.yaml index 358f85a0..3fc51373 100644 --- a/messaging/tests/fixtures/subscribe/forComplexMessage_Subscribe.yaml +++ b/messaging/tests/fixtures/subscribe/forComplexMessage_Subscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SubscriptionConnectedForComplex/0?uuid=UUID_SubscriptionConnectedForComplex&tt=0&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SubscriptionConnectedForComplex/0?uuid=UUID_SubscriptionConnectedForComplex&tt=0&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"t":{"t":"14586610179764926","r":4},"m":[]}' @@ -37,8 +37,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SubscriptionConnectedForComplex/0?uuid=UUID_SubscriptionConnectedForComplex&tt=14586610179764926&tr=4&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SubscriptionConnectedForComplex/0?uuid=UUID_SubscriptionConnectedForComplex&tt=14586610179764926&tr=4&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"t":{"t":"14586613295253763","r":4},"m":[{"a":"1","f":0,"i":"UUID_SubscriptionConnectedForComplex","s":1,"p":{"t":"14593254434932405","r":4},"k":"sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f","c":"Channel_SubscriptionConnectedForComplex","b":"Channel_SubscriptionConnectedForComplex","d":[{"VersionID":"3.4","TimeToken":"13601488652764619","OperationName":"Publish","Channels":["ch1","ch @@ -62,5 +62,5 @@ interactions: status: 200 OK code: 200 unclosed_requests: - ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SubscriptionConnectedForComplex/0?uuid=UUID_SubscriptionConnectedForComplex&tt=14586613295253763&tr=4&pnsdk=PubNub-Go%2F3.15.0 + ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SubscriptionConnectedForComplex/0?uuid=UUID_SubscriptionConnectedForComplex&tt=14586613295253763&tr=4&pnsdk=PubNub-Go%2F3.16.0 : {} diff --git a/messaging/tests/fixtures/subscribe/forMessageFiltering2_NonSubscribe.yaml b/messaging/tests/fixtures/subscribe/forMessageFiltering2_NonSubscribe.yaml index 1773e9e3..f0cc0d72 100644 --- a/messaging/tests/fixtures/subscribe/forMessageFiltering2_NonSubscribe.yaml +++ b/messaging/tests/fixtures/subscribe/forMessageFiltering2_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_SubscriptionConnectedForMessageFiltering2/0/%22Test%20message%22?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_SubscriptionConnectedForMessageFiltering2&seqn=1 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_SubscriptionConnectedForMessageFiltering2/0/%22Test%20message%22?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_SubscriptionConnectedForMessageFiltering2&seqn=1 method: GET response: body: '[1,"Sent","14586613280726392"]' @@ -37,8 +37,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_SubscriptionConnectedForMessageFiltering2/leave?uuid=UUID_SubscriptionConnectedForMessageFiltering2&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_SubscriptionConnectedForMessageFiltering2/leave?uuid=UUID_SubscriptionConnectedForMessageFiltering2&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"status": 200, "action": "leave", "message": "OK", "service": "Presence"}' diff --git a/messaging/tests/fixtures/subscribe/forMessageFiltering2_Subscribe.yaml b/messaging/tests/fixtures/subscribe/forMessageFiltering2_Subscribe.yaml index 69ef7bc4..b5d99fae 100644 --- a/messaging/tests/fixtures/subscribe/forMessageFiltering2_Subscribe.yaml +++ b/messaging/tests/fixtures/subscribe/forMessageFiltering2_Subscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SubscriptionConnectedForMessageFiltering2/0?uuid=UUID_SubscriptionConnectedForMessageFiltering2&tt=0&filter-expr=%7B%22meta%22%3A%22filter%22%7D&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SubscriptionConnectedForMessageFiltering2/0?uuid=UUID_SubscriptionConnectedForMessageFiltering2&tt=0&filter-expr=%7B%22meta%22%3A%22filter%22%7D&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"t":{"t":"14586610160063710","r":4},"m":[]}' @@ -31,5 +31,5 @@ interactions: status: 200 OK code: 200 unclosed_requests: - ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SubscriptionConnectedForMessageFiltering2/0?uuid=UUID_SubscriptionConnectedForMessageFiltering2&tt=14586610160063710&tr=4&filter-expr=%7B%22meta%22%3A%22filter%22%7D&pnsdk=PubNub-Go%2F3.15.0 + ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SubscriptionConnectedForMessageFiltering2/0?uuid=UUID_SubscriptionConnectedForMessageFiltering2&tt=14586610160063710&tr=4&filter-expr=%7B%22meta%22%3A%22filter%22%7D&pnsdk=PubNub-Go%2F3.16.0 : {} diff --git a/messaging/tests/fixtures/subscribe/forMessageFiltering_NonSubscribe.yaml b/messaging/tests/fixtures/subscribe/forMessageFiltering_NonSubscribe.yaml index 925e22aa..da552059 100644 --- a/messaging/tests/fixtures/subscribe/forMessageFiltering_NonSubscribe.yaml +++ b/messaging/tests/fixtures/subscribe/forMessageFiltering_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_SubscriptionConnectedForMessageFiltering/0/%22Test%20message%22?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_SubscriptionConnectedForMessageFiltering&seqn=1&meta=%22%7B%5C%22meta%5C%22:%5C%22filter%5C%22%7D%22 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_SubscriptionConnectedForMessageFiltering/0/%22Test%20message%22?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_SubscriptionConnectedForMessageFiltering&seqn=1&meta=%22%7B%5C%22meta%5C%22:%5C%22filter%5C%22%7D%22 method: GET response: body: '[1,"Sent","14586613280726392"]' @@ -37,8 +37,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_SubscriptionConnectedForMessageFiltering/leave?uuid=UUID_SubscriptionConnectedForMessageFiltering&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_SubscriptionConnectedForMessageFiltering/leave?uuid=UUID_SubscriptionConnectedForMessageFiltering&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"status": 200, "action": "leave", "message": "OK", "service": "Presence"}' diff --git a/messaging/tests/fixtures/subscribe/forMessageFiltering_Subscribe.yaml b/messaging/tests/fixtures/subscribe/forMessageFiltering_Subscribe.yaml index 6dd03887..4696f206 100644 --- a/messaging/tests/fixtures/subscribe/forMessageFiltering_Subscribe.yaml +++ b/messaging/tests/fixtures/subscribe/forMessageFiltering_Subscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SubscriptionConnectedForMessageFiltering/0?uuid=UUID_SubscriptionConnectedForMessageFiltering&tt=0&filter-expr=%7B%22meta%22%3A%22filter%22%7D&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SubscriptionConnectedForMessageFiltering/0?uuid=UUID_SubscriptionConnectedForMessageFiltering&tt=0&filter-expr=%7B%22meta%22%3A%22filter%22%7D&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"t":{"t":"14586610160063710","r":4},"m":[]}' @@ -37,8 +37,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SubscriptionConnectedForMessageFiltering/0?uuid=UUID_SubscriptionConnectedForMessageFiltering&tt=14586610160063710&tr=4&filter-expr=%7B%22meta%22%3A%22filter%22%7D&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SubscriptionConnectedForMessageFiltering/0?uuid=UUID_SubscriptionConnectedForMessageFiltering&tt=14586610160063710&tr=4&filter-expr=%7B%22meta%22%3A%22filter%22%7D&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"t":{"t":"14586613280736475","r":4},"m":[{"a":"1","f":0,"i":"UUID_SubscriptionConnectedForMessageFiltering","s":1,"p":{"t":"14593254434932405","r":4},"k":"sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f","c":"Channel_SubscriptionConnectedForMessageFiltering","b":"Channel_SubscriptionConnectedForMessageFiltering","d":"Test message"}]}' @@ -60,5 +60,5 @@ interactions: status: 200 OK code: 200 unclosed_requests: - ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SubscriptionConnectedForMessageFiltering/0?uuid=UUID_SubscriptionConnectedForMessageFiltering&tt=14586613280736475&tr=4&filter-expr=%7B%22meta%22%3A%22filter%22%7D&pnsdk=PubNub-Go%2F3.15.0 + ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SubscriptionConnectedForMessageFiltering/0?uuid=UUID_SubscriptionConnectedForMessageFiltering&tt=14586613280736475&tr=4&filter-expr=%7B%22meta%22%3A%22filter%22%7D&pnsdk=PubNub-Go%2F3.16.0 : {} diff --git a/messaging/tests/fixtures/subscribe/forSimpleMessageWithCipher_NonSubscribe.yaml b/messaging/tests/fixtures/subscribe/forSimpleMessageWithCipher_NonSubscribe.yaml index 2d4867d1..8bb7ed4e 100644 --- a/messaging/tests/fixtures/subscribe/forSimpleMessageWithCipher_NonSubscribe.yaml +++ b/messaging/tests/fixtures/subscribe/forSimpleMessageWithCipher_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_SubscriptionConnectedForSimpleWithCipher/0/%22HSoHp4g0o/uHfiS1PYXzWw==%22?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_SubscriptionConnectedForSimpleWithCipher&seqn=1 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_SubscriptionConnectedForSimpleWithCipher/0/%22HSoHp4g0o/uHfiS1PYXzWw==%22?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_SubscriptionConnectedForSimpleWithCipher&seqn=1 method: GET response: body: '[1,"Sent","14586613284451342"]' @@ -37,8 +37,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_SubscriptionConnectedForSimpleWithCipher/leave?uuid=UUID_SubscriptionConnectedForSimpleWithCipher&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_SubscriptionConnectedForSimpleWithCipher/leave?uuid=UUID_SubscriptionConnectedForSimpleWithCipher&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"status": 200, "action": "leave", "message": "OK", "service": "Presence"}' diff --git a/messaging/tests/fixtures/subscribe/forSimpleMessageWithCipher_Subscribe.yaml b/messaging/tests/fixtures/subscribe/forSimpleMessageWithCipher_Subscribe.yaml index a9a499f3..bd609210 100644 --- a/messaging/tests/fixtures/subscribe/forSimpleMessageWithCipher_Subscribe.yaml +++ b/messaging/tests/fixtures/subscribe/forSimpleMessageWithCipher_Subscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SubscriptionConnectedForSimpleWithCipher/0?uuid=UUID_SubscriptionConnectedForSimpleWithCipher&tt=0&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SubscriptionConnectedForSimpleWithCipher/0?uuid=UUID_SubscriptionConnectedForSimpleWithCipher&tt=0&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"t":{"t":"14586610176891624","r":4},"m":[]}' @@ -37,8 +37,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SubscriptionConnectedForSimpleWithCipher/0?uuid=UUID_SubscriptionConnectedForSimpleWithCipher&tt=14586610176891624&tr=4&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SubscriptionConnectedForSimpleWithCipher/0?uuid=UUID_SubscriptionConnectedForSimpleWithCipher&tt=14586610176891624&tr=4&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"t":{"t":"14586613284460865","r":4},"m":[{"a":"1","f":0,"i":"UUID_SubscriptionConnectedForSimpleWithCipher","s":1,"p":{"t":"14593254434932405","r":4},"k":"sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f","c":"Channel_SubscriptionConnectedForSimpleWithCipher","b":"Channel_SubscriptionConnectedForSimpleWithCipher","d":"HSoHp4g0o/uHfiS1PYXzWw=="}]}' @@ -60,5 +60,5 @@ interactions: status: 200 OK code: 200 unclosed_requests: - ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SubscriptionConnectedForSimpleWithCipher/0?uuid=UUID_SubscriptionConnectedForSimpleWithCipher&tt=14586613284460865&tr=4&pnsdk=PubNub-Go%2F3.15.0 + ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SubscriptionConnectedForSimpleWithCipher/0?uuid=UUID_SubscriptionConnectedForSimpleWithCipher&tt=14586613284460865&tr=4&pnsdk=PubNub-Go%2F3.16.0 : {} diff --git a/messaging/tests/fixtures/subscribe/forSimpleMessage_NonSubscribe.yaml b/messaging/tests/fixtures/subscribe/forSimpleMessage_NonSubscribe.yaml index bd464403..45e0f5b2 100644 --- a/messaging/tests/fixtures/subscribe/forSimpleMessage_NonSubscribe.yaml +++ b/messaging/tests/fixtures/subscribe/forSimpleMessage_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_SubscriptionConnectedForSimple/0/%22Test%20message%22?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_SubscriptionConnectedForSimple&seqn=1 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_SubscriptionConnectedForSimple/0/%22Test%20message%22?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_SubscriptionConnectedForSimple&seqn=1 method: GET response: body: '[1,"Sent","14586613280726392"]' @@ -37,8 +37,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_SubscriptionConnectedForSimple/leave?uuid=UUID_SubscriptionConnectedForSimple&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_SubscriptionConnectedForSimple/leave?uuid=UUID_SubscriptionConnectedForSimple&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"status": 200, "action": "leave", "message": "OK", "service": "Presence"}' diff --git a/messaging/tests/fixtures/subscribe/forSimpleMessage_Subscribe.yaml b/messaging/tests/fixtures/subscribe/forSimpleMessage_Subscribe.yaml index 152b62f7..eaace619 100644 --- a/messaging/tests/fixtures/subscribe/forSimpleMessage_Subscribe.yaml +++ b/messaging/tests/fixtures/subscribe/forSimpleMessage_Subscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SubscriptionConnectedForSimple/0?uuid=UUID_SubscriptionConnectedForSimple&tt=0&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SubscriptionConnectedForSimple/0?uuid=UUID_SubscriptionConnectedForSimple&tt=0&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"t":{"t":"14586610160063710","r":4},"m":[]}' @@ -37,8 +37,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SubscriptionConnectedForSimple/0?uuid=UUID_SubscriptionConnectedForSimple&tt=14586610160063710&tr=4&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SubscriptionConnectedForSimple/0?uuid=UUID_SubscriptionConnectedForSimple&tt=14586610160063710&tr=4&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"t":{"t":"14586613280736475","r":4},"m":[{"a":"1","f":0,"i":"UUID_SubscriptionConnectedForSimple","s":1,"p":{"t":"14593254434932405","r":4},"k":"sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f","c":"Channel_SubscriptionConnectedForSimple","b":"Channel_SubscriptionConnectedForSimple","d":"Test message"}]}' @@ -60,5 +60,5 @@ interactions: status: 200 OK code: 200 unclosed_requests: - ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SubscriptionConnectedForSimple/0?uuid=UUID_SubscriptionConnectedForSimple&tt=14586613280736475&tr=4&pnsdk=PubNub-Go%2F3.15.0 + ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SubscriptionConnectedForSimple/0?uuid=UUID_SubscriptionConnectedForSimple&tt=14586613280736475&tr=4&pnsdk=PubNub-Go%2F3.16.0 : {} diff --git a/messaging/tests/fixtures/subscribe/multipleResponseEncrypted_NonSubscribe.yaml b/messaging/tests/fixtures/subscribe/multipleResponseEncrypted_NonSubscribe.yaml index fd07aa16..88e11989 100644 --- a/messaging/tests/fixtures/subscribe/multipleResponseEncrypted_NonSubscribe.yaml +++ b/messaging/tests/fixtures/subscribe/multipleResponseEncrypted_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/time/0?pnsdk=PubNub-Go%2F3.15.0&uuid=timeGetter_time_uuid + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/time/0?pnsdk=PubNub-Go%2F3.16.0&uuid=timeGetter_time_uuid method: GET response: body: '[14591685625761723]' @@ -37,8 +37,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_MultipleResponse/0/%22NEzif8UOAV1bxmYio4KPAw==%22?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_MultipleResponse&seqn=1 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_MultipleResponse/0/%22NEzif8UOAV1bxmYio4KPAw==%22?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_MultipleResponse&seqn=1 method: GET response: body: '[1,"Sent","14591685626031015"]' @@ -66,8 +66,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_MultipleResponse/0/%22xXch1+uwbgGgLOudCKzFSw==%22?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_MultipleResponse&seqn=2 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_MultipleResponse/0/%22xXch1+uwbgGgLOudCKzFSw==%22?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_MultipleResponse&seqn=2 method: GET response: body: '[1,"Sent","14591685626282978"]' @@ -95,8 +95,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_MultipleResponse/leave?uuid=UUID_MultipleResponse&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_MultipleResponse/leave?uuid=UUID_MultipleResponse&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"status": 200, "action": "leave", "message": "OK", "service": "Presence"}' diff --git a/messaging/tests/fixtures/subscribe/multipleResponseEncrypted_Subscribe.yaml b/messaging/tests/fixtures/subscribe/multipleResponseEncrypted_Subscribe.yaml index 1b4c311a..6be29370 100644 --- a/messaging/tests/fixtures/subscribe/multipleResponseEncrypted_Subscribe.yaml +++ b/messaging/tests/fixtures/subscribe/multipleResponseEncrypted_Subscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_MultipleResponse/0?uuid=UUID_MultipleResponse&tt=14591685625761723&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_MultipleResponse/0?uuid=UUID_MultipleResponse&tt=14591685625761723&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"t":{"t":"14591685620543810","r":4},"m":[{"a":"5","f":0,"i":"UUID_MultipleResponse","s":2,"p":{"t":"14772988006938898","r":4},"k":"sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f","c":"Channel_MultipleResponse","d":"NEzif8UOAV1bxmYio4KPAw=="},{"a":"5","f":0,"i":"UUID_MultipleResponse","s":3,"p":{"t":"14772988006938898","r":4},"k":"sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f","c":"Channel_MultipleResponse","d":"xXch1+uwbgGgLOudCKzFSw=="}]}' @@ -31,5 +31,5 @@ interactions: status: 200 OK code: 200 unclosed_requests: - ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_MultipleResponse/0?uuid=UUID_MultipleResponse&tt=14591685620543810&tr=4&pnsdk=PubNub-Go%2F3.15.0 + ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_MultipleResponse/0?uuid=UUID_MultipleResponse&tt=14591685620543810&tr=4&pnsdk=PubNub-Go%2F3.16.0 : {} diff --git a/messaging/tests/fixtures/subscribe/multipleResponse_NonSubscribe.yaml b/messaging/tests/fixtures/subscribe/multipleResponse_NonSubscribe.yaml index 9daefeb8..202a1a12 100644 --- a/messaging/tests/fixtures/subscribe/multipleResponse_NonSubscribe.yaml +++ b/messaging/tests/fixtures/subscribe/multipleResponse_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/time/0?pnsdk=PubNub-Go%2F3.15.0&uuid=timeGetter_time_uuid + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/time/0?pnsdk=PubNub-Go%2F3.16.0&uuid=timeGetter_time_uuid method: GET response: body: '[14591685625761723]' @@ -37,8 +37,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_MultipleResponse/0/%22message1%22?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_MultipleResponse&seqn=1 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_MultipleResponse/0/%22message1%22?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_MultipleResponse&seqn=1 method: GET response: body: '[1,"Sent","14591685620840142"]' @@ -66,8 +66,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_MultipleResponse/0/%22message2%22?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_MultipleResponse&seqn=2 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_MultipleResponse/0/%22message2%22?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_MultipleResponse&seqn=2 method: GET response: body: '[1,"Sent","14591685621098006"]' @@ -95,8 +95,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_MultipleResponse/leave?uuid=UUID_MultipleResponse&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_MultipleResponse/leave?uuid=UUID_MultipleResponse&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"status": 200, "action": "leave", "message": "OK", "service": "Presence"}' diff --git a/messaging/tests/fixtures/subscribe/multipleResponse_Subscribe.yaml b/messaging/tests/fixtures/subscribe/multipleResponse_Subscribe.yaml index 7bff1355..34092ae0 100644 --- a/messaging/tests/fixtures/subscribe/multipleResponse_Subscribe.yaml +++ b/messaging/tests/fixtures/subscribe/multipleResponse_Subscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_MultipleResponse/0?uuid=UUID_MultipleResponse&tt=14591685625761723&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_MultipleResponse/0?uuid=UUID_MultipleResponse&tt=14591685625761723&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"t":{"t":"14591685620543810","r":4},"m":[{"a":"5","f":0,"i":"UUID_MultipleResponse","s":2,"p":{"t":"14772988006938898","r":4},"k":"sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f","c":"Channel_MultipleResponse","d":"message1"},{"a":"5","f":0,"i":"UUID_MultipleResponse","s":3,"p":{"t":"14772988006938898","r":4},"k":"sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f","c":"Channel_MultipleResponse","d":"message2"}]}' @@ -31,5 +31,5 @@ interactions: status: 200 OK code: 200 unclosed_requests: - ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_MultipleResponse/0?uuid=UUID_MultipleResponse&tt=14591685620543810&tr=4&pnsdk=PubNub-Go%2F3.15.0 + ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_MultipleResponse/0?uuid=UUID_MultipleResponse&tt=14591685620543810&tr=4&pnsdk=PubNub-Go%2F3.16.0 : {} diff --git a/messaging/tests/fixtures/subscribe/notPermitted_Subscribe.yaml b/messaging/tests/fixtures/subscribe/notPermitted_Subscribe.yaml index e7cb1da5..68366888 100644 --- a/messaging/tests/fixtures/subscribe/notPermitted_Subscribe.yaml +++ b/messaging/tests/fixtures/subscribe/notPermitted_Subscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-642a6fca-f5b9-11e5-9086-02ee2ddab7fe/Channel_NotPermitted/0?uuid=UUID_NotPermitted&tt=0&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-642a6fca-f5b9-11e5-9086-02ee2ddab7fe/Channel_NotPermitted/0?uuid=UUID_NotPermitted&tt=0&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: | diff --git a/messaging/tests/fixtures/subscribe/testEncryptedMultiplexing_NonSubscribe.yaml b/messaging/tests/fixtures/subscribe/testEncryptedMultiplexing_NonSubscribe.yaml index 50a93149..b7c1c796 100644 --- a/messaging/tests/fixtures/subscribe/testEncryptedMultiplexing_NonSubscribe.yaml +++ b/messaging/tests/fixtures/subscribe/testEncryptedMultiplexing_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Mpx_Channel_1/0/%22NEzif8UOAV1bxmYio4KPAw==%22?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_Multiplexing&seqn=1 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Mpx_Channel_1/0/%22NEzif8UOAV1bxmYio4KPAw==%22?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_Multiplexing&seqn=1 method: GET response: body: '[1,"Sent","14586613347001022"]' @@ -37,8 +37,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Mpx_Channel_2/0/%22xXch1+uwbgGgLOudCKzFSw==%22?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_Multiplexing&seqn=2 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Mpx_Channel_2/0/%22xXch1+uwbgGgLOudCKzFSw==%22?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_Multiplexing&seqn=2 method: GET response: body: '[1,"Sent","14586613349957842"]' @@ -66,8 +66,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Mpx_Channel_1,Mpx_Channel_2/leave?uuid=UUID_Multiplexing&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Mpx_Channel_1,Mpx_Channel_2/leave?uuid=UUID_Multiplexing&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"status": 200, "action": "leave", "message": "OK", "service": "Presence"}' diff --git a/messaging/tests/fixtures/subscribe/testEncryptedMultiplexing_Subscribe.yaml b/messaging/tests/fixtures/subscribe/testEncryptedMultiplexing_Subscribe.yaml index 0f98b484..a9aaf904 100644 --- a/messaging/tests/fixtures/subscribe/testEncryptedMultiplexing_Subscribe.yaml +++ b/messaging/tests/fixtures/subscribe/testEncryptedMultiplexing_Subscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Mpx_Channel_1,Mpx_Channel_2/0?uuid=UUID_Multiplexing&tt=0&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Mpx_Channel_1,Mpx_Channel_2/0?uuid=UUID_Multiplexing&tt=0&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"t":{"t":"14586613343837041","r":4},"m":[]}' @@ -37,8 +37,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Mpx_Channel_1,Mpx_Channel_2/0?uuid=UUID_Multiplexing&tt=14586613343837041&tr=4&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Mpx_Channel_1,Mpx_Channel_2/0?uuid=UUID_Multiplexing&tt=14586613343837041&tr=4&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"t":{"t":"14586613347010329","r":4},"m":[{"a":"1","f":0,"i":"UUID_SubscriptionConnectedForSimpleWithCipher","s":1,"p":{"t":"14593254434932405","r":4},"k":"sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f","c":"Mpx_Channel_1","b":"Mpx_Channel_1","d":"NEzif8UOAV1bxmYio4KPAw=="}]}' @@ -66,8 +66,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Mpx_Channel_1,Mpx_Channel_2/0?uuid=UUID_Multiplexing&tt=14586613347010329&tr=4&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Mpx_Channel_1,Mpx_Channel_2/0?uuid=UUID_Multiplexing&tt=14586613347010329&tr=4&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"t":{"t":"14586613349948803","r":4},"m":[{"a":"1","f":0,"i":"UUID_SubscriptionConnectedForSimpleWithCipher","s":1,"p":{"t":"14593254434932405","r":4},"k":"sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f","c":"Mpx_Channel_2","b":"Mpx_Channel_2","d":"xXch1+uwbgGgLOudCKzFSw=="}]}' @@ -89,5 +89,5 @@ interactions: status: 200 OK code: 200 unclosed_requests: - ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Mpx_Channel_1,Mpx_Channel_2/0?uuid=UUID_Multiplexing&tt=14586613349948803&tr=4&pnsdk=PubNub-Go%2F3.15.0 + ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Mpx_Channel_1,Mpx_Channel_2/0?uuid=UUID_Multiplexing&tt=14586613349948803&tr=4&pnsdk=PubNub-Go%2F3.16.0 : {} diff --git a/messaging/tests/fixtures/subscribe/testMultiplexing_NonSubscribe.yaml b/messaging/tests/fixtures/subscribe/testMultiplexing_NonSubscribe.yaml index 0554040b..b4d9624b 100644 --- a/messaging/tests/fixtures/subscribe/testMultiplexing_NonSubscribe.yaml +++ b/messaging/tests/fixtures/subscribe/testMultiplexing_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Mpx_Channel_1/0/%22message1%22?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_Multiplexing&seqn=1 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Mpx_Channel_1/0/%22message1%22?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_Multiplexing&seqn=1 method: GET response: body: '[1,"Sent","14586613343582704"]' @@ -37,8 +37,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Mpx_Channel_2/0/%22message2%22?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_Multiplexing&seqn=2 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Mpx_Channel_2/0/%22message2%22?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_Multiplexing&seqn=2 method: GET response: body: '[1,"Sent","14586613343830841"]' @@ -66,8 +66,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Mpx_Channel_1,Mpx_Channel_2/leave?uuid=UUID_Multiplexing&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Mpx_Channel_1,Mpx_Channel_2/leave?uuid=UUID_Multiplexing&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"status": 200, "action": "leave", "message": "OK", "service": "Presence"}' diff --git a/messaging/tests/fixtures/subscribe/testMultiplexing_Subscribe.yaml b/messaging/tests/fixtures/subscribe/testMultiplexing_Subscribe.yaml index 4da806b2..0fabbd71 100644 --- a/messaging/tests/fixtures/subscribe/testMultiplexing_Subscribe.yaml +++ b/messaging/tests/fixtures/subscribe/testMultiplexing_Subscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Mpx_Channel_1,Mpx_Channel_2/0?uuid=UUID_Multiplexing&tt=0&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Mpx_Channel_1,Mpx_Channel_2/0?uuid=UUID_Multiplexing&tt=0&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"t":{"t":"14586610210555993","r":4},"m":[]}' @@ -37,8 +37,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Mpx_Channel_1,Mpx_Channel_2/0?uuid=UUID_Multiplexing&tt=14586610210555993&tr=4&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Mpx_Channel_1,Mpx_Channel_2/0?uuid=UUID_Multiplexing&tt=14586610210555993&tr=4&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"t":{"t":"14586613343588074","r":4},"m":[{"a":"1","f":0,"i":"UUID_SubscriptionConnectedForSimpleWithCipher","s":1,"p":{"t":"14593254434932405","r":4},"k":"sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f","c":"Mpx_Channel_1","b":"Mpx_Channel_1","d":"message1"}]}' @@ -66,8 +66,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Mpx_Channel_1,Mpx_Channel_2/0?uuid=UUID_Multiplexing&tt=14586613343588074&tr=4&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Mpx_Channel_1,Mpx_Channel_2/0?uuid=UUID_Multiplexing&tt=14586613343588074&tr=4&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"t":{"t":"14586613343837041","r":4},"m":[{"a":"1","f":0,"i":"UUID_SubscriptionConnectedForSimpleWithCipher","s":1,"p":{"t":"14593254434932405","r":4},"k":"sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f","c":"Mpx_Channel_2","b":"Mpx_Channel_2","d":"message2"}]}' @@ -89,5 +89,5 @@ interactions: status: 200 OK code: 200 unclosed_requests: - ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Mpx_Channel_1,Mpx_Channel_2/0?uuid=UUID_Multiplexing&tt=14586613343837041&tr=4&pnsdk=PubNub-Go%2F3.15.0 + ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Mpx_Channel_1,Mpx_Channel_2/0?uuid=UUID_Multiplexing&tt=14586613343837041&tr=4&pnsdk=PubNub-Go%2F3.16.0 : {} diff --git a/messaging/tests/fixtures/subscribeErrors/chnnelNotPermitted_NonSubscribe.yaml b/messaging/tests/fixtures/subscribeErrors/chnnelNotPermitted_NonSubscribe.yaml index fd29e332..50ff329d 100644 --- a/messaging/tests/fixtures/subscribeErrors/chnnelNotPermitted_NonSubscribe.yaml +++ b/messaging/tests/fixtures/subscribeErrors/chnnelNotPermitted_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-642a6fca-f5b9-11e5-9086-02ee2ddab7fe/channel/Channel_NotPermitted/leave?uuid=UUID_NotPermitted&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-642a6fca-f5b9-11e5-9086-02ee2ddab7fe/channel/Channel_NotPermitted/leave?uuid=UUID_NotPermitted&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: | diff --git a/messaging/tests/fixtures/subscribeErrors/chnnelNotPermitted_Subscribe.yaml b/messaging/tests/fixtures/subscribeErrors/chnnelNotPermitted_Subscribe.yaml index 5ad66d2f..1abb2637 100644 --- a/messaging/tests/fixtures/subscribeErrors/chnnelNotPermitted_Subscribe.yaml +++ b/messaging/tests/fixtures/subscribeErrors/chnnelNotPermitted_Subscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-642a6fca-f5b9-11e5-9086-02ee2ddab7fe/Channel_NotPermitted/0?uuid=UUID_NotPermitted&tt=0&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-642a6fca-f5b9-11e5-9086-02ee2ddab7fe/Channel_NotPermitted/0?uuid=UUID_NotPermitted&tt=0&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: | diff --git a/messaging/tests/fixtures/time_NonSubscribe.yaml b/messaging/tests/fixtures/time_NonSubscribe.yaml index 1278036a..4cfaf158 100644 --- a/messaging/tests/fixtures/time_NonSubscribe.yaml +++ b/messaging/tests/fixtures/time_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/time/0?pnsdk=PubNub-Go%2F3.15.0&uuid=testTime + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/time/0?pnsdk=PubNub-Go%2F3.16.0&uuid=testTime method: GET response: body: '[14601341825375121]' diff --git a/messaging/tests/fixtures/unsubscribe/channel_NonSubscribe.yaml b/messaging/tests/fixtures/unsubscribe/channel_NonSubscribe.yaml index c128afc0..2c678696 100644 --- a/messaging/tests/fixtures/unsubscribe/channel_NonSubscribe.yaml +++ b/messaging/tests/fixtures/unsubscribe/channel_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_UnsubscribeChannel/leave?uuid=UUID_UnsubscribeChannel&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_UnsubscribeChannel/leave?uuid=UUID_UnsubscribeChannel&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"status": 200, "action": "leave", "message": "OK", "service": "Presence"}' diff --git a/messaging/tests/fixtures/unsubscribe/channel_Subscribe.yaml b/messaging/tests/fixtures/unsubscribe/channel_Subscribe.yaml index bbf3b55f..4cea2520 100644 --- a/messaging/tests/fixtures/unsubscribe/channel_Subscribe.yaml +++ b/messaging/tests/fixtures/unsubscribe/channel_Subscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_UnsubscribeChannel/0?uuid=UUID_UnsubscribeChannel&tt=0&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_UnsubscribeChannel/0?uuid=UUID_UnsubscribeChannel&tt=0&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '[[],"14588085243624598"]' @@ -31,5 +31,5 @@ interactions: status: 200 OK code: 200 unclosed_requests: - ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_UnsubscribeChannel/0?uuid=UUID_UnsubscribeChannell&tt=14588085243624598&pnsdk=PubNub-Go%2F3.15.0 + ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_UnsubscribeChannel/0?uuid=UUID_UnsubscribeChannell&tt=14588085243624598&pnsdk=PubNub-Go%2F3.16.0 : {} diff --git a/messaging/tests/fixtures/unsubscribe/groupNetworkError_NonSubscribe.yaml b/messaging/tests/fixtures/unsubscribe/groupNetworkError_NonSubscribe.yaml index ca639547..7da4cf09 100644 --- a/messaging/tests/fixtures/unsubscribe/groupNetworkError_NonSubscribe.yaml +++ b/messaging/tests/fixtures/unsubscribe/groupNetworkError_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Channel_GroupUnsubscribeNetError?add=adsf&pnsdk=PubNub-Go%2F3.15.0&uuid=6c06fbed40608e0080576f7f22665b3d + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Channel_GroupUnsubscribeNetError?add=adsf&pnsdk=PubNub-Go%2F3.16.0&uuid=6c06fbed40608e0080576f7f22665b3d method: GET response: body: '{"status": 200, "message": "OK", "service": "channel-registry", "error": @@ -44,8 +44,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Channel_GroupUnsubscribeNetError/remove?pnsdk=PubNub-Go%2F3.15.0&uuid=6c06fbed40608e0080576f7f22665b3d + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v1/channel-registration/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel-group/Channel_GroupUnsubscribeNetError/remove?pnsdk=PubNub-Go%2F3.16.0&uuid=6c06fbed40608e0080576f7f22665b3d method: GET response: body: '{"status": 200, "message": "OK", "service": "channel-registry", "error": diff --git a/messaging/tests/fixtures/unsubscribe/groupNetworkError_Subscribe.yaml b/messaging/tests/fixtures/unsubscribe/groupNetworkError_Subscribe.yaml index f3814331..a01b5b61 100644 --- a/messaging/tests/fixtures/unsubscribe/groupNetworkError_Subscribe.yaml +++ b/messaging/tests/fixtures/unsubscribe/groupNetworkError_Subscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/,/0?channel-group=Channel_GroupUnsubscribeNetError&tt=0&uuid=ed80209240a2c5b38037801644ec1c42&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/,/0?channel-group=Channel_GroupUnsubscribeNetError&tt=0&uuid=ed80209240a2c5b38037801644ec1c42&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '[[],"14606269433069896"]' @@ -31,5 +31,5 @@ interactions: status: 200 OK code: 200 unclosed_requests: - ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/,/0?channel-group=Channel_GroupUnsubscribeNetError&tt=14606269433069896&uuid=ed80209240a2c5b38037801644ec1c42&pnsdk=PubNub-Go%2F3.15.0 + ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/,/0?channel-group=Channel_GroupUnsubscribeNetError&tt=14606269433069896&uuid=ed80209240a2c5b38037801644ec1c42&pnsdk=PubNub-Go%2F3.16.0 : {} diff --git a/messaging/tests/fixtures/unsubscribe/networkError_Subscribe.yaml b/messaging/tests/fixtures/unsubscribe/networkError_Subscribe.yaml index de99349a..e6ff7dd1 100644 --- a/messaging/tests/fixtures/unsubscribe/networkError_Subscribe.yaml +++ b/messaging/tests/fixtures/unsubscribe/networkError_Subscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_UnsubscribeNetError/0?uuid=4bca841940f39f0b8004e66932a757a8&tt=0&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_UnsubscribeNetError/0?uuid=4bca841940f39f0b8004e66932a757a8&tt=0&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '[[],"14606235420433764"]' @@ -31,5 +31,5 @@ interactions: status: 200 OK code: 200 unclosed_requests: - ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_UnsubscribeNetError/0?uuid=4bca841940f39f0b8004e66932a757a8&tt=14606235420433764&pnsdk=PubNub-Go%2F3.15.0 + ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_UnsubscribeNetError/0?uuid=4bca841940f39f0b8004e66932a757a8&tt=14606235420433764&pnsdk=PubNub-Go%2F3.16.0 : {} diff --git a/messaging/tests/fixtures/wildcard/connAndUns_NonSubscribe.yaml b/messaging/tests/fixtures/wildcard/connAndUns_NonSubscribe.yaml index d6728168..a47a2108 100644 --- a/messaging/tests/fixtures/wildcard/connAndUns_NonSubscribe.yaml +++ b/messaging/tests/fixtures/wildcard/connAndUns_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_ConnAndUns.%2A/leave?uuid=UUID_ConnAndUns&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_ConnAndUns.%2A/leave?uuid=UUID_ConnAndUns&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"status": 200, "action": "leave", "message": "OK", "service": "Presence"}' diff --git a/messaging/tests/fixtures/wildcard/connAndUns_Subscribe.yaml b/messaging/tests/fixtures/wildcard/connAndUns_Subscribe.yaml index f74ab0ef..2077d716 100644 --- a/messaging/tests/fixtures/wildcard/connAndUns_Subscribe.yaml +++ b/messaging/tests/fixtures/wildcard/connAndUns_Subscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_ConnAndUns.%2A/0?uuid=UUID_ConnAndUns&tt=0&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_ConnAndUns.%2A/0?uuid=UUID_ConnAndUns&tt=0&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '[[],"14588984225303044","",""]' @@ -31,5 +31,5 @@ interactions: status: 200 OK code: 200 unclosed_requests: - ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_ConnAndUns.%2A/0?uuid=UUID_ConnAndUns&tt=14588984225303044&pnsdk=PubNub-Go%2F3.15.0 + ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_ConnAndUns.%2A/0?uuid=UUID_ConnAndUns&tt=14588984225303044&pnsdk=PubNub-Go%2F3.16.0 : {} diff --git a/messaging/tests/fixtures/wildcard/message_NonSubscribe.yaml b/messaging/tests/fixtures/wildcard/message_NonSubscribe.yaml index c6875623..a482722f 100644 --- a/messaging/tests/fixtures/wildcard/message_NonSubscribe.yaml +++ b/messaging/tests/fixtures/wildcard/message_NonSubscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_SubscribeMajor.Channel_SubscribeMinor/0/%22hey%22?pnsdk=PubNub-Go%2F3.15.0&uuid=UUID_SubscribeMajor&seqn=1 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/publish/pub-c-071e1a3f-607f-4351-bdd1-73a8eb21ba7c/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/0/Channel_SubscribeMajor.Channel_SubscribeMinor/0/%22hey%22?pnsdk=PubNub-Go%2F3.16.0&uuid=UUID_SubscribeMajor&seqn=1 method: GET response: body: '[1,"Sent","14593254434918107"]' @@ -37,8 +37,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_SubscribeMajor.%2A/leave?uuid=UUID_SubscribeMajor&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/presence/sub-key/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/channel/Channel_SubscribeMajor.%2A/leave?uuid=UUID_SubscribeMajor&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"status": 200, "action": "leave", "message": "OK", "service": "Presence"}' diff --git a/messaging/tests/fixtures/wildcard/message_Subscribe.yaml b/messaging/tests/fixtures/wildcard/message_Subscribe.yaml index 600b55e4..6c0354a1 100644 --- a/messaging/tests/fixtures/wildcard/message_Subscribe.yaml +++ b/messaging/tests/fixtures/wildcard/message_Subscribe.yaml @@ -8,8 +8,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SubscribeMajor.%2A/0?uuid=UUID_SubscribeMajor&tt=0&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SubscribeMajor.%2A/0?uuid=UUID_SubscribeMajor&tt=0&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"t":{"t":"14593254433632098","r":4},"m":[]}' @@ -37,8 +37,8 @@ interactions: Accept-Encoding: - gzip User-Agent: - - ua_string=(linux) PubNub-Go/3.15.0 - url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SubscribeMajor.%2A/0?uuid=UUID_SubscribeMajor&tt=14593254433632098&tr=4&pnsdk=PubNub-Go%2F3.15.0 + - ua_string=(linux) PubNub-Go/3.16.0 + url: http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SubscribeMajor.%2A/0?uuid=UUID_SubscribeMajor&tt=14593254433632098&tr=4&pnsdk=PubNub-Go%2F3.16.0 method: GET response: body: '{"t":{"t":"14593254434932405","r":4},"m":[{"a":"1","f":0,"i":"UUID_SubscribeMajor","s":1,"p":{"t":"14593254434932405","r":4},"k":"sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f","c":"Channel_SubscribeMajor.Channel_SubscribeMinor","b":"Channel_SubscribeMajor.*","d":["hey"]}]}' @@ -60,5 +60,5 @@ interactions: status: 200 OK code: 200 unclosed_requests: - ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SubscribeMajor.%2A/0?uuid=UUID_SubscribeMajor&tt=14593254434932405&tr=4&pnsdk=PubNub-Go%2F3.15.0 + ? http://ps.pndsn.com/v2/subscribe/sub-c-5c4fdcc6-c040-11e5-a316-0619f8945a4f/Channel_SubscribeMajor.%2A/0?uuid=UUID_SubscribeMajor&tt=14593254434932405&tr=4&pnsdk=PubNub-Go%2F3.16.0 : {} diff --git a/messaging/tests/pubnubPam_test.go b/messaging/tests/pubnubPam_test.go index 2b74f573..592148c6 100644 --- a/messaging/tests/pubnubPam_test.go +++ b/messaging/tests/pubnubPam_test.go @@ -46,8 +46,8 @@ func TestGrantAndRevokeSubKeyLevelSubscribe(t *testing.T) { pubnubInstance := messaging.NewPubnub(PamPubKey, PamSubKey, PamSecKey, "", false, "", CreateLoggerForTests()) ttl := 4 - message := fmt.Sprintf(`{"status":200,"service":"Access Manager","message":"Success","payload":{"r":1,"m":0,"w":1,"subscribe_key":"%s","ttl":%d,"level":"subkey"}}`, PamSubKey, ttl) - message2 := fmt.Sprintf(`{"status":200,"service":"Access Manager","message":"Success","payload":{"r":0,"m":0,"w":0,"subscribe_key":"%s","ttl":%d,"level":"subkey"}}`, PamSubKey, 1) + message := fmt.Sprintf(`{"status":200,"service":"Access Manager","message":"Success","payload":{"subscribe_key":"%s","ttl":%d,"r":1,"w":1,"m":0,"d":0,"level":"subkey"}}`, PamSubKey, ttl) + message2 := fmt.Sprintf(`{"status":200,"service":"Access Manager","message":"Success","payload":{"level":"subkey","subscribe_key":"%s","ttl":%d,"r":0,"w":0,"m":0,"d":0}}`, PamSubKey, 1) successChannel := make(chan []byte) errorChannel := make(chan []byte) @@ -92,8 +92,8 @@ func TestGrantAndRevokeChannelLevelSubscribe(t *testing.T) { channel := "testChannelGrantAndRevokeChannelLevelSubscribe" ttl := 8 - message := fmt.Sprintf(`{"status":200,"service":"Access Manager","message":"Success","payload":{"channels":{"%s":{"r":1,"m":0,"w":1}},"subscribe_key":"%s","ttl":%d,"level":"channel"}}`, channel, PamSubKey, ttl) - message2 := fmt.Sprintf(`{"status":200,"service":"Access Manager","message":"Success","payload":{"channels":{"%s":{"r":0,"m":0,"w":0}},"subscribe_key":"%s","ttl":%d,"level":"channel"}}`, channel, PamSubKey, 1) + message := fmt.Sprintf(`{"status":200,"service":"Access Manager","message":"Success","payload":{"channels":{"%s":{"r":1,"w":1,"m":0,"d":0}},"level":"channel","subscribe_key":"%s","ttl":%d}}`, channel, PamSubKey, ttl) + message2 := fmt.Sprintf(`{"status":200,"service":"Access Manager","message":"Success","payload":{"ttl":%d,"channels":{"%s":{"w":0,"m":0,"d":0,"r":0}},"level":"channel","subscribe_key":"%s"}}`, 1, channel, PamSubKey) successChannel := make(chan []byte) errorChannel := make(chan []byte) @@ -140,12 +140,12 @@ func TestGrantChannelLevelSubscribeWithAuth(t *testing.T) { ttl := 1 expected := fmt.Sprintf(`{ - "auths":{"%s":{"r":1,"m":0,"w":1}}, + "auths":{"%s":{"d":0,"m":0,"r":1,"w":1}}, "channel":"%s", "level":"user", - "ttl":%d, - "subscribe_key":"%s" - }`, authKey, channel, ttl, PamSubKey) + "subscribe_key":"%s", + "ttl":%d + }`, authKey, channel, PamSubKey, ttl) successChannel := make(chan []byte) errorChannel := make(chan []byte)