Test duration : 44.756s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.592s |
2023-05-29 22:59:51 |
2023-05-29 22:59:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-05-29 22:59:51 | ------------------------------------ 2023-05-29 22:59:51 | [Mutex] isItemNotified: node_wiz34m0208:exists :: false 2023-05-29 22:59:51 | [Mutex] waiting for: [node_wiz34m0208:create_node] 2023-05-29 22:59:51 | [Mutex] received everything. 2023-05-29 22:59:51 | [Mutex] isItemNotified: node_wiz34m0208:create_node:success :: true 2023-05-29 22:59:51 | [Mutex] waiting for: [node_wiz34m0208:subscribe_node] 2023-05-29 22:59:51 | [Mutex] received everything. 2023-05-29 22:59:51 | [Mutex] isItemNotified: node_wiz34m0208:subscribe_node:success :: true 2023-05-29 22:59:51 | ===== publishing normal message (to online) 2023-05-29 22:59:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-05-29 22:59:51 | command: <data><node>node_wiz34m0208</node><entry><content>content_lyignq0209</content></entry></data> 2023-05-29 22:59:51 | target: http://localhost:8088 2023-05-29 22:59:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-05-29 22:59:51 | entity: <data><node>node_wiz34m0208</node><entry><content>content_lyignq0209</content></entry></data> 2023-05-29 22:59:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 30 May 2023 05:59:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-05-29 22:59:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d90b0d19-4391-47cb-9bdd-0257afc12bac</value></item-id></result> 2023-05-29 22:59:51 | contains: true 2023-05-29 22:59:51 | [Mutex] received everything. 2023-05-29 22:59:51 | [Mutex] isItemNotified: user_regularr4awi90207@test-domain.com:message:received:content_lyignq0209 :: true 2023-05-29 22:59:51 | ===== publishing already old message - expecting message being filtered out (to online) 2023-05-29 22:59:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-05-29 22:59:51 | command: <data><node>node_wiz34m0208</node><expire-at>2023-05-30T05:59:46Z</expire-at><entry><content>content_620o9p0210</content></entry></data> 2023-05-29 22:59:51 | target: http://localhost:8088 2023-05-29 22:59:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-05-29 22:59:51 | entity: <data><node>node_wiz34m0208</node><expire-at>2023-05-30T05:59:46Z</expire-at><entry><content>content_620o9p0210</content></entry></data> 2023-05-29 22:59:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 30 May 2023 05:59:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-05-29 22:59:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ce9c92a1-eb9c-4769-a46d-076938ba4e62</value></item-id></result> 2023-05-29 22:59:51 | contains: true 2023-05-29 22:59:51 | [Mutex] waiting for: [user_regularr4awi90207@test-domain.com:message:received:content_620o9p0210] 2023-05-29 23:00:06 | [Mutex] timeout. Not received [user_regularr4awi90207@test-domain.com:message:received:content_620o9p0210] 2023-05-29 23:00:06 | [Mutex] isItemNotified: user_regularr4awi90207@test-domain.com:message:received:content_620o9p0210 :: false 2023-05-29 23:00:06 | ===== publishing normal message (to offline) 2023-05-29 23:00:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-05-29 23:00:06 | command: <data><node>node_wiz34m0208</node><entry><content>content_qjhq30211</content></entry></data> 2023-05-29 23:00:06 | target: http://localhost:8088 2023-05-29 23:00:06 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2023-05-29 23:00:06 | entity: <data><node>node_wiz34m0208</node><entry><content>content_qjhq30211</content></entry></data> 2023-05-29 23:00:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 30 May 2023 06:00:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-05-29 23:00:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>af80e09a-dd24-4e7c-8845-a755a3890fd8</value></item-id></result> 2023-05-29 23:00:06 | contains: true 2023-05-29 23:00:11 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-05-29 23:00:11 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-05-29 23:00:11 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-05-29 23:00:11 | [Mutex] waiting for: [user_regularr4awi90207@test-domain.com:message:received:content_qjhq30211] 2023-05-29 23:00:11 | [Mutex] waiting for: [user_regularr4awi90207@test-domain.com:message:received:content_qjhq30211] 2023-05-29 23:00:11 | [Mutex] received everything. 2023-05-29 23:00:11 | [Mutex] isItemNotified: user_regularr4awi90207@test-domain.com:message:received:content_qjhq30211 :: true 2023-05-29 23:00:11 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-05-29 23:00:11 | [Mutex] received everything. 2023-05-29 23:00:11 | [Mutex] isItemNotified: node_wiz34m0208:subscribe_node:success :: true 2023-05-29 23:00:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-05-29 23:00:11 | command: <data><node>node_wiz34m0208</node><expire-at>2023-05-30T06:00:16Z</expire-at><entry><content>content_1hs02g0212</content></entry></data> 2023-05-29 23:00:11 | target: http://localhost:8088 2023-05-29 23:00:11 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-05-29 23:00:11 | entity: <data><node>node_wiz34m0208</node><expire-at>2023-05-30T06:00:16Z</expire-at><entry><content>content_1hs02g0212</content></entry></data> 2023-05-29 23:00:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 30 May 2023 06:00:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-05-29 23:00:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>98452640-70e1-42b7-8f02-94c2b408f4e1</value></item-id></result> 2023-05-29 23:00:11 | contains: true 2023-05-29 23:00:19 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-05-29 23:00:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-05-29 23:00:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-05-29 23:00:19 | [Mutex] waiting for: [user_regularr4awi90207@test-domain.com:message:received:content_1hs02g0212] 2023-05-29 23:00:34 | [Mutex] timeout. Not received [user_regularr4awi90207@test-domain.com:message:received:content_1hs02g0212] 2023-05-29 23:00:34 | [Mutex] received everything. 2023-05-29 23:00:34 | [Mutex] isItemNotified: user_regularr4awi90207@test-domain.com:message:received:content_1hs02g0212 :: false 2023-05-29 23:00:34 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_1hs02g0212 :: true |