Test duration : 44.804s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.720s |
2023-03-06 08:05:13 |
2023-03-06 08:05:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-03-06 08:05:13 | ------------------------------------ 2023-03-06 08:05:13 | [Mutex] isItemNotified: node_t1ohql0208:exists :: false 2023-03-06 08:05:13 | [Mutex] waiting for: [node_t1ohql0208:create_node] 2023-03-06 08:05:13 | [Mutex] received everything. 2023-03-06 08:05:13 | [Mutex] isItemNotified: node_t1ohql0208:create_node:success :: true 2023-03-06 08:05:13 | [Mutex] waiting for: [node_t1ohql0208:subscribe_node] 2023-03-06 08:05:13 | [Mutex] waiting for: [node_t1ohql0208:subscribe_node] 2023-03-06 08:05:13 | [Mutex] received everything. 2023-03-06 08:05:13 | [Mutex] isItemNotified: node_t1ohql0208:subscribe_node:success :: true 2023-03-06 08:05:13 | ===== publishing normal message (to online) 2023-03-06 08:05:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-06 08:05:13 | command: <data><node>node_t1ohql0208</node><entry><content>content_fcmokp0209</content></entry></data> 2023-03-06 08:05:13 | target: http://localhost:8088 2023-03-06 08:05:13 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-03-06 08:05:13 | entity: <data><node>node_t1ohql0208</node><entry><content>content_fcmokp0209</content></entry></data> 2023-03-06 08:05:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 16:05:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-06 08:05:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f7ed0fff-1b43-4fb8-81b5-fb05ee06c67f</value></item-id></result> 2023-03-06 08:05:13 | contains: true 2023-03-06 08:05:13 | [Mutex] waiting for: [user_regulari3jucm0207@test-domain.com:message:received:content_fcmokp0209] 2023-03-06 08:05:13 | [Mutex] received everything. 2023-03-06 08:05:13 | [Mutex] isItemNotified: user_regulari3jucm0207@test-domain.com:message:received:content_fcmokp0209 :: true 2023-03-06 08:05:13 | ===== publishing already old message - expecting message being filtered out (to online) 2023-03-06 08:05:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-06 08:05:13 | command: <data><node>node_t1ohql0208</node><expire-at>2023-03-06T16:05:08Z</expire-at><entry><content>content_3tbvgx0210</content></entry></data> 2023-03-06 08:05:13 | target: http://localhost:8088 2023-03-06 08:05:13 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-06 08:05:13 | entity: <data><node>node_t1ohql0208</node><expire-at>2023-03-06T16:05:08Z</expire-at><entry><content>content_3tbvgx0210</content></entry></data> 2023-03-06 08:05:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 16:05:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-06 08:05:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8026d49e-b29f-4afa-b626-5b15b5f7e5fb</value></item-id></result> 2023-03-06 08:05:13 | contains: true 2023-03-06 08:05:13 | [Mutex] waiting for: [user_regulari3jucm0207@test-domain.com:message:received:content_3tbvgx0210] 2023-03-06 08:05:28 | [Mutex] timeout. Not received [user_regulari3jucm0207@test-domain.com:message:received:content_3tbvgx0210] 2023-03-06 08:05:28 | [Mutex] isItemNotified: user_regulari3jucm0207@test-domain.com:message:received:content_3tbvgx0210 :: false 2023-03-06 08:05:28 | ===== publishing normal message (to offline) 2023-03-06 08:05:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-06 08:05:28 | command: <data><node>node_t1ohql0208</node><entry><content>content_cipbpx0211</content></entry></data> 2023-03-06 08:05:28 | target: http://localhost:8088 2023-03-06 08:05:28 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-03-06 08:05:28 | entity: <data><node>node_t1ohql0208</node><entry><content>content_cipbpx0211</content></entry></data> 2023-03-06 08:05:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 16:05:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-06 08:05:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>87314f4f-6101-4c37-8a78-b6e6139596bb</value></item-id></result> 2023-03-06 08:05:28 | contains: true 2023-03-06 08:05:33 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-06 08:05:33 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-03-06 08:05:33 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-06 08:05:34 | [Mutex] waiting for: [user_regulari3jucm0207@test-domain.com:message:received:content_cipbpx0211] 2023-03-06 08:05:34 | [Mutex] waiting for: [user_regulari3jucm0207@test-domain.com:message:received:content_cipbpx0211] 2023-03-06 08:05:34 | [Mutex] received everything. 2023-03-06 08:05:34 | [Mutex] isItemNotified: user_regulari3jucm0207@test-domain.com:message:received:content_cipbpx0211 :: true 2023-03-06 08:05:34 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-03-06 08:05:34 | [Mutex] received everything. 2023-03-06 08:05:34 | [Mutex] isItemNotified: node_t1ohql0208:subscribe_node:success :: true 2023-03-06 08:05:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-06 08:05:34 | command: <data><node>node_t1ohql0208</node><expire-at>2023-03-06T16:05:39Z</expire-at><entry><content>content_7orto30212</content></entry></data> 2023-03-06 08:05:34 | target: http://localhost:8088 2023-03-06 08:05:34 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-06 08:05:34 | entity: <data><node>node_t1ohql0208</node><expire-at>2023-03-06T16:05:39Z</expire-at><entry><content>content_7orto30212</content></entry></data> 2023-03-06 08:05:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 16:05:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-06 08:05:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>46eab5b6-7969-41bf-879d-653423982086</value></item-id></result> 2023-03-06 08:05:34 | contains: true 2023-03-06 08:05:42 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-06 08:05:42 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-03-06 08:05:42 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-06 08:05:42 | [Mutex] waiting for: [user_regulari3jucm0207@test-domain.com:message:received:content_7orto30212] 2023-03-06 08:05:42 | [Mutex] waiting for: [user_regulari3jucm0207@test-domain.com:message:received:content_7orto30212] 2023-03-06 08:05:42 | [Mutex] waiting for: [user_regulari3jucm0207@test-domain.com:message:received:content_7orto30212] 2023-03-06 08:05:57 | [Mutex] timeout. Not received [user_regulari3jucm0207@test-domain.com:message:received:content_7orto30212] 2023-03-06 08:05:57 | [Mutex] received everything. 2023-03-06 08:05:57 | [Mutex] isItemNotified: user_regulari3jucm0207@test-domain.com:message:received:content_7orto30212 :: false 2023-03-06 08:05:57 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_7orto30212 :: true |