Test duration : 44.794s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.629s |
2022-07-19 23:00:25 |
2022-07-19 23:00:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-07-19 23:00:25 | ------------------------------------ 2022-07-19 23:00:25 | [Mutex] isItemNotified: node_j8nizh0204:exists :: false 2022-07-19 23:00:25 | [Mutex] waiting for: [node_j8nizh0204:create_node] 2022-07-19 23:00:25 | [Mutex] received everything. 2022-07-19 23:00:25 | [Mutex] isItemNotified: node_j8nizh0204:create_node:success :: true 2022-07-19 23:00:25 | [Mutex] waiting for: [node_j8nizh0204:subscribe_node] 2022-07-19 23:00:25 | [Mutex] waiting for: [node_j8nizh0204:subscribe_node] 2022-07-19 23:00:25 | [Mutex] received everything. 2022-07-19 23:00:25 | [Mutex] isItemNotified: node_j8nizh0204:subscribe_node:success :: true 2022-07-19 23:00:25 | ===== publishing normal message (to online) 2022-07-19 23:00:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-19 23:00:25 | command: <data><node>node_j8nizh0204</node><entry><content>content_6cvltf0205</content></entry></data> 2022-07-19 23:00:25 | target: http://localhost:8088 2022-07-19 23:00:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-19 23:00:25 | entity: <data><node>node_j8nizh0204</node><entry><content>content_6cvltf0205</content></entry></data> 2022-07-19 23:00:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 20 Jul 2022 06:00:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-19 23:00:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>35496434-4692-400c-bc8e-d1fd0c422e2e</value></item-id></result> 2022-07-19 23:00:25 | contains: true 2022-07-19 23:00:25 | [Mutex] waiting for: [user_regularmvyer70203@test-domain.com:message:received:content_6cvltf0205] 2022-07-19 23:00:25 | [Mutex] received everything. 2022-07-19 23:00:25 | [Mutex] isItemNotified: user_regularmvyer70203@test-domain.com:message:received:content_6cvltf0205 :: true 2022-07-19 23:00:25 | ===== publishing already old message - expecting message being filtered out (to online) 2022-07-19 23:00:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-19 23:00:25 | command: <data><node>node_j8nizh0204</node><expire-at>2022-07-20T06:00:20Z</expire-at><entry><content>content_w5l6rs0206</content></entry></data> 2022-07-19 23:00:25 | target: http://localhost:8088 2022-07-19 23:00:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-19 23:00:25 | entity: <data><node>node_j8nizh0204</node><expire-at>2022-07-20T06:00:20Z</expire-at><entry><content>content_w5l6rs0206</content></entry></data> 2022-07-19 23:00:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 20 Jul 2022 06:00:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-19 23:00:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ecd544a1-98cf-41a7-bd27-405dbece9757</value></item-id></result> 2022-07-19 23:00:25 | contains: true 2022-07-19 23:00:25 | [Mutex] waiting for: [user_regularmvyer70203@test-domain.com:message:received:content_w5l6rs0206] 2022-07-19 23:00:40 | [Mutex] timeout. Not received [user_regularmvyer70203@test-domain.com:message:received:content_w5l6rs0206] 2022-07-19 23:00:40 | [Mutex] isItemNotified: user_regularmvyer70203@test-domain.com:message:received:content_w5l6rs0206 :: false 2022-07-19 23:00:40 | ===== publishing normal message (to offline) 2022-07-19 23:00:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-19 23:00:40 | command: <data><node>node_j8nizh0204</node><entry><content>content_oug3ye0207</content></entry></data> 2022-07-19 23:00:40 | target: http://localhost:8088 2022-07-19 23:00:40 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-19 23:00:40 | entity: <data><node>node_j8nizh0204</node><entry><content>content_oug3ye0207</content></entry></data> 2022-07-19 23:00:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 20 Jul 2022 06:00:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-19 23:00:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d5d92626-1c06-46e2-96b9-0dd263a6a607</value></item-id></result> 2022-07-19 23:00:40 | contains: true 2022-07-19 23:00:45 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-19 23:00:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-07-19 23:00:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-19 23:00:46 | [Mutex] waiting for: [user_regularmvyer70203@test-domain.com:message:received:content_oug3ye0207] 2022-07-19 23:00:46 | [Mutex] received everything. 2022-07-19 23:00:46 | [Mutex] isItemNotified: user_regularmvyer70203@test-domain.com:message:received:content_oug3ye0207 :: true 2022-07-19 23:00:46 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-07-19 23:00:46 | [Mutex] received everything. 2022-07-19 23:00:46 | [Mutex] isItemNotified: node_j8nizh0204:subscribe_node:success :: true 2022-07-19 23:00:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-19 23:00:46 | command: <data><node>node_j8nizh0204</node><expire-at>2022-07-20T06:00:51Z</expire-at><entry><content>content_k240ur0208</content></entry></data> 2022-07-19 23:00:46 | target: http://localhost:8088 2022-07-19 23:00:46 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-19 23:00:46 | entity: <data><node>node_j8nizh0204</node><expire-at>2022-07-20T06:00:51Z</expire-at><entry><content>content_k240ur0208</content></entry></data> 2022-07-19 23:00:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 20 Jul 2022 06:00:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-19 23:00:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8958e606-98f2-4b87-9b2f-760defe08535</value></item-id></result> 2022-07-19 23:00:46 | contains: true 2022-07-19 23:00:54 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-19 23:00:54 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-07-19 23:00:54 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-19 23:00:54 | [Mutex] waiting for: [user_regularmvyer70203@test-domain.com:message:received:content_k240ur0208] 2022-07-19 23:01:09 | [Mutex] timeout. Not received [user_regularmvyer70203@test-domain.com:message:received:content_k240ur0208] 2022-07-19 23:01:09 | [Mutex] received everything. 2022-07-19 23:01:09 | [Mutex] isItemNotified: user_regularmvyer70203@test-domain.com:message:received:content_k240ur0208 :: false 2022-07-19 23:01:09 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_k240ur0208 :: true |