Test duration : 44.798s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.621s |
2023-03-14 22:30:03 |
2023-03-14 22:30:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-03-14 22:30:03 | ------------------------------------ 2023-03-14 22:30:03 | [Mutex] isItemNotified: node_d0bef00208:exists :: false 2023-03-14 22:30:03 | [Mutex] waiting for: [node_d0bef00208:create_node] 2023-03-14 22:30:03 | [Mutex] received everything. 2023-03-14 22:30:03 | [Mutex] isItemNotified: node_d0bef00208:create_node:success :: true 2023-03-14 22:30:03 | [Mutex] waiting for: [node_d0bef00208:subscribe_node] 2023-03-14 22:30:03 | [Mutex] waiting for: [node_d0bef00208:subscribe_node] 2023-03-14 22:30:03 | [Mutex] received everything. 2023-03-14 22:30:03 | [Mutex] isItemNotified: node_d0bef00208:subscribe_node:success :: true 2023-03-14 22:30:03 | ===== publishing normal message (to online) 2023-03-14 22:30:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-14 22:30:03 | command: <data><node>node_d0bef00208</node><entry><content>content_bana5h0209</content></entry></data> 2023-03-14 22:30:03 | target: http://localhost:8088 2023-03-14 22:30:03 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-03-14 22:30:03 | entity: <data><node>node_d0bef00208</node><entry><content>content_bana5h0209</content></entry></data> 2023-03-14 22:30:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 15 Mar 2023 05:30:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-14 22:30:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6b9a1770-e248-4b0d-abdd-0ebbe7e3b5cc</value></item-id></result> 2023-03-14 22:30:03 | contains: true 2023-03-14 22:30:03 | [Mutex] received everything. 2023-03-14 22:30:03 | [Mutex] isItemNotified: user_regularqi77dn0207@test-domain.com:message:received:content_bana5h0209 :: true 2023-03-14 22:30:03 | ===== publishing already old message - expecting message being filtered out (to online) 2023-03-14 22:30:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-14 22:30:03 | command: <data><node>node_d0bef00208</node><expire-at>2023-03-15T05:29:58Z</expire-at><entry><content>content_56tjor0210</content></entry></data> 2023-03-14 22:30:03 | target: http://localhost:8088 2023-03-14 22:30:03 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-14 22:30:03 | entity: <data><node>node_d0bef00208</node><expire-at>2023-03-15T05:29:58Z</expire-at><entry><content>content_56tjor0210</content></entry></data> 2023-03-14 22:30:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 15 Mar 2023 05:30:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-14 22:30:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3cb803e7-5800-4aef-a850-0c38ba14d9ad</value></item-id></result> 2023-03-14 22:30:03 | contains: true 2023-03-14 22:30:03 | [Mutex] waiting for: [user_regularqi77dn0207@test-domain.com:message:received:content_56tjor0210] 2023-03-14 22:30:18 | [Mutex] timeout. Not received [user_regularqi77dn0207@test-domain.com:message:received:content_56tjor0210] 2023-03-14 22:30:18 | [Mutex] isItemNotified: user_regularqi77dn0207@test-domain.com:message:received:content_56tjor0210 :: false 2023-03-14 22:30:18 | ===== publishing normal message (to offline) 2023-03-14 22:30:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-14 22:30:18 | command: <data><node>node_d0bef00208</node><entry><content>content_rup36i0211</content></entry></data> 2023-03-14 22:30:18 | target: http://localhost:8088 2023-03-14 22:30:18 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-03-14 22:30:18 | entity: <data><node>node_d0bef00208</node><entry><content>content_rup36i0211</content></entry></data> 2023-03-14 22:30:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 15 Mar 2023 05:30:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-14 22:30:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fa036723-338c-4272-bfa1-6bef710f4ec7</value></item-id></result> 2023-03-14 22:30:18 | contains: true 2023-03-14 22:30:23 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-14 22:30:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-03-14 22:30:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-14 22:30:23 | [Mutex] waiting for: [user_regularqi77dn0207@test-domain.com:message:received:content_rup36i0211] 2023-03-14 22:30:23 | [Mutex] received everything. 2023-03-14 22:30:23 | [Mutex] isItemNotified: user_regularqi77dn0207@test-domain.com:message:received:content_rup36i0211 :: true 2023-03-14 22:30:23 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-03-14 22:30:23 | [Mutex] received everything. 2023-03-14 22:30:23 | [Mutex] isItemNotified: node_d0bef00208:subscribe_node:success :: true 2023-03-14 22:30:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-14 22:30:23 | command: <data><node>node_d0bef00208</node><expire-at>2023-03-15T05:30:28Z</expire-at><entry><content>content_8a1z3j0212</content></entry></data> 2023-03-14 22:30:23 | target: http://localhost:8088 2023-03-14 22:30:23 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-14 22:30:23 | entity: <data><node>node_d0bef00208</node><expire-at>2023-03-15T05:30:28Z</expire-at><entry><content>content_8a1z3j0212</content></entry></data> 2023-03-14 22:30:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 15 Mar 2023 05:30:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-14 22:30:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2b0983d4-44a9-4f80-979d-1b4f0e707f2f</value></item-id></result> 2023-03-14 22:30:23 | contains: true 2023-03-14 22:30:31 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-14 22:30:31 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-03-14 22:30:31 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-14 22:30:32 | [Mutex] waiting for: [user_regularqi77dn0207@test-domain.com:message:received:content_8a1z3j0212] 2023-03-14 22:30:47 | [Mutex] timeout. Not received [user_regularqi77dn0207@test-domain.com:message:received:content_8a1z3j0212] 2023-03-14 22:30:47 | [Mutex] received everything. 2023-03-14 22:30:47 | [Mutex] isItemNotified: user_regularqi77dn0207@test-domain.com:message:received:content_8a1z3j0212 :: false 2023-03-14 22:30:47 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_8a1z3j0212 :: true |