Test duration : 44.761s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.592s |
2022-05-16 23:14:00 |
2022-05-16 23:14:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-05-16 23:14:00 | ------------------------------------ 2022-05-16 23:14:00 | [Mutex] isItemNotified: node_un81y90204:exists :: false 2022-05-16 23:14:00 | [Mutex] waiting for: [node_un81y90204:create_node] 2022-05-16 23:14:00 | [Mutex] waiting for: [node_un81y90204:create_node] 2022-05-16 23:14:00 | [Mutex] received everything. 2022-05-16 23:14:00 | [Mutex] isItemNotified: node_un81y90204:create_node:success :: true 2022-05-16 23:14:00 | [Mutex] waiting for: [node_un81y90204:subscribe_node] 2022-05-16 23:14:00 | [Mutex] waiting for: [node_un81y90204:subscribe_node] 2022-05-16 23:14:00 | [Mutex] received everything. 2022-05-16 23:14:00 | [Mutex] isItemNotified: node_un81y90204:subscribe_node:success :: true 2022-05-16 23:14:00 | ===== publishing normal message (to online) 2022-05-16 23:14:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-16 23:14:00 | command: <data><node>node_un81y90204</node><entry><content>content_g5fwf40205</content></entry></data> 2022-05-16 23:14:00 | target: http://localhost:8088 2022-05-16 23:14:00 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-05-16 23:14:00 | entity: <data><node>node_un81y90204</node><entry><content>content_g5fwf40205</content></entry></data> 2022-05-16 23:14:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 17 May 2022 06:14:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-16 23:14:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5e635a5f-61dd-411e-9230-6eb15e4354ca</value></item-id></result> 2022-05-16 23:14:00 | contains: true 2022-05-16 23:14:00 | [Mutex] waiting for: [user_regularhj7stm0203@test-domain.com:message:received:content_g5fwf40205] 2022-05-16 23:14:00 | [Mutex] received everything. 2022-05-16 23:14:00 | [Mutex] isItemNotified: user_regularhj7stm0203@test-domain.com:message:received:content_g5fwf40205 :: true 2022-05-16 23:14:00 | ===== publishing already old message - expecting message being filtered out (to online) 2022-05-16 23:14:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-16 23:14:00 | command: <data><node>node_un81y90204</node><expire-at>2022-05-17T06:13:55Z</expire-at><entry><content>content_r8ccpx0206</content></entry></data> 2022-05-16 23:14:00 | target: http://localhost:8088 2022-05-16 23:14:00 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-05-16 23:14:00 | entity: <data><node>node_un81y90204</node><expire-at>2022-05-17T06:13:55Z</expire-at><entry><content>content_r8ccpx0206</content></entry></data> 2022-05-16 23:14:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 17 May 2022 06:14:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-16 23:14:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>56e88055-4b13-4bf8-add8-8d65fa121c7d</value></item-id></result> 2022-05-16 23:14:00 | contains: true 2022-05-16 23:14:00 | [Mutex] waiting for: [user_regularhj7stm0203@test-domain.com:message:received:content_r8ccpx0206] 2022-05-16 23:14:15 | [Mutex] timeout. Not received [user_regularhj7stm0203@test-domain.com:message:received:content_r8ccpx0206] 2022-05-16 23:14:15 | [Mutex] isItemNotified: user_regularhj7stm0203@test-domain.com:message:received:content_r8ccpx0206 :: false 2022-05-16 23:14:15 | ===== publishing normal message (to offline) 2022-05-16 23:14:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-16 23:14:15 | command: <data><node>node_un81y90204</node><entry><content>content_hp5hf0207</content></entry></data> 2022-05-16 23:14:15 | target: http://localhost:8088 2022-05-16 23:14:15 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2022-05-16 23:14:15 | entity: <data><node>node_un81y90204</node><entry><content>content_hp5hf0207</content></entry></data> 2022-05-16 23:14:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 17 May 2022 06:14:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-16 23:14:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>42382042-10ac-40f3-b779-2d98b60ea943</value></item-id></result> 2022-05-16 23:14:15 | contains: true 2022-05-16 23:14:20 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-05-16 23:14:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-05-16 23:14:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-05-16 23:14:20 | [Mutex] waiting for: [user_regularhj7stm0203@test-domain.com:message:received:content_hp5hf0207] 2022-05-16 23:14:20 | [Mutex] received everything. 2022-05-16 23:14:20 | [Mutex] isItemNotified: user_regularhj7stm0203@test-domain.com:message:received:content_hp5hf0207 :: true 2022-05-16 23:14:20 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-05-16 23:14:20 | [Mutex] received everything. 2022-05-16 23:14:20 | [Mutex] isItemNotified: node_un81y90204:subscribe_node:success :: true 2022-05-16 23:14:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-16 23:14:20 | command: <data><node>node_un81y90204</node><expire-at>2022-05-17T06:14:25Z</expire-at><entry><content>content_wxvagn0208</content></entry></data> 2022-05-16 23:14:20 | target: http://localhost:8088 2022-05-16 23:14:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-05-16 23:14:20 | entity: <data><node>node_un81y90204</node><expire-at>2022-05-17T06:14:25Z</expire-at><entry><content>content_wxvagn0208</content></entry></data> 2022-05-16 23:14:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 17 May 2022 06:14:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-16 23:14:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c3d17a5c-85be-4d04-9d22-64d3b7e1b4b3</value></item-id></result> 2022-05-16 23:14:20 | contains: true 2022-05-16 23:14:28 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-05-16 23:14:28 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-05-16 23:14:28 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-05-16 23:14:29 | [Mutex] waiting for: [user_regularhj7stm0203@test-domain.com:message:received:content_wxvagn0208] 2022-05-16 23:14:29 | [Mutex] waiting for: [user_regularhj7stm0203@test-domain.com:message:received:content_wxvagn0208] 2022-05-16 23:14:44 | [Mutex] timeout. Not received [user_regularhj7stm0203@test-domain.com:message:received:content_wxvagn0208] 2022-05-16 23:14:44 | [Mutex] received everything. 2022-05-16 23:14:44 | [Mutex] isItemNotified: user_regularhj7stm0203@test-domain.com:message:received:content_wxvagn0208 :: false 2022-05-16 23:14:44 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_wxvagn0208 :: true |