Test duration : 44.820s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.703s |
2022-09-22 23:03:56 |
2022-09-22 23:03:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-09-22 23:03:56 | ------------------------------------ 2022-09-22 23:03:56 | [Mutex] isItemNotified: node_2hphp10204:exists :: false 2022-09-22 23:03:56 | [Mutex] waiting for: [node_2hphp10204:create_node] 2022-09-22 23:03:56 | [Mutex] received everything. 2022-09-22 23:03:56 | [Mutex] isItemNotified: node_2hphp10204:create_node:success :: true 2022-09-22 23:03:56 | [Mutex] waiting for: [node_2hphp10204:subscribe_node] 2022-09-22 23:03:56 | [Mutex] received everything. 2022-09-22 23:03:56 | [Mutex] isItemNotified: node_2hphp10204:subscribe_node:success :: true 2022-09-22 23:03:56 | ===== publishing normal message (to online) 2022-09-22 23:03:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-22 23:03:56 | command: <data><node>node_2hphp10204</node><entry><content>content_deteb0205</content></entry></data> 2022-09-22 23:03:56 | target: http://localhost:8088 2022-09-22 23:03:56 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2022-09-22 23:03:56 | entity: <data><node>node_2hphp10204</node><entry><content>content_deteb0205</content></entry></data> 2022-09-22 23:03:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Sep 2022 06:03:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-22 23:03:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7536a0a9-3870-4302-956c-db5a9ac423b8</value></item-id></result> 2022-09-22 23:03:56 | contains: true 2022-09-22 23:03:56 | [Mutex] received everything. 2022-09-22 23:03:56 | [Mutex] isItemNotified: user_regular1e2gbd0203@test-domain.com:message:received:content_deteb0205 :: true 2022-09-22 23:03:56 | ===== publishing already old message - expecting message being filtered out (to online) 2022-09-22 23:03:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-22 23:03:56 | command: <data><node>node_2hphp10204</node><expire-at>2022-09-23T06:03:51Z</expire-at><entry><content>content_a43ni0206</content></entry></data> 2022-09-22 23:03:56 | target: http://localhost:8088 2022-09-22 23:03:56 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2022-09-22 23:03:56 | entity: <data><node>node_2hphp10204</node><expire-at>2022-09-23T06:03:51Z</expire-at><entry><content>content_a43ni0206</content></entry></data> 2022-09-22 23:03:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Sep 2022 06:03:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-22 23:03:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>12906031-198e-43cc-bb6d-22be8dd73afb</value></item-id></result> 2022-09-22 23:03:56 | contains: true 2022-09-22 23:03:56 | [Mutex] waiting for: [user_regular1e2gbd0203@test-domain.com:message:received:content_a43ni0206] 2022-09-22 23:04:11 | [Mutex] timeout. Not received [user_regular1e2gbd0203@test-domain.com:message:received:content_a43ni0206] 2022-09-22 23:04:11 | [Mutex] isItemNotified: user_regular1e2gbd0203@test-domain.com:message:received:content_a43ni0206 :: false 2022-09-22 23:04:11 | ===== publishing normal message (to offline) 2022-09-22 23:04:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-22 23:04:11 | command: <data><node>node_2hphp10204</node><entry><content>content_7xdi1w0207</content></entry></data> 2022-09-22 23:04:11 | target: http://localhost:8088 2022-09-22 23:04:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-09-22 23:04:11 | entity: <data><node>node_2hphp10204</node><entry><content>content_7xdi1w0207</content></entry></data> 2022-09-22 23:04:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Sep 2022 06:04:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-22 23:04:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4ef17ee5-912f-458f-bb8d-c1413bc8850c</value></item-id></result> 2022-09-22 23:04:11 | contains: true 2022-09-22 23:04:16 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-09-22 23:04:16 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-09-22 23:04:16 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-09-22 23:04:16 | [Mutex] waiting for: [user_regular1e2gbd0203@test-domain.com:message:received:content_7xdi1w0207] 2022-09-22 23:04:16 | [Mutex] received everything. 2022-09-22 23:04:16 | [Mutex] isItemNotified: user_regular1e2gbd0203@test-domain.com:message:received:content_7xdi1w0207 :: true 2022-09-22 23:04:16 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-09-22 23:04:16 | [Mutex] received everything. 2022-09-22 23:04:16 | [Mutex] isItemNotified: node_2hphp10204:subscribe_node:success :: true 2022-09-22 23:04:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-22 23:04:16 | command: <data><node>node_2hphp10204</node><expire-at>2022-09-23T06:04:21Z</expire-at><entry><content>content_pfdlaa0208</content></entry></data> 2022-09-22 23:04:16 | target: http://localhost:8088 2022-09-22 23:04:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-09-22 23:04:16 | entity: <data><node>node_2hphp10204</node><expire-at>2022-09-23T06:04:21Z</expire-at><entry><content>content_pfdlaa0208</content></entry></data> 2022-09-22 23:04:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Sep 2022 06:04:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-22 23:04:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>709064dc-4be6-414c-bf10-365058b76a34</value></item-id></result> 2022-09-22 23:04:16 | contains: true 2022-09-22 23:04:24 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-09-22 23:04:24 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-09-22 23:04:24 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-09-22 23:04:25 | [Mutex] waiting for: [user_regular1e2gbd0203@test-domain.com:message:received:content_pfdlaa0208] 2022-09-22 23:04:40 | [Mutex] timeout. Not received [user_regular1e2gbd0203@test-domain.com:message:received:content_pfdlaa0208] 2022-09-22 23:04:40 | [Mutex] received everything. 2022-09-22 23:04:40 | [Mutex] isItemNotified: user_regular1e2gbd0203@test-domain.com:message:received:content_pfdlaa0208 :: false 2022-09-22 23:04:40 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_pfdlaa0208 :: true |