Test duration : 44.962s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.705s |
2022-06-29 23:02:13 |
2022-06-29 23:02:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-06-29 23:02:13 | ------------------------------------ 2022-06-29 23:02:13 | [Mutex] isItemNotified: node_vzn1zu0204:exists :: false 2022-06-29 23:02:13 | [Mutex] waiting for: [node_vzn1zu0204:create_node] 2022-06-29 23:02:13 | [Mutex] received everything. 2022-06-29 23:02:13 | [Mutex] isItemNotified: node_vzn1zu0204:create_node:success :: true 2022-06-29 23:02:13 | [Mutex] waiting for: [node_vzn1zu0204:subscribe_node] 2022-06-29 23:02:13 | [Mutex] received everything. 2022-06-29 23:02:13 | [Mutex] isItemNotified: node_vzn1zu0204:subscribe_node:success :: true 2022-06-29 23:02:13 | ===== publishing normal message (to online) 2022-06-29 23:02:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-29 23:02:13 | command: <data><node>node_vzn1zu0204</node><entry><content>content_fwcy4j0205</content></entry></data> 2022-06-29 23:02:13 | target: http://localhost:8088 2022-06-29 23:02:13 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-29 23:02:13 | entity: <data><node>node_vzn1zu0204</node><entry><content>content_fwcy4j0205</content></entry></data> 2022-06-29 23:02:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 30 Jun 2022 06:02:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-29 23:02:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>930f8a5b-447d-4c1f-8c66-24bf98e8b77e</value></item-id></result> 2022-06-29 23:02:13 | contains: true 2022-06-29 23:02:13 | [Mutex] received everything. 2022-06-29 23:02:13 | [Mutex] isItemNotified: user_regularx700330203@test-domain.com:message:received:content_fwcy4j0205 :: true 2022-06-29 23:02:13 | ===== publishing already old message - expecting message being filtered out (to online) 2022-06-29 23:02:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-29 23:02:13 | command: <data><node>node_vzn1zu0204</node><expire-at>2022-06-30T06:02:08Z</expire-at><entry><content>content_km7it00206</content></entry></data> 2022-06-29 23:02:13 | target: http://localhost:8088 2022-06-29 23:02:13 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-29 23:02:13 | entity: <data><node>node_vzn1zu0204</node><expire-at>2022-06-30T06:02:08Z</expire-at><entry><content>content_km7it00206</content></entry></data> 2022-06-29 23:02:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 30 Jun 2022 06:02:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-29 23:02:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f525917a-aeda-4af3-8b5e-6071f79346de</value></item-id></result> 2022-06-29 23:02:13 | contains: true 2022-06-29 23:02:13 | [Mutex] waiting for: [user_regularx700330203@test-domain.com:message:received:content_km7it00206] 2022-06-29 23:02:28 | [Mutex] timeout. Not received [user_regularx700330203@test-domain.com:message:received:content_km7it00206] 2022-06-29 23:02:28 | [Mutex] isItemNotified: user_regularx700330203@test-domain.com:message:received:content_km7it00206 :: false 2022-06-29 23:02:28 | ===== publishing normal message (to offline) 2022-06-29 23:02:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-29 23:02:29 | command: <data><node>node_vzn1zu0204</node><entry><content>content_3bjnv0207</content></entry></data> 2022-06-29 23:02:29 | target: http://localhost:8088 2022-06-29 23:02:29 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2022-06-29 23:02:29 | entity: <data><node>node_vzn1zu0204</node><entry><content>content_3bjnv0207</content></entry></data> 2022-06-29 23:02:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 30 Jun 2022 06:02:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-29 23:02:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8235e6b9-303c-44d4-8eb9-fd680405d818</value></item-id></result> 2022-06-29 23:02:29 | contains: true 2022-06-29 23:02:34 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-29 23:02:34 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-06-29 23:02:34 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-29 23:02:34 | [Mutex] waiting for: [user_regularx700330203@test-domain.com:message:received:content_3bjnv0207] 2022-06-29 23:02:34 | [Mutex] received everything. 2022-06-29 23:02:34 | [Mutex] isItemNotified: user_regularx700330203@test-domain.com:message:received:content_3bjnv0207 :: true 2022-06-29 23:02:34 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-06-29 23:02:34 | [Mutex] received everything. 2022-06-29 23:02:34 | [Mutex] isItemNotified: node_vzn1zu0204:subscribe_node:success :: true 2022-06-29 23:02:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-29 23:02:34 | command: <data><node>node_vzn1zu0204</node><expire-at>2022-06-30T06:02:39Z</expire-at><entry><content>content_es4p6f0208</content></entry></data> 2022-06-29 23:02:34 | target: http://localhost:8088 2022-06-29 23:02:34 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-29 23:02:34 | entity: <data><node>node_vzn1zu0204</node><expire-at>2022-06-30T06:02:39Z</expire-at><entry><content>content_es4p6f0208</content></entry></data> 2022-06-29 23:02:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 30 Jun 2022 06:02:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-29 23:02:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7f3f0888-0228-45bb-8871-5090c25e7d76</value></item-id></result> 2022-06-29 23:02:34 | contains: true 2022-06-29 23:02:42 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-29 23:02:42 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-06-29 23:02:42 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-29 23:02:42 | [Mutex] waiting for: [user_regularx700330203@test-domain.com:message:received:content_es4p6f0208] 2022-06-29 23:02:42 | [Mutex] waiting for: [user_regularx700330203@test-domain.com:message:received:content_es4p6f0208] 2022-06-29 23:02:57 | [Mutex] timeout. Not received [user_regularx700330203@test-domain.com:message:received:content_es4p6f0208] 2022-06-29 23:02:57 | [Mutex] received everything. 2022-06-29 23:02:57 | [Mutex] isItemNotified: user_regularx700330203@test-domain.com:message:received:content_es4p6f0208 :: false 2022-06-29 23:02:57 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_es4p6f0208 :: true |