Test duration : 44.459s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.577s |
2022-10-23 23:34:10 |
2022-10-23 23:34:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-10-23 23:34:10 | ------------------------------------ 2022-10-23 23:34:10 | [Mutex] isItemNotified: node_9wvhpr0204:exists :: false 2022-10-23 23:34:10 | [Mutex] waiting for: [node_9wvhpr0204:create_node] 2022-10-23 23:34:10 | [Mutex] received everything. 2022-10-23 23:34:10 | [Mutex] isItemNotified: node_9wvhpr0204:create_node:success :: true 2022-10-23 23:34:10 | [Mutex] waiting for: [node_9wvhpr0204:subscribe_node] 2022-10-23 23:34:10 | [Mutex] waiting for: [node_9wvhpr0204:subscribe_node] 2022-10-23 23:34:10 | [Mutex] received everything. 2022-10-23 23:34:10 | [Mutex] isItemNotified: node_9wvhpr0204:subscribe_node:success :: true 2022-10-23 23:34:10 | ===== publishing normal message (to online) 2022-10-23 23:34:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-23 23:34:10 | command: <data><node>node_9wvhpr0204</node><entry><content>content_v5p40n0205</content></entry></data> 2022-10-23 23:34:10 | target: http://localhost:8088 2022-10-23 23:34:10 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-10-23 23:34:10 | entity: <data><node>node_9wvhpr0204</node><entry><content>content_v5p40n0205</content></entry></data> 2022-10-23 23:34:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 24 Oct 2022 06:34:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-23 23:34:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d3bdeb01-8245-4d3d-a4e7-0dd5db40f3c5</value></item-id></result> 2022-10-23 23:34:10 | contains: true 2022-10-23 23:34:10 | [Mutex] waiting for: [user_regularq1odqg0203@test-domain.com:message:received:content_v5p40n0205] 2022-10-23 23:34:10 | [Mutex] received everything. 2022-10-23 23:34:10 | [Mutex] isItemNotified: user_regularq1odqg0203@test-domain.com:message:received:content_v5p40n0205 :: true 2022-10-23 23:34:10 | ===== publishing already old message - expecting message being filtered out (to online) 2022-10-23 23:34:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-23 23:34:10 | command: <data><node>node_9wvhpr0204</node><expire-at>2022-10-24T06:34:05Z</expire-at><entry><content>content_wltxrm0206</content></entry></data> 2022-10-23 23:34:10 | target: http://localhost:8088 2022-10-23 23:34:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-10-23 23:34:10 | entity: <data><node>node_9wvhpr0204</node><expire-at>2022-10-24T06:34:05Z</expire-at><entry><content>content_wltxrm0206</content></entry></data> 2022-10-23 23:34:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 24 Oct 2022 06:34:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-23 23:34:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>edda3bbc-c86e-4f67-9654-3646ca417411</value></item-id></result> 2022-10-23 23:34:10 | contains: true 2022-10-23 23:34:10 | [Mutex] waiting for: [user_regularq1odqg0203@test-domain.com:message:received:content_wltxrm0206] 2022-10-23 23:34:25 | [Mutex] timeout. Not received [user_regularq1odqg0203@test-domain.com:message:received:content_wltxrm0206] 2022-10-23 23:34:25 | [Mutex] isItemNotified: user_regularq1odqg0203@test-domain.com:message:received:content_wltxrm0206 :: false 2022-10-23 23:34:25 | ===== publishing normal message (to offline) 2022-10-23 23:34:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-23 23:34:25 | command: <data><node>node_9wvhpr0204</node><entry><content>content_c5i2fe0207</content></entry></data> 2022-10-23 23:34:25 | target: http://localhost:8088 2022-10-23 23:34:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-10-23 23:34:25 | entity: <data><node>node_9wvhpr0204</node><entry><content>content_c5i2fe0207</content></entry></data> 2022-10-23 23:34:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 24 Oct 2022 06:34:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-23 23:34:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>80cb843f-3d34-4bcd-9801-c731454530dd</value></item-id></result> 2022-10-23 23:34:25 | contains: true 2022-10-23 23:34:30 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-10-23 23:34:30 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-10-23 23:34:30 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-10-23 23:34:30 | [Mutex] waiting for: [user_regularq1odqg0203@test-domain.com:message:received:content_c5i2fe0207] 2022-10-23 23:34:30 | [Mutex] waiting for: [user_regularq1odqg0203@test-domain.com:message:received:content_c5i2fe0207] 2022-10-23 23:34:30 | [Mutex] received everything. 2022-10-23 23:34:30 | [Mutex] isItemNotified: user_regularq1odqg0203@test-domain.com:message:received:content_c5i2fe0207 :: true 2022-10-23 23:34:30 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-10-23 23:34:30 | [Mutex] received everything. 2022-10-23 23:34:30 | [Mutex] isItemNotified: node_9wvhpr0204:subscribe_node:success :: true 2022-10-23 23:34:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-23 23:34:30 | command: <data><node>node_9wvhpr0204</node><expire-at>2022-10-24T06:34:35Z</expire-at><entry><content>content_xemsc60208</content></entry></data> 2022-10-23 23:34:30 | target: http://localhost:8088 2022-10-23 23:34:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-10-23 23:34:30 | entity: <data><node>node_9wvhpr0204</node><expire-at>2022-10-24T06:34:35Z</expire-at><entry><content>content_xemsc60208</content></entry></data> 2022-10-23 23:34:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 24 Oct 2022 06:34:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-23 23:34:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>aeb1262d-0f5c-4005-b6c3-da3c06361f52</value></item-id></result> 2022-10-23 23:34:31 | contains: true 2022-10-23 23:34:39 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-10-23 23:34:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-10-23 23:34:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-10-23 23:34:39 | [Mutex] waiting for: [user_regularq1odqg0203@test-domain.com:message:received:content_xemsc60208] 2022-10-23 23:34:54 | [Mutex] timeout. Not received [user_regularq1odqg0203@test-domain.com:message:received:content_xemsc60208] 2022-10-23 23:34:54 | [Mutex] received everything. 2022-10-23 23:34:54 | [Mutex] isItemNotified: user_regularq1odqg0203@test-domain.com:message:received:content_xemsc60208 :: false 2022-10-23 23:34:54 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_xemsc60208 :: true |