Test duration : 45.208s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.682s |
2020-09-21 23:30:51 |
2020-09-21 23:30:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-21 23:30:51 | ------------------------------------ 2020-09-21 23:30:51 | [Mutex] isItemNotified: node_j261pl0203:exists :: false 2020-09-21 23:30:51 | [Mutex] waiting for: [node_j261pl0203:create_node] 2020-09-21 23:30:51 | [Mutex] received everything. 2020-09-21 23:30:51 | [Mutex] isItemNotified: node_j261pl0203:create_node:success :: true 2020-09-21 23:30:51 | [Mutex] waiting for: [node_j261pl0203:subscribe_node] 2020-09-21 23:30:51 | [Mutex] waiting for: [node_j261pl0203:subscribe_node] 2020-09-21 23:30:51 | [Mutex] received everything. 2020-09-21 23:30:51 | [Mutex] isItemNotified: node_j261pl0203:subscribe_node:success :: true 2020-09-21 23:30:51 | ===== publishing normal message (to online) 2020-09-21 23:30:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-21 23:30:51 | command: <data><node>node_j261pl0203</node><entry><content>content_8pwpgu0204</content></entry></data> 2020-09-21 23:30:51 | target: http://localhost:8088 2020-09-21 23:30:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-21 23:30:51 | entity: <data><node>node_j261pl0203</node><entry><content>content_8pwpgu0204</content></entry></data> 2020-09-21 23:30:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Sep 2020 06:30:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-21 23:30:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c20050b6-289c-4cbe-a039-de67673c1a95</value></item-id></result> 2020-09-21 23:30:51 | contains: true 2020-09-21 23:30:51 | [Mutex] waiting for: [user_regular9knncs0202@test-domain.com:message:received:content_8pwpgu0204] 2020-09-21 23:30:51 | [Mutex] received everything. 2020-09-21 23:30:51 | [Mutex] isItemNotified: user_regular9knncs0202@test-domain.com:message:received:content_8pwpgu0204 :: true 2020-09-21 23:30:51 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-21 23:30:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-21 23:30:51 | command: <data><node>node_j261pl0203</node><expire-at>2020-09-22T06:30:46Z</expire-at><entry><content>content_ksptxr0205</content></entry></data> 2020-09-21 23:30:51 | target: http://localhost:8088 2020-09-21 23:30:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-21 23:30:51 | entity: <data><node>node_j261pl0203</node><expire-at>2020-09-22T06:30:46Z</expire-at><entry><content>content_ksptxr0205</content></entry></data> 2020-09-21 23:30:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Sep 2020 06:30:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-21 23:30:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9b17d91f-3d3c-4bf3-87d3-98930e6bb6f8</value></item-id></result> 2020-09-21 23:30:51 | contains: true 2020-09-21 23:30:51 | [Mutex] waiting for: [user_regular9knncs0202@test-domain.com:message:received:content_ksptxr0205] 2020-09-21 23:31:06 | [Mutex] timeout. Not received [user_regular9knncs0202@test-domain.com:message:received:content_ksptxr0205] 2020-09-21 23:31:06 | [Mutex] isItemNotified: user_regular9knncs0202@test-domain.com:message:received:content_ksptxr0205 :: false 2020-09-21 23:31:06 | ===== publishing normal message (to offline) 2020-09-21 23:31:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-21 23:31:06 | command: <data><node>node_j261pl0203</node><entry><content>content_skhk5b0206</content></entry></data> 2020-09-21 23:31:06 | target: http://localhost:8088 2020-09-21 23:31:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-21 23:31:06 | entity: <data><node>node_j261pl0203</node><entry><content>content_skhk5b0206</content></entry></data> 2020-09-21 23:31:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Sep 2020 06:31:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-21 23:31:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0ae5d2d4-b688-42f5-8384-83019a4d937e</value></item-id></result> 2020-09-21 23:31:06 | contains: true 2020-09-21 23:31:12 | [Mutex] waiting for: [user_regular9knncs0202@test-domain.com:message:received:content_skhk5b0206] 2020-09-21 23:31:12 | [Mutex] received everything. 2020-09-21 23:31:12 | [Mutex] isItemNotified: user_regular9knncs0202@test-domain.com:message:received:content_skhk5b0206 :: true 2020-09-21 23:31:12 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-21 23:31:12 | [Mutex] received everything. 2020-09-21 23:31:12 | [Mutex] isItemNotified: node_j261pl0203:subscribe_node:success :: true 2020-09-21 23:31:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-21 23:31:12 | command: <data><node>node_j261pl0203</node><expire-at>2020-09-22T06:31:17Z</expire-at><entry><content>content_vp5r1w0207</content></entry></data> 2020-09-21 23:31:12 | target: http://localhost:8088 2020-09-21 23:31:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-21 23:31:12 | entity: <data><node>node_j261pl0203</node><expire-at>2020-09-22T06:31:17Z</expire-at><entry><content>content_vp5r1w0207</content></entry></data> 2020-09-21 23:31:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Sep 2020 06:31:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-21 23:31:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8b075235-2d4e-4ea1-8d55-e952a570683d</value></item-id></result> 2020-09-21 23:31:12 | contains: true 2020-09-21 23:31:20 | [Mutex] waiting for: [user_regular9knncs0202@test-domain.com:message:received:content_vp5r1w0207] 2020-09-21 23:31:35 | [Mutex] timeout. Not received [user_regular9knncs0202@test-domain.com:message:received:content_vp5r1w0207] 2020-09-21 23:31:35 | [Mutex] received everything. 2020-09-21 23:31:35 | [Mutex] isItemNotified: user_regular9knncs0202@test-domain.com:message:received:content_vp5r1w0207 :: false 2020-09-21 23:31:35 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_vp5r1w0207 :: true |