Test duration : 44.802s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.598s |
2022-08-12 23:11:08 |
2022-08-12 23:11:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-08-12 23:11:08 | ------------------------------------ 2022-08-12 23:11:08 | [Mutex] isItemNotified: node_8cfhmw0204:exists :: false 2022-08-12 23:11:08 | [Mutex] waiting for: [node_8cfhmw0204:create_node] 2022-08-12 23:11:08 | [Mutex] waiting for: [node_8cfhmw0204:create_node] 2022-08-12 23:11:08 | [Mutex] received everything. 2022-08-12 23:11:08 | [Mutex] isItemNotified: node_8cfhmw0204:create_node:success :: true 2022-08-12 23:11:08 | [Mutex] waiting for: [node_8cfhmw0204:subscribe_node] 2022-08-12 23:11:08 | [Mutex] waiting for: [node_8cfhmw0204:subscribe_node] 2022-08-12 23:11:08 | [Mutex] received everything. 2022-08-12 23:11:08 | [Mutex] isItemNotified: node_8cfhmw0204:subscribe_node:success :: true 2022-08-12 23:11:08 | ===== publishing normal message (to online) 2022-08-12 23:11:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-12 23:11:08 | command: <data><node>node_8cfhmw0204</node><entry><content>content_wiofs60205</content></entry></data> 2022-08-12 23:11:08 | target: http://localhost:8088 2022-08-12 23:11:08 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-12 23:11:08 | entity: <data><node>node_8cfhmw0204</node><entry><content>content_wiofs60205</content></entry></data> 2022-08-12 23:11:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 13 Aug 2022 06:11:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-12 23:11:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>224216f1-0da9-4b7a-a706-4fb52577045f</value></item-id></result> 2022-08-12 23:11:08 | contains: true 2022-08-12 23:11:08 | [Mutex] received everything. 2022-08-12 23:11:08 | [Mutex] isItemNotified: user_regularkdmj860203@test-domain.com:message:received:content_wiofs60205 :: true 2022-08-12 23:11:08 | ===== publishing already old message - expecting message being filtered out (to online) 2022-08-12 23:11:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-12 23:11:08 | command: <data><node>node_8cfhmw0204</node><expire-at>2022-08-13T06:11:03Z</expire-at><entry><content>content_hhgs2u0206</content></entry></data> 2022-08-12 23:11:08 | target: http://localhost:8088 2022-08-12 23:11:08 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-12 23:11:08 | entity: <data><node>node_8cfhmw0204</node><expire-at>2022-08-13T06:11:03Z</expire-at><entry><content>content_hhgs2u0206</content></entry></data> 2022-08-12 23:11:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 13 Aug 2022 06:11:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-12 23:11:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9c816136-6bb4-4083-bcc1-1f4dc190e2a3</value></item-id></result> 2022-08-12 23:11:08 | contains: true 2022-08-12 23:11:08 | [Mutex] waiting for: [user_regularkdmj860203@test-domain.com:message:received:content_hhgs2u0206] 2022-08-12 23:11:23 | [Mutex] timeout. Not received [user_regularkdmj860203@test-domain.com:message:received:content_hhgs2u0206] 2022-08-12 23:11:23 | [Mutex] isItemNotified: user_regularkdmj860203@test-domain.com:message:received:content_hhgs2u0206 :: false 2022-08-12 23:11:23 | ===== publishing normal message (to offline) 2022-08-12 23:11:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-12 23:11:23 | command: <data><node>node_8cfhmw0204</node><entry><content>content_ypx59l0207</content></entry></data> 2022-08-12 23:11:23 | target: http://localhost:8088 2022-08-12 23:11:23 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-12 23:11:23 | entity: <data><node>node_8cfhmw0204</node><entry><content>content_ypx59l0207</content></entry></data> 2022-08-12 23:11:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 13 Aug 2022 06:11:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-12 23:11:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ceac3a59-caa0-4cfd-975f-c178a0ff6e2c</value></item-id></result> 2022-08-12 23:11:23 | contains: true 2022-08-12 23:11:28 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-12 23:11:28 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-08-12 23:11:28 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-12 23:11:28 | [Mutex] waiting for: [user_regularkdmj860203@test-domain.com:message:received:content_ypx59l0207] 2022-08-12 23:11:28 | [Mutex] received everything. 2022-08-12 23:11:28 | [Mutex] isItemNotified: user_regularkdmj860203@test-domain.com:message:received:content_ypx59l0207 :: true 2022-08-12 23:11:28 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-08-12 23:11:28 | [Mutex] received everything. 2022-08-12 23:11:28 | [Mutex] isItemNotified: node_8cfhmw0204:subscribe_node:success :: true 2022-08-12 23:11:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-12 23:11:28 | command: <data><node>node_8cfhmw0204</node><expire-at>2022-08-13T06:11:33Z</expire-at><entry><content>content_uskxbz0208</content></entry></data> 2022-08-12 23:11:28 | target: http://localhost:8088 2022-08-12 23:11:28 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-12 23:11:28 | entity: <data><node>node_8cfhmw0204</node><expire-at>2022-08-13T06:11:33Z</expire-at><entry><content>content_uskxbz0208</content></entry></data> 2022-08-12 23:11:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 13 Aug 2022 06:11:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-12 23:11:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a8f46119-e049-4af6-9d6f-0d9023f32a11</value></item-id></result> 2022-08-12 23:11:28 | contains: true 2022-08-12 23:11:36 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-12 23:11:36 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-08-12 23:11:36 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-12 23:11:36 | [Mutex] waiting for: [user_regularkdmj860203@test-domain.com:message:received:content_uskxbz0208] 2022-08-12 23:11:51 | [Mutex] timeout. Not received [user_regularkdmj860203@test-domain.com:message:received:content_uskxbz0208] 2022-08-12 23:11:51 | [Mutex] received everything. 2022-08-12 23:11:51 | [Mutex] isItemNotified: user_regularkdmj860203@test-domain.com:message:received:content_uskxbz0208 :: false 2022-08-12 23:11:51 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_uskxbz0208 :: true |