Test duration : 44.651s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.600s |
2023-07-04 22:30:56 |
2023-07-04 22:30:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-07-04 22:30:56 | ------------------------------------ 2023-07-04 22:30:56 | [Mutex] isItemNotified: node_c865k40208:exists :: false 2023-07-04 22:30:56 | [Mutex] waiting for: [node_c865k40208:create_node] 2023-07-04 22:30:56 | [Mutex] received everything. 2023-07-04 22:30:56 | [Mutex] isItemNotified: node_c865k40208:create_node:success :: true 2023-07-04 22:30:56 | [Mutex] waiting for: [node_c865k40208:subscribe_node] 2023-07-04 22:30:56 | [Mutex] waiting for: [node_c865k40208:subscribe_node] 2023-07-04 22:30:56 | [Mutex] received everything. 2023-07-04 22:30:56 | [Mutex] isItemNotified: node_c865k40208:subscribe_node:success :: true 2023-07-04 22:30:56 | ===== publishing normal message (to online) 2023-07-04 22:30:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-04 22:30:56 | command: <data><node>node_c865k40208</node><entry><content>content_wwsrie0209</content></entry></data> 2023-07-04 22:30:56 | target: http://localhost:8088 2023-07-04 22:30:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-07-04 22:30:56 | entity: <data><node>node_c865k40208</node><entry><content>content_wwsrie0209</content></entry></data> 2023-07-04 22:30:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 05 Jul 2023 05:30:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-04 22:30:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3472386a-3164-41b9-836e-e199ab8e85d3</value></item-id></result> 2023-07-04 22:30:56 | contains: true 2023-07-04 22:30:56 | [Mutex] received everything. 2023-07-04 22:30:56 | [Mutex] isItemNotified: user_regularb185o40207@test-domain.com:message:received:content_wwsrie0209 :: true 2023-07-04 22:30:56 | ===== publishing already old message - expecting message being filtered out (to online) 2023-07-04 22:30:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-04 22:30:56 | command: <data><node>node_c865k40208</node><expire-at>2023-07-05T05:30:51Z</expire-at><entry><content>content_kag8yf0210</content></entry></data> 2023-07-04 22:30:56 | target: http://localhost:8088 2023-07-04 22:30:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-07-04 22:30:56 | entity: <data><node>node_c865k40208</node><expire-at>2023-07-05T05:30:51Z</expire-at><entry><content>content_kag8yf0210</content></entry></data> 2023-07-04 22:30:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 05 Jul 2023 05:30:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-04 22:30:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b55f5290-a278-4ae0-97f8-1a6d60d0b90d</value></item-id></result> 2023-07-04 22:30:56 | contains: true 2023-07-04 22:30:56 | [Mutex] waiting for: [user_regularb185o40207@test-domain.com:message:received:content_kag8yf0210] 2023-07-04 22:31:11 | [Mutex] timeout. Not received [user_regularb185o40207@test-domain.com:message:received:content_kag8yf0210] 2023-07-04 22:31:11 | [Mutex] isItemNotified: user_regularb185o40207@test-domain.com:message:received:content_kag8yf0210 :: false 2023-07-04 22:31:11 | ===== publishing normal message (to offline) 2023-07-04 22:31:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-04 22:31:11 | command: <data><node>node_c865k40208</node><entry><content>content_f6bcid0211</content></entry></data> 2023-07-04 22:31:11 | target: http://localhost:8088 2023-07-04 22:31:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-07-04 22:31:11 | entity: <data><node>node_c865k40208</node><entry><content>content_f6bcid0211</content></entry></data> 2023-07-04 22:31:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 05 Jul 2023 05:31:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-04 22:31:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8f949d36-9626-4e72-8555-04cfad1cfd1a</value></item-id></result> 2023-07-04 22:31:11 | contains: true 2023-07-04 22:31:16 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-07-04 22:31:16 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-07-04 22:31:16 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-07-04 22:31:16 | [Mutex] waiting for: [user_regularb185o40207@test-domain.com:message:received:content_f6bcid0211] 2023-07-04 22:31:16 | [Mutex] waiting for: [user_regularb185o40207@test-domain.com:message:received:content_f6bcid0211] 2023-07-04 22:31:16 | [Mutex] received everything. 2023-07-04 22:31:16 | [Mutex] isItemNotified: user_regularb185o40207@test-domain.com:message:received:content_f6bcid0211 :: true 2023-07-04 22:31:16 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-07-04 22:31:16 | [Mutex] received everything. 2023-07-04 22:31:16 | [Mutex] isItemNotified: node_c865k40208:subscribe_node:success :: true 2023-07-04 22:31:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-04 22:31:16 | command: <data><node>node_c865k40208</node><expire-at>2023-07-05T05:31:21Z</expire-at><entry><content>content_tulbef0212</content></entry></data> 2023-07-04 22:31:16 | target: http://localhost:8088 2023-07-04 22:31:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-07-04 22:31:16 | entity: <data><node>node_c865k40208</node><expire-at>2023-07-05T05:31:21Z</expire-at><entry><content>content_tulbef0212</content></entry></data> 2023-07-04 22:31:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 05 Jul 2023 05:31:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-04 22:31:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>16141fdd-cf44-44f9-b6b5-50571f717c25</value></item-id></result> 2023-07-04 22:31:16 | contains: true 2023-07-04 22:31:24 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-07-04 22:31:24 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-07-04 22:31:24 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-07-04 22:31:24 | [Mutex] waiting for: [user_regularb185o40207@test-domain.com:message:received:content_tulbef0212] 2023-07-04 22:31:24 | [Mutex] waiting for: [user_regularb185o40207@test-domain.com:message:received:content_tulbef0212] 2023-07-04 22:31:24 | [Mutex] waiting for: [user_regularb185o40207@test-domain.com:message:received:content_tulbef0212] 2023-07-04 22:31:39 | [Mutex] timeout. Not received [user_regularb185o40207@test-domain.com:message:received:content_tulbef0212] 2023-07-04 22:31:39 | [Mutex] received everything. 2023-07-04 22:31:39 | [Mutex] isItemNotified: user_regularb185o40207@test-domain.com:message:received:content_tulbef0212 :: false 2023-07-04 22:31:39 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_tulbef0212 :: true |