Test duration : 44.420s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.633s |
2022-07-27 23:05:24 |
2022-07-27 23:05:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-07-27 23:05:24 | ------------------------------------ 2022-07-27 23:05:24 | [Mutex] isItemNotified: node_8ww4660204:exists :: false 2022-07-27 23:05:24 | [Mutex] waiting for: [node_8ww4660204:create_node] 2022-07-27 23:05:24 | [Mutex] waiting for: [node_8ww4660204:create_node] 2022-07-27 23:05:24 | [Mutex] received everything. 2022-07-27 23:05:24 | [Mutex] isItemNotified: node_8ww4660204:create_node:success :: true 2022-07-27 23:05:24 | [Mutex] waiting for: [node_8ww4660204:subscribe_node] 2022-07-27 23:05:24 | [Mutex] waiting for: [node_8ww4660204:subscribe_node] 2022-07-27 23:05:24 | [Mutex] received everything. 2022-07-27 23:05:24 | [Mutex] isItemNotified: node_8ww4660204:subscribe_node:success :: true 2022-07-27 23:05:24 | ===== publishing normal message (to online) 2022-07-27 23:05:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-27 23:05:24 | command: <data><node>node_8ww4660204</node><entry><content>content_1oamvl0205</content></entry></data> 2022-07-27 23:05:24 | target: http://localhost:8088 2022-07-27 23:05:24 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-27 23:05:24 | entity: <data><node>node_8ww4660204</node><entry><content>content_1oamvl0205</content></entry></data> 2022-07-27 23:05:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Jul 2022 06:05:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-27 23:05:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9b64efdb-c01d-4e0f-99c5-272095695ee2</value></item-id></result> 2022-07-27 23:05:24 | contains: true 2022-07-27 23:05:24 | [Mutex] received everything. 2022-07-27 23:05:24 | [Mutex] isItemNotified: user_regular4tlq6e0203@test-domain.com:message:received:content_1oamvl0205 :: true 2022-07-27 23:05:24 | ===== publishing already old message - expecting message being filtered out (to online) 2022-07-27 23:05:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-27 23:05:24 | command: <data><node>node_8ww4660204</node><expire-at>2022-07-28T06:05:19Z</expire-at><entry><content>content_sail310206</content></entry></data> 2022-07-27 23:05:24 | target: http://localhost:8088 2022-07-27 23:05:24 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-27 23:05:24 | entity: <data><node>node_8ww4660204</node><expire-at>2022-07-28T06:05:19Z</expire-at><entry><content>content_sail310206</content></entry></data> 2022-07-27 23:05:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Jul 2022 06:05:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-27 23:05:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8edab31f-4e61-4497-8aaa-6541f1b36267</value></item-id></result> 2022-07-27 23:05:25 | contains: true 2022-07-27 23:05:25 | [Mutex] waiting for: [user_regular4tlq6e0203@test-domain.com:message:received:content_sail310206] 2022-07-27 23:05:40 | [Mutex] timeout. Not received [user_regular4tlq6e0203@test-domain.com:message:received:content_sail310206] 2022-07-27 23:05:40 | [Mutex] isItemNotified: user_regular4tlq6e0203@test-domain.com:message:received:content_sail310206 :: false 2022-07-27 23:05:40 | ===== publishing normal message (to offline) 2022-07-27 23:05:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-27 23:05:40 | command: <data><node>node_8ww4660204</node><entry><content>content_s79cbu0207</content></entry></data> 2022-07-27 23:05:40 | target: http://localhost:8088 2022-07-27 23:05:40 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-27 23:05:40 | entity: <data><node>node_8ww4660204</node><entry><content>content_s79cbu0207</content></entry></data> 2022-07-27 23:05:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Jul 2022 06:05:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-27 23:05:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>790c7f60-1736-40fc-964c-e851fd5d8e98</value></item-id></result> 2022-07-27 23:05:40 | contains: true 2022-07-27 23:05:45 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-27 23:05:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-07-27 23:05:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-27 23:05:45 | [Mutex] waiting for: [user_regular4tlq6e0203@test-domain.com:message:received:content_s79cbu0207] 2022-07-27 23:05:45 | [Mutex] waiting for: [user_regular4tlq6e0203@test-domain.com:message:received:content_s79cbu0207] 2022-07-27 23:05:45 | [Mutex] received everything. 2022-07-27 23:05:45 | [Mutex] isItemNotified: user_regular4tlq6e0203@test-domain.com:message:received:content_s79cbu0207 :: true 2022-07-27 23:05:45 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-07-27 23:05:45 | [Mutex] received everything. 2022-07-27 23:05:45 | [Mutex] isItemNotified: node_8ww4660204:subscribe_node:success :: true 2022-07-27 23:05:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-27 23:05:45 | command: <data><node>node_8ww4660204</node><expire-at>2022-07-28T06:05:50Z</expire-at><entry><content>content_xih7sj0208</content></entry></data> 2022-07-27 23:05:45 | target: http://localhost:8088 2022-07-27 23:05:45 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-27 23:05:45 | entity: <data><node>node_8ww4660204</node><expire-at>2022-07-28T06:05:50Z</expire-at><entry><content>content_xih7sj0208</content></entry></data> 2022-07-27 23:05:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Jul 2022 06:05:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-27 23:05:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5a39c78f-1434-41da-a8c1-09e05a627e89</value></item-id></result> 2022-07-27 23:05:45 | contains: true 2022-07-27 23:05:53 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-27 23:05:53 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-07-27 23:05:53 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-27 23:05:53 | [Mutex] waiting for: [user_regular4tlq6e0203@test-domain.com:message:received:content_xih7sj0208] 2022-07-27 23:05:53 | [Mutex] waiting for: [user_regular4tlq6e0203@test-domain.com:message:received:content_xih7sj0208] 2022-07-27 23:05:53 | [Mutex] waiting for: [user_regular4tlq6e0203@test-domain.com:message:received:content_xih7sj0208] 2022-07-27 23:06:08 | [Mutex] timeout. Not received [user_regular4tlq6e0203@test-domain.com:message:received:content_xih7sj0208] 2022-07-27 23:06:08 | [Mutex] received everything. 2022-07-27 23:06:08 | [Mutex] isItemNotified: user_regular4tlq6e0203@test-domain.com:message:received:content_xih7sj0208 :: false 2022-07-27 23:06:08 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_xih7sj0208 :: true |