Test duration : 44.690s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.604s |
2023-03-14 22:29:48 |
2023-03-14 22:29:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-03-14 22:29:48 | ------------------------------------ 2023-03-14 22:29:48 | [Mutex] isItemNotified: node_c04enn0208:exists :: false 2023-03-14 22:29:48 | [Mutex] waiting for: [node_c04enn0208:create_node] 2023-03-14 22:29:48 | [Mutex] received everything. 2023-03-14 22:29:48 | [Mutex] isItemNotified: node_c04enn0208:create_node:success :: true 2023-03-14 22:29:48 | [Mutex] waiting for: [node_c04enn0208:subscribe_node] 2023-03-14 22:29:48 | [Mutex] waiting for: [node_c04enn0208:subscribe_node] 2023-03-14 22:29:48 | [Mutex] received everything. 2023-03-14 22:29:48 | [Mutex] isItemNotified: node_c04enn0208:subscribe_node:success :: true 2023-03-14 22:29:48 | ===== publishing normal message (to online) 2023-03-14 22:29:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-14 22:29:48 | command: <data><node>node_c04enn0208</node><entry><content>content_pkv5a0209</content></entry></data> 2023-03-14 22:29:48 | target: http://localhost:8088 2023-03-14 22:29:48 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2023-03-14 22:29:48 | entity: <data><node>node_c04enn0208</node><entry><content>content_pkv5a0209</content></entry></data> 2023-03-14 22:29:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 15 Mar 2023 05:29:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-14 22:29:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3fd2738b-610a-4e5b-b18e-b0fc2951202f</value></item-id></result> 2023-03-14 22:29:48 | contains: true 2023-03-14 22:29:48 | [Mutex] waiting for: [user_regularicv79y0207@test-domain.com:message:received:content_pkv5a0209] 2023-03-14 22:29:48 | [Mutex] received everything. 2023-03-14 22:29:48 | [Mutex] isItemNotified: user_regularicv79y0207@test-domain.com:message:received:content_pkv5a0209 :: true 2023-03-14 22:29:48 | ===== publishing already old message - expecting message being filtered out (to online) 2023-03-14 22:29:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-14 22:29:48 | command: <data><node>node_c04enn0208</node><expire-at>2023-03-15T05:29:43Z</expire-at><entry><content>content_66jqo30210</content></entry></data> 2023-03-14 22:29:48 | target: http://localhost:8088 2023-03-14 22:29:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-14 22:29:48 | entity: <data><node>node_c04enn0208</node><expire-at>2023-03-15T05:29:43Z</expire-at><entry><content>content_66jqo30210</content></entry></data> 2023-03-14 22:29:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 15 Mar 2023 05:29:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-14 22:29:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b470a627-4332-4458-86ca-5badbeadfc08</value></item-id></result> 2023-03-14 22:29:48 | contains: true 2023-03-14 22:29:48 | [Mutex] waiting for: [user_regularicv79y0207@test-domain.com:message:received:content_66jqo30210] 2023-03-14 22:30:03 | [Mutex] timeout. Not received [user_regularicv79y0207@test-domain.com:message:received:content_66jqo30210] 2023-03-14 22:30:03 | [Mutex] isItemNotified: user_regularicv79y0207@test-domain.com:message:received:content_66jqo30210 :: false 2023-03-14 22:30:03 | ===== publishing normal message (to offline) 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_c04enn0208</node><entry><content>content_y6qyii0211</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_c04enn0208</node><entry><content>content_y6qyii0211</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 label="Item ID" type="fixed"><value>e89013c2-38d8-4571-929b-c1bbda105943</value></item-id></result> 2023-03-14 22:30:03 | contains: true 2023-03-14 22:30:08 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-14 22:30:08 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-03-14 22:30:08 | 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:08 | [Mutex] waiting for: [user_regularicv79y0207@test-domain.com:message:received:content_y6qyii0211] 2023-03-14 22:30:08 | [Mutex] waiting for: [user_regularicv79y0207@test-domain.com:message:received:content_y6qyii0211] 2023-03-14 22:30:08 | [Mutex] received everything. 2023-03-14 22:30:08 | [Mutex] isItemNotified: user_regularicv79y0207@test-domain.com:message:received:content_y6qyii0211 :: true 2023-03-14 22:30:08 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-03-14 22:30:08 | [Mutex] received everything. 2023-03-14 22:30:08 | [Mutex] isItemNotified: node_c04enn0208:subscribe_node:success :: true 2023-03-14 22:30:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-14 22:30:08 | command: <data><node>node_c04enn0208</node><expire-at>2023-03-15T05:30:13Z</expire-at><entry><content>content_uuvxi80212</content></entry></data> 2023-03-14 22:30:08 | target: http://localhost:8088 2023-03-14 22:30:08 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-14 22:30:08 | entity: <data><node>node_c04enn0208</node><expire-at>2023-03-15T05:30:13Z</expire-at><entry><content>content_uuvxi80212</content></entry></data> 2023-03-14 22:30:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 15 Mar 2023 05:30:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-14 22:30:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f770e01a-ddc7-42d3-b602-f239370e1e4e</value></item-id></result> 2023-03-14 22:30:08 | contains: true 2023-03-14 22:30:16 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-14 22:30:16 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-03-14 22:30:16 | 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:16 | [Mutex] waiting for: [user_regularicv79y0207@test-domain.com:message:received:content_uuvxi80212] 2023-03-14 22:30:16 | [Mutex] waiting for: [user_regularicv79y0207@test-domain.com:message:received:content_uuvxi80212] 2023-03-14 22:30:31 | [Mutex] timeout. Not received [user_regularicv79y0207@test-domain.com:message:received:content_uuvxi80212] 2023-03-14 22:30:31 | [Mutex] received everything. 2023-03-14 22:30:31 | [Mutex] isItemNotified: user_regularicv79y0207@test-domain.com:message:received:content_uuvxi80212 :: false 2023-03-14 22:30:31 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_uuvxi80212 :: true |