Test duration : 45.267s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.793s |
2020-09-07 00:11:33 |
2020-09-07 00:11:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-07 00:11:33 | ------------------------------------ 2020-09-07 00:11:33 | [Mutex] isItemNotified: node_w695vs0203:exists :: false 2020-09-07 00:11:33 | [Mutex] waiting for: [node_w695vs0203:create_node] 2020-09-07 00:11:33 | [Mutex] received everything. 2020-09-07 00:11:33 | [Mutex] isItemNotified: node_w695vs0203:create_node:success :: true 2020-09-07 00:11:33 | [Mutex] waiting for: [node_w695vs0203:subscribe_node] 2020-09-07 00:11:33 | [Mutex] received everything. 2020-09-07 00:11:33 | [Mutex] isItemNotified: node_w695vs0203:subscribe_node:success :: true 2020-09-07 00:11:33 | ===== publishing normal message (to online) 2020-09-07 00:11:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-07 00:11:33 | command: <data><node>node_w695vs0203</node><entry><content>content_3py7vk0204</content></entry></data> 2020-09-07 00:11:33 | target: http://localhost:8088 2020-09-07 00:11:33 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-07 00:11:33 | entity: <data><node>node_w695vs0203</node><entry><content>content_3py7vk0204</content></entry></data> 2020-09-07 00:11:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 07 Sep 2020 07:11:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-07 00:11:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9f20f5dd-56cb-4d1f-9ded-56e722adf312</value></item-id></result> 2020-09-07 00:11:33 | contains: true 2020-09-07 00:11:33 | [Mutex] received everything. 2020-09-07 00:11:33 | [Mutex] isItemNotified: user_regular54jnkf0202@test-domain.com:message:received:content_3py7vk0204 :: true 2020-09-07 00:11:33 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-07 00:11:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-07 00:11:33 | command: <data><node>node_w695vs0203</node><expire-at>2020-09-07T07:11:28Z</expire-at><entry><content>content_6d3b010205</content></entry></data> 2020-09-07 00:11:33 | target: http://localhost:8088 2020-09-07 00:11:33 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-07 00:11:33 | entity: <data><node>node_w695vs0203</node><expire-at>2020-09-07T07:11:28Z</expire-at><entry><content>content_6d3b010205</content></entry></data> 2020-09-07 00:11:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 07 Sep 2020 07:11:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-07 00:11:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>366ce2e2-d410-4df0-a43d-2d5fa64ff39c</value></item-id></result> 2020-09-07 00:11:33 | contains: true 2020-09-07 00:11:33 | [Mutex] waiting for: [user_regular54jnkf0202@test-domain.com:message:received:content_6d3b010205] 2020-09-07 00:11:48 | [Mutex] timeout. Not received [user_regular54jnkf0202@test-domain.com:message:received:content_6d3b010205] 2020-09-07 00:11:48 | [Mutex] isItemNotified: user_regular54jnkf0202@test-domain.com:message:received:content_6d3b010205 :: false 2020-09-07 00:11:48 | ===== publishing normal message (to offline) 2020-09-07 00:11:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-07 00:11:48 | command: <data><node>node_w695vs0203</node><entry><content>content_lkpvsq0206</content></entry></data> 2020-09-07 00:11:48 | target: http://localhost:8088 2020-09-07 00:11:48 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-07 00:11:48 | entity: <data><node>node_w695vs0203</node><entry><content>content_lkpvsq0206</content></entry></data> 2020-09-07 00:11:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 07 Sep 2020 07:11:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-07 00:11:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>958998ce-94da-481a-86fd-27d225f621ed</value></item-id></result> 2020-09-07 00:11:48 | contains: true 2020-09-07 00:11:54 | [Mutex] waiting for: [user_regular54jnkf0202@test-domain.com:message:received:content_lkpvsq0206] 2020-09-07 00:11:54 | [Mutex] received everything. 2020-09-07 00:11:54 | [Mutex] isItemNotified: user_regular54jnkf0202@test-domain.com:message:received:content_lkpvsq0206 :: true 2020-09-07 00:11:54 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-07 00:11:54 | [Mutex] received everything. 2020-09-07 00:11:54 | [Mutex] isItemNotified: node_w695vs0203:subscribe_node:success :: true 2020-09-07 00:11:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-07 00:11:54 | command: <data><node>node_w695vs0203</node><expire-at>2020-09-07T07:11:59Z</expire-at><entry><content>content_7u6n0e0207</content></entry></data> 2020-09-07 00:11:54 | target: http://localhost:8088 2020-09-07 00:11:54 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-07 00:11:54 | entity: <data><node>node_w695vs0203</node><expire-at>2020-09-07T07:11:59Z</expire-at><entry><content>content_7u6n0e0207</content></entry></data> 2020-09-07 00:11:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 07 Sep 2020 07:11:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-07 00:11:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7d38dd8b-5311-49a2-ba8d-0513d4eb8970</value></item-id></result> 2020-09-07 00:11:54 | contains: true 2020-09-07 00:12:02 | [Mutex] waiting for: [user_regular54jnkf0202@test-domain.com:message:received:content_7u6n0e0207] 2020-09-07 00:12:17 | [Mutex] timeout. Not received [user_regular54jnkf0202@test-domain.com:message:received:content_7u6n0e0207] 2020-09-07 00:12:17 | [Mutex] received everything. 2020-09-07 00:12:17 | [Mutex] isItemNotified: user_regular54jnkf0202@test-domain.com:message:received:content_7u6n0e0207 :: false 2020-09-07 00:12:17 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_7u6n0e0207 :: true |