Test duration : 44.400s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.581s |
2022-08-22 23:06:10 |
2022-08-22 23:06:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-08-22 23:06:10 | ------------------------------------ 2022-08-22 23:06:10 | [Mutex] isItemNotified: node_mfh08p0204:exists :: false 2022-08-22 23:06:10 | [Mutex] waiting for: [node_mfh08p0204:create_node] 2022-08-22 23:06:10 | [Mutex] received everything. 2022-08-22 23:06:10 | [Mutex] isItemNotified: node_mfh08p0204:create_node:success :: true 2022-08-22 23:06:10 | [Mutex] waiting for: [node_mfh08p0204:subscribe_node] 2022-08-22 23:06:10 | [Mutex] waiting for: [node_mfh08p0204:subscribe_node] 2022-08-22 23:06:10 | [Mutex] received everything. 2022-08-22 23:06:10 | [Mutex] isItemNotified: node_mfh08p0204:subscribe_node:success :: true 2022-08-22 23:06:10 | ===== publishing normal message (to online) 2022-08-22 23:06:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-22 23:06:10 | command: <data><node>node_mfh08p0204</node><entry><content>content_zh0odn0205</content></entry></data> 2022-08-22 23:06:10 | target: http://localhost:8088 2022-08-22 23:06:10 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-22 23:06:10 | entity: <data><node>node_mfh08p0204</node><entry><content>content_zh0odn0205</content></entry></data> 2022-08-22 23:06:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 23 Aug 2022 06:06:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-22 23:06:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>87a37d48-ec0c-4087-b37f-90c2d7e15a73</value></item-id></result> 2022-08-22 23:06:10 | contains: true 2022-08-22 23:06:10 | [Mutex] received everything. 2022-08-22 23:06:10 | [Mutex] isItemNotified: user_regularmgkwue0203@test-domain.com:message:received:content_zh0odn0205 :: true 2022-08-22 23:06:10 | ===== publishing already old message - expecting message being filtered out (to online) 2022-08-22 23:06:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-22 23:06:10 | command: <data><node>node_mfh08p0204</node><expire-at>2022-08-23T06:06:05Z</expire-at><entry><content>content_8azw8z0206</content></entry></data> 2022-08-22 23:06:10 | target: http://localhost:8088 2022-08-22 23:06:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-22 23:06:10 | entity: <data><node>node_mfh08p0204</node><expire-at>2022-08-23T06:06:05Z</expire-at><entry><content>content_8azw8z0206</content></entry></data> 2022-08-22 23:06:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 23 Aug 2022 06:06:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-22 23:06:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a8da90a8-56ac-41dc-80e1-b9299f100419</value></item-id></result> 2022-08-22 23:06:10 | contains: true 2022-08-22 23:06:10 | [Mutex] waiting for: [user_regularmgkwue0203@test-domain.com:message:received:content_8azw8z0206] 2022-08-22 23:06:25 | [Mutex] timeout. Not received [user_regularmgkwue0203@test-domain.com:message:received:content_8azw8z0206] 2022-08-22 23:06:25 | [Mutex] isItemNotified: user_regularmgkwue0203@test-domain.com:message:received:content_8azw8z0206 :: false 2022-08-22 23:06:25 | ===== publishing normal message (to offline) 2022-08-22 23:06:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-22 23:06:25 | command: <data><node>node_mfh08p0204</node><entry><content>content_c6w3mm0207</content></entry></data> 2022-08-22 23:06:25 | target: http://localhost:8088 2022-08-22 23:06:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-22 23:06:25 | entity: <data><node>node_mfh08p0204</node><entry><content>content_c6w3mm0207</content></entry></data> 2022-08-22 23:06:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 23 Aug 2022 06:06:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-22 23:06:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fb165bb2-c442-404d-b4b9-163cd1307bab</value></item-id></result> 2022-08-22 23:06:25 | contains: true 2022-08-22 23:06:30 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-22 23:06:30 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-08-22 23:06:30 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-22 23:06:30 | [Mutex] waiting for: [user_regularmgkwue0203@test-domain.com:message:received:content_c6w3mm0207] 2022-08-22 23:06:30 | [Mutex] received everything. 2022-08-22 23:06:30 | [Mutex] isItemNotified: user_regularmgkwue0203@test-domain.com:message:received:content_c6w3mm0207 :: true 2022-08-22 23:06:30 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-08-22 23:06:30 | [Mutex] received everything. 2022-08-22 23:06:30 | [Mutex] isItemNotified: node_mfh08p0204:subscribe_node:success :: true 2022-08-22 23:06:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-22 23:06:30 | command: <data><node>node_mfh08p0204</node><expire-at>2022-08-23T06:06:35Z</expire-at><entry><content>content_5pjjkq0208</content></entry></data> 2022-08-22 23:06:30 | target: http://localhost:8088 2022-08-22 23:06:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-22 23:06:30 | entity: <data><node>node_mfh08p0204</node><expire-at>2022-08-23T06:06:35Z</expire-at><entry><content>content_5pjjkq0208</content></entry></data> 2022-08-22 23:06:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 23 Aug 2022 06:06:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-22 23:06:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>88eeae19-c222-43f3-b895-d3d29e78ec60</value></item-id></result> 2022-08-22 23:06:30 | contains: true 2022-08-22 23:06:38 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-22 23:06:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-08-22 23:06:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-22 23:06:38 | [Mutex] waiting for: [user_regularmgkwue0203@test-domain.com:message:received:content_5pjjkq0208] 2022-08-22 23:06:53 | [Mutex] timeout. Not received [user_regularmgkwue0203@test-domain.com:message:received:content_5pjjkq0208] 2022-08-22 23:06:53 | [Mutex] received everything. 2022-08-22 23:06:53 | [Mutex] isItemNotified: user_regularmgkwue0203@test-domain.com:message:received:content_5pjjkq0208 :: false 2022-08-22 23:06:53 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_5pjjkq0208 :: true |