Test duration : 44.684s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.645s |
2023-08-06 23:00:12 |
2023-08-06 23:00:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-08-06 23:00:12 | ------------------------------------ 2023-08-06 23:00:12 | [Mutex] isItemNotified: node_17pcye0208:exists :: false 2023-08-06 23:00:12 | [Mutex] waiting for: [node_17pcye0208:create_node] 2023-08-06 23:00:12 | [Mutex] waiting for: [node_17pcye0208:create_node] 2023-08-06 23:00:12 | [Mutex] received everything. 2023-08-06 23:00:12 | [Mutex] isItemNotified: node_17pcye0208:create_node:success :: true 2023-08-06 23:00:12 | [Mutex] waiting for: [node_17pcye0208:subscribe_node] 2023-08-06 23:00:12 | [Mutex] waiting for: [node_17pcye0208:subscribe_node] 2023-08-06 23:00:12 | [Mutex] received everything. 2023-08-06 23:00:12 | [Mutex] isItemNotified: node_17pcye0208:subscribe_node:success :: true 2023-08-06 23:00:12 | ===== publishing normal message (to online) 2023-08-06 23:00:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-08-06 23:00:12 | command: <data><node>node_17pcye0208</node><entry><content>content_4aq0ik0209</content></entry></data> 2023-08-06 23:00:12 | target: http://localhost:8088 2023-08-06 23:00:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-08-06 23:00:12 | entity: <data><node>node_17pcye0208</node><entry><content>content_4aq0ik0209</content></entry></data> 2023-08-06 23:00:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 07 Aug 2023 06:00:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-08-06 23:00:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c6e79380-ead9-49d9-9706-a5c200674639</value></item-id></result> 2023-08-06 23:00:12 | contains: true 2023-08-06 23:00:12 | [Mutex] waiting for: [user_regularhvssi0207@test-domain.com:message:received:content_4aq0ik0209] 2023-08-06 23:00:12 | [Mutex] received everything. 2023-08-06 23:00:12 | [Mutex] isItemNotified: user_regularhvssi0207@test-domain.com:message:received:content_4aq0ik0209 :: true 2023-08-06 23:00:12 | ===== publishing already old message - expecting message being filtered out (to online) 2023-08-06 23:00:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-08-06 23:00:12 | command: <data><node>node_17pcye0208</node><expire-at>2023-08-07T06:00:07Z</expire-at><entry><content>content_bmmitw0210</content></entry></data> 2023-08-06 23:00:12 | target: http://localhost:8088 2023-08-06 23:00:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-08-06 23:00:12 | entity: <data><node>node_17pcye0208</node><expire-at>2023-08-07T06:00:07Z</expire-at><entry><content>content_bmmitw0210</content></entry></data> 2023-08-06 23:00:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 07 Aug 2023 06:00:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-08-06 23:00:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3d8f6dcc-bbad-4cd6-bb7c-f253937a35dd</value></item-id></result> 2023-08-06 23:00:12 | contains: true 2023-08-06 23:00:12 | [Mutex] waiting for: [user_regularhvssi0207@test-domain.com:message:received:content_bmmitw0210] 2023-08-06 23:00:27 | [Mutex] timeout. Not received [user_regularhvssi0207@test-domain.com:message:received:content_bmmitw0210] 2023-08-06 23:00:27 | [Mutex] isItemNotified: user_regularhvssi0207@test-domain.com:message:received:content_bmmitw0210 :: false 2023-08-06 23:00:27 | ===== publishing normal message (to offline) 2023-08-06 23:00:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-08-06 23:00:27 | command: <data><node>node_17pcye0208</node><entry><content>content_karfdi0211</content></entry></data> 2023-08-06 23:00:27 | target: http://localhost:8088 2023-08-06 23:00:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-08-06 23:00:27 | entity: <data><node>node_17pcye0208</node><entry><content>content_karfdi0211</content></entry></data> 2023-08-06 23:00:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 07 Aug 2023 06:00:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-08-06 23:00:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>609b46a7-d2b9-449b-9fb5-e82e9bcac493</value></item-id></result> 2023-08-06 23:00:27 | contains: true 2023-08-06 23:00:32 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-08-06 23:00:32 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-08-06 23:00:32 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-08-06 23:00:32 | [Mutex] received everything. 2023-08-06 23:00:32 | [Mutex] isItemNotified: user_regularhvssi0207@test-domain.com:message:received:content_karfdi0211 :: true 2023-08-06 23:00:32 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-08-06 23:00:32 | [Mutex] received everything. 2023-08-06 23:00:32 | [Mutex] isItemNotified: node_17pcye0208:subscribe_node:success :: true 2023-08-06 23:00:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-08-06 23:00:32 | command: <data><node>node_17pcye0208</node><expire-at>2023-08-07T06:00:37Z</expire-at><entry><content>content_z6gvcu0212</content></entry></data> 2023-08-06 23:00:32 | target: http://localhost:8088 2023-08-06 23:00:32 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-08-06 23:00:32 | entity: <data><node>node_17pcye0208</node><expire-at>2023-08-07T06:00:37Z</expire-at><entry><content>content_z6gvcu0212</content></entry></data> 2023-08-06 23:00:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 07 Aug 2023 06:00:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-08-06 23:00:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d93d5ca5-a41f-45de-b1e6-7cb5ff995c21</value></item-id></result> 2023-08-06 23:00:32 | contains: true 2023-08-06 23:00:40 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-08-06 23:00:40 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-08-06 23:00:40 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-08-06 23:00:41 | [Mutex] waiting for: [user_regularhvssi0207@test-domain.com:message:received:content_z6gvcu0212] 2023-08-06 23:00:56 | [Mutex] timeout. Not received [user_regularhvssi0207@test-domain.com:message:received:content_z6gvcu0212] 2023-08-06 23:00:56 | [Mutex] received everything. 2023-08-06 23:00:56 | [Mutex] isItemNotified: user_regularhvssi0207@test-domain.com:message:received:content_z6gvcu0212 :: false 2023-08-06 23:00:56 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_z6gvcu0212 :: true |