Test duration : 44.638s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.591s |
2022-07-26 22:33:04 |
2022-07-26 22:33:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-07-26 22:33:04 | ------------------------------------ 2022-07-26 22:33:04 | [Mutex] isItemNotified: node_unkl8k0204:exists :: false 2022-07-26 22:33:04 | [Mutex] waiting for: [node_unkl8k0204:create_node] 2022-07-26 22:33:04 | [Mutex] received everything. 2022-07-26 22:33:04 | [Mutex] isItemNotified: node_unkl8k0204:create_node:success :: true 2022-07-26 22:33:04 | [Mutex] waiting for: [node_unkl8k0204:subscribe_node] 2022-07-26 22:33:04 | [Mutex] waiting for: [node_unkl8k0204:subscribe_node] 2022-07-26 22:33:04 | [Mutex] received everything. 2022-07-26 22:33:04 | [Mutex] isItemNotified: node_unkl8k0204:subscribe_node:success :: true 2022-07-26 22:33:04 | ===== publishing normal message (to online) 2022-07-26 22:33:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-26 22:33:04 | command: <data><node>node_unkl8k0204</node><entry><content>content_hz4u3r0205</content></entry></data> 2022-07-26 22:33:04 | target: http://localhost:8088 2022-07-26 22:33:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-26 22:33:04 | entity: <data><node>node_unkl8k0204</node><entry><content>content_hz4u3r0205</content></entry></data> 2022-07-26 22:33:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jul 2022 05:33:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-26 22:33:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>49699f79-1286-4299-9fe1-8d1515b265c4</value></item-id></result> 2022-07-26 22:33:04 | contains: true 2022-07-26 22:33:04 | [Mutex] received everything. 2022-07-26 22:33:04 | [Mutex] isItemNotified: user_regularjzq45z0203@test-domain.com:message:received:content_hz4u3r0205 :: true 2022-07-26 22:33:04 | ===== publishing already old message - expecting message being filtered out (to online) 2022-07-26 22:33:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-26 22:33:04 | command: <data><node>node_unkl8k0204</node><expire-at>2022-07-27T05:32:59Z</expire-at><entry><content>content_8q2paa0206</content></entry></data> 2022-07-26 22:33:04 | target: http://localhost:8088 2022-07-26 22:33:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-26 22:33:04 | entity: <data><node>node_unkl8k0204</node><expire-at>2022-07-27T05:32:59Z</expire-at><entry><content>content_8q2paa0206</content></entry></data> 2022-07-26 22:33:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jul 2022 05:33:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-26 22:33:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d30bd1d3-8034-4dfa-9dc1-8bcf44c1903f</value></item-id></result> 2022-07-26 22:33:04 | contains: true 2022-07-26 22:33:04 | [Mutex] waiting for: [user_regularjzq45z0203@test-domain.com:message:received:content_8q2paa0206] 2022-07-26 22:33:19 | [Mutex] timeout. Not received [user_regularjzq45z0203@test-domain.com:message:received:content_8q2paa0206] 2022-07-26 22:33:19 | [Mutex] isItemNotified: user_regularjzq45z0203@test-domain.com:message:received:content_8q2paa0206 :: false 2022-07-26 22:33:19 | ===== publishing normal message (to offline) 2022-07-26 22:33:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-26 22:33:20 | command: <data><node>node_unkl8k0204</node><entry><content>content_ma28gk0207</content></entry></data> 2022-07-26 22:33:20 | target: http://localhost:8088 2022-07-26 22:33:20 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-26 22:33:20 | entity: <data><node>node_unkl8k0204</node><entry><content>content_ma28gk0207</content></entry></data> 2022-07-26 22:33:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jul 2022 05:33:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-26 22:33:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ab543d10-1720-4dfa-aba6-35d865d50437</value></item-id></result> 2022-07-26 22:33:20 | contains: true 2022-07-26 22:33:25 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-26 22:33:25 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-07-26 22:33:25 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-26 22:33:25 | [Mutex] waiting for: [user_regularjzq45z0203@test-domain.com:message:received:content_ma28gk0207] 2022-07-26 22:33:25 | [Mutex] received everything. 2022-07-26 22:33:25 | [Mutex] isItemNotified: user_regularjzq45z0203@test-domain.com:message:received:content_ma28gk0207 :: true 2022-07-26 22:33:25 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-07-26 22:33:25 | [Mutex] received everything. 2022-07-26 22:33:25 | [Mutex] isItemNotified: node_unkl8k0204:subscribe_node:success :: true 2022-07-26 22:33:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-26 22:33:25 | command: <data><node>node_unkl8k0204</node><expire-at>2022-07-27T05:33:30Z</expire-at><entry><content>content_9n5b7z0208</content></entry></data> 2022-07-26 22:33:25 | target: http://localhost:8088 2022-07-26 22:33:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-26 22:33:25 | entity: <data><node>node_unkl8k0204</node><expire-at>2022-07-27T05:33:30Z</expire-at><entry><content>content_9n5b7z0208</content></entry></data> 2022-07-26 22:33:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jul 2022 05:33:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-26 22:33:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4428d0b7-4650-4afe-b5ec-d9fea338bcf9</value></item-id></result> 2022-07-26 22:33:25 | contains: true 2022-07-26 22:33:33 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-26 22:33:33 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-07-26 22:33:33 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-26 22:33:33 | [Mutex] waiting for: [user_regularjzq45z0203@test-domain.com:message:received:content_9n5b7z0208] 2022-07-26 22:33:48 | [Mutex] timeout. Not received [user_regularjzq45z0203@test-domain.com:message:received:content_9n5b7z0208] 2022-07-26 22:33:48 | [Mutex] received everything. 2022-07-26 22:33:48 | [Mutex] isItemNotified: user_regularjzq45z0203@test-domain.com:message:received:content_9n5b7z0208 :: false 2022-07-26 22:33:48 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_9n5b7z0208 :: true |