Test duration : 44.892s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.615s |
2021-04-29 22:38:00 |
2021-04-29 22:38:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-04-29 22:38:00 | ------------------------------------ 2021-04-29 22:38:00 | [Mutex] isItemNotified: node_ishjhk0203:exists :: false 2021-04-29 22:38:00 | [Mutex] waiting for: [node_ishjhk0203:create_node] 2021-04-29 22:38:00 | [Mutex] received everything. 2021-04-29 22:38:00 | [Mutex] isItemNotified: node_ishjhk0203:create_node:success :: true 2021-04-29 22:38:00 | [Mutex] waiting for: [node_ishjhk0203:subscribe_node] 2021-04-29 22:38:00 | [Mutex] received everything. 2021-04-29 22:38:00 | [Mutex] isItemNotified: node_ishjhk0203:subscribe_node:success :: true 2021-04-29 22:38:00 | ===== publishing normal message (to online) 2021-04-29 22:38:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-29 22:38:00 | command: <data><node>node_ishjhk0203</node><entry><content>content_l5dij00204</content></entry></data> 2021-04-29 22:38:00 | target: http://localhost:8088 2021-04-29 22:38:00 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-04-29 22:38:00 | entity: <data><node>node_ishjhk0203</node><entry><content>content_l5dij00204</content></entry></data> 2021-04-29 22:38:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Apr 2021 05:38:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-29 22:38:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c0bc8d62-8051-45db-88cf-c61ce49c276d</value></item-id></result> 2021-04-29 22:38:00 | contains: true 2021-04-29 22:38:00 | [Mutex] waiting for: [user_regular9rwz6g0202@test-domain.com:message:received:content_l5dij00204] 2021-04-29 22:38:00 | [Mutex] received everything. 2021-04-29 22:38:00 | [Mutex] isItemNotified: user_regular9rwz6g0202@test-domain.com:message:received:content_l5dij00204 :: true 2021-04-29 22:38:00 | ===== publishing already old message - expecting message being filtered out (to online) 2021-04-29 22:38:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-29 22:38:00 | command: <data><node>node_ishjhk0203</node><expire-at>2021-04-30T05:37:55Z</expire-at><entry><content>content_4m9v3y0205</content></entry></data> 2021-04-29 22:38:00 | target: http://localhost:8088 2021-04-29 22:38:00 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-04-29 22:38:00 | entity: <data><node>node_ishjhk0203</node><expire-at>2021-04-30T05:37:55Z</expire-at><entry><content>content_4m9v3y0205</content></entry></data> 2021-04-29 22:38:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Apr 2021 05:38:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-29 22:38:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6b04c09b-3652-480e-b416-bf67335c16e9</value></item-id></result> 2021-04-29 22:38:00 | contains: true 2021-04-29 22:38:00 | [Mutex] waiting for: [user_regular9rwz6g0202@test-domain.com:message:received:content_4m9v3y0205] 2021-04-29 22:38:15 | [Mutex] timeout. Not received [user_regular9rwz6g0202@test-domain.com:message:received:content_4m9v3y0205] 2021-04-29 22:38:15 | [Mutex] isItemNotified: user_regular9rwz6g0202@test-domain.com:message:received:content_4m9v3y0205 :: false 2021-04-29 22:38:15 | ===== publishing normal message (to offline) 2021-04-29 22:38:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-29 22:38:15 | command: <data><node>node_ishjhk0203</node><entry><content>content_ye7w3s0206</content></entry></data> 2021-04-29 22:38:15 | target: http://localhost:8088 2021-04-29 22:38:15 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-04-29 22:38:15 | entity: <data><node>node_ishjhk0203</node><entry><content>content_ye7w3s0206</content></entry></data> 2021-04-29 22:38:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Apr 2021 05:38:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-29 22:38:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ab5bdbd3-31d7-4f0e-9fc1-58812e4d4d57</value></item-id></result> 2021-04-29 22:38:15 | contains: true 2021-04-29 22:38:20 | [Mutex] waiting for: [user_regular9rwz6g0202@test-domain.com:message:received:content_ye7w3s0206] 2021-04-29 22:38:20 | [Mutex] received everything. 2021-04-29 22:38:20 | [Mutex] isItemNotified: user_regular9rwz6g0202@test-domain.com:message:received:content_ye7w3s0206 :: true 2021-04-29 22:38:20 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-04-29 22:38:20 | [Mutex] received everything. 2021-04-29 22:38:20 | [Mutex] isItemNotified: node_ishjhk0203:subscribe_node:success :: true 2021-04-29 22:38:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-29 22:38:20 | command: <data><node>node_ishjhk0203</node><expire-at>2021-04-30T05:38:25Z</expire-at><entry><content>content_hm86v00207</content></entry></data> 2021-04-29 22:38:20 | target: http://localhost:8088 2021-04-29 22:38:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-04-29 22:38:20 | entity: <data><node>node_ishjhk0203</node><expire-at>2021-04-30T05:38:25Z</expire-at><entry><content>content_hm86v00207</content></entry></data> 2021-04-29 22:38:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Apr 2021 05:38:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-29 22:38:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c82af029-59a2-4142-bdff-0e4a4def75a6</value></item-id></result> 2021-04-29 22:38:21 | contains: true 2021-04-29 22:38:29 | [Mutex] waiting for: [user_regular9rwz6g0202@test-domain.com:message:received:content_hm86v00207] 2021-04-29 22:38:29 | [Mutex] waiting for: [user_regular9rwz6g0202@test-domain.com:message:received:content_hm86v00207] 2021-04-29 22:38:44 | [Mutex] timeout. Not received [user_regular9rwz6g0202@test-domain.com:message:received:content_hm86v00207] 2021-04-29 22:38:44 | [Mutex] received everything. 2021-04-29 22:38:44 | [Mutex] isItemNotified: user_regular9rwz6g0202@test-domain.com:message:received:content_hm86v00207 :: false 2021-04-29 22:38:44 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_hm86v00207 :: true |