Test duration : 44.822s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.648s |
2023-11-05 22:47:10 |
2023-11-05 22:47:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-11-05 22:47:10 | ------------------------------------ 2023-11-05 22:47:10 | [Mutex] isItemNotified: node_g4kl260208:exists :: false 2023-11-05 22:47:10 | [Mutex] waiting for: [node_g4kl260208:create_node] 2023-11-05 22:47:10 | [Mutex] waiting for: [node_g4kl260208:create_node] 2023-11-05 22:47:10 | [Mutex] received everything. 2023-11-05 22:47:10 | [Mutex] isItemNotified: node_g4kl260208:create_node:success :: true 2023-11-05 22:47:10 | [Mutex] waiting for: [node_g4kl260208:subscribe_node] 2023-11-05 22:47:10 | [Mutex] waiting for: [node_g4kl260208:subscribe_node] 2023-11-05 22:47:10 | [Mutex] received everything. 2023-11-05 22:47:10 | [Mutex] isItemNotified: node_g4kl260208:subscribe_node:success :: true 2023-11-05 22:47:10 | ===== publishing normal message (to online) 2023-11-05 22:47:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-11-05 22:47:10 | command: <data><node>node_g4kl260208</node><entry><content>content_hclfl90209</content></entry></data> 2023-11-05 22:47:10 | target: http://localhost:8088 2023-11-05 22:47:10 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-11-05 22:47:10 | entity: <data><node>node_g4kl260208</node><entry><content>content_hclfl90209</content></entry></data> 2023-11-05 22:47:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Nov 2023 06:47:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-11-05 22:47:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>861c4e16-afbe-4057-b8f2-d2da8f459b79</value></item-id></result> 2023-11-05 22:47:10 | contains: true 2023-11-05 22:47:10 | [Mutex] waiting for: [user_regularywqlku0207@test-domain.com:message:received:content_hclfl90209] 2023-11-05 22:47:10 | [Mutex] received everything. 2023-11-05 22:47:10 | [Mutex] isItemNotified: user_regularywqlku0207@test-domain.com:message:received:content_hclfl90209 :: true 2023-11-05 22:47:10 | ===== publishing already old message - expecting message being filtered out (to online) 2023-11-05 22:47:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-11-05 22:47:10 | command: <data><node>node_g4kl260208</node><expire-at>2023-11-06T06:47:05Z</expire-at><entry><content>content_80s8400210</content></entry></data> 2023-11-05 22:47:10 | target: http://localhost:8088 2023-11-05 22:47:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-11-05 22:47:10 | entity: <data><node>node_g4kl260208</node><expire-at>2023-11-06T06:47:05Z</expire-at><entry><content>content_80s8400210</content></entry></data> 2023-11-05 22:47:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Nov 2023 06:47:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-11-05 22:47:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>27084e3e-d32e-4d12-a1ae-53e1113c47ac</value></item-id></result> 2023-11-05 22:47:10 | contains: true 2023-11-05 22:47:10 | [Mutex] waiting for: [user_regularywqlku0207@test-domain.com:message:received:content_80s8400210] 2023-11-05 22:47:25 | [Mutex] timeout. Not received [user_regularywqlku0207@test-domain.com:message:received:content_80s8400210] 2023-11-05 22:47:25 | [Mutex] isItemNotified: user_regularywqlku0207@test-domain.com:message:received:content_80s8400210 :: false 2023-11-05 22:47:25 | ===== publishing normal message (to offline) 2023-11-05 22:47:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-11-05 22:47:25 | command: <data><node>node_g4kl260208</node><entry><content>content_p8d0rs0211</content></entry></data> 2023-11-05 22:47:25 | target: http://localhost:8088 2023-11-05 22:47:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-11-05 22:47:25 | entity: <data><node>node_g4kl260208</node><entry><content>content_p8d0rs0211</content></entry></data> 2023-11-05 22:47:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Nov 2023 06:47:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-11-05 22:47:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2cef23ae-db30-43ca-982d-08116947930a</value></item-id></result> 2023-11-05 22:47:25 | contains: true 2023-11-05 22:47:30 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-11-05 22:47:30 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-11-05 22:47:30 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-11-05 22:47:30 | [Mutex] waiting for: [user_regularywqlku0207@test-domain.com:message:received:content_p8d0rs0211] 2023-11-05 22:47:30 | [Mutex] waiting for: [user_regularywqlku0207@test-domain.com:message:received:content_p8d0rs0211] 2023-11-05 22:47:30 | [Mutex] received everything. 2023-11-05 22:47:30 | [Mutex] isItemNotified: user_regularywqlku0207@test-domain.com:message:received:content_p8d0rs0211 :: true 2023-11-05 22:47:30 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-11-05 22:47:30 | [Mutex] received everything. 2023-11-05 22:47:30 | [Mutex] isItemNotified: node_g4kl260208:subscribe_node:success :: true 2023-11-05 22:47:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-11-05 22:47:30 | command: <data><node>node_g4kl260208</node><expire-at>2023-11-06T06:47:35Z</expire-at><entry><content>content_cwsuqv0212</content></entry></data> 2023-11-05 22:47:30 | target: http://localhost:8088 2023-11-05 22:47:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-11-05 22:47:30 | entity: <data><node>node_g4kl260208</node><expire-at>2023-11-06T06:47:35Z</expire-at><entry><content>content_cwsuqv0212</content></entry></data> 2023-11-05 22:47:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Nov 2023 06:47:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-11-05 22:47:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>51ed156a-2bfe-4828-9ec8-44c0d8e6eb94</value></item-id></result> 2023-11-05 22:47:30 | contains: true 2023-11-05 22:47:38 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-11-05 22:47:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-11-05 22:47:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-11-05 22:47:39 | [Mutex] waiting for: [user_regularywqlku0207@test-domain.com:message:received:content_cwsuqv0212] 2023-11-05 22:47:39 | [Mutex] waiting for: [user_regularywqlku0207@test-domain.com:message:received:content_cwsuqv0212] 2023-11-05 22:47:39 | [Mutex] waiting for: [user_regularywqlku0207@test-domain.com:message:received:content_cwsuqv0212] 2023-11-05 22:47:54 | [Mutex] timeout. Not received [user_regularywqlku0207@test-domain.com:message:received:content_cwsuqv0212] 2023-11-05 22:47:54 | [Mutex] received everything. 2023-11-05 22:47:54 | [Mutex] isItemNotified: user_regularywqlku0207@test-domain.com:message:received:content_cwsuqv0212 :: false 2023-11-05 22:47:54 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_cwsuqv0212 :: true |