Test duration : 45.655s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.761s |
2021-04-05 22:41:01 |
2021-04-05 22:41:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-04-05 22:41:01 | ------------------------------------ 2021-04-05 22:41:01 | [Mutex] isItemNotified: node_21fhhn0203:exists :: false 2021-04-05 22:41:01 | [Mutex] waiting for: [node_21fhhn0203:create_node] 2021-04-05 22:41:01 | [Mutex] received everything. 2021-04-05 22:41:01 | [Mutex] isItemNotified: node_21fhhn0203:create_node:success :: true 2021-04-05 22:41:01 | [Mutex] waiting for: [node_21fhhn0203:subscribe_node] 2021-04-05 22:41:01 | [Mutex] received everything. 2021-04-05 22:41:01 | [Mutex] isItemNotified: node_21fhhn0203:subscribe_node:success :: true 2021-04-05 22:41:01 | ===== publishing normal message (to online) 2021-04-05 22:41:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-05 22:41:01 | command: <data><node>node_21fhhn0203</node><entry><content>content_6tuf2n0204</content></entry></data> 2021-04-05 22:41:01 | target: http://localhost:8088 2021-04-05 22:41:01 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-04-05 22:41:01 | entity: <data><node>node_21fhhn0203</node><entry><content>content_6tuf2n0204</content></entry></data> 2021-04-05 22:41:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Apr 2021 05:41:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-05 22:41:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>81fa06bc-e84e-428d-9273-dd07a1e554ee</value></item-id></result> 2021-04-05 22:41:01 | contains: true 2021-04-05 22:41:01 | [Mutex] received everything. 2021-04-05 22:41:01 | [Mutex] isItemNotified: user_regularpilv1j0202@test-domain.com:message:received:content_6tuf2n0204 :: true 2021-04-05 22:41:01 | ===== publishing already old message - expecting message being filtered out (to online) 2021-04-05 22:41:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-05 22:41:01 | command: <data><node>node_21fhhn0203</node><expire-at>2021-04-06T05:40:56Z</expire-at><entry><content>content_902cs70205</content></entry></data> 2021-04-05 22:41:01 | target: http://localhost:8088 2021-04-05 22:41:01 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-04-05 22:41:01 | entity: <data><node>node_21fhhn0203</node><expire-at>2021-04-06T05:40:56Z</expire-at><entry><content>content_902cs70205</content></entry></data> 2021-04-05 22:41:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Apr 2021 05:41:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-05 22:41:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a2a02999-a883-40f7-8fae-db0dc3da7f2e</value></item-id></result> 2021-04-05 22:41:01 | contains: true 2021-04-05 22:41:01 | [Mutex] waiting for: [user_regularpilv1j0202@test-domain.com:message:received:content_902cs70205] 2021-04-05 22:41:16 | [Mutex] timeout. Not received [user_regularpilv1j0202@test-domain.com:message:received:content_902cs70205] 2021-04-05 22:41:16 | [Mutex] isItemNotified: user_regularpilv1j0202@test-domain.com:message:received:content_902cs70205 :: false 2021-04-05 22:41:16 | ===== publishing normal message (to offline) 2021-04-05 22:41:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-05 22:41:17 | command: <data><node>node_21fhhn0203</node><entry><content>content_oi1lxr0206</content></entry></data> 2021-04-05 22:41:17 | target: http://localhost:8088 2021-04-05 22:41:17 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-04-05 22:41:17 | entity: <data><node>node_21fhhn0203</node><entry><content>content_oi1lxr0206</content></entry></data> 2021-04-05 22:41:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Apr 2021 05:41:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-05 22:41:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3078b6d1-a9ee-467a-bf3b-81ce4140aae9</value></item-id></result> 2021-04-05 22:41:17 | contains: true 2021-04-05 22:41:22 | [Mutex] waiting for: [user_regularpilv1j0202@test-domain.com:message:received:content_oi1lxr0206] 2021-04-05 22:41:22 | [Mutex] received everything. 2021-04-05 22:41:22 | [Mutex] isItemNotified: user_regularpilv1j0202@test-domain.com:message:received:content_oi1lxr0206 :: true 2021-04-05 22:41:22 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-04-05 22:41:22 | [Mutex] received everything. 2021-04-05 22:41:22 | [Mutex] isItemNotified: node_21fhhn0203:subscribe_node:success :: true 2021-04-05 22:41:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-05 22:41:22 | command: <data><node>node_21fhhn0203</node><expire-at>2021-04-06T05:41:27Z</expire-at><entry><content>content_6ag8ly0207</content></entry></data> 2021-04-05 22:41:22 | target: http://localhost:8088 2021-04-05 22:41:22 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-04-05 22:41:22 | entity: <data><node>node_21fhhn0203</node><expire-at>2021-04-06T05:41:27Z</expire-at><entry><content>content_6ag8ly0207</content></entry></data> 2021-04-05 22:41:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Apr 2021 05:41:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-05 22:41:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d4f1f22d-07a0-4d34-9849-6df4d1c8fef4</value></item-id></result> 2021-04-05 22:41:22 | contains: true 2021-04-05 22:41:30 | [Mutex] waiting for: [user_regularpilv1j0202@test-domain.com:message:received:content_6ag8ly0207] 2021-04-05 22:41:30 | [Mutex] waiting for: [user_regularpilv1j0202@test-domain.com:message:received:content_6ag8ly0207] 2021-04-05 22:41:30 | [Mutex] waiting for: [user_regularpilv1j0202@test-domain.com:message:received:content_6ag8ly0207] 2021-04-05 22:41:45 | [Mutex] timeout. Not received [user_regularpilv1j0202@test-domain.com:message:received:content_6ag8ly0207] 2021-04-05 22:41:45 | [Mutex] received everything. 2021-04-05 22:41:45 | [Mutex] isItemNotified: user_regularpilv1j0202@test-domain.com:message:received:content_6ag8ly0207 :: false 2021-04-05 22:41:45 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_6ag8ly0207 :: true |