Test duration : 44.794s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.613s |
2023-03-06 09:08:31 |
2023-03-06 09:08:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-03-06 09:08:31 | ------------------------------------ 2023-03-06 09:08:31 | [Mutex] isItemNotified: node_832scp0208:exists :: false 2023-03-06 09:08:31 | [Mutex] waiting for: [node_832scp0208:create_node] 2023-03-06 09:08:31 | [Mutex] received everything. 2023-03-06 09:08:31 | [Mutex] isItemNotified: node_832scp0208:create_node:success :: true 2023-03-06 09:08:31 | [Mutex] waiting for: [node_832scp0208:subscribe_node] 2023-03-06 09:08:31 | [Mutex] waiting for: [node_832scp0208:subscribe_node] 2023-03-06 09:08:31 | [Mutex] received everything. 2023-03-06 09:08:31 | [Mutex] isItemNotified: node_832scp0208:subscribe_node:success :: true 2023-03-06 09:08:31 | ===== publishing normal message (to online) 2023-03-06 09:08:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-06 09:08:31 | command: <data><node>node_832scp0208</node><entry><content>content_3siir90209</content></entry></data> 2023-03-06 09:08:31 | target: http://localhost:8088 2023-03-06 09:08:31 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-03-06 09:08:31 | entity: <data><node>node_832scp0208</node><entry><content>content_3siir90209</content></entry></data> 2023-03-06 09:08:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 17:08:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-06 09:08:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>18f736b7-c65d-4cd0-99fe-1276d639683c</value></item-id></result> 2023-03-06 09:08:31 | contains: true 2023-03-06 09:08:31 | [Mutex] received everything. 2023-03-06 09:08:31 | [Mutex] isItemNotified: user_regularldvz0q0207@test-domain.com:message:received:content_3siir90209 :: true 2023-03-06 09:08:31 | ===== publishing already old message - expecting message being filtered out (to online) 2023-03-06 09:08:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-06 09:08:31 | command: <data><node>node_832scp0208</node><expire-at>2023-03-06T17:08:26Z</expire-at><entry><content>content_2sfmz00210</content></entry></data> 2023-03-06 09:08:31 | target: http://localhost:8088 2023-03-06 09:08:31 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-06 09:08:31 | entity: <data><node>node_832scp0208</node><expire-at>2023-03-06T17:08:26Z</expire-at><entry><content>content_2sfmz00210</content></entry></data> 2023-03-06 09:08:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 17:08:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-06 09:08:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fa790eca-11a5-4ac5-a007-597a52e783b6</value></item-id></result> 2023-03-06 09:08:31 | contains: true 2023-03-06 09:08:31 | [Mutex] waiting for: [user_regularldvz0q0207@test-domain.com:message:received:content_2sfmz00210] 2023-03-06 09:08:46 | [Mutex] timeout. Not received [user_regularldvz0q0207@test-domain.com:message:received:content_2sfmz00210] 2023-03-06 09:08:46 | [Mutex] isItemNotified: user_regularldvz0q0207@test-domain.com:message:received:content_2sfmz00210 :: false 2023-03-06 09:08:46 | ===== publishing normal message (to offline) 2023-03-06 09:08:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-06 09:08:46 | command: <data><node>node_832scp0208</node><entry><content>content_87pltx0211</content></entry></data> 2023-03-06 09:08:46 | target: http://localhost:8088 2023-03-06 09:08:46 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-03-06 09:08:46 | entity: <data><node>node_832scp0208</node><entry><content>content_87pltx0211</content></entry></data> 2023-03-06 09:08:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 17:08:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-06 09:08:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>00b2034c-8acb-4655-b603-ad807dc1fbf3</value></item-id></result> 2023-03-06 09:08:46 | contains: true 2023-03-06 09:08:51 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-06 09:08:51 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-03-06 09:08:51 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-06 09:08:52 | [Mutex] waiting for: [user_regularldvz0q0207@test-domain.com:message:received:content_87pltx0211] 2023-03-06 09:08:52 | [Mutex] waiting for: [user_regularldvz0q0207@test-domain.com:message:received:content_87pltx0211] 2023-03-06 09:08:52 | [Mutex] received everything. 2023-03-06 09:08:52 | [Mutex] isItemNotified: user_regularldvz0q0207@test-domain.com:message:received:content_87pltx0211 :: true 2023-03-06 09:08:52 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-03-06 09:08:52 | [Mutex] received everything. 2023-03-06 09:08:52 | [Mutex] isItemNotified: node_832scp0208:subscribe_node:success :: true 2023-03-06 09:08:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-06 09:08:52 | command: <data><node>node_832scp0208</node><expire-at>2023-03-06T17:08:57Z</expire-at><entry><content>content_vn2cyz0212</content></entry></data> 2023-03-06 09:08:52 | target: http://localhost:8088 2023-03-06 09:08:52 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-06 09:08:52 | entity: <data><node>node_832scp0208</node><expire-at>2023-03-06T17:08:57Z</expire-at><entry><content>content_vn2cyz0212</content></entry></data> 2023-03-06 09:08:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 17:08:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-06 09:08:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0a1a11e6-a410-4bf9-b297-f26f8fd9a132</value></item-id></result> 2023-03-06 09:08:52 | contains: true 2023-03-06 09:09:00 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-06 09:09:00 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-03-06 09:09:00 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-06 09:09:00 | [Mutex] waiting for: [user_regularldvz0q0207@test-domain.com:message:received:content_vn2cyz0212] 2023-03-06 09:09:00 | [Mutex] waiting for: [user_regularldvz0q0207@test-domain.com:message:received:content_vn2cyz0212] 2023-03-06 09:09:00 | [Mutex] waiting for: [user_regularldvz0q0207@test-domain.com:message:received:content_vn2cyz0212] 2023-03-06 09:09:15 | [Mutex] timeout. Not received [user_regularldvz0q0207@test-domain.com:message:received:content_vn2cyz0212] 2023-03-06 09:09:15 | [Mutex] received everything. 2023-03-06 09:09:15 | [Mutex] isItemNotified: user_regularldvz0q0207@test-domain.com:message:received:content_vn2cyz0212 :: false 2023-03-06 09:09:15 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_vn2cyz0212 :: true |