Test duration : 45.190s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.585s |
2021-11-09 21:44:41 |
2021-11-09 21:44:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-11-09 21:44:41 | ------------------------------------ 2021-11-09 21:44:41 | [Mutex] isItemNotified: node_47ai1x0203:exists :: false 2021-11-09 21:44:41 | [Mutex] waiting for: [node_47ai1x0203:create_node] 2021-11-09 21:44:41 | [Mutex] received everything. 2021-11-09 21:44:41 | [Mutex] isItemNotified: node_47ai1x0203:create_node:success :: true 2021-11-09 21:44:41 | [Mutex] waiting for: [node_47ai1x0203:subscribe_node] 2021-11-09 21:44:41 | [Mutex] received everything. 2021-11-09 21:44:41 | [Mutex] isItemNotified: node_47ai1x0203:subscribe_node:success :: true 2021-11-09 21:44:41 | ===== publishing normal message (to online) 2021-11-09 21:44:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-11-09 21:44:41 | command: <data><node>node_47ai1x0203</node><entry><content>content_cce7rk0204</content></entry></data> 2021-11-09 21:44:41 | target: http://localhost:8088 2021-11-09 21:44:41 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-11-09 21:44:41 | entity: <data><node>node_47ai1x0203</node><entry><content>content_cce7rk0204</content></entry></data> 2021-11-09 21:44:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 10 Nov 2021 05:44:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-11-09 21:44:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>871384aa-5030-496d-a60b-8addcfd29043</value></item-id></result> 2021-11-09 21:44:41 | contains: true 2021-11-09 21:44:41 | [Mutex] received everything. 2021-11-09 21:44:41 | [Mutex] isItemNotified: user_regular5z78ty0202@test-domain.com:message:received:content_cce7rk0204 :: true 2021-11-09 21:44:41 | ===== publishing already old message - expecting message being filtered out (to online) 2021-11-09 21:44:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-11-09 21:44:41 | command: <data><node>node_47ai1x0203</node><expire-at>2021-11-10T05:44:36Z</expire-at><entry><content>content_xmj3l40205</content></entry></data> 2021-11-09 21:44:41 | target: http://localhost:8088 2021-11-09 21:44:41 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-11-09 21:44:41 | entity: <data><node>node_47ai1x0203</node><expire-at>2021-11-10T05:44:36Z</expire-at><entry><content>content_xmj3l40205</content></entry></data> 2021-11-09 21:44:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 10 Nov 2021 05:44:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-11-09 21:44:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7de3929c-42de-4292-9077-9c2cf7d64e40</value></item-id></result> 2021-11-09 21:44:41 | contains: true 2021-11-09 21:44:41 | [Mutex] waiting for: [user_regular5z78ty0202@test-domain.com:message:received:content_xmj3l40205] 2021-11-09 21:44:56 | [Mutex] timeout. Not received [user_regular5z78ty0202@test-domain.com:message:received:content_xmj3l40205] 2021-11-09 21:44:56 | [Mutex] isItemNotified: user_regular5z78ty0202@test-domain.com:message:received:content_xmj3l40205 :: false 2021-11-09 21:44:56 | ===== publishing normal message (to offline) 2021-11-09 21:44:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-11-09 21:44:56 | command: <data><node>node_47ai1x0203</node><entry><content>content_g3diev0206</content></entry></data> 2021-11-09 21:44:56 | target: http://localhost:8088 2021-11-09 21:44:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-11-09 21:44:56 | entity: <data><node>node_47ai1x0203</node><entry><content>content_g3diev0206</content></entry></data> 2021-11-09 21:44:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 10 Nov 2021 05:44:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-11-09 21:44:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2e75df11-5dd0-4be3-8267-d91285a45a0f</value></item-id></result> 2021-11-09 21:44:56 | contains: true 2021-11-09 21:45:02 | [Mutex] waiting for: [user_regular5z78ty0202@test-domain.com:message:received:content_g3diev0206] 2021-11-09 21:45:02 | [Mutex] waiting for: [user_regular5z78ty0202@test-domain.com:message:received:content_g3diev0206] 2021-11-09 21:45:02 | [Mutex] received everything. 2021-11-09 21:45:02 | [Mutex] isItemNotified: user_regular5z78ty0202@test-domain.com:message:received:content_g3diev0206 :: true 2021-11-09 21:45:02 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-11-09 21:45:02 | [Mutex] received everything. 2021-11-09 21:45:02 | [Mutex] isItemNotified: node_47ai1x0203:subscribe_node:success :: true 2021-11-09 21:45:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-11-09 21:45:02 | command: <data><node>node_47ai1x0203</node><expire-at>2021-11-10T05:45:07Z</expire-at><entry><content>content_5d632h0207</content></entry></data> 2021-11-09 21:45:02 | target: http://localhost:8088 2021-11-09 21:45:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-11-09 21:45:02 | entity: <data><node>node_47ai1x0203</node><expire-at>2021-11-10T05:45:07Z</expire-at><entry><content>content_5d632h0207</content></entry></data> 2021-11-09 21:45:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 10 Nov 2021 05:45:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-11-09 21:45:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f1dbc0b6-1ceb-460b-ab21-5349ffbade92</value></item-id></result> 2021-11-09 21:45:02 | contains: true 2021-11-09 21:45:10 | [Mutex] waiting for: [user_regular5z78ty0202@test-domain.com:message:received:content_5d632h0207] 2021-11-09 21:45:10 | [Mutex] waiting for: [user_regular5z78ty0202@test-domain.com:message:received:content_5d632h0207] 2021-11-09 21:45:10 | [Mutex] waiting for: [user_regular5z78ty0202@test-domain.com:message:received:content_5d632h0207] 2021-11-09 21:45:25 | [Mutex] timeout. Not received [user_regular5z78ty0202@test-domain.com:message:received:content_5d632h0207] 2021-11-09 21:45:25 | [Mutex] received everything. 2021-11-09 21:45:25 | [Mutex] isItemNotified: user_regular5z78ty0202@test-domain.com:message:received:content_5d632h0207 :: false 2021-11-09 21:45:25 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_5d632h0207 :: true |