Test duration : 44.647s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.589s |
2022-12-16 10:50:30 |
2022-12-16 10:50:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-12-16 10:50:30 | ------------------------------------ 2022-12-16 10:50:30 | [Mutex] isItemNotified: node_8drndr0204:exists :: false 2022-12-16 10:50:30 | [Mutex] waiting for: [node_8drndr0204:create_node] 2022-12-16 10:50:30 | [Mutex] received everything. 2022-12-16 10:50:30 | [Mutex] isItemNotified: node_8drndr0204:create_node:success :: true 2022-12-16 10:50:30 | [Mutex] waiting for: [node_8drndr0204:subscribe_node] 2022-12-16 10:50:30 | [Mutex] waiting for: [node_8drndr0204:subscribe_node] 2022-12-16 10:50:30 | [Mutex] received everything. 2022-12-16 10:50:30 | [Mutex] isItemNotified: node_8drndr0204:subscribe_node:success :: true 2022-12-16 10:50:30 | ===== publishing normal message (to online) 2022-12-16 10:50:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-16 10:50:30 | command: <data><node>node_8drndr0204</node><entry><content>content_yfybe10205</content></entry></data> 2022-12-16 10:50:30 | target: http://localhost:8088 2022-12-16 10:50:30 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-12-16 10:50:30 | entity: <data><node>node_8drndr0204</node><entry><content>content_yfybe10205</content></entry></data> 2022-12-16 10:50:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Dec 2022 18:50:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-16 10:50:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>caff01dc-c664-47d8-b5ea-5535cc708cfa</value></item-id></result> 2022-12-16 10:50:30 | contains: true 2022-12-16 10:50:30 | [Mutex] waiting for: [user_regularoba4ac0203@test-domain.com:message:received:content_yfybe10205] 2022-12-16 10:50:30 | [Mutex] received everything. 2022-12-16 10:50:30 | [Mutex] isItemNotified: user_regularoba4ac0203@test-domain.com:message:received:content_yfybe10205 :: true 2022-12-16 10:50:30 | ===== publishing already old message - expecting message being filtered out (to online) 2022-12-16 10:50:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-16 10:50:30 | command: <data><node>node_8drndr0204</node><expire-at>2022-12-16T18:50:25Z</expire-at><entry><content>content_nswpa90206</content></entry></data> 2022-12-16 10:50:30 | target: http://localhost:8088 2022-12-16 10:50:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-12-16 10:50:30 | entity: <data><node>node_8drndr0204</node><expire-at>2022-12-16T18:50:25Z</expire-at><entry><content>content_nswpa90206</content></entry></data> 2022-12-16 10:50:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Dec 2022 18:50:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-16 10:50:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6a87e791-10e4-4130-8c0c-9eb1300a9302</value></item-id></result> 2022-12-16 10:50:30 | contains: true 2022-12-16 10:50:30 | [Mutex] waiting for: [user_regularoba4ac0203@test-domain.com:message:received:content_nswpa90206] 2022-12-16 10:50:45 | [Mutex] timeout. Not received [user_regularoba4ac0203@test-domain.com:message:received:content_nswpa90206] 2022-12-16 10:50:45 | [Mutex] isItemNotified: user_regularoba4ac0203@test-domain.com:message:received:content_nswpa90206 :: false 2022-12-16 10:50:45 | ===== publishing normal message (to offline) 2022-12-16 10:50:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-16 10:50:45 | command: <data><node>node_8drndr0204</node><entry><content>content_7d0hso0207</content></entry></data> 2022-12-16 10:50:45 | target: http://localhost:8088 2022-12-16 10:50:45 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-12-16 10:50:45 | entity: <data><node>node_8drndr0204</node><entry><content>content_7d0hso0207</content></entry></data> 2022-12-16 10:50:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Dec 2022 18:50:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-16 10:50:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fae72950-0120-4d05-bcdc-2c13442c8e6d</value></item-id></result> 2022-12-16 10:50:45 | contains: true 2022-12-16 10:50:50 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-12-16 10:50:50 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-12-16 10:50:50 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-12-16 10:50:50 | [Mutex] waiting for: [user_regularoba4ac0203@test-domain.com:message:received:content_7d0hso0207] 2022-12-16 10:50:50 | [Mutex] waiting for: [user_regularoba4ac0203@test-domain.com:message:received:content_7d0hso0207] 2022-12-16 10:50:50 | [Mutex] received everything. 2022-12-16 10:50:50 | [Mutex] isItemNotified: user_regularoba4ac0203@test-domain.com:message:received:content_7d0hso0207 :: true 2022-12-16 10:50:50 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-12-16 10:50:50 | [Mutex] received everything. 2022-12-16 10:50:50 | [Mutex] isItemNotified: node_8drndr0204:subscribe_node:success :: true 2022-12-16 10:50:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-16 10:50:50 | command: <data><node>node_8drndr0204</node><expire-at>2022-12-16T18:50:55Z</expire-at><entry><content>content_akhsim0208</content></entry></data> 2022-12-16 10:50:50 | target: http://localhost:8088 2022-12-16 10:50:50 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-12-16 10:50:50 | entity: <data><node>node_8drndr0204</node><expire-at>2022-12-16T18:50:55Z</expire-at><entry><content>content_akhsim0208</content></entry></data> 2022-12-16 10:50:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Dec 2022 18:50:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-16 10:50:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5ad8a9ab-2adf-4dc3-b7e0-ee6036d07e5e</value></item-id></result> 2022-12-16 10:50:50 | contains: true 2022-12-16 10:50:58 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-12-16 10:50:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-12-16 10:50:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-12-16 10:50:59 | [Mutex] waiting for: [user_regularoba4ac0203@test-domain.com:message:received:content_akhsim0208] 2022-12-16 10:51:14 | [Mutex] timeout. Not received [user_regularoba4ac0203@test-domain.com:message:received:content_akhsim0208] 2022-12-16 10:51:14 | [Mutex] received everything. 2022-12-16 10:51:14 | [Mutex] isItemNotified: user_regularoba4ac0203@test-domain.com:message:received:content_akhsim0208 :: false 2022-12-16 10:51:14 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_akhsim0208 :: true |