Test duration : 44,025s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43,452s |
2022-12-15 22:21:56 |
2022-12-15 22:21:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-12-15 22:21:56 | ------------------------------------ 2022-12-15 22:21:56 | [Mutex] isItemNotified: node_af35l50204:exists :: false 2022-12-15 22:21:56 | [Mutex] waiting for: [node_af35l50204:create_node] 2022-12-15 22:21:56 | [Mutex] received everything. 2022-12-15 22:21:56 | [Mutex] isItemNotified: node_af35l50204:create_node:success :: true 2022-12-15 22:21:56 | [Mutex] waiting for: [node_af35l50204:subscribe_node] 2022-12-15 22:21:56 | [Mutex] waiting for: [node_af35l50204:subscribe_node] 2022-12-15 22:21:56 | [Mutex] received everything. 2022-12-15 22:21:56 | [Mutex] isItemNotified: node_af35l50204:subscribe_node:success :: true 2022-12-15 22:21:56 | ===== publishing normal message (to online) 2022-12-15 22:21:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-15 22:21:56 | command: <data><node>node_af35l50204</node><entry><content>content_7oqu00205</content></entry></data> 2022-12-15 22:21:56 | target: http://localhost:8088 2022-12-15 22:21:56 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2022-12-15 22:21:56 | entity: <data><node>node_af35l50204</node><entry><content>content_7oqu00205</content></entry></data> 2022-12-15 22:21:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Dec 2022 01:21:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-15 22:21:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>87115115-822b-47da-a7da-8ab6a88d5cbf</value></item-id></result> 2022-12-15 22:21:56 | contains: true 2022-12-15 22:21:56 | [Mutex] waiting for: [user_regularp7q0rm0203@test-domain.com:message:received:content_7oqu00205] 2022-12-15 22:21:56 | [Mutex] received everything. 2022-12-15 22:21:56 | [Mutex] isItemNotified: user_regularp7q0rm0203@test-domain.com:message:received:content_7oqu00205 :: true 2022-12-15 22:21:56 | ===== publishing already old message - expecting message being filtered out (to online) 2022-12-15 22:21:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-15 22:21:56 | command: <data><node>node_af35l50204</node><expire-at>2022-12-16T01:21:51Z</expire-at><entry><content>content_cbrx1f0206</content></entry></data> 2022-12-15 22:21:56 | target: http://localhost:8088 2022-12-15 22:21:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-12-15 22:21:56 | entity: <data><node>node_af35l50204</node><expire-at>2022-12-16T01:21:51Z</expire-at><entry><content>content_cbrx1f0206</content></entry></data> 2022-12-15 22:21:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Dec 2022 01:21:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-15 22:21:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b4c6b229-31e5-4b86-b686-151ae98f33e3</value></item-id></result> 2022-12-15 22:21:56 | contains: true 2022-12-15 22:21:56 | [Mutex] waiting for: [user_regularp7q0rm0203@test-domain.com:message:received:content_cbrx1f0206] 2022-12-15 22:22:11 | [Mutex] timeout. Not received [user_regularp7q0rm0203@test-domain.com:message:received:content_cbrx1f0206] 2022-12-15 22:22:11 | [Mutex] isItemNotified: user_regularp7q0rm0203@test-domain.com:message:received:content_cbrx1f0206 :: false 2022-12-15 22:22:11 | ===== publishing normal message (to offline) 2022-12-15 22:22:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-15 22:22:11 | command: <data><node>node_af35l50204</node><entry><content>content_fwfrxk0207</content></entry></data> 2022-12-15 22:22:11 | target: http://localhost:8088 2022-12-15 22:22:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-12-15 22:22:11 | entity: <data><node>node_af35l50204</node><entry><content>content_fwfrxk0207</content></entry></data> 2022-12-15 22:22:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Dec 2022 01:22:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-15 22:22:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4efadf0b-60ba-4f06-af7b-7dd7c6cff92c</value></item-id></result> 2022-12-15 22:22:11 | contains: true 2022-12-15 22:22:17 | [Mutex] received everything. 2022-12-15 22:22:17 | [Mutex] isItemNotified: user_regularp7q0rm0203@test-domain.com:message:received:content_fwfrxk0207 :: true 2022-12-15 22:22:17 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-12-15 22:22:17 | [Mutex] received everything. 2022-12-15 22:22:17 | [Mutex] isItemNotified: node_af35l50204:subscribe_node:success :: true 2022-12-15 22:22:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-15 22:22:17 | command: <data><node>node_af35l50204</node><expire-at>2022-12-16T01:22:22Z</expire-at><entry><content>content_aw1uim0208</content></entry></data> 2022-12-15 22:22:17 | target: http://localhost:8088 2022-12-15 22:22:17 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-12-15 22:22:17 | entity: <data><node>node_af35l50204</node><expire-at>2022-12-16T01:22:22Z</expire-at><entry><content>content_aw1uim0208</content></entry></data> 2022-12-15 22:22:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Dec 2022 01:22:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-15 22:22:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4ee79ad8-4ffa-46b2-97a3-92758b4dd0d0</value></item-id></result> 2022-12-15 22:22:17 | contains: true 2022-12-15 22:22:25 | [Mutex] waiting for: [user_regularp7q0rm0203@test-domain.com:message:received:content_aw1uim0208] 2022-12-15 22:22:40 | [Mutex] timeout. Not received [user_regularp7q0rm0203@test-domain.com:message:received:content_aw1uim0208] 2022-12-15 22:22:40 | [Mutex] received everything. 2022-12-15 22:22:40 | [Mutex] isItemNotified: user_regularp7q0rm0203@test-domain.com:message:received:content_aw1uim0208 :: false 2022-12-15 22:22:40 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_aw1uim0208 :: true |