Test duration : 44.633s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.568s |
2023-07-09 22:59:40 |
2023-07-09 22:59:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-07-09 22:59:40 | ------------------------------------ 2023-07-09 22:59:40 | [Mutex] isItemNotified: node_hhlsnr0208:exists :: false 2023-07-09 22:59:40 | [Mutex] waiting for: [node_hhlsnr0208:create_node] 2023-07-09 22:59:40 | [Mutex] received everything. 2023-07-09 22:59:40 | [Mutex] isItemNotified: node_hhlsnr0208:create_node:success :: true 2023-07-09 22:59:40 | [Mutex] waiting for: [node_hhlsnr0208:subscribe_node] 2023-07-09 22:59:40 | [Mutex] received everything. 2023-07-09 22:59:40 | [Mutex] isItemNotified: node_hhlsnr0208:subscribe_node:success :: true 2023-07-09 22:59:40 | ===== publishing normal message (to online) 2023-07-09 22:59:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-09 22:59:40 | command: <data><node>node_hhlsnr0208</node><entry><content>content_ifgt5p0209</content></entry></data> 2023-07-09 22:59:40 | target: http://localhost:8088 2023-07-09 22:59:40 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-07-09 22:59:40 | entity: <data><node>node_hhlsnr0208</node><entry><content>content_ifgt5p0209</content></entry></data> 2023-07-09 22:59:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Jul 2023 05:59:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-09 22:59:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e92b87ea-b482-4e5e-a624-fc4f3fad1fa3</value></item-id></result> 2023-07-09 22:59:40 | contains: true 2023-07-09 22:59:40 | [Mutex] waiting for: [user_regularuooyoj0207@test-domain.com:message:received:content_ifgt5p0209] 2023-07-09 22:59:40 | [Mutex] received everything. 2023-07-09 22:59:40 | [Mutex] isItemNotified: user_regularuooyoj0207@test-domain.com:message:received:content_ifgt5p0209 :: true 2023-07-09 22:59:40 | ===== publishing already old message - expecting message being filtered out (to online) 2023-07-09 22:59:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-09 22:59:40 | command: <data><node>node_hhlsnr0208</node><expire-at>2023-07-10T05:59:35Z</expire-at><entry><content>content_oxia000210</content></entry></data> 2023-07-09 22:59:40 | target: http://localhost:8088 2023-07-09 22:59:40 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-07-09 22:59:40 | entity: <data><node>node_hhlsnr0208</node><expire-at>2023-07-10T05:59:35Z</expire-at><entry><content>content_oxia000210</content></entry></data> 2023-07-09 22:59:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Jul 2023 05:59:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-09 22:59:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>166edfde-f0ed-4b5c-8672-5931bb17b0f7</value></item-id></result> 2023-07-09 22:59:40 | contains: true 2023-07-09 22:59:40 | [Mutex] waiting for: [user_regularuooyoj0207@test-domain.com:message:received:content_oxia000210] 2023-07-09 22:59:55 | [Mutex] timeout. Not received [user_regularuooyoj0207@test-domain.com:message:received:content_oxia000210] 2023-07-09 22:59:55 | [Mutex] isItemNotified: user_regularuooyoj0207@test-domain.com:message:received:content_oxia000210 :: false 2023-07-09 22:59:55 | ===== publishing normal message (to offline) 2023-07-09 22:59:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-09 22:59:55 | command: <data><node>node_hhlsnr0208</node><entry><content>content_i6cqhx0211</content></entry></data> 2023-07-09 22:59:55 | target: http://localhost:8088 2023-07-09 22:59:55 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-07-09 22:59:55 | entity: <data><node>node_hhlsnr0208</node><entry><content>content_i6cqhx0211</content></entry></data> 2023-07-09 22:59:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Jul 2023 05:59:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-09 22:59:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ef24e377-3627-4fc1-8126-29b50a12f923</value></item-id></result> 2023-07-09 22:59:55 | contains: true 2023-07-09 23:00:00 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-07-09 23:00:00 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-07-09 23:00:00 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-07-09 23:00:01 | [Mutex] waiting for: [user_regularuooyoj0207@test-domain.com:message:received:content_i6cqhx0211] 2023-07-09 23:00:01 | [Mutex] received everything. 2023-07-09 23:00:01 | [Mutex] isItemNotified: user_regularuooyoj0207@test-domain.com:message:received:content_i6cqhx0211 :: true 2023-07-09 23:00:01 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-07-09 23:00:01 | [Mutex] received everything. 2023-07-09 23:00:01 | [Mutex] isItemNotified: node_hhlsnr0208:subscribe_node:success :: true 2023-07-09 23:00:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-09 23:00:01 | command: <data><node>node_hhlsnr0208</node><expire-at>2023-07-10T06:00:06Z</expire-at><entry><content>content_f4k4fy0212</content></entry></data> 2023-07-09 23:00:01 | target: http://localhost:8088 2023-07-09 23:00:01 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-07-09 23:00:01 | entity: <data><node>node_hhlsnr0208</node><expire-at>2023-07-10T06:00:06Z</expire-at><entry><content>content_f4k4fy0212</content></entry></data> 2023-07-09 23:00:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Jul 2023 06:00:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-09 23:00:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>348bae52-7b54-4635-a992-744c81ba30cf</value></item-id></result> 2023-07-09 23:00:01 | contains: true 2023-07-09 23:00:09 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-07-09 23:00:09 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-07-09 23:00:09 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-07-09 23:00:09 | [Mutex] waiting for: [user_regularuooyoj0207@test-domain.com:message:received:content_f4k4fy0212] 2023-07-09 23:00:24 | [Mutex] timeout. Not received [user_regularuooyoj0207@test-domain.com:message:received:content_f4k4fy0212] 2023-07-09 23:00:24 | [Mutex] received everything. 2023-07-09 23:00:24 | [Mutex] isItemNotified: user_regularuooyoj0207@test-domain.com:message:received:content_f4k4fy0212 :: false 2023-07-09 23:00:24 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_f4k4fy0212 :: true |