Test duration : 45.269s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.789s |
2020-11-09 21:41:31 |
2020-11-09 21:41:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-11-09 21:41:31 | ------------------------------------ 2020-11-09 21:41:31 | [Mutex] isItemNotified: node_rb8ymp0203:exists :: false 2020-11-09 21:41:31 | [Mutex] waiting for: [node_rb8ymp0203:create_node] 2020-11-09 21:41:31 | [Mutex] received everything. 2020-11-09 21:41:31 | [Mutex] isItemNotified: node_rb8ymp0203:create_node:success :: true 2020-11-09 21:41:31 | [Mutex] waiting for: [node_rb8ymp0203:subscribe_node] 2020-11-09 21:41:31 | [Mutex] waiting for: [node_rb8ymp0203:subscribe_node] 2020-11-09 21:41:31 | [Mutex] received everything. 2020-11-09 21:41:31 | [Mutex] isItemNotified: node_rb8ymp0203:subscribe_node:success :: true 2020-11-09 21:41:31 | ===== publishing normal message (to online) 2020-11-09 21:41:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-09 21:41:31 | command: <data><node>node_rb8ymp0203</node><entry><content>content_4ro22s0204</content></entry></data> 2020-11-09 21:41:31 | target: http://localhost:8088 2020-11-09 21:41:31 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-11-09 21:41:31 | entity: <data><node>node_rb8ymp0203</node><entry><content>content_4ro22s0204</content></entry></data> 2020-11-09 21:41:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 10 Nov 2020 05:41:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-09 21:41:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a7e1f7a0-d82e-40d0-8002-843177a17b12</value></item-id></result> 2020-11-09 21:41:31 | contains: true 2020-11-09 21:41:31 | [Mutex] waiting for: [user_regular4d31yu0202@test-domain.com:message:received:content_4ro22s0204] 2020-11-09 21:41:31 | [Mutex] received everything. 2020-11-09 21:41:31 | [Mutex] isItemNotified: user_regular4d31yu0202@test-domain.com:message:received:content_4ro22s0204 :: true 2020-11-09 21:41:31 | ===== publishing already old message - expecting message being filtered out (to online) 2020-11-09 21:41:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-09 21:41:31 | command: <data><node>node_rb8ymp0203</node><expire-at>2020-11-10T05:41:26Z</expire-at><entry><content>content_ulkwhu0205</content></entry></data> 2020-11-09 21:41:31 | target: http://localhost:8088 2020-11-09 21:41:31 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-11-09 21:41:31 | entity: <data><node>node_rb8ymp0203</node><expire-at>2020-11-10T05:41:26Z</expire-at><entry><content>content_ulkwhu0205</content></entry></data> 2020-11-09 21:41:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 10 Nov 2020 05:41:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-09 21:41:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>239b3ca7-5478-40d8-a60c-340b1f728665</value></item-id></result> 2020-11-09 21:41:32 | contains: true 2020-11-09 21:41:32 | [Mutex] waiting for: [user_regular4d31yu0202@test-domain.com:message:received:content_ulkwhu0205] 2020-11-09 21:41:47 | [Mutex] timeout. Not received [user_regular4d31yu0202@test-domain.com:message:received:content_ulkwhu0205] 2020-11-09 21:41:47 | [Mutex] isItemNotified: user_regular4d31yu0202@test-domain.com:message:received:content_ulkwhu0205 :: false 2020-11-09 21:41:47 | ===== publishing normal message (to offline) 2020-11-09 21:41:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-09 21:41:47 | command: <data><node>node_rb8ymp0203</node><entry><content>content_xjupqu0206</content></entry></data> 2020-11-09 21:41:47 | target: http://localhost:8088 2020-11-09 21:41:47 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-11-09 21:41:47 | entity: <data><node>node_rb8ymp0203</node><entry><content>content_xjupqu0206</content></entry></data> 2020-11-09 21:41:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 10 Nov 2020 05:41:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-09 21:41:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0c6a5660-fdd6-4c91-8810-35bdcf1fbbd2</value></item-id></result> 2020-11-09 21:41:47 | contains: true 2020-11-09 21:41:52 | [Mutex] waiting for: [user_regular4d31yu0202@test-domain.com:message:received:content_xjupqu0206] 2020-11-09 21:41:52 | [Mutex] received everything. 2020-11-09 21:41:52 | [Mutex] isItemNotified: user_regular4d31yu0202@test-domain.com:message:received:content_xjupqu0206 :: true 2020-11-09 21:41:52 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-11-09 21:41:52 | [Mutex] received everything. 2020-11-09 21:41:52 | [Mutex] isItemNotified: node_rb8ymp0203:subscribe_node:success :: true 2020-11-09 21:41:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-09 21:41:52 | command: <data><node>node_rb8ymp0203</node><expire-at>2020-11-10T05:41:57Z</expire-at><entry><content>content_yq5kom0207</content></entry></data> 2020-11-09 21:41:52 | target: http://localhost:8088 2020-11-09 21:41:52 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-11-09 21:41:52 | entity: <data><node>node_rb8ymp0203</node><expire-at>2020-11-10T05:41:57Z</expire-at><entry><content>content_yq5kom0207</content></entry></data> 2020-11-09 21:41:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 10 Nov 2020 05:41:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-09 21:41:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>740d9905-e4da-4811-9d26-b4c2d3e695bd</value></item-id></result> 2020-11-09 21:41:52 | contains: true 2020-11-09 21:42:00 | [Mutex] waiting for: [user_regular4d31yu0202@test-domain.com:message:received:content_yq5kom0207] 2020-11-09 21:42:00 | [Mutex] waiting for: [user_regular4d31yu0202@test-domain.com:message:received:content_yq5kom0207] 2020-11-09 21:42:15 | [Mutex] timeout. Not received [user_regular4d31yu0202@test-domain.com:message:received:content_yq5kom0207] 2020-11-09 21:42:15 | [Mutex] received everything. 2020-11-09 21:42:15 | [Mutex] isItemNotified: user_regular4d31yu0202@test-domain.com:message:received:content_yq5kom0207 :: false 2020-11-09 21:42:15 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_yq5kom0207 :: true |