Test duration : 44.856s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.675s |
2023-03-14 22:44:06 |
2023-03-14 22:44:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-03-14 22:44:06 | ------------------------------------ 2023-03-14 22:44:06 | [Mutex] isItemNotified: node_48co6a0208:exists :: false 2023-03-14 22:44:06 | [Mutex] waiting for: [node_48co6a0208:create_node] 2023-03-14 22:44:06 | [Mutex] received everything. 2023-03-14 22:44:06 | [Mutex] isItemNotified: node_48co6a0208:create_node:success :: true 2023-03-14 22:44:06 | [Mutex] waiting for: [node_48co6a0208:subscribe_node] 2023-03-14 22:44:06 | [Mutex] waiting for: [node_48co6a0208:subscribe_node] 2023-03-14 22:44:06 | [Mutex] received everything. 2023-03-14 22:44:06 | [Mutex] isItemNotified: node_48co6a0208:subscribe_node:success :: true 2023-03-14 22:44:06 | ===== publishing normal message (to online) 2023-03-14 22:44:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-14 22:44:06 | command: <data><node>node_48co6a0208</node><entry><content>content_a3mbln0209</content></entry></data> 2023-03-14 22:44:06 | target: http://localhost:8088 2023-03-14 22:44:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-03-14 22:44:06 | entity: <data><node>node_48co6a0208</node><entry><content>content_a3mbln0209</content></entry></data> 2023-03-14 22:44:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 15 Mar 2023 05:44:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-14 22:44:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>bf03fc4c-971d-4319-b625-824d65fea7c5</value></item-id></result> 2023-03-14 22:44:06 | contains: true 2023-03-14 22:44:06 | [Mutex] waiting for: [user_regularlurogx0207@test-domain.com:message:received:content_a3mbln0209] 2023-03-14 22:44:06 | [Mutex] received everything. 2023-03-14 22:44:06 | [Mutex] isItemNotified: user_regularlurogx0207@test-domain.com:message:received:content_a3mbln0209 :: true 2023-03-14 22:44:06 | ===== publishing already old message - expecting message being filtered out (to online) 2023-03-14 22:44:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-14 22:44:06 | command: <data><node>node_48co6a0208</node><expire-at>2023-03-15T05:44:01Z</expire-at><entry><content>content_ur6b7a0210</content></entry></data> 2023-03-14 22:44:06 | target: http://localhost:8088 2023-03-14 22:44:06 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-14 22:44:06 | entity: <data><node>node_48co6a0208</node><expire-at>2023-03-15T05:44:01Z</expire-at><entry><content>content_ur6b7a0210</content></entry></data> 2023-03-14 22:44:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 15 Mar 2023 05:44:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-14 22:44:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>15a6a92f-df84-4854-a608-cf09c20409a3</value></item-id></result> 2023-03-14 22:44:06 | contains: true 2023-03-14 22:44:06 | [Mutex] waiting for: [user_regularlurogx0207@test-domain.com:message:received:content_ur6b7a0210] 2023-03-14 22:44:21 | [Mutex] timeout. Not received [user_regularlurogx0207@test-domain.com:message:received:content_ur6b7a0210] 2023-03-14 22:44:21 | [Mutex] isItemNotified: user_regularlurogx0207@test-domain.com:message:received:content_ur6b7a0210 :: false 2023-03-14 22:44:21 | ===== publishing normal message (to offline) 2023-03-14 22:44:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-14 22:44:21 | command: <data><node>node_48co6a0208</node><entry><content>content_qlw65y0211</content></entry></data> 2023-03-14 22:44:21 | target: http://localhost:8088 2023-03-14 22:44:21 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-03-14 22:44:21 | entity: <data><node>node_48co6a0208</node><entry><content>content_qlw65y0211</content></entry></data> 2023-03-14 22:44:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 15 Mar 2023 05:44:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-14 22:44:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>822f9d02-6e3d-4278-af00-fa5e6134574b</value></item-id></result> 2023-03-14 22:44:21 | contains: true 2023-03-14 22:44:26 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-14 22:44:26 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-03-14 22:44:26 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-14 22:44:26 | [Mutex] waiting for: [user_regularlurogx0207@test-domain.com:message:received:content_qlw65y0211] 2023-03-14 22:44:26 | [Mutex] waiting for: [user_regularlurogx0207@test-domain.com:message:received:content_qlw65y0211] 2023-03-14 22:44:26 | [Mutex] received everything. 2023-03-14 22:44:26 | [Mutex] isItemNotified: user_regularlurogx0207@test-domain.com:message:received:content_qlw65y0211 :: true 2023-03-14 22:44:26 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-03-14 22:44:26 | [Mutex] received everything. 2023-03-14 22:44:26 | [Mutex] isItemNotified: node_48co6a0208:subscribe_node:success :: true 2023-03-14 22:44:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-14 22:44:26 | command: <data><node>node_48co6a0208</node><expire-at>2023-03-15T05:44:31Z</expire-at><entry><content>content_7ucy0j0212</content></entry></data> 2023-03-14 22:44:26 | target: http://localhost:8088 2023-03-14 22:44:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-14 22:44:26 | entity: <data><node>node_48co6a0208</node><expire-at>2023-03-15T05:44:31Z</expire-at><entry><content>content_7ucy0j0212</content></entry></data> 2023-03-14 22:44:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 15 Mar 2023 05:44:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-14 22:44:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f2e278c2-5ea1-4a71-bb6d-7295c2e95ef7</value></item-id></result> 2023-03-14 22:44:26 | contains: true 2023-03-14 22:44:34 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-14 22:44:34 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-03-14 22:44:34 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-14 22:44:35 | [Mutex] waiting for: [user_regularlurogx0207@test-domain.com:message:received:content_7ucy0j0212] 2023-03-14 22:44:35 | [Mutex] waiting for: [user_regularlurogx0207@test-domain.com:message:received:content_7ucy0j0212] 2023-03-14 22:44:50 | [Mutex] timeout. Not received [user_regularlurogx0207@test-domain.com:message:received:content_7ucy0j0212] 2023-03-14 22:44:50 | [Mutex] received everything. 2023-03-14 22:44:50 | [Mutex] isItemNotified: user_regularlurogx0207@test-domain.com:message:received:content_7ucy0j0212 :: false 2023-03-14 22:44:50 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_7ucy0j0212 :: true |