Test duration : 44.678s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.698s |
2022-08-13 23:02:55 |
2022-08-13 23:02:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-08-13 23:02:55 | ------------------------------------ 2022-08-13 23:02:55 | [Mutex] isItemNotified: node_86il550204:exists :: false 2022-08-13 23:02:55 | [Mutex] waiting for: [node_86il550204:create_node] 2022-08-13 23:02:55 | [Mutex] waiting for: [node_86il550204:create_node] 2022-08-13 23:02:55 | [Mutex] received everything. 2022-08-13 23:02:55 | [Mutex] isItemNotified: node_86il550204:create_node:success :: true 2022-08-13 23:02:55 | [Mutex] waiting for: [node_86il550204:subscribe_node] 2022-08-13 23:02:55 | [Mutex] waiting for: [node_86il550204:subscribe_node] 2022-08-13 23:02:55 | [Mutex] received everything. 2022-08-13 23:02:55 | [Mutex] isItemNotified: node_86il550204:subscribe_node:success :: true 2022-08-13 23:02:55 | ===== publishing normal message (to online) 2022-08-13 23:02:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-13 23:02:55 | command: <data><node>node_86il550204</node><entry><content>content_3ngmr80205</content></entry></data> 2022-08-13 23:02:55 | target: http://localhost:8088 2022-08-13 23:02:55 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-13 23:02:55 | entity: <data><node>node_86il550204</node><entry><content>content_3ngmr80205</content></entry></data> 2022-08-13 23:02:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 14 Aug 2022 06:02:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-13 23:02:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1efc4bd1-62b5-4121-aa2c-8076919bc34a</value></item-id></result> 2022-08-13 23:02:55 | contains: true 2022-08-13 23:02:55 | [Mutex] received everything. 2022-08-13 23:02:55 | [Mutex] isItemNotified: user_regular7i4d4f0203@test-domain.com:message:received:content_3ngmr80205 :: true 2022-08-13 23:02:55 | ===== publishing already old message - expecting message being filtered out (to online) 2022-08-13 23:02:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-13 23:02:55 | command: <data><node>node_86il550204</node><expire-at>2022-08-14T06:02:50Z</expire-at><entry><content>content_bnhvvg0206</content></entry></data> 2022-08-13 23:02:55 | target: http://localhost:8088 2022-08-13 23:02:55 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-13 23:02:55 | entity: <data><node>node_86il550204</node><expire-at>2022-08-14T06:02:50Z</expire-at><entry><content>content_bnhvvg0206</content></entry></data> 2022-08-13 23:02:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 14 Aug 2022 06:02:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-13 23:02:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9404e767-ddaf-4c87-9e83-3f19180f465f</value></item-id></result> 2022-08-13 23:02:55 | contains: true 2022-08-13 23:02:55 | [Mutex] waiting for: [user_regular7i4d4f0203@test-domain.com:message:received:content_bnhvvg0206] 2022-08-13 23:03:10 | [Mutex] timeout. Not received [user_regular7i4d4f0203@test-domain.com:message:received:content_bnhvvg0206] 2022-08-13 23:03:10 | [Mutex] isItemNotified: user_regular7i4d4f0203@test-domain.com:message:received:content_bnhvvg0206 :: false 2022-08-13 23:03:10 | ===== publishing normal message (to offline) 2022-08-13 23:03:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-13 23:03:10 | command: <data><node>node_86il550204</node><entry><content>content_k01q1o0207</content></entry></data> 2022-08-13 23:03:10 | target: http://localhost:8088 2022-08-13 23:03:10 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-13 23:03:10 | entity: <data><node>node_86il550204</node><entry><content>content_k01q1o0207</content></entry></data> 2022-08-13 23:03:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 14 Aug 2022 06:03:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-13 23:03:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d6c08900-700b-4862-ba00-aa96b2b8ae9c</value></item-id></result> 2022-08-13 23:03:10 | contains: true 2022-08-13 23:03:15 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-13 23:03:15 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-08-13 23:03:15 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-13 23:03:15 | [Mutex] waiting for: [user_regular7i4d4f0203@test-domain.com:message:received:content_k01q1o0207] 2022-08-13 23:03:15 | [Mutex] received everything. 2022-08-13 23:03:15 | [Mutex] isItemNotified: user_regular7i4d4f0203@test-domain.com:message:received:content_k01q1o0207 :: true 2022-08-13 23:03:15 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-08-13 23:03:15 | [Mutex] received everything. 2022-08-13 23:03:15 | [Mutex] isItemNotified: node_86il550204:subscribe_node:success :: true 2022-08-13 23:03:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-13 23:03:15 | command: <data><node>node_86il550204</node><expire-at>2022-08-14T06:03:20Z</expire-at><entry><content>content_ucq1xj0208</content></entry></data> 2022-08-13 23:03:15 | target: http://localhost:8088 2022-08-13 23:03:15 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-13 23:03:15 | entity: <data><node>node_86il550204</node><expire-at>2022-08-14T06:03:20Z</expire-at><entry><content>content_ucq1xj0208</content></entry></data> 2022-08-13 23:03:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 14 Aug 2022 06:03:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-13 23:03:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>51020073-d3ab-4a8e-bfdf-0a6137daf87c</value></item-id></result> 2022-08-13 23:03:15 | contains: true 2022-08-13 23:03:23 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-13 23:03:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-08-13 23:03:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-13 23:03:23 | [Mutex] waiting for: [user_regular7i4d4f0203@test-domain.com:message:received:content_ucq1xj0208] 2022-08-13 23:03:38 | [Mutex] timeout. Not received [user_regular7i4d4f0203@test-domain.com:message:received:content_ucq1xj0208] 2022-08-13 23:03:38 | [Mutex] received everything. 2022-08-13 23:03:38 | [Mutex] isItemNotified: user_regular7i4d4f0203@test-domain.com:message:received:content_ucq1xj0208 :: false 2022-08-13 23:03:38 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ucq1xj0208 :: true |