Test duration : 45.356s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.670s |
2020-09-18 01:40:51 |
2020-09-18 01:40:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-18 01:40:51 | ------------------------------------ 2020-09-18 01:40:51 | [Mutex] isItemNotified: node_av9pcs0203:exists :: false 2020-09-18 01:40:51 | [Mutex] waiting for: [node_av9pcs0203:create_node] 2020-09-18 01:40:51 | [Mutex] received everything. 2020-09-18 01:40:51 | [Mutex] isItemNotified: node_av9pcs0203:create_node:success :: true 2020-09-18 01:40:51 | [Mutex] waiting for: [node_av9pcs0203:subscribe_node] 2020-09-18 01:40:51 | [Mutex] waiting for: [node_av9pcs0203:subscribe_node] 2020-09-18 01:40:51 | [Mutex] received everything. 2020-09-18 01:40:51 | [Mutex] isItemNotified: node_av9pcs0203:subscribe_node:success :: true 2020-09-18 01:40:51 | ===== publishing normal message (to online) 2020-09-18 01:40:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-18 01:40:51 | command: <data><node>node_av9pcs0203</node><entry><content>content_om24eb0204</content></entry></data> 2020-09-18 01:40:51 | target: http://localhost:8088 2020-09-18 01:40:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-18 01:40:51 | entity: <data><node>node_av9pcs0203</node><entry><content>content_om24eb0204</content></entry></data> 2020-09-18 01:40:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 08:40:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-18 01:40:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9243e782-e801-4d95-9187-78425f0dc9cb</value></item-id></result> 2020-09-18 01:40:51 | contains: true 2020-09-18 01:40:51 | [Mutex] received everything. 2020-09-18 01:40:51 | [Mutex] isItemNotified: user_regulartkwezx0202@test-domain.com:message:received:content_om24eb0204 :: true 2020-09-18 01:40:51 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-18 01:40:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-18 01:40:51 | command: <data><node>node_av9pcs0203</node><expire-at>2020-09-18T08:40:46Z</expire-at><entry><content>content_v595zt0205</content></entry></data> 2020-09-18 01:40:51 | target: http://localhost:8088 2020-09-18 01:40:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-18 01:40:51 | entity: <data><node>node_av9pcs0203</node><expire-at>2020-09-18T08:40:46Z</expire-at><entry><content>content_v595zt0205</content></entry></data> 2020-09-18 01:40:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 08:40:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-18 01:40:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2b04ef48-7e27-4976-b693-edba1de0f3be</value></item-id></result> 2020-09-18 01:40:51 | contains: true 2020-09-18 01:40:51 | [Mutex] waiting for: [user_regulartkwezx0202@test-domain.com:message:received:content_v595zt0205] 2020-09-18 01:41:06 | [Mutex] timeout. Not received [user_regulartkwezx0202@test-domain.com:message:received:content_v595zt0205] 2020-09-18 01:41:06 | [Mutex] isItemNotified: user_regulartkwezx0202@test-domain.com:message:received:content_v595zt0205 :: false 2020-09-18 01:41:06 | ===== publishing normal message (to offline) 2020-09-18 01:41:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-18 01:41:06 | command: <data><node>node_av9pcs0203</node><entry><content>content_8i9n1a0206</content></entry></data> 2020-09-18 01:41:06 | target: http://localhost:8088 2020-09-18 01:41:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-18 01:41:06 | entity: <data><node>node_av9pcs0203</node><entry><content>content_8i9n1a0206</content></entry></data> 2020-09-18 01:41:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 08:41:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-18 01:41:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>acc721d5-def7-4930-8d0f-a5ad8897fbf9</value></item-id></result> 2020-09-18 01:41:06 | contains: true 2020-09-18 01:41:12 | [Mutex] waiting for: [user_regulartkwezx0202@test-domain.com:message:received:content_8i9n1a0206] 2020-09-18 01:41:12 | [Mutex] received everything. 2020-09-18 01:41:12 | [Mutex] isItemNotified: user_regulartkwezx0202@test-domain.com:message:received:content_8i9n1a0206 :: true 2020-09-18 01:41:12 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-18 01:41:12 | [Mutex] received everything. 2020-09-18 01:41:12 | [Mutex] isItemNotified: node_av9pcs0203:subscribe_node:success :: true 2020-09-18 01:41:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-18 01:41:12 | command: <data><node>node_av9pcs0203</node><expire-at>2020-09-18T08:41:17Z</expire-at><entry><content>content_3o7vd20207</content></entry></data> 2020-09-18 01:41:12 | target: http://localhost:8088 2020-09-18 01:41:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-18 01:41:12 | entity: <data><node>node_av9pcs0203</node><expire-at>2020-09-18T08:41:17Z</expire-at><entry><content>content_3o7vd20207</content></entry></data> 2020-09-18 01:41:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 08:41:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-18 01:41:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>61c1564d-94fd-4927-8f6b-a7b9e257609d</value></item-id></result> 2020-09-18 01:41:12 | contains: true 2020-09-18 01:41:20 | [Mutex] waiting for: [user_regulartkwezx0202@test-domain.com:message:received:content_3o7vd20207] 2020-09-18 01:41:35 | [Mutex] timeout. Not received [user_regulartkwezx0202@test-domain.com:message:received:content_3o7vd20207] 2020-09-18 01:41:35 | [Mutex] received everything. 2020-09-18 01:41:35 | [Mutex] isItemNotified: user_regulartkwezx0202@test-domain.com:message:received:content_3o7vd20207 :: false 2020-09-18 01:41:35 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_3o7vd20207 :: true |