Test duration : 44.541s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.594s |
2022-08-09 23:02:45 |
2022-08-09 23:02:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-08-09 23:02:45 | ------------------------------------ 2022-08-09 23:02:45 | [Mutex] isItemNotified: node_ti8jj90204:exists :: false 2022-08-09 23:02:45 | [Mutex] waiting for: [node_ti8jj90204:create_node] 2022-08-09 23:02:45 | [Mutex] received everything. 2022-08-09 23:02:45 | [Mutex] isItemNotified: node_ti8jj90204:create_node:success :: true 2022-08-09 23:02:45 | [Mutex] waiting for: [node_ti8jj90204:subscribe_node] 2022-08-09 23:02:45 | [Mutex] received everything. 2022-08-09 23:02:45 | [Mutex] isItemNotified: node_ti8jj90204:subscribe_node:success :: true 2022-08-09 23:02:45 | ===== publishing normal message (to online) 2022-08-09 23:02:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-09 23:02:45 | command: <data><node>node_ti8jj90204</node><entry><content>content_mu49gh0205</content></entry></data> 2022-08-09 23:02:45 | target: http://localhost:8088 2022-08-09 23:02:45 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-09 23:02:45 | entity: <data><node>node_ti8jj90204</node><entry><content>content_mu49gh0205</content></entry></data> 2022-08-09 23:02:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 10 Aug 2022 06:02:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-09 23:02:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>eb735b32-7dfd-44ba-a1f6-d2d22991212f</value></item-id></result> 2022-08-09 23:02:45 | contains: true 2022-08-09 23:02:45 | [Mutex] waiting for: [user_regularvpub7g0203@test-domain.com:message:received:content_mu49gh0205] 2022-08-09 23:02:45 | [Mutex] received everything. 2022-08-09 23:02:45 | [Mutex] isItemNotified: user_regularvpub7g0203@test-domain.com:message:received:content_mu49gh0205 :: true 2022-08-09 23:02:45 | ===== publishing already old message - expecting message being filtered out (to online) 2022-08-09 23:02:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-09 23:02:45 | command: <data><node>node_ti8jj90204</node><expire-at>2022-08-10T06:02:40Z</expire-at><entry><content>content_t9ns320206</content></entry></data> 2022-08-09 23:02:45 | target: http://localhost:8088 2022-08-09 23:02:45 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-09 23:02:45 | entity: <data><node>node_ti8jj90204</node><expire-at>2022-08-10T06:02:40Z</expire-at><entry><content>content_t9ns320206</content></entry></data> 2022-08-09 23:02:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 10 Aug 2022 06:02:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-09 23:02:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>36671dcf-49ee-4184-8ca6-b1e4824bb5fe</value></item-id></result> 2022-08-09 23:02:45 | contains: true 2022-08-09 23:02:45 | [Mutex] waiting for: [user_regularvpub7g0203@test-domain.com:message:received:content_t9ns320206] 2022-08-09 23:03:00 | [Mutex] timeout. Not received [user_regularvpub7g0203@test-domain.com:message:received:content_t9ns320206] 2022-08-09 23:03:00 | [Mutex] isItemNotified: user_regularvpub7g0203@test-domain.com:message:received:content_t9ns320206 :: false 2022-08-09 23:03:00 | ===== publishing normal message (to offline) 2022-08-09 23:03:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-09 23:03:00 | command: <data><node>node_ti8jj90204</node><entry><content>content_i6ujjm0207</content></entry></data> 2022-08-09 23:03:00 | target: http://localhost:8088 2022-08-09 23:03:00 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-09 23:03:00 | entity: <data><node>node_ti8jj90204</node><entry><content>content_i6ujjm0207</content></entry></data> 2022-08-09 23:03:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 10 Aug 2022 06:03:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-09 23:03:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ba02c6c0-7c56-4ea0-a108-1f5ed16243ef</value></item-id></result> 2022-08-09 23:03:00 | contains: true 2022-08-09 23:03:05 | [Mutex] waiting for: [user_regularvpub7g0203@test-domain.com:message:received:content_i6ujjm0207] 2022-08-09 23:03:05 | [Mutex] received everything. 2022-08-09 23:03:05 | [Mutex] isItemNotified: user_regularvpub7g0203@test-domain.com:message:received:content_i6ujjm0207 :: true 2022-08-09 23:03:05 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-08-09 23:03:05 | [Mutex] received everything. 2022-08-09 23:03:05 | [Mutex] isItemNotified: node_ti8jj90204:subscribe_node:success :: true 2022-08-09 23:03:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-09 23:03:05 | command: <data><node>node_ti8jj90204</node><expire-at>2022-08-10T06:03:10Z</expire-at><entry><content>content_3lfbzm0208</content></entry></data> 2022-08-09 23:03:05 | target: http://localhost:8088 2022-08-09 23:03:05 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-09 23:03:05 | entity: <data><node>node_ti8jj90204</node><expire-at>2022-08-10T06:03:10Z</expire-at><entry><content>content_3lfbzm0208</content></entry></data> 2022-08-09 23:03:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 10 Aug 2022 06:03:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-09 23:03:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f91d2c5a-dc15-4fe5-b3af-10f9e41b8cef</value></item-id></result> 2022-08-09 23:03:06 | contains: true 2022-08-09 23:03:14 | [Mutex] waiting for: [user_regularvpub7g0203@test-domain.com:message:received:content_3lfbzm0208] 2022-08-09 23:03:29 | [Mutex] timeout. Not received [user_regularvpub7g0203@test-domain.com:message:received:content_3lfbzm0208] 2022-08-09 23:03:29 | [Mutex] received everything. 2022-08-09 23:03:29 | [Mutex] isItemNotified: user_regularvpub7g0203@test-domain.com:message:received:content_3lfbzm0208 :: false 2022-08-09 23:03:29 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_3lfbzm0208 :: true |