Test duration : 44.731s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.568s |
2023-07-07 23:01:10 |
2023-07-07 23:01:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-07-07 23:01:10 | ------------------------------------ 2023-07-07 23:01:10 | [Mutex] isItemNotified: node_hyaik60208:exists :: false 2023-07-07 23:01:10 | [Mutex] waiting for: [node_hyaik60208:create_node] 2023-07-07 23:01:10 | [Mutex] received everything. 2023-07-07 23:01:10 | [Mutex] isItemNotified: node_hyaik60208:create_node:success :: true 2023-07-07 23:01:10 | [Mutex] waiting for: [node_hyaik60208:subscribe_node] 2023-07-07 23:01:10 | [Mutex] waiting for: [node_hyaik60208:subscribe_node] 2023-07-07 23:01:10 | [Mutex] received everything. 2023-07-07 23:01:10 | [Mutex] isItemNotified: node_hyaik60208:subscribe_node:success :: true 2023-07-07 23:01:10 | ===== publishing normal message (to online) 2023-07-07 23:01:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-07 23:01:10 | command: <data><node>node_hyaik60208</node><entry><content>content_empb5k0209</content></entry></data> 2023-07-07 23:01:10 | target: http://localhost:8088 2023-07-07 23:01:10 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-07-07 23:01:10 | entity: <data><node>node_hyaik60208</node><entry><content>content_empb5k0209</content></entry></data> 2023-07-07 23:01:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 08 Jul 2023 06:01:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-07 23:01:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>97c81af2-c4f9-4a25-903d-ed62976344d7</value></item-id></result> 2023-07-07 23:01:11 | contains: true 2023-07-07 23:01:11 | [Mutex] waiting for: [user_regularxljw990207@test-domain.com:message:received:content_empb5k0209] 2023-07-07 23:01:11 | [Mutex] received everything. 2023-07-07 23:01:11 | [Mutex] isItemNotified: user_regularxljw990207@test-domain.com:message:received:content_empb5k0209 :: true 2023-07-07 23:01:11 | ===== publishing already old message - expecting message being filtered out (to online) 2023-07-07 23:01:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-07 23:01:11 | command: <data><node>node_hyaik60208</node><expire-at>2023-07-08T06:01:06Z</expire-at><entry><content>content_5zshzd0210</content></entry></data> 2023-07-07 23:01:11 | target: http://localhost:8088 2023-07-07 23:01:11 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-07-07 23:01:11 | entity: <data><node>node_hyaik60208</node><expire-at>2023-07-08T06:01:06Z</expire-at><entry><content>content_5zshzd0210</content></entry></data> 2023-07-07 23:01:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 08 Jul 2023 06:01:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-07 23:01:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>04d106ef-1730-4951-af48-7d4cebfa0150</value></item-id></result> 2023-07-07 23:01:11 | contains: true 2023-07-07 23:01:11 | [Mutex] waiting for: [user_regularxljw990207@test-domain.com:message:received:content_5zshzd0210] 2023-07-07 23:01:26 | [Mutex] timeout. Not received [user_regularxljw990207@test-domain.com:message:received:content_5zshzd0210] 2023-07-07 23:01:26 | [Mutex] isItemNotified: user_regularxljw990207@test-domain.com:message:received:content_5zshzd0210 :: false 2023-07-07 23:01:26 | ===== publishing normal message (to offline) 2023-07-07 23:01:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-07 23:01:26 | command: <data><node>node_hyaik60208</node><entry><content>content_6otsk90211</content></entry></data> 2023-07-07 23:01:26 | target: http://localhost:8088 2023-07-07 23:01:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-07-07 23:01:26 | entity: <data><node>node_hyaik60208</node><entry><content>content_6otsk90211</content></entry></data> 2023-07-07 23:01:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 08 Jul 2023 06:01:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-07 23:01:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2c98d34b-1b4a-445d-967d-d45def36f4a7</value></item-id></result> 2023-07-07 23:01:26 | contains: true 2023-07-07 23:01:31 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-07-07 23:01:31 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-07-07 23:01:31 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-07-07 23:01:31 | [Mutex] waiting for: [user_regularxljw990207@test-domain.com:message:received:content_6otsk90211] 2023-07-07 23:01:31 | [Mutex] waiting for: [user_regularxljw990207@test-domain.com:message:received:content_6otsk90211] 2023-07-07 23:01:31 | [Mutex] received everything. 2023-07-07 23:01:31 | [Mutex] isItemNotified: user_regularxljw990207@test-domain.com:message:received:content_6otsk90211 :: true 2023-07-07 23:01:31 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-07-07 23:01:31 | [Mutex] received everything. 2023-07-07 23:01:31 | [Mutex] isItemNotified: node_hyaik60208:subscribe_node:success :: true 2023-07-07 23:01:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-07 23:01:31 | command: <data><node>node_hyaik60208</node><expire-at>2023-07-08T06:01:36Z</expire-at><entry><content>content_79kba0212</content></entry></data> 2023-07-07 23:01:31 | target: http://localhost:8088 2023-07-07 23:01:31 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2023-07-07 23:01:31 | entity: <data><node>node_hyaik60208</node><expire-at>2023-07-08T06:01:36Z</expire-at><entry><content>content_79kba0212</content></entry></data> 2023-07-07 23:01:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 08 Jul 2023 06:01:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-07 23:01:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fffcc9ab-1667-4b9d-877b-8c6515c69833</value></item-id></result> 2023-07-07 23:01:31 | contains: true 2023-07-07 23:01:39 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-07-07 23:01:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-07-07 23:01:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-07-07 23:01:39 | [Mutex] waiting for: [user_regularxljw990207@test-domain.com:message:received:content_79kba0212] 2023-07-07 23:01:39 | [Mutex] waiting for: [user_regularxljw990207@test-domain.com:message:received:content_79kba0212] 2023-07-07 23:01:39 | [Mutex] waiting for: [user_regularxljw990207@test-domain.com:message:received:content_79kba0212] 2023-07-07 23:01:54 | [Mutex] timeout. Not received [user_regularxljw990207@test-domain.com:message:received:content_79kba0212] 2023-07-07 23:01:54 | [Mutex] received everything. 2023-07-07 23:01:54 | [Mutex] isItemNotified: user_regularxljw990207@test-domain.com:message:received:content_79kba0212 :: false 2023-07-07 23:01:54 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_79kba0212 :: true |