Test duration : 44,154s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43,498s |
2022-12-15 22:46:38 |
2022-12-15 22:46:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-12-15 22:46:38 | ------------------------------------ 2022-12-15 22:46:38 | [Mutex] isItemNotified: node_ozsnrt0204:exists :: false 2022-12-15 22:46:38 | [Mutex] waiting for: [node_ozsnrt0204:create_node] 2022-12-15 22:46:38 | [Mutex] received everything. 2022-12-15 22:46:38 | [Mutex] isItemNotified: node_ozsnrt0204:create_node:success :: true 2022-12-15 22:46:38 | [Mutex] waiting for: [node_ozsnrt0204:subscribe_node] 2022-12-15 22:46:38 | [Mutex] received everything. 2022-12-15 22:46:38 | [Mutex] isItemNotified: node_ozsnrt0204:subscribe_node:success :: true 2022-12-15 22:46:38 | ===== publishing normal message (to online) 2022-12-15 22:46:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-15 22:46:38 | command: <data><node>node_ozsnrt0204</node><entry><content>content_ymnynj0205</content></entry></data> 2022-12-15 22:46:38 | target: http://localhost:8088 2022-12-15 22:46:38 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-12-15 22:46:38 | entity: <data><node>node_ozsnrt0204</node><entry><content>content_ymnynj0205</content></entry></data> 2022-12-15 22:46:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Dec 2022 01:46:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-15 22:46:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7867eb1c-6b89-4129-bb27-8074899d4329</value></item-id></result> 2022-12-15 22:46:38 | contains: true 2022-12-15 22:46:38 | [Mutex] waiting for: [user_regularmwb0o0203@test-domain.com:message:received:content_ymnynj0205] 2022-12-15 22:46:38 | [Mutex] received everything. 2022-12-15 22:46:38 | [Mutex] isItemNotified: user_regularmwb0o0203@test-domain.com:message:received:content_ymnynj0205 :: true 2022-12-15 22:46:38 | ===== publishing already old message - expecting message being filtered out (to online) 2022-12-15 22:46:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-15 22:46:38 | command: <data><node>node_ozsnrt0204</node><expire-at>2022-12-16T01:46:33Z</expire-at><entry><content>content_ui7c710206</content></entry></data> 2022-12-15 22:46:38 | target: http://localhost:8088 2022-12-15 22:46:38 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-12-15 22:46:38 | entity: <data><node>node_ozsnrt0204</node><expire-at>2022-12-16T01:46:33Z</expire-at><entry><content>content_ui7c710206</content></entry></data> 2022-12-15 22:46:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Dec 2022 01:46:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-15 22:46:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>38983509-92f8-4bd7-8941-ec4dac959320</value></item-id></result> 2022-12-15 22:46:38 | contains: true 2022-12-15 22:46:38 | [Mutex] waiting for: [user_regularmwb0o0203@test-domain.com:message:received:content_ui7c710206] 2022-12-15 22:46:53 | [Mutex] timeout. Not received [user_regularmwb0o0203@test-domain.com:message:received:content_ui7c710206] 2022-12-15 22:46:53 | [Mutex] isItemNotified: user_regularmwb0o0203@test-domain.com:message:received:content_ui7c710206 :: false 2022-12-15 22:46:53 | ===== publishing normal message (to offline) 2022-12-15 22:46:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-15 22:46:53 | command: <data><node>node_ozsnrt0204</node><entry><content>content_74gc030207</content></entry></data> 2022-12-15 22:46:53 | target: http://localhost:8088 2022-12-15 22:46:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-12-15 22:46:53 | entity: <data><node>node_ozsnrt0204</node><entry><content>content_74gc030207</content></entry></data> 2022-12-15 22:46:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Dec 2022 01:46:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-15 22:46:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5000c0a3-c17b-412c-96d4-a21d6c2467cf</value></item-id></result> 2022-12-15 22:46:53 | contains: true 2022-12-15 22:46:58 | [Mutex] received everything. 2022-12-15 22:46:58 | [Mutex] isItemNotified: user_regularmwb0o0203@test-domain.com:message:received:content_74gc030207 :: true 2022-12-15 22:46:58 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-12-15 22:46:58 | [Mutex] received everything. 2022-12-15 22:46:58 | [Mutex] isItemNotified: node_ozsnrt0204:subscribe_node:success :: true 2022-12-15 22:46:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-15 22:46:58 | command: <data><node>node_ozsnrt0204</node><expire-at>2022-12-16T01:47:03Z</expire-at><entry><content>content_w5jhw0208</content></entry></data> 2022-12-15 22:46:58 | target: http://localhost:8088 2022-12-15 22:46:58 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2022-12-15 22:46:58 | entity: <data><node>node_ozsnrt0204</node><expire-at>2022-12-16T01:47:03Z</expire-at><entry><content>content_w5jhw0208</content></entry></data> 2022-12-15 22:46:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Dec 2022 01:46:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-15 22:46:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>550bd17f-6d64-4040-9bab-d3267cc6a193</value></item-id></result> 2022-12-15 22:46:58 | contains: true 2022-12-15 22:47:06 | [Mutex] waiting for: [user_regularmwb0o0203@test-domain.com:message:received:content_w5jhw0208] 2022-12-15 22:47:21 | [Mutex] timeout. Not received [user_regularmwb0o0203@test-domain.com:message:received:content_w5jhw0208] 2022-12-15 22:47:21 | [Mutex] received everything. 2022-12-15 22:47:21 | [Mutex] isItemNotified: user_regularmwb0o0203@test-domain.com:message:received:content_w5jhw0208 :: false 2022-12-15 22:47:21 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_w5jhw0208 :: true |