Test duration : 44.768s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.537s |
2022-08-08 23:07:50 |
2022-08-08 23:07:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-08-08 23:07:50 | ------------------------------------ 2022-08-08 23:07:50 | [Mutex] isItemNotified: node_navxrn0204:exists :: false 2022-08-08 23:07:50 | [Mutex] waiting for: [node_navxrn0204:create_node] 2022-08-08 23:07:50 | [Mutex] received everything. 2022-08-08 23:07:50 | [Mutex] isItemNotified: node_navxrn0204:create_node:success :: true 2022-08-08 23:07:50 | [Mutex] waiting for: [node_navxrn0204:subscribe_node] 2022-08-08 23:07:50 | [Mutex] received everything. 2022-08-08 23:07:50 | [Mutex] isItemNotified: node_navxrn0204:subscribe_node:success :: true 2022-08-08 23:07:50 | ===== publishing normal message (to online) 2022-08-08 23:07:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-08 23:07:50 | command: <data><node>node_navxrn0204</node><entry><content>content_9791rs0205</content></entry></data> 2022-08-08 23:07:50 | target: http://localhost:8088 2022-08-08 23:07:50 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-08 23:07:50 | entity: <data><node>node_navxrn0204</node><entry><content>content_9791rs0205</content></entry></data> 2022-08-08 23:07:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 09 Aug 2022 06:07:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-08 23:07:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>65796b41-81d4-48f2-994d-824f78dc077b</value></item-id></result> 2022-08-08 23:07:50 | contains: true 2022-08-08 23:07:50 | [Mutex] received everything. 2022-08-08 23:07:50 | [Mutex] isItemNotified: user_regular93hl2a0203@test-domain.com:message:received:content_9791rs0205 :: true 2022-08-08 23:07:50 | ===== publishing already old message - expecting message being filtered out (to online) 2022-08-08 23:07:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-08 23:07:50 | command: <data><node>node_navxrn0204</node><expire-at>2022-08-09T06:07:45Z</expire-at><entry><content>content_gg5s8g0206</content></entry></data> 2022-08-08 23:07:50 | target: http://localhost:8088 2022-08-08 23:07:50 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-08 23:07:50 | entity: <data><node>node_navxrn0204</node><expire-at>2022-08-09T06:07:45Z</expire-at><entry><content>content_gg5s8g0206</content></entry></data> 2022-08-08 23:07:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 09 Aug 2022 06:07:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-08 23:07:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fdbed56e-191e-49b9-92bd-eb87b14205bd</value></item-id></result> 2022-08-08 23:07:50 | contains: true 2022-08-08 23:07:50 | [Mutex] waiting for: [user_regular93hl2a0203@test-domain.com:message:received:content_gg5s8g0206] 2022-08-08 23:08:05 | [Mutex] timeout. Not received [user_regular93hl2a0203@test-domain.com:message:received:content_gg5s8g0206] 2022-08-08 23:08:05 | [Mutex] isItemNotified: user_regular93hl2a0203@test-domain.com:message:received:content_gg5s8g0206 :: false 2022-08-08 23:08:05 | ===== publishing normal message (to offline) 2022-08-08 23:08:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-08 23:08:05 | command: <data><node>node_navxrn0204</node><entry><content>content_s719g00207</content></entry></data> 2022-08-08 23:08:05 | target: http://localhost:8088 2022-08-08 23:08:05 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-08 23:08:05 | entity: <data><node>node_navxrn0204</node><entry><content>content_s719g00207</content></entry></data> 2022-08-08 23:08:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 09 Aug 2022 06:08:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-08 23:08:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4ec9ec63-6883-409a-ace8-88dc45b44116</value></item-id></result> 2022-08-08 23:08:05 | contains: true 2022-08-08 23:08:10 | [Mutex] received everything. 2022-08-08 23:08:10 | [Mutex] isItemNotified: user_regular93hl2a0203@test-domain.com:message:received:content_s719g00207 :: true 2022-08-08 23:08:10 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-08-08 23:08:10 | [Mutex] received everything. 2022-08-08 23:08:10 | [Mutex] isItemNotified: node_navxrn0204:subscribe_node:success :: true 2022-08-08 23:08:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-08 23:08:10 | command: <data><node>node_navxrn0204</node><expire-at>2022-08-09T06:08:15Z</expire-at><entry><content>content_vc87xo0208</content></entry></data> 2022-08-08 23:08:10 | target: http://localhost:8088 2022-08-08 23:08:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-08 23:08:10 | entity: <data><node>node_navxrn0204</node><expire-at>2022-08-09T06:08:15Z</expire-at><entry><content>content_vc87xo0208</content></entry></data> 2022-08-08 23:08:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 09 Aug 2022 06:08:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-08 23:08:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>07010b2c-83b2-49a0-aab5-f212a12209c7</value></item-id></result> 2022-08-08 23:08:10 | contains: true 2022-08-08 23:08:18 | [Mutex] waiting for: [user_regular93hl2a0203@test-domain.com:message:received:content_vc87xo0208] 2022-08-08 23:08:18 | [Mutex] waiting for: [user_regular93hl2a0203@test-domain.com:message:received:content_vc87xo0208] 2022-08-08 23:08:18 | [Mutex] waiting for: [user_regular93hl2a0203@test-domain.com:message:received:content_vc87xo0208] 2022-08-08 23:08:33 | [Mutex] timeout. Not received [user_regular93hl2a0203@test-domain.com:message:received:content_vc87xo0208] 2022-08-08 23:08:33 | [Mutex] received everything. 2022-08-08 23:08:33 | [Mutex] isItemNotified: user_regular93hl2a0203@test-domain.com:message:received:content_vc87xo0208 :: false 2022-08-08 23:08:33 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_vc87xo0208 :: true |