Test duration : 44.816s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.656s |
2023-07-05 20:58:48 |
2023-07-05 20:58:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-07-05 20:58:48 | ------------------------------------ 2023-07-05 20:58:48 | [Mutex] isItemNotified: node_2t3tf40208:exists :: false 2023-07-05 20:58:48 | [Mutex] waiting for: [node_2t3tf40208:create_node] 2023-07-05 20:58:48 | [Mutex] waiting for: [node_2t3tf40208:create_node] 2023-07-05 20:58:48 | [Mutex] received everything. 2023-07-05 20:58:48 | [Mutex] isItemNotified: node_2t3tf40208:create_node:success :: true 2023-07-05 20:58:48 | [Mutex] waiting for: [node_2t3tf40208:subscribe_node] 2023-07-05 20:58:48 | [Mutex] waiting for: [node_2t3tf40208:subscribe_node] 2023-07-05 20:58:48 | [Mutex] received everything. 2023-07-05 20:58:48 | [Mutex] isItemNotified: node_2t3tf40208:subscribe_node:success :: true 2023-07-05 20:58:48 | ===== publishing normal message (to online) 2023-07-05 20:58:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-05 20:58:48 | command: <data><node>node_2t3tf40208</node><entry><content>content_f2ohcy0209</content></entry></data> 2023-07-05 20:58:48 | target: http://localhost:8088 2023-07-05 20:58:48 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-07-05 20:58:48 | entity: <data><node>node_2t3tf40208</node><entry><content>content_f2ohcy0209</content></entry></data> 2023-07-05 20:58:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 Jul 2023 03:58:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-05 20:58:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fecf4212-d9a8-426e-8180-f546c3c55fc6</value></item-id></result> 2023-07-05 20:58:48 | contains: true 2023-07-05 20:58:48 | [Mutex] waiting for: [user_regular6mukr40207@test-domain.com:message:received:content_f2ohcy0209] 2023-07-05 20:58:48 | [Mutex] received everything. 2023-07-05 20:58:48 | [Mutex] isItemNotified: user_regular6mukr40207@test-domain.com:message:received:content_f2ohcy0209 :: true 2023-07-05 20:58:48 | ===== publishing already old message - expecting message being filtered out (to online) 2023-07-05 20:58:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-05 20:58:48 | command: <data><node>node_2t3tf40208</node><expire-at>2023-07-06T03:58:43Z</expire-at><entry><content>content_oysl000210</content></entry></data> 2023-07-05 20:58:48 | target: http://localhost:8088 2023-07-05 20:58:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-07-05 20:58:48 | entity: <data><node>node_2t3tf40208</node><expire-at>2023-07-06T03:58:43Z</expire-at><entry><content>content_oysl000210</content></entry></data> 2023-07-05 20:58:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 Jul 2023 03:58:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-05 20:58:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>826b3ed6-cce6-4ba6-8343-da690fc67e62</value></item-id></result> 2023-07-05 20:58:48 | contains: true 2023-07-05 20:58:48 | [Mutex] waiting for: [user_regular6mukr40207@test-domain.com:message:received:content_oysl000210] 2023-07-05 20:59:03 | [Mutex] timeout. Not received [user_regular6mukr40207@test-domain.com:message:received:content_oysl000210] 2023-07-05 20:59:03 | [Mutex] isItemNotified: user_regular6mukr40207@test-domain.com:message:received:content_oysl000210 :: false 2023-07-05 20:59:03 | ===== publishing normal message (to offline) 2023-07-05 20:59:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-05 20:59:03 | command: <data><node>node_2t3tf40208</node><entry><content>content_vgojwk0211</content></entry></data> 2023-07-05 20:59:03 | target: http://localhost:8088 2023-07-05 20:59:03 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-07-05 20:59:03 | entity: <data><node>node_2t3tf40208</node><entry><content>content_vgojwk0211</content></entry></data> 2023-07-05 20:59:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 Jul 2023 03:59:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-05 20:59:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>84e6fb4f-55b9-4937-ae8c-0bc49228c088</value></item-id></result> 2023-07-05 20:59:03 | contains: true 2023-07-05 20:59:08 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-07-05 20:59:08 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-07-05 20:59:08 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-07-05 20:59:08 | [Mutex] waiting for: [user_regular6mukr40207@test-domain.com:message:received:content_vgojwk0211] 2023-07-05 20:59:08 | [Mutex] waiting for: [user_regular6mukr40207@test-domain.com:message:received:content_vgojwk0211] 2023-07-05 20:59:08 | [Mutex] received everything. 2023-07-05 20:59:08 | [Mutex] isItemNotified: user_regular6mukr40207@test-domain.com:message:received:content_vgojwk0211 :: true 2023-07-05 20:59:08 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-07-05 20:59:08 | [Mutex] received everything. 2023-07-05 20:59:08 | [Mutex] isItemNotified: node_2t3tf40208:subscribe_node:success :: true 2023-07-05 20:59:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-05 20:59:09 | command: <data><node>node_2t3tf40208</node><expire-at>2023-07-06T03:59:14Z</expire-at><entry><content>content_qegl8d0212</content></entry></data> 2023-07-05 20:59:09 | target: http://localhost:8088 2023-07-05 20:59:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-07-05 20:59:09 | entity: <data><node>node_2t3tf40208</node><expire-at>2023-07-06T03:59:14Z</expire-at><entry><content>content_qegl8d0212</content></entry></data> 2023-07-05 20:59:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 Jul 2023 03:59:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-05 20:59:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b93832bf-d635-445d-ae31-7260c61be3a2</value></item-id></result> 2023-07-05 20:59:09 | contains: true 2023-07-05 20:59:17 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-07-05 20:59:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-07-05 20:59:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-07-05 20:59:17 | [Mutex] waiting for: [user_regular6mukr40207@test-domain.com:message:received:content_qegl8d0212] 2023-07-05 20:59:17 | [Mutex] waiting for: [user_regular6mukr40207@test-domain.com:message:received:content_qegl8d0212] 2023-07-05 20:59:17 | [Mutex] waiting for: [user_regular6mukr40207@test-domain.com:message:received:content_qegl8d0212] 2023-07-05 20:59:32 | [Mutex] timeout. Not received [user_regular6mukr40207@test-domain.com:message:received:content_qegl8d0212] 2023-07-05 20:59:32 | [Mutex] received everything. 2023-07-05 20:59:32 | [Mutex] isItemNotified: user_regular6mukr40207@test-domain.com:message:received:content_qegl8d0212 :: false 2023-07-05 20:59:32 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_qegl8d0212 :: true |