Test duration : 44.528s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.621s |
2022-12-16 10:51:39 |
2022-12-16 10:51:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-12-16 10:51:39 | ------------------------------------ 2022-12-16 10:51:39 | [Mutex] isItemNotified: node_htgbu0204:exists :: false 2022-12-16 10:51:39 | [Mutex] waiting for: [node_htgbu0204:create_node] 2022-12-16 10:51:39 | [Mutex] received everything. 2022-12-16 10:51:39 | [Mutex] isItemNotified: node_htgbu0204:create_node:success :: true 2022-12-16 10:51:39 | [Mutex] waiting for: [node_htgbu0204:subscribe_node] 2022-12-16 10:51:39 | [Mutex] waiting for: [node_htgbu0204:subscribe_node] 2022-12-16 10:51:39 | [Mutex] received everything. 2022-12-16 10:51:39 | [Mutex] isItemNotified: node_htgbu0204:subscribe_node:success :: true 2022-12-16 10:51:39 | ===== publishing normal message (to online) 2022-12-16 10:51:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-16 10:51:39 | command: <data><node>node_htgbu0204</node><entry><content>content_2vmb8b0205</content></entry></data> 2022-12-16 10:51:39 | target: http://localhost:8088 2022-12-16 10:51:39 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2022-12-16 10:51:39 | entity: <data><node>node_htgbu0204</node><entry><content>content_2vmb8b0205</content></entry></data> 2022-12-16 10:51:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Dec 2022 18:51:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-16 10:51:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>bd7ef397-f910-4822-825d-3c245973c6c0</value></item-id></result> 2022-12-16 10:51:39 | contains: true 2022-12-16 10:51:39 | [Mutex] waiting for: [user_regularcey93o0203@test-domain.com:message:received:content_2vmb8b0205] 2022-12-16 10:51:39 | [Mutex] received everything. 2022-12-16 10:51:39 | [Mutex] isItemNotified: user_regularcey93o0203@test-domain.com:message:received:content_2vmb8b0205 :: true 2022-12-16 10:51:39 | ===== publishing already old message - expecting message being filtered out (to online) 2022-12-16 10:51:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-16 10:51:39 | command: <data><node>node_htgbu0204</node><expire-at>2022-12-16T18:51:34Z</expire-at><entry><content>content_1isljk0206</content></entry></data> 2022-12-16 10:51:39 | target: http://localhost:8088 2022-12-16 10:51:39 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2022-12-16 10:51:39 | entity: <data><node>node_htgbu0204</node><expire-at>2022-12-16T18:51:34Z</expire-at><entry><content>content_1isljk0206</content></entry></data> 2022-12-16 10:51:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Dec 2022 18:51:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-16 10:51:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7b1b3898-3fbf-450a-b1b5-28866f44f896</value></item-id></result> 2022-12-16 10:51:39 | contains: true 2022-12-16 10:51:39 | [Mutex] waiting for: [user_regularcey93o0203@test-domain.com:message:received:content_1isljk0206] 2022-12-16 10:51:54 | [Mutex] timeout. Not received [user_regularcey93o0203@test-domain.com:message:received:content_1isljk0206] 2022-12-16 10:51:54 | [Mutex] isItemNotified: user_regularcey93o0203@test-domain.com:message:received:content_1isljk0206 :: false 2022-12-16 10:51:54 | ===== publishing normal message (to offline) 2022-12-16 10:51:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-16 10:51:54 | command: <data><node>node_htgbu0204</node><entry><content>content_1gaa0a0207</content></entry></data> 2022-12-16 10:51:54 | target: http://localhost:8088 2022-12-16 10:51:54 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2022-12-16 10:51:54 | entity: <data><node>node_htgbu0204</node><entry><content>content_1gaa0a0207</content></entry></data> 2022-12-16 10:51:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Dec 2022 18:51:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-16 10:51:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fa47130f-8ba2-446e-a8e4-e6a15df6cef7</value></item-id></result> 2022-12-16 10:51:55 | contains: true 2022-12-16 10:52:00 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-12-16 10:52:00 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-12-16 10:52:00 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-12-16 10:52:00 | [Mutex] waiting for: [user_regularcey93o0203@test-domain.com:message:received:content_1gaa0a0207] 2022-12-16 10:52:00 | [Mutex] waiting for: [user_regularcey93o0203@test-domain.com:message:received:content_1gaa0a0207] 2022-12-16 10:52:00 | [Mutex] received everything. 2022-12-16 10:52:00 | [Mutex] isItemNotified: user_regularcey93o0203@test-domain.com:message:received:content_1gaa0a0207 :: true 2022-12-16 10:52:00 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-12-16 10:52:00 | [Mutex] received everything. 2022-12-16 10:52:00 | [Mutex] isItemNotified: node_htgbu0204:subscribe_node:success :: true 2022-12-16 10:52:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-16 10:52:00 | command: <data><node>node_htgbu0204</node><expire-at>2022-12-16T18:52:05Z</expire-at><entry><content>content_5taeai0208</content></entry></data> 2022-12-16 10:52:00 | target: http://localhost:8088 2022-12-16 10:52:00 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2022-12-16 10:52:00 | entity: <data><node>node_htgbu0204</node><expire-at>2022-12-16T18:52:05Z</expire-at><entry><content>content_5taeai0208</content></entry></data> 2022-12-16 10:52:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Dec 2022 18:52:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-16 10:52:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>787ac224-87b9-48d6-94a2-ded9657c6fdc</value></item-id></result> 2022-12-16 10:52:00 | contains: true 2022-12-16 10:52:08 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-12-16 10:52:08 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-12-16 10:52:08 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-12-16 10:52:08 | [Mutex] waiting for: [user_regularcey93o0203@test-domain.com:message:received:content_5taeai0208] 2022-12-16 10:52:23 | [Mutex] timeout. Not received [user_regularcey93o0203@test-domain.com:message:received:content_5taeai0208] 2022-12-16 10:52:23 | [Mutex] received everything. 2022-12-16 10:52:23 | [Mutex] isItemNotified: user_regularcey93o0203@test-domain.com:message:received:content_5taeai0208 :: false 2022-12-16 10:52:23 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_5taeai0208 :: true |