Test duration : 44.473s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.572s |
2022-08-12 22:33:09 |
2022-08-12 22:33:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-08-12 22:33:09 | ------------------------------------ 2022-08-12 22:33:09 | [Mutex] isItemNotified: node_j86sxw0204:exists :: false 2022-08-12 22:33:09 | [Mutex] waiting for: [node_j86sxw0204:create_node] 2022-08-12 22:33:09 | [Mutex] received everything. 2022-08-12 22:33:09 | [Mutex] isItemNotified: node_j86sxw0204:create_node:success :: true 2022-08-12 22:33:09 | [Mutex] waiting for: [node_j86sxw0204:subscribe_node] 2022-08-12 22:33:09 | [Mutex] received everything. 2022-08-12 22:33:09 | [Mutex] isItemNotified: node_j86sxw0204:subscribe_node:success :: true 2022-08-12 22:33:09 | ===== publishing normal message (to online) 2022-08-12 22:33:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-12 22:33:09 | command: <data><node>node_j86sxw0204</node><entry><content>content_2t9pm50205</content></entry></data> 2022-08-12 22:33:09 | target: http://localhost:8088 2022-08-12 22:33:09 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-12 22:33:09 | entity: <data><node>node_j86sxw0204</node><entry><content>content_2t9pm50205</content></entry></data> 2022-08-12 22:33:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 13 Aug 2022 05:33:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-12 22:33:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>023ff755-b156-4697-b718-a55c84a9cc7b</value></item-id></result> 2022-08-12 22:33:09 | contains: true 2022-08-12 22:33:09 | [Mutex] waiting for: [user_regularvxeels0203@test-domain.com:message:received:content_2t9pm50205] 2022-08-12 22:33:09 | [Mutex] received everything. 2022-08-12 22:33:09 | [Mutex] isItemNotified: user_regularvxeels0203@test-domain.com:message:received:content_2t9pm50205 :: true 2022-08-12 22:33:09 | ===== publishing already old message - expecting message being filtered out (to online) 2022-08-12 22:33:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-12 22:33:09 | command: <data><node>node_j86sxw0204</node><expire-at>2022-08-13T05:33:04Z</expire-at><entry><content>content_ftl21c0206</content></entry></data> 2022-08-12 22:33:09 | target: http://localhost:8088 2022-08-12 22:33:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-12 22:33:09 | entity: <data><node>node_j86sxw0204</node><expire-at>2022-08-13T05:33:04Z</expire-at><entry><content>content_ftl21c0206</content></entry></data> 2022-08-12 22:33:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 13 Aug 2022 05:33:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-12 22:33:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0e56acdb-23ef-4824-8040-4acf843cc849</value></item-id></result> 2022-08-12 22:33:09 | contains: true 2022-08-12 22:33:09 | [Mutex] waiting for: [user_regularvxeels0203@test-domain.com:message:received:content_ftl21c0206] 2022-08-12 22:33:24 | [Mutex] timeout. Not received [user_regularvxeels0203@test-domain.com:message:received:content_ftl21c0206] 2022-08-12 22:33:24 | [Mutex] isItemNotified: user_regularvxeels0203@test-domain.com:message:received:content_ftl21c0206 :: false 2022-08-12 22:33:24 | ===== publishing normal message (to offline) 2022-08-12 22:33:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-12 22:33:24 | command: <data><node>node_j86sxw0204</node><entry><content>content_gat43p0207</content></entry></data> 2022-08-12 22:33:24 | target: http://localhost:8088 2022-08-12 22:33:24 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-12 22:33:24 | entity: <data><node>node_j86sxw0204</node><entry><content>content_gat43p0207</content></entry></data> 2022-08-12 22:33:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 13 Aug 2022 05:33:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-12 22:33:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>76b5704b-7e6a-4718-8a86-f29a2e796a38</value></item-id></result> 2022-08-12 22:33:24 | contains: true 2022-08-12 22:33:29 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-12 22:33:29 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-08-12 22:33:29 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-12 22:33:30 | [Mutex] waiting for: [user_regularvxeels0203@test-domain.com:message:received:content_gat43p0207] 2022-08-12 22:33:30 | [Mutex] received everything. 2022-08-12 22:33:30 | [Mutex] isItemNotified: user_regularvxeels0203@test-domain.com:message:received:content_gat43p0207 :: true 2022-08-12 22:33:30 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-08-12 22:33:30 | [Mutex] received everything. 2022-08-12 22:33:30 | [Mutex] isItemNotified: node_j86sxw0204:subscribe_node:success :: true 2022-08-12 22:33:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-12 22:33:30 | command: <data><node>node_j86sxw0204</node><expire-at>2022-08-13T05:33:35Z</expire-at><entry><content>content_mgz7v10208</content></entry></data> 2022-08-12 22:33:30 | target: http://localhost:8088 2022-08-12 22:33:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-12 22:33:30 | entity: <data><node>node_j86sxw0204</node><expire-at>2022-08-13T05:33:35Z</expire-at><entry><content>content_mgz7v10208</content></entry></data> 2022-08-12 22:33:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 13 Aug 2022 05:33:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-12 22:33:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0f76488b-a9cb-4cb4-9b47-dd665b0140b3</value></item-id></result> 2022-08-12 22:33:30 | contains: true 2022-08-12 22:33:38 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-12 22:33:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-08-12 22:33:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-12 22:33:38 | [Mutex] waiting for: [user_regularvxeels0203@test-domain.com:message:received:content_mgz7v10208] 2022-08-12 22:33:53 | [Mutex] timeout. Not received [user_regularvxeels0203@test-domain.com:message:received:content_mgz7v10208] 2022-08-12 22:33:53 | [Mutex] received everything. 2022-08-12 22:33:53 | [Mutex] isItemNotified: user_regularvxeels0203@test-domain.com:message:received:content_mgz7v10208 :: false 2022-08-12 22:33:53 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_mgz7v10208 :: true |