Test duration : 44.677s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.676s |
2022-07-15 23:08:02 |
2022-07-15 23:08:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-07-15 23:08:02 | ------------------------------------ 2022-07-15 23:08:02 | [Mutex] isItemNotified: node_u7ihz00204:exists :: false 2022-07-15 23:08:02 | [Mutex] waiting for: [node_u7ihz00204:create_node] 2022-07-15 23:08:02 | [Mutex] received everything. 2022-07-15 23:08:02 | [Mutex] isItemNotified: node_u7ihz00204:create_node:success :: true 2022-07-15 23:08:02 | [Mutex] waiting for: [node_u7ihz00204:subscribe_node] 2022-07-15 23:08:02 | [Mutex] waiting for: [node_u7ihz00204:subscribe_node] 2022-07-15 23:08:02 | [Mutex] received everything. 2022-07-15 23:08:02 | [Mutex] isItemNotified: node_u7ihz00204:subscribe_node:success :: true 2022-07-15 23:08:02 | ===== publishing normal message (to online) 2022-07-15 23:08:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-15 23:08:02 | command: <data><node>node_u7ihz00204</node><entry><content>content_y7xyhj0205</content></entry></data> 2022-07-15 23:08:02 | target: http://localhost:8088 2022-07-15 23:08:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-15 23:08:02 | entity: <data><node>node_u7ihz00204</node><entry><content>content_y7xyhj0205</content></entry></data> 2022-07-15 23:08:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 16 Jul 2022 06:08:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-15 23:08:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>92c1f670-3d12-47bd-b0b5-285df6e4c824</value></item-id></result> 2022-07-15 23:08:02 | contains: true 2022-07-15 23:08:02 | [Mutex] received everything. 2022-07-15 23:08:02 | [Mutex] isItemNotified: user_regularcaztca0203@test-domain.com:message:received:content_y7xyhj0205 :: true 2022-07-15 23:08:02 | ===== publishing already old message - expecting message being filtered out (to online) 2022-07-15 23:08:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-15 23:08:02 | command: <data><node>node_u7ihz00204</node><expire-at>2022-07-16T06:07:57Z</expire-at><entry><content>content_2r9iw60206</content></entry></data> 2022-07-15 23:08:02 | target: http://localhost:8088 2022-07-15 23:08:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-15 23:08:02 | entity: <data><node>node_u7ihz00204</node><expire-at>2022-07-16T06:07:57Z</expire-at><entry><content>content_2r9iw60206</content></entry></data> 2022-07-15 23:08:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 16 Jul 2022 06:08:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-15 23:08:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d9f1d3e3-7eb2-4de1-86e8-62d960629004</value></item-id></result> 2022-07-15 23:08:02 | contains: true 2022-07-15 23:08:02 | [Mutex] waiting for: [user_regularcaztca0203@test-domain.com:message:received:content_2r9iw60206] 2022-07-15 23:08:17 | [Mutex] timeout. Not received [user_regularcaztca0203@test-domain.com:message:received:content_2r9iw60206] 2022-07-15 23:08:17 | [Mutex] isItemNotified: user_regularcaztca0203@test-domain.com:message:received:content_2r9iw60206 :: false 2022-07-15 23:08:17 | ===== publishing normal message (to offline) 2022-07-15 23:08:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-15 23:08:17 | command: <data><node>node_u7ihz00204</node><entry><content>content_tok3z00207</content></entry></data> 2022-07-15 23:08:17 | target: http://localhost:8088 2022-07-15 23:08:17 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-15 23:08:17 | entity: <data><node>node_u7ihz00204</node><entry><content>content_tok3z00207</content></entry></data> 2022-07-15 23:08:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 16 Jul 2022 06:08:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-15 23:08:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>69470876-b33d-45d1-b586-8e5e9395005b</value></item-id></result> 2022-07-15 23:08:17 | contains: true 2022-07-15 23:08:22 | [Mutex] received everything. 2022-07-15 23:08:22 | [Mutex] isItemNotified: user_regularcaztca0203@test-domain.com:message:received:content_tok3z00207 :: true 2022-07-15 23:08:22 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-07-15 23:08:22 | [Mutex] received everything. 2022-07-15 23:08:22 | [Mutex] isItemNotified: node_u7ihz00204:subscribe_node:success :: true 2022-07-15 23:08:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-15 23:08:22 | command: <data><node>node_u7ihz00204</node><expire-at>2022-07-16T06:08:27Z</expire-at><entry><content>content_as90nx0208</content></entry></data> 2022-07-15 23:08:22 | target: http://localhost:8088 2022-07-15 23:08:22 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-15 23:08:22 | entity: <data><node>node_u7ihz00204</node><expire-at>2022-07-16T06:08:27Z</expire-at><entry><content>content_as90nx0208</content></entry></data> 2022-07-15 23:08:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 16 Jul 2022 06:08:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-15 23:08:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b51dc598-035c-4b3d-a83f-bd463ec6f271</value></item-id></result> 2022-07-15 23:08:22 | contains: true 2022-07-15 23:08:30 | [Mutex] waiting for: [user_regularcaztca0203@test-domain.com:message:received:content_as90nx0208] 2022-07-15 23:08:30 | [Mutex] waiting for: [user_regularcaztca0203@test-domain.com:message:received:content_as90nx0208] 2022-07-15 23:08:30 | [Mutex] waiting for: [user_regularcaztca0203@test-domain.com:message:received:content_as90nx0208] 2022-07-15 23:08:45 | [Mutex] timeout. Not received [user_regularcaztca0203@test-domain.com:message:received:content_as90nx0208] 2022-07-15 23:08:45 | [Mutex] received everything. 2022-07-15 23:08:45 | [Mutex] isItemNotified: user_regularcaztca0203@test-domain.com:message:received:content_as90nx0208 :: false 2022-07-15 23:08:45 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_as90nx0208 :: true |