Test duration : 44.512s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.700s |
2023-07-04 22:45:54 |
2023-07-04 22:45:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-07-04 22:45:54 | ------------------------------------ 2023-07-04 22:45:54 | [Mutex] isItemNotified: node_6cd45c0208:exists :: false 2023-07-04 22:45:54 | [Mutex] waiting for: [node_6cd45c0208:create_node] 2023-07-04 22:45:54 | [Mutex] waiting for: [node_6cd45c0208:create_node] 2023-07-04 22:45:54 | [Mutex] received everything. 2023-07-04 22:45:54 | [Mutex] isItemNotified: node_6cd45c0208:create_node:success :: true 2023-07-04 22:45:54 | [Mutex] waiting for: [node_6cd45c0208:subscribe_node] 2023-07-04 22:45:54 | [Mutex] waiting for: [node_6cd45c0208:subscribe_node] 2023-07-04 22:45:54 | [Mutex] received everything. 2023-07-04 22:45:54 | [Mutex] isItemNotified: node_6cd45c0208:subscribe_node:success :: true 2023-07-04 22:45:54 | ===== publishing normal message (to online) 2023-07-04 22:45:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-04 22:45:54 | command: <data><node>node_6cd45c0208</node><entry><content>content_iqp9y50209</content></entry></data> 2023-07-04 22:45:54 | target: http://localhost:8088 2023-07-04 22:45:54 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-07-04 22:45:54 | entity: <data><node>node_6cd45c0208</node><entry><content>content_iqp9y50209</content></entry></data> 2023-07-04 22:45:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 05 Jul 2023 05:45:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-04 22:45:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>258cb90e-5d6f-43e8-a649-314467091ad4</value></item-id></result> 2023-07-04 22:45:54 | contains: true 2023-07-04 22:45:54 | [Mutex] received everything. 2023-07-04 22:45:54 | [Mutex] isItemNotified: user_regularqzqvz50207@test-domain.com:message:received:content_iqp9y50209 :: true 2023-07-04 22:45:54 | ===== publishing already old message - expecting message being filtered out (to online) 2023-07-04 22:45:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-04 22:45:54 | command: <data><node>node_6cd45c0208</node><expire-at>2023-07-05T05:45:49Z</expire-at><entry><content>content_2xja3c0210</content></entry></data> 2023-07-04 22:45:54 | target: http://localhost:8088 2023-07-04 22:45:54 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-07-04 22:45:54 | entity: <data><node>node_6cd45c0208</node><expire-at>2023-07-05T05:45:49Z</expire-at><entry><content>content_2xja3c0210</content></entry></data> 2023-07-04 22:45:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 05 Jul 2023 05:45:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-04 22:45:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>82f11c4b-2e58-478d-adae-a8d54a24399c</value></item-id></result> 2023-07-04 22:45:55 | contains: true 2023-07-04 22:45:55 | [Mutex] waiting for: [user_regularqzqvz50207@test-domain.com:message:received:content_2xja3c0210] 2023-07-04 22:46:10 | [Mutex] timeout. Not received [user_regularqzqvz50207@test-domain.com:message:received:content_2xja3c0210] 2023-07-04 22:46:10 | [Mutex] isItemNotified: user_regularqzqvz50207@test-domain.com:message:received:content_2xja3c0210 :: false 2023-07-04 22:46:10 | ===== publishing normal message (to offline) 2023-07-04 22:46:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-04 22:46:10 | command: <data><node>node_6cd45c0208</node><entry><content>content_c17x2t0211</content></entry></data> 2023-07-04 22:46:10 | target: http://localhost:8088 2023-07-04 22:46:10 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-07-04 22:46:10 | entity: <data><node>node_6cd45c0208</node><entry><content>content_c17x2t0211</content></entry></data> 2023-07-04 22:46:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 05 Jul 2023 05:46:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-04 22:46:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1b79dc99-1922-4025-b4f1-c7096317207c</value></item-id></result> 2023-07-04 22:46:10 | contains: true 2023-07-04 22:46:15 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-07-04 22:46:15 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=484 thread=1] DNS entry stored in session object: localhost:5222 2023-07-04 22:46:15 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=484 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-07-04 22:46:15 | [Mutex] waiting for: [user_regularqzqvz50207@test-domain.com:message:received:content_c17x2t0211] 2023-07-04 22:46:15 | [Mutex] waiting for: [user_regularqzqvz50207@test-domain.com:message:received:content_c17x2t0211] 2023-07-04 22:46:15 | [Mutex] received everything. 2023-07-04 22:46:15 | [Mutex] isItemNotified: user_regularqzqvz50207@test-domain.com:message:received:content_c17x2t0211 :: true 2023-07-04 22:46:15 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-07-04 22:46:15 | [Mutex] received everything. 2023-07-04 22:46:15 | [Mutex] isItemNotified: node_6cd45c0208:subscribe_node:success :: true 2023-07-04 22:46:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-04 22:46:15 | command: <data><node>node_6cd45c0208</node><expire-at>2023-07-05T05:46:20Z</expire-at><entry><content>content_x5s75f0212</content></entry></data> 2023-07-04 22:46:15 | target: http://localhost:8088 2023-07-04 22:46:15 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-07-04 22:46:15 | entity: <data><node>node_6cd45c0208</node><expire-at>2023-07-05T05:46:20Z</expire-at><entry><content>content_x5s75f0212</content></entry></data> 2023-07-04 22:46:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 05 Jul 2023 05:46:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-04 22:46:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f78dcbb4-2adf-4c47-a570-3d1201eeefc5</value></item-id></result> 2023-07-04 22:46:15 | contains: true 2023-07-04 22:46:23 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-07-04 22:46:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-07-04 22:46:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-07-04 22:46:23 | [Mutex] waiting for: [user_regularqzqvz50207@test-domain.com:message:received:content_x5s75f0212] 2023-07-04 22:46:38 | [Mutex] timeout. Not received [user_regularqzqvz50207@test-domain.com:message:received:content_x5s75f0212] 2023-07-04 22:46:38 | [Mutex] received everything. 2023-07-04 22:46:38 | [Mutex] isItemNotified: user_regularqzqvz50207@test-domain.com:message:received:content_x5s75f0212 :: false 2023-07-04 22:46:38 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_x5s75f0212 :: true |