Test duration : 44.775s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.596s |
2022-11-16 21:33:20 |
2022-11-16 21:33:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-11-16 21:33:20 | ------------------------------------ 2022-11-16 21:33:20 | [Mutex] isItemNotified: node_fdx3f0204:exists :: false 2022-11-16 21:33:20 | [Mutex] waiting for: [node_fdx3f0204:create_node] 2022-11-16 21:33:20 | [Mutex] waiting for: [node_fdx3f0204:create_node] 2022-11-16 21:33:20 | [Mutex] received everything. 2022-11-16 21:33:20 | [Mutex] isItemNotified: node_fdx3f0204:create_node:success :: true 2022-11-16 21:33:20 | [Mutex] waiting for: [node_fdx3f0204:subscribe_node] 2022-11-16 21:33:20 | [Mutex] waiting for: [node_fdx3f0204:subscribe_node] 2022-11-16 21:33:20 | [Mutex] received everything. 2022-11-16 21:33:20 | [Mutex] isItemNotified: node_fdx3f0204:subscribe_node:success :: true 2022-11-16 21:33:20 | ===== publishing normal message (to online) 2022-11-16 21:33:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-16 21:33:20 | command: <data><node>node_fdx3f0204</node><entry><content>content_uhm7mx0205</content></entry></data> 2022-11-16 21:33:20 | target: http://localhost:8088 2022-11-16 21:33:20 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2022-11-16 21:33:20 | entity: <data><node>node_fdx3f0204</node><entry><content>content_uhm7mx0205</content></entry></data> 2022-11-16 21:33:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Nov 2022 05:33:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-16 21:33:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c6ea7422-6cda-4cc9-9029-bbd6ba3eef11</value></item-id></result> 2022-11-16 21:33:20 | contains: true 2022-11-16 21:33:20 | [Mutex] waiting for: [user_regularo5v2re0203@test-domain.com:message:received:content_uhm7mx0205] 2022-11-16 21:33:20 | [Mutex] received everything. 2022-11-16 21:33:20 | [Mutex] isItemNotified: user_regularo5v2re0203@test-domain.com:message:received:content_uhm7mx0205 :: true 2022-11-16 21:33:20 | ===== publishing already old message - expecting message being filtered out (to online) 2022-11-16 21:33:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-16 21:33:20 | command: <data><node>node_fdx3f0204</node><expire-at>2022-11-17T05:33:15Z</expire-at><entry><content>content_j1107z0206</content></entry></data> 2022-11-16 21:33:20 | target: http://localhost:8088 2022-11-16 21:33:20 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2022-11-16 21:33:20 | entity: <data><node>node_fdx3f0204</node><expire-at>2022-11-17T05:33:15Z</expire-at><entry><content>content_j1107z0206</content></entry></data> 2022-11-16 21:33:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Nov 2022 05:33:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-16 21:33:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>849bbbc2-6c23-45b7-bbae-96f1ea807651</value></item-id></result> 2022-11-16 21:33:20 | contains: true 2022-11-16 21:33:20 | [Mutex] waiting for: [user_regularo5v2re0203@test-domain.com:message:received:content_j1107z0206] 2022-11-16 21:33:35 | [Mutex] timeout. Not received [user_regularo5v2re0203@test-domain.com:message:received:content_j1107z0206] 2022-11-16 21:33:35 | [Mutex] isItemNotified: user_regularo5v2re0203@test-domain.com:message:received:content_j1107z0206 :: false 2022-11-16 21:33:35 | ===== publishing normal message (to offline) 2022-11-16 21:33:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-16 21:33:35 | command: <data><node>node_fdx3f0204</node><entry><content>content_sxnjcl0207</content></entry></data> 2022-11-16 21:33:35 | target: http://localhost:8088 2022-11-16 21:33:35 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2022-11-16 21:33:35 | entity: <data><node>node_fdx3f0204</node><entry><content>content_sxnjcl0207</content></entry></data> 2022-11-16 21:33:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Nov 2022 05:33:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-16 21:33:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d9178d28-c3fc-42c8-9980-6b3c40a1ccf3</value></item-id></result> 2022-11-16 21:33:35 | contains: true 2022-11-16 21:33:40 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-11-16 21:33:40 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-11-16 21:33:40 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-11-16 21:33:41 | [Mutex] waiting for: [user_regularo5v2re0203@test-domain.com:message:received:content_sxnjcl0207] 2022-11-16 21:33:41 | [Mutex] received everything. 2022-11-16 21:33:41 | [Mutex] isItemNotified: user_regularo5v2re0203@test-domain.com:message:received:content_sxnjcl0207 :: true 2022-11-16 21:33:41 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-11-16 21:33:41 | [Mutex] received everything. 2022-11-16 21:33:41 | [Mutex] isItemNotified: node_fdx3f0204:subscribe_node:success :: true 2022-11-16 21:33:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-16 21:33:41 | command: <data><node>node_fdx3f0204</node><expire-at>2022-11-17T05:33:46Z</expire-at><entry><content>content_oi3mpz0208</content></entry></data> 2022-11-16 21:33:41 | target: http://localhost:8088 2022-11-16 21:33:41 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2022-11-16 21:33:41 | entity: <data><node>node_fdx3f0204</node><expire-at>2022-11-17T05:33:46Z</expire-at><entry><content>content_oi3mpz0208</content></entry></data> 2022-11-16 21:33:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Nov 2022 05:33:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-16 21:33:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>29b490a7-6e59-4340-b1cc-0a58f534cedf</value></item-id></result> 2022-11-16 21:33:41 | contains: true 2022-11-16 21:33:49 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-11-16 21:33:49 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-11-16 21:33:49 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-11-16 21:33:49 | [Mutex] waiting for: [user_regularo5v2re0203@test-domain.com:message:received:content_oi3mpz0208] 2022-11-16 21:33:49 | [Mutex] waiting for: [user_regularo5v2re0203@test-domain.com:message:received:content_oi3mpz0208] 2022-11-16 21:34:04 | [Mutex] timeout. Not received [user_regularo5v2re0203@test-domain.com:message:received:content_oi3mpz0208] 2022-11-16 21:34:04 | [Mutex] received everything. 2022-11-16 21:34:04 | [Mutex] isItemNotified: user_regularo5v2re0203@test-domain.com:message:received:content_oi3mpz0208 :: false 2022-11-16 21:34:04 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_oi3mpz0208 :: true |