Test duration : 45.574s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.752s |
2021-01-03 21:35:49 |
2021-01-03 21:35:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-01-03 21:35:49 | ------------------------------------ 2021-01-03 21:35:49 | [Mutex] isItemNotified: node_i9i6gn0203:exists :: false 2021-01-03 21:35:49 | [Mutex] waiting for: [node_i9i6gn0203:create_node] 2021-01-03 21:35:49 | [Mutex] received everything. 2021-01-03 21:35:49 | [Mutex] isItemNotified: node_i9i6gn0203:create_node:success :: true 2021-01-03 21:35:49 | [Mutex] waiting for: [node_i9i6gn0203:subscribe_node] 2021-01-03 21:35:49 | [Mutex] received everything. 2021-01-03 21:35:49 | [Mutex] isItemNotified: node_i9i6gn0203:subscribe_node:success :: true 2021-01-03 21:35:49 | ===== publishing normal message (to online) 2021-01-03 21:35:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-03 21:35:49 | command: <data><node>node_i9i6gn0203</node><entry><content>content_myy4420204</content></entry></data> 2021-01-03 21:35:49 | target: http://localhost:8088 2021-01-03 21:35:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-01-03 21:35:49 | entity: <data><node>node_i9i6gn0203</node><entry><content>content_myy4420204</content></entry></data> 2021-01-03 21:35:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Jan 2021 05:35:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-03 21:35:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>104b9e3d-7241-4f0a-8dbe-4a8089030c37</value></item-id></result> 2021-01-03 21:35:49 | contains: true 2021-01-03 21:35:49 | [Mutex] waiting for: [user_regulargfcs0p0202@test-domain.com:message:received:content_myy4420204] 2021-01-03 21:35:49 | [Mutex] received everything. 2021-01-03 21:35:49 | [Mutex] isItemNotified: user_regulargfcs0p0202@test-domain.com:message:received:content_myy4420204 :: true 2021-01-03 21:35:49 | ===== publishing already old message - expecting message being filtered out (to online) 2021-01-03 21:35:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-03 21:35:49 | command: <data><node>node_i9i6gn0203</node><expire-at>2021-01-04T05:35:44Z</expire-at><entry><content>content_aqu2q90205</content></entry></data> 2021-01-03 21:35:49 | target: http://localhost:8088 2021-01-03 21:35:49 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-01-03 21:35:49 | entity: <data><node>node_i9i6gn0203</node><expire-at>2021-01-04T05:35:44Z</expire-at><entry><content>content_aqu2q90205</content></entry></data> 2021-01-03 21:35:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Jan 2021 05:35:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-03 21:35:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>616df343-e05c-47b4-b64f-3448dcc4e087</value></item-id></result> 2021-01-03 21:35:49 | contains: true 2021-01-03 21:35:49 | [Mutex] waiting for: [user_regulargfcs0p0202@test-domain.com:message:received:content_aqu2q90205] 2021-01-03 21:36:04 | [Mutex] timeout. Not received [user_regulargfcs0p0202@test-domain.com:message:received:content_aqu2q90205] 2021-01-03 21:36:04 | [Mutex] isItemNotified: user_regulargfcs0p0202@test-domain.com:message:received:content_aqu2q90205 :: false 2021-01-03 21:36:04 | ===== publishing normal message (to offline) 2021-01-03 21:36:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-03 21:36:04 | command: <data><node>node_i9i6gn0203</node><entry><content>content_tkwgg30206</content></entry></data> 2021-01-03 21:36:04 | target: http://localhost:8088 2021-01-03 21:36:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-01-03 21:36:04 | entity: <data><node>node_i9i6gn0203</node><entry><content>content_tkwgg30206</content></entry></data> 2021-01-03 21:36:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Jan 2021 05:36:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-03 21:36:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>288a2b6c-8e16-42a5-8f0d-e3a6f8c628d2</value></item-id></result> 2021-01-03 21:36:04 | contains: true 2021-01-03 21:36:09 | [Mutex] waiting for: [user_regulargfcs0p0202@test-domain.com:message:received:content_tkwgg30206] 2021-01-03 21:36:09 | [Mutex] waiting for: [user_regulargfcs0p0202@test-domain.com:message:received:content_tkwgg30206] 2021-01-03 21:36:09 | [Mutex] received everything. 2021-01-03 21:36:09 | [Mutex] isItemNotified: user_regulargfcs0p0202@test-domain.com:message:received:content_tkwgg30206 :: true 2021-01-03 21:36:09 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-01-03 21:36:09 | [Mutex] received everything. 2021-01-03 21:36:09 | [Mutex] isItemNotified: node_i9i6gn0203:subscribe_node:success :: true 2021-01-03 21:36:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-03 21:36:09 | command: <data><node>node_i9i6gn0203</node><expire-at>2021-01-04T05:36:14Z</expire-at><entry><content>content_ykxnzz0207</content></entry></data> 2021-01-03 21:36:09 | target: http://localhost:8088 2021-01-03 21:36:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-01-03 21:36:09 | entity: <data><node>node_i9i6gn0203</node><expire-at>2021-01-04T05:36:14Z</expire-at><entry><content>content_ykxnzz0207</content></entry></data> 2021-01-03 21:36:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Jan 2021 05:36:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-03 21:36:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7767f61a-d696-4de0-9f99-4ff70c053b41</value></item-id></result> 2021-01-03 21:36:09 | contains: true 2021-01-03 21:36:18 | [Mutex] waiting for: [user_regulargfcs0p0202@test-domain.com:message:received:content_ykxnzz0207] 2021-01-03 21:36:18 | [Mutex] waiting for: [user_regulargfcs0p0202@test-domain.com:message:received:content_ykxnzz0207] 2021-01-03 21:36:33 | [Mutex] timeout. Not received [user_regulargfcs0p0202@test-domain.com:message:received:content_ykxnzz0207] 2021-01-03 21:36:33 | [Mutex] received everything. 2021-01-03 21:36:33 | [Mutex] isItemNotified: user_regulargfcs0p0202@test-domain.com:message:received:content_ykxnzz0207 :: false 2021-01-03 21:36:33 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ykxnzz0207 :: true |