Test duration : 44.867s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.561s |
2022-09-07 22:41:59 |
2022-09-07 22:41:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-09-07 22:41:59 | ------------------------------------ 2022-09-07 22:41:59 | [Mutex] isItemNotified: node_9czgzy0204:exists :: false 2022-09-07 22:41:59 | [Mutex] waiting for: [node_9czgzy0204:create_node] 2022-09-07 22:41:59 | [Mutex] received everything. 2022-09-07 22:41:59 | [Mutex] isItemNotified: node_9czgzy0204:create_node:success :: true 2022-09-07 22:41:59 | [Mutex] waiting for: [node_9czgzy0204:subscribe_node] 2022-09-07 22:41:59 | [Mutex] waiting for: [node_9czgzy0204:subscribe_node] 2022-09-07 22:41:59 | [Mutex] received everything. 2022-09-07 22:41:59 | [Mutex] isItemNotified: node_9czgzy0204:subscribe_node:success :: true 2022-09-07 22:41:59 | ===== publishing normal message (to online) 2022-09-07 22:41:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-07 22:41:59 | command: <data><node>node_9czgzy0204</node><entry><content>content_hbxjxr0205</content></entry></data> 2022-09-07 22:41:59 | target: http://localhost:8088 2022-09-07 22:41:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-09-07 22:41:59 | entity: <data><node>node_9czgzy0204</node><entry><content>content_hbxjxr0205</content></entry></data> 2022-09-07 22:41:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 08 Sep 2022 05:41:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-07 22:41:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bbc3e071-707e-4248-8398-6225e9b1f6bb</value></item-id></result> 2022-09-07 22:41:59 | contains: true 2022-09-07 22:41:59 | [Mutex] received everything. 2022-09-07 22:41:59 | [Mutex] isItemNotified: user_regularem6wrh0203@test-domain.com:message:received:content_hbxjxr0205 :: true 2022-09-07 22:41:59 | ===== publishing already old message - expecting message being filtered out (to online) 2022-09-07 22:41:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-07 22:41:59 | command: <data><node>node_9czgzy0204</node><expire-at>2022-09-08T05:41:54Z</expire-at><entry><content>content_5qgnqu0206</content></entry></data> 2022-09-07 22:41:59 | target: http://localhost:8088 2022-09-07 22:41:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-09-07 22:41:59 | entity: <data><node>node_9czgzy0204</node><expire-at>2022-09-08T05:41:54Z</expire-at><entry><content>content_5qgnqu0206</content></entry></data> 2022-09-07 22:41:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 08 Sep 2022 05:41:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-07 22:41:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5923fc0b-4d97-4863-b0c9-d8cc296cbf31</value></item-id></result> 2022-09-07 22:41:59 | contains: true 2022-09-07 22:41:59 | [Mutex] waiting for: [user_regularem6wrh0203@test-domain.com:message:received:content_5qgnqu0206] 2022-09-07 22:42:14 | [Mutex] timeout. Not received [user_regularem6wrh0203@test-domain.com:message:received:content_5qgnqu0206] 2022-09-07 22:42:14 | [Mutex] isItemNotified: user_regularem6wrh0203@test-domain.com:message:received:content_5qgnqu0206 :: false 2022-09-07 22:42:14 | ===== publishing normal message (to offline) 2022-09-07 22:42:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-07 22:42:14 | command: <data><node>node_9czgzy0204</node><entry><content>content_loudj0207</content></entry></data> 2022-09-07 22:42:14 | target: http://localhost:8088 2022-09-07 22:42:14 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2022-09-07 22:42:14 | entity: <data><node>node_9czgzy0204</node><entry><content>content_loudj0207</content></entry></data> 2022-09-07 22:42:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 08 Sep 2022 05:42:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-07 22:42:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bfad9e0f-337e-4ed0-a3fc-eadc1a18bf9f</value></item-id></result> 2022-09-07 22:42:14 | contains: true 2022-09-07 22:42:19 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-09-07 22:42:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-09-07 22:42:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-09-07 22:42:19 | [Mutex] waiting for: [user_regularem6wrh0203@test-domain.com:message:received:content_loudj0207] 2022-09-07 22:42:19 | [Mutex] received everything. 2022-09-07 22:42:19 | [Mutex] isItemNotified: user_regularem6wrh0203@test-domain.com:message:received:content_loudj0207 :: true 2022-09-07 22:42:19 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-09-07 22:42:19 | [Mutex] received everything. 2022-09-07 22:42:19 | [Mutex] isItemNotified: node_9czgzy0204:subscribe_node:success :: true 2022-09-07 22:42:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-07 22:42:19 | command: <data><node>node_9czgzy0204</node><expire-at>2022-09-08T05:42:24Z</expire-at><entry><content>content_8ij1q10208</content></entry></data> 2022-09-07 22:42:19 | target: http://localhost:8088 2022-09-07 22:42:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-09-07 22:42:19 | entity: <data><node>node_9czgzy0204</node><expire-at>2022-09-08T05:42:24Z</expire-at><entry><content>content_8ij1q10208</content></entry></data> 2022-09-07 22:42:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 08 Sep 2022 05:42:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-07 22:42:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d262f7dd-a8a5-4b3c-90b6-f113b1d7a03c</value></item-id></result> 2022-09-07 22:42:19 | contains: true 2022-09-07 22:42:27 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-09-07 22:42:27 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-09-07 22:42:27 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-09-07 22:42:27 | [Mutex] waiting for: [user_regularem6wrh0203@test-domain.com:message:received:content_8ij1q10208] 2022-09-07 22:42:27 | [Mutex] waiting for: [user_regularem6wrh0203@test-domain.com:message:received:content_8ij1q10208] 2022-09-07 22:42:42 | [Mutex] timeout. Not received [user_regularem6wrh0203@test-domain.com:message:received:content_8ij1q10208] 2022-09-07 22:42:42 | [Mutex] received everything. 2022-09-07 22:42:42 | [Mutex] isItemNotified: user_regularem6wrh0203@test-domain.com:message:received:content_8ij1q10208 :: false 2022-09-07 22:42:42 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_8ij1q10208 :: true |