Test duration : 44.628s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.577s |
2023-07-10 13:34:57 |
2023-07-10 13:34:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-07-10 13:34:57 | ------------------------------------ 2023-07-10 13:34:57 | [Mutex] isItemNotified: node_figmsc0208:exists :: false 2023-07-10 13:34:57 | [Mutex] waiting for: [node_figmsc0208:create_node] 2023-07-10 13:34:57 | [Mutex] received everything. 2023-07-10 13:34:57 | [Mutex] isItemNotified: node_figmsc0208:create_node:success :: true 2023-07-10 13:34:57 | [Mutex] waiting for: [node_figmsc0208:subscribe_node] 2023-07-10 13:34:57 | [Mutex] waiting for: [node_figmsc0208:subscribe_node] 2023-07-10 13:34:57 | [Mutex] received everything. 2023-07-10 13:34:57 | [Mutex] isItemNotified: node_figmsc0208:subscribe_node:success :: true 2023-07-10 13:34:57 | ===== publishing normal message (to online) 2023-07-10 13:34:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-10 13:34:57 | command: <data><node>node_figmsc0208</node><entry><content>content_gskn3s0209</content></entry></data> 2023-07-10 13:34:57 | target: http://localhost:8088 2023-07-10 13:34:57 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-07-10 13:34:57 | entity: <data><node>node_figmsc0208</node><entry><content>content_gskn3s0209</content></entry></data> 2023-07-10 13:34:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Jul 2023 20:34:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-10 13:34:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7e56d296-c46d-4651-ac1d-b92044377d46</value></item-id></result> 2023-07-10 13:34:57 | contains: true 2023-07-10 13:34:57 | [Mutex] received everything. 2023-07-10 13:34:57 | [Mutex] isItemNotified: user_regulark2jbe20207@test-domain.com:message:received:content_gskn3s0209 :: true 2023-07-10 13:34:57 | ===== publishing already old message - expecting message being filtered out (to online) 2023-07-10 13:34:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-10 13:34:57 | command: <data><node>node_figmsc0208</node><expire-at>2023-07-10T20:34:52Z</expire-at><entry><content>content_fxiw060210</content></entry></data> 2023-07-10 13:34:57 | target: http://localhost:8088 2023-07-10 13:34:57 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-07-10 13:34:57 | entity: <data><node>node_figmsc0208</node><expire-at>2023-07-10T20:34:52Z</expire-at><entry><content>content_fxiw060210</content></entry></data> 2023-07-10 13:34:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Jul 2023 20:34:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-10 13:34:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7c38c32a-9fab-4851-92c3-aa83c0cd401a</value></item-id></result> 2023-07-10 13:34:57 | contains: true 2023-07-10 13:34:57 | [Mutex] waiting for: [user_regulark2jbe20207@test-domain.com:message:received:content_fxiw060210] 2023-07-10 13:35:12 | [Mutex] timeout. Not received [user_regulark2jbe20207@test-domain.com:message:received:content_fxiw060210] 2023-07-10 13:35:12 | [Mutex] isItemNotified: user_regulark2jbe20207@test-domain.com:message:received:content_fxiw060210 :: false 2023-07-10 13:35:12 | ===== publishing normal message (to offline) 2023-07-10 13:35:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-10 13:35:12 | command: <data><node>node_figmsc0208</node><entry><content>content_kolmm30211</content></entry></data> 2023-07-10 13:35:12 | target: http://localhost:8088 2023-07-10 13:35:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-07-10 13:35:12 | entity: <data><node>node_figmsc0208</node><entry><content>content_kolmm30211</content></entry></data> 2023-07-10 13:35:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Jul 2023 20:35:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-10 13:35:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c12dd239-3acf-4e5a-9956-7ed4d23e0551</value></item-id></result> 2023-07-10 13:35:12 | contains: true 2023-07-10 13:35:17 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-07-10 13:35:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-07-10 13:35:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-07-10 13:35:18 | [Mutex] received everything. 2023-07-10 13:35:18 | [Mutex] isItemNotified: user_regulark2jbe20207@test-domain.com:message:received:content_kolmm30211 :: true 2023-07-10 13:35:18 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-07-10 13:35:18 | [Mutex] received everything. 2023-07-10 13:35:18 | [Mutex] isItemNotified: node_figmsc0208:subscribe_node:success :: true 2023-07-10 13:35:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-10 13:35:18 | command: <data><node>node_figmsc0208</node><expire-at>2023-07-10T20:35:23Z</expire-at><entry><content>content_qird090212</content></entry></data> 2023-07-10 13:35:18 | target: http://localhost:8088 2023-07-10 13:35:18 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-07-10 13:35:18 | entity: <data><node>node_figmsc0208</node><expire-at>2023-07-10T20:35:23Z</expire-at><entry><content>content_qird090212</content></entry></data> 2023-07-10 13:35:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Jul 2023 20:35:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-10 13:35:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>bcec2a8b-f6f5-4cf6-bec0-d97b5e2236c7</value></item-id></result> 2023-07-10 13:35:18 | contains: true 2023-07-10 13:35:26 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-07-10 13:35:26 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-07-10 13:35:26 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-07-10 13:35:26 | [Mutex] waiting for: [user_regulark2jbe20207@test-domain.com:message:received:content_qird090212] 2023-07-10 13:35:26 | [Mutex] waiting for: [user_regulark2jbe20207@test-domain.com:message:received:content_qird090212] 2023-07-10 13:35:26 | [Mutex] waiting for: [user_regulark2jbe20207@test-domain.com:message:received:content_qird090212] 2023-07-10 13:35:41 | [Mutex] timeout. Not received [user_regulark2jbe20207@test-domain.com:message:received:content_qird090212] 2023-07-10 13:35:41 | [Mutex] received everything. 2023-07-10 13:35:41 | [Mutex] isItemNotified: user_regulark2jbe20207@test-domain.com:message:received:content_qird090212 :: false 2023-07-10 13:35:41 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_qird090212 :: true |