Test duration : 45.378s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.552s |
2022-02-13 22:12:12 |
2022-02-13 22:12:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-13 22:12:12 | ------------------------------------ 2022-02-13 22:12:12 | [Mutex] isItemNotified: node_n84vmb0203:exists :: false 2022-02-13 22:12:12 | [Mutex] waiting for: [node_n84vmb0203:create_node] 2022-02-13 22:12:12 | [Mutex] received everything. 2022-02-13 22:12:12 | [Mutex] isItemNotified: node_n84vmb0203:create_node:success :: true 2022-02-13 22:12:12 | [Mutex] waiting for: [node_n84vmb0203:subscribe_node] 2022-02-13 22:12:12 | [Mutex] waiting for: [node_n84vmb0203:subscribe_node] 2022-02-13 22:12:12 | [Mutex] received everything. 2022-02-13 22:12:12 | [Mutex] isItemNotified: node_n84vmb0203:subscribe_node:success :: true 2022-02-13 22:12:12 | ===== publishing normal message (to online) 2022-02-13 22:12:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-13 22:12:12 | command: <data><node>node_n84vmb0203</node><entry><content>content_i2fy040204</content></entry></data> 2022-02-13 22:12:12 | target: http://localhost:8088 2022-02-13 22:12:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-13 22:12:12 | entity: <data><node>node_n84vmb0203</node><entry><content>content_i2fy040204</content></entry></data> 2022-02-13 22:12:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Feb 2022 06:12:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-13 22:12:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>725d8c8b-84fe-4e46-b9f9-9b719978f133</value></item-id></result> 2022-02-13 22:12:12 | contains: true 2022-02-13 22:12:12 | [Mutex] received everything. 2022-02-13 22:12:12 | [Mutex] isItemNotified: user_regulark42h360202@test-domain.com:message:received:content_i2fy040204 :: true 2022-02-13 22:12:12 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-13 22:12:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-13 22:12:12 | command: <data><node>node_n84vmb0203</node><expire-at>2022-02-14T06:12:07Z</expire-at><entry><content>content_tr2j0w0205</content></entry></data> 2022-02-13 22:12:12 | target: http://localhost:8088 2022-02-13 22:12:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-13 22:12:12 | entity: <data><node>node_n84vmb0203</node><expire-at>2022-02-14T06:12:07Z</expire-at><entry><content>content_tr2j0w0205</content></entry></data> 2022-02-13 22:12:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Feb 2022 06:12:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-13 22:12:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4a97351f-8738-4802-badf-c2acabb145b7</value></item-id></result> 2022-02-13 22:12:12 | contains: true 2022-02-13 22:12:12 | [Mutex] waiting for: [user_regulark42h360202@test-domain.com:message:received:content_tr2j0w0205] 2022-02-13 22:12:27 | [Mutex] timeout. Not received [user_regulark42h360202@test-domain.com:message:received:content_tr2j0w0205] 2022-02-13 22:12:27 | [Mutex] isItemNotified: user_regulark42h360202@test-domain.com:message:received:content_tr2j0w0205 :: false 2022-02-13 22:12:27 | ===== publishing normal message (to offline) 2022-02-13 22:12:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-13 22:12:27 | command: <data><node>node_n84vmb0203</node><entry><content>content_80ipgl0206</content></entry></data> 2022-02-13 22:12:27 | target: http://localhost:8088 2022-02-13 22:12:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-13 22:12:27 | entity: <data><node>node_n84vmb0203</node><entry><content>content_80ipgl0206</content></entry></data> 2022-02-13 22:12:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Feb 2022 06:12:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-13 22:12:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a5757eab-2c88-4a10-9992-0c2e265eb316</value></item-id></result> 2022-02-13 22:12:27 | contains: true 2022-02-13 22:12:32 | [Mutex] waiting for: [user_regulark42h360202@test-domain.com:message:received:content_80ipgl0206] 2022-02-13 22:12:32 | [Mutex] received everything. 2022-02-13 22:12:32 | [Mutex] isItemNotified: user_regulark42h360202@test-domain.com:message:received:content_80ipgl0206 :: true 2022-02-13 22:12:32 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-13 22:12:32 | [Mutex] received everything. 2022-02-13 22:12:32 | [Mutex] isItemNotified: node_n84vmb0203:subscribe_node:success :: true 2022-02-13 22:12:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-13 22:12:32 | command: <data><node>node_n84vmb0203</node><expire-at>2022-02-14T06:12:37Z</expire-at><entry><content>content_gitfoq0207</content></entry></data> 2022-02-13 22:12:32 | target: http://localhost:8088 2022-02-13 22:12:32 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-13 22:12:32 | entity: <data><node>node_n84vmb0203</node><expire-at>2022-02-14T06:12:37Z</expire-at><entry><content>content_gitfoq0207</content></entry></data> 2022-02-13 22:12:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Feb 2022 06:12:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-13 22:12:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2b139155-1b3d-42f9-948f-3587e2ab3075</value></item-id></result> 2022-02-13 22:12:32 | contains: true 2022-02-13 22:12:41 | [Mutex] waiting for: [user_regulark42h360202@test-domain.com:message:received:content_gitfoq0207] 2022-02-13 22:12:56 | [Mutex] timeout. Not received [user_regulark42h360202@test-domain.com:message:received:content_gitfoq0207] 2022-02-13 22:12:56 | [Mutex] received everything. 2022-02-13 22:12:56 | [Mutex] isItemNotified: user_regulark42h360202@test-domain.com:message:received:content_gitfoq0207 :: false 2022-02-13 22:12:56 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_gitfoq0207 :: true |