Test duration : 44.860s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.553s |
2022-08-01 23:07:16 |
2022-08-01 23:07:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-08-01 23:07:16 | ------------------------------------ 2022-08-01 23:07:16 | [Mutex] isItemNotified: node_sdl27g0204:exists :: false 2022-08-01 23:07:16 | [Mutex] waiting for: [node_sdl27g0204:create_node] 2022-08-01 23:07:16 | [Mutex] waiting for: [node_sdl27g0204:create_node] 2022-08-01 23:07:16 | [Mutex] received everything. 2022-08-01 23:07:16 | [Mutex] isItemNotified: node_sdl27g0204:create_node:success :: true 2022-08-01 23:07:16 | [Mutex] waiting for: [node_sdl27g0204:subscribe_node] 2022-08-01 23:07:16 | [Mutex] received everything. 2022-08-01 23:07:16 | [Mutex] isItemNotified: node_sdl27g0204:subscribe_node:success :: true 2022-08-01 23:07:16 | ===== publishing normal message (to online) 2022-08-01 23:07:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-01 23:07:16 | command: <data><node>node_sdl27g0204</node><entry><content>content_s7bghl0205</content></entry></data> 2022-08-01 23:07:16 | target: http://localhost:8088 2022-08-01 23:07:16 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-01 23:07:16 | entity: <data><node>node_sdl27g0204</node><entry><content>content_s7bghl0205</content></entry></data> 2022-08-01 23:07:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 02 Aug 2022 06:07:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-01 23:07:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>58df958e-c540-40ad-a78b-d180aa524b46</value></item-id></result> 2022-08-01 23:07:16 | contains: true 2022-08-01 23:07:16 | [Mutex] received everything. 2022-08-01 23:07:16 | [Mutex] isItemNotified: user_regular5uhxgi0203@test-domain.com:message:received:content_s7bghl0205 :: true 2022-08-01 23:07:16 | ===== publishing already old message - expecting message being filtered out (to online) 2022-08-01 23:07:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-01 23:07:16 | command: <data><node>node_sdl27g0204</node><expire-at>2022-08-02T06:07:11Z</expire-at><entry><content>content_a9g58v0206</content></entry></data> 2022-08-01 23:07:16 | target: http://localhost:8088 2022-08-01 23:07:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-01 23:07:16 | entity: <data><node>node_sdl27g0204</node><expire-at>2022-08-02T06:07:11Z</expire-at><entry><content>content_a9g58v0206</content></entry></data> 2022-08-01 23:07:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 02 Aug 2022 06:07:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-01 23:07:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>eb54f223-86a2-4a51-bdd1-e702fcf7eb64</value></item-id></result> 2022-08-01 23:07:16 | contains: true 2022-08-01 23:07:16 | [Mutex] waiting for: [user_regular5uhxgi0203@test-domain.com:message:received:content_a9g58v0206] 2022-08-01 23:07:31 | [Mutex] timeout. Not received [user_regular5uhxgi0203@test-domain.com:message:received:content_a9g58v0206] 2022-08-01 23:07:31 | [Mutex] isItemNotified: user_regular5uhxgi0203@test-domain.com:message:received:content_a9g58v0206 :: false 2022-08-01 23:07:31 | ===== publishing normal message (to offline) 2022-08-01 23:07:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-01 23:07:31 | command: <data><node>node_sdl27g0204</node><entry><content>content_c5rhq70207</content></entry></data> 2022-08-01 23:07:31 | target: http://localhost:8088 2022-08-01 23:07:31 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-01 23:07:31 | entity: <data><node>node_sdl27g0204</node><entry><content>content_c5rhq70207</content></entry></data> 2022-08-01 23:07:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 02 Aug 2022 06:07:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-01 23:07:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1eaafc72-7ebe-434e-936c-b7b4baeba3a5</value></item-id></result> 2022-08-01 23:07:31 | contains: true 2022-08-01 23:07:36 | [Mutex] waiting for: [user_regular5uhxgi0203@test-domain.com:message:received:content_c5rhq70207] 2022-08-01 23:07:36 | [Mutex] received everything. 2022-08-01 23:07:36 | [Mutex] isItemNotified: user_regular5uhxgi0203@test-domain.com:message:received:content_c5rhq70207 :: true 2022-08-01 23:07:36 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-08-01 23:07:36 | [Mutex] received everything. 2022-08-01 23:07:36 | [Mutex] isItemNotified: node_sdl27g0204:subscribe_node:success :: true 2022-08-01 23:07:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-01 23:07:36 | command: <data><node>node_sdl27g0204</node><expire-at>2022-08-02T06:07:41Z</expire-at><entry><content>content_f8h35h0208</content></entry></data> 2022-08-01 23:07:36 | target: http://localhost:8088 2022-08-01 23:07:36 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-01 23:07:36 | entity: <data><node>node_sdl27g0204</node><expire-at>2022-08-02T06:07:41Z</expire-at><entry><content>content_f8h35h0208</content></entry></data> 2022-08-01 23:07:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 02 Aug 2022 06:07:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-01 23:07:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>218ea4c2-8dca-467b-8171-adafa52aa387</value></item-id></result> 2022-08-01 23:07:36 | contains: true 2022-08-01 23:07:44 | [Mutex] waiting for: [user_regular5uhxgi0203@test-domain.com:message:received:content_f8h35h0208] 2022-08-01 23:07:44 | [Mutex] waiting for: [user_regular5uhxgi0203@test-domain.com:message:received:content_f8h35h0208] 2022-08-01 23:07:44 | [Mutex] waiting for: [user_regular5uhxgi0203@test-domain.com:message:received:content_f8h35h0208] 2022-08-01 23:07:59 | [Mutex] timeout. Not received [user_regular5uhxgi0203@test-domain.com:message:received:content_f8h35h0208] 2022-08-01 23:07:59 | [Mutex] received everything. 2022-08-01 23:07:59 | [Mutex] isItemNotified: user_regular5uhxgi0203@test-domain.com:message:received:content_f8h35h0208 :: false 2022-08-01 23:07:59 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_f8h35h0208 :: true |