Test duration : 44.674s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.544s |
2023-10-28 00:59:49 |
2023-10-28 00:59:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-10-28 00:59:49 | ------------------------------------ 2023-10-28 00:59:49 | [Mutex] isItemNotified: node_ykyjw60208:exists :: false 2023-10-28 00:59:49 | [Mutex] waiting for: [node_ykyjw60208:create_node] 2023-10-28 00:59:49 | [Mutex] waiting for: [node_ykyjw60208:create_node] 2023-10-28 00:59:49 | [Mutex] received everything. 2023-10-28 00:59:49 | [Mutex] isItemNotified: node_ykyjw60208:create_node:success :: true 2023-10-28 00:59:49 | [Mutex] waiting for: [node_ykyjw60208:subscribe_node] 2023-10-28 00:59:49 | [Mutex] waiting for: [node_ykyjw60208:subscribe_node] 2023-10-28 00:59:49 | [Mutex] received everything. 2023-10-28 00:59:49 | [Mutex] isItemNotified: node_ykyjw60208:subscribe_node:success :: true 2023-10-28 00:59:49 | ===== publishing normal message (to online) 2023-10-28 00:59:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-10-28 00:59:49 | command: <data><node>node_ykyjw60208</node><entry><content>content_qam89c0209</content></entry></data> 2023-10-28 00:59:49 | target: http://localhost:8088 2023-10-28 00:59:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-10-28 00:59:49 | entity: <data><node>node_ykyjw60208</node><entry><content>content_qam89c0209</content></entry></data> 2023-10-28 00:59:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 28 Oct 2023 07:59:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-10-28 00:59:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a7923d4f-1bf4-41e3-a5a3-ba8d81057b23</value></item-id></result> 2023-10-28 00:59:49 | contains: true 2023-10-28 00:59:49 | [Mutex] received everything. 2023-10-28 00:59:49 | [Mutex] isItemNotified: user_regularkp09yb0207@test-domain.com:message:received:content_qam89c0209 :: true 2023-10-28 00:59:49 | ===== publishing already old message - expecting message being filtered out (to online) 2023-10-28 00:59:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-10-28 00:59:49 | command: <data><node>node_ykyjw60208</node><expire-at>2023-10-28T07:59:44Z</expire-at><entry><content>content_6osxta0210</content></entry></data> 2023-10-28 00:59:49 | target: http://localhost:8088 2023-10-28 00:59:49 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-10-28 00:59:49 | entity: <data><node>node_ykyjw60208</node><expire-at>2023-10-28T07:59:44Z</expire-at><entry><content>content_6osxta0210</content></entry></data> 2023-10-28 00:59:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 28 Oct 2023 07:59:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-10-28 00:59:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c3057a65-e5e4-424b-9263-a4b1dd9ea81b</value></item-id></result> 2023-10-28 00:59:49 | contains: true 2023-10-28 00:59:49 | [Mutex] waiting for: [user_regularkp09yb0207@test-domain.com:message:received:content_6osxta0210] 2023-10-28 01:00:04 | [Mutex] timeout. Not received [user_regularkp09yb0207@test-domain.com:message:received:content_6osxta0210] 2023-10-28 01:00:04 | [Mutex] isItemNotified: user_regularkp09yb0207@test-domain.com:message:received:content_6osxta0210 :: false 2023-10-28 01:00:04 | ===== publishing normal message (to offline) 2023-10-28 01:00:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-10-28 01:00:04 | command: <data><node>node_ykyjw60208</node><entry><content>content_k5keou0211</content></entry></data> 2023-10-28 01:00:04 | target: http://localhost:8088 2023-10-28 01:00:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-10-28 01:00:04 | entity: <data><node>node_ykyjw60208</node><entry><content>content_k5keou0211</content></entry></data> 2023-10-28 01:00:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 28 Oct 2023 08:00:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-10-28 01:00:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d8318359-3ba8-4e1d-9ff8-b2fd26a618ea</value></item-id></result> 2023-10-28 01:00:04 | contains: true 2023-10-28 01:00:09 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-10-28 01:00:09 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-10-28 01:00:09 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-10-28 01:00:09 | [Mutex] received everything. 2023-10-28 01:00:09 | [Mutex] isItemNotified: user_regularkp09yb0207@test-domain.com:message:received:content_k5keou0211 :: true 2023-10-28 01:00:09 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-10-28 01:00:09 | [Mutex] received everything. 2023-10-28 01:00:09 | [Mutex] isItemNotified: node_ykyjw60208:subscribe_node:success :: true 2023-10-28 01:00:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-10-28 01:00:09 | command: <data><node>node_ykyjw60208</node><expire-at>2023-10-28T08:00:14Z</expire-at><entry><content>content_1kearw0212</content></entry></data> 2023-10-28 01:00:09 | target: http://localhost:8088 2023-10-28 01:00:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-10-28 01:00:09 | entity: <data><node>node_ykyjw60208</node><expire-at>2023-10-28T08:00:14Z</expire-at><entry><content>content_1kearw0212</content></entry></data> 2023-10-28 01:00:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 28 Oct 2023 08:00:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-10-28 01:00:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>767567be-9ac5-4dc7-a8b3-b0078e2bfe68</value></item-id></result> 2023-10-28 01:00:09 | contains: true 2023-10-28 01:00:17 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-10-28 01:00:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-10-28 01:00:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-10-28 01:00:17 | [Mutex] waiting for: [user_regularkp09yb0207@test-domain.com:message:received:content_1kearw0212] 2023-10-28 01:00:32 | [Mutex] timeout. Not received [user_regularkp09yb0207@test-domain.com:message:received:content_1kearw0212] 2023-10-28 01:00:32 | [Mutex] received everything. 2023-10-28 01:00:32 | [Mutex] isItemNotified: user_regularkp09yb0207@test-domain.com:message:received:content_1kearw0212 :: false 2023-10-28 01:00:32 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_1kearw0212 :: true |