Test duration : 45.951s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.773s |
2020-12-21 21:30:55 |
2020-12-21 21:30:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-12-21 21:30:55 | ------------------------------------ 2020-12-21 21:30:55 | [Mutex] isItemNotified: node_nsqsuz0203:exists :: false 2020-12-21 21:30:55 | [Mutex] waiting for: [node_nsqsuz0203:create_node] 2020-12-21 21:30:55 | [Mutex] received everything. 2020-12-21 21:30:55 | [Mutex] isItemNotified: node_nsqsuz0203:create_node:success :: true 2020-12-21 21:30:55 | [Mutex] waiting for: [node_nsqsuz0203:subscribe_node] 2020-12-21 21:30:55 | [Mutex] received everything. 2020-12-21 21:30:55 | [Mutex] isItemNotified: node_nsqsuz0203:subscribe_node:success :: true 2020-12-21 21:30:55 | ===== publishing normal message (to online) 2020-12-21 21:30:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-12-21 21:30:55 | command: <data><node>node_nsqsuz0203</node><entry><content>content_bij2rv0204</content></entry></data> 2020-12-21 21:30:55 | target: http://localhost:8088 2020-12-21 21:30:55 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-12-21 21:30:55 | entity: <data><node>node_nsqsuz0203</node><entry><content>content_bij2rv0204</content></entry></data> 2020-12-21 21:30:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Dec 2020 05:30:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-12-21 21:30:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ad72de5b-afe2-430c-83c9-c57873cbcc42</value></item-id></result> 2020-12-21 21:30:55 | contains: true 2020-12-21 21:30:55 | [Mutex] waiting for: [user_regularof5s150202@test-domain.com:message:received:content_bij2rv0204] 2020-12-21 21:30:55 | [Mutex] received everything. 2020-12-21 21:30:55 | [Mutex] isItemNotified: user_regularof5s150202@test-domain.com:message:received:content_bij2rv0204 :: true 2020-12-21 21:30:55 | ===== publishing already old message - expecting message being filtered out (to online) 2020-12-21 21:30:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-12-21 21:30:55 | command: <data><node>node_nsqsuz0203</node><expire-at>2020-12-22T05:30:50Z</expire-at><entry><content>content_rc564h0205</content></entry></data> 2020-12-21 21:30:55 | target: http://localhost:8088 2020-12-21 21:30:55 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-12-21 21:30:55 | entity: <data><node>node_nsqsuz0203</node><expire-at>2020-12-22T05:30:50Z</expire-at><entry><content>content_rc564h0205</content></entry></data> 2020-12-21 21:30:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Dec 2020 05:30:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-12-21 21:30:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>44dcfe74-4f45-403e-9357-decf1423be44</value></item-id></result> 2020-12-21 21:30:56 | contains: true 2020-12-21 21:30:56 | [Mutex] waiting for: [user_regularof5s150202@test-domain.com:message:received:content_rc564h0205] 2020-12-21 21:31:11 | [Mutex] timeout. Not received [user_regularof5s150202@test-domain.com:message:received:content_rc564h0205] 2020-12-21 21:31:11 | [Mutex] isItemNotified: user_regularof5s150202@test-domain.com:message:received:content_rc564h0205 :: false 2020-12-21 21:31:11 | ===== publishing normal message (to offline) 2020-12-21 21:31:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-12-21 21:31:11 | command: <data><node>node_nsqsuz0203</node><entry><content>content_deuzi90206</content></entry></data> 2020-12-21 21:31:11 | target: http://localhost:8088 2020-12-21 21:31:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-12-21 21:31:11 | entity: <data><node>node_nsqsuz0203</node><entry><content>content_deuzi90206</content></entry></data> 2020-12-21 21:31:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Dec 2020 05:31:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-12-21 21:31:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b6a38c1b-89a4-4e0d-9582-de8773bef8c2</value></item-id></result> 2020-12-21 21:31:11 | contains: true 2020-12-21 21:31:16 | [Mutex] waiting for: [user_regularof5s150202@test-domain.com:message:received:content_deuzi90206] 2020-12-21 21:31:16 | [Mutex] received everything. 2020-12-21 21:31:16 | [Mutex] isItemNotified: user_regularof5s150202@test-domain.com:message:received:content_deuzi90206 :: true 2020-12-21 21:31:16 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-12-21 21:31:16 | [Mutex] received everything. 2020-12-21 21:31:16 | [Mutex] isItemNotified: node_nsqsuz0203:subscribe_node:success :: true 2020-12-21 21:31:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-12-21 21:31:16 | command: <data><node>node_nsqsuz0203</node><expire-at>2020-12-22T05:31:21Z</expire-at><entry><content>content_ychgu60207</content></entry></data> 2020-12-21 21:31:16 | target: http://localhost:8088 2020-12-21 21:31:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-12-21 21:31:16 | entity: <data><node>node_nsqsuz0203</node><expire-at>2020-12-22T05:31:21Z</expire-at><entry><content>content_ychgu60207</content></entry></data> 2020-12-21 21:31:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Dec 2020 05:31:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-12-21 21:31:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2e1f957f-f9fa-43e1-ad7c-f4fea81413fb</value></item-id></result> 2020-12-21 21:31:16 | contains: true 2020-12-21 21:31:24 | [Mutex] waiting for: [user_regularof5s150202@test-domain.com:message:received:content_ychgu60207] 2020-12-21 21:31:39 | [Mutex] timeout. Not received [user_regularof5s150202@test-domain.com:message:received:content_ychgu60207] 2020-12-21 21:31:39 | [Mutex] received everything. 2020-12-21 21:31:39 | [Mutex] isItemNotified: user_regularof5s150202@test-domain.com:message:received:content_ychgu60207 :: false 2020-12-21 21:31:39 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ychgu60207 :: true |