Test duration : 44.483s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.637s |
2022-08-17 23:02:00 |
2022-08-17 23:02:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-08-17 23:02:00 | ------------------------------------ 2022-08-17 23:02:00 | [Mutex] isItemNotified: node_bueut70204:exists :: false 2022-08-17 23:02:00 | [Mutex] waiting for: [node_bueut70204:create_node] 2022-08-17 23:02:00 | [Mutex] received everything. 2022-08-17 23:02:00 | [Mutex] isItemNotified: node_bueut70204:create_node:success :: true 2022-08-17 23:02:00 | [Mutex] waiting for: [node_bueut70204:subscribe_node] 2022-08-17 23:02:00 | [Mutex] waiting for: [node_bueut70204:subscribe_node] 2022-08-17 23:02:00 | [Mutex] received everything. 2022-08-17 23:02:00 | [Mutex] isItemNotified: node_bueut70204:subscribe_node:success :: true 2022-08-17 23:02:00 | ===== publishing normal message (to online) 2022-08-17 23:02:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-17 23:02:00 | command: <data><node>node_bueut70204</node><entry><content>content_mu9vvc0205</content></entry></data> 2022-08-17 23:02:00 | target: http://localhost:8088 2022-08-17 23:02:00 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-17 23:02:00 | entity: <data><node>node_bueut70204</node><entry><content>content_mu9vvc0205</content></entry></data> 2022-08-17 23:02:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 18 Aug 2022 06:02:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-17 23:02:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>cafb5e25-c458-456b-8879-25428b6f3a81</value></item-id></result> 2022-08-17 23:02:00 | contains: true 2022-08-17 23:02:00 | [Mutex] waiting for: [user_regularr6ry9k0203@test-domain.com:message:received:content_mu9vvc0205] 2022-08-17 23:02:00 | [Mutex] received everything. 2022-08-17 23:02:00 | [Mutex] isItemNotified: user_regularr6ry9k0203@test-domain.com:message:received:content_mu9vvc0205 :: true 2022-08-17 23:02:00 | ===== publishing already old message - expecting message being filtered out (to online) 2022-08-17 23:02:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-17 23:02:00 | command: <data><node>node_bueut70204</node><expire-at>2022-08-18T06:01:55Z</expire-at><entry><content>content_y0t1lz0206</content></entry></data> 2022-08-17 23:02:00 | target: http://localhost:8088 2022-08-17 23:02:00 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-17 23:02:00 | entity: <data><node>node_bueut70204</node><expire-at>2022-08-18T06:01:55Z</expire-at><entry><content>content_y0t1lz0206</content></entry></data> 2022-08-17 23:02:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 18 Aug 2022 06:02:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-17 23:02:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f0ef2e17-308d-495a-8114-92f6403d2aea</value></item-id></result> 2022-08-17 23:02:00 | contains: true 2022-08-17 23:02:00 | [Mutex] waiting for: [user_regularr6ry9k0203@test-domain.com:message:received:content_y0t1lz0206] 2022-08-17 23:02:15 | [Mutex] timeout. Not received [user_regularr6ry9k0203@test-domain.com:message:received:content_y0t1lz0206] 2022-08-17 23:02:15 | [Mutex] isItemNotified: user_regularr6ry9k0203@test-domain.com:message:received:content_y0t1lz0206 :: false 2022-08-17 23:02:15 | ===== publishing normal message (to offline) 2022-08-17 23:02:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-17 23:02:15 | command: <data><node>node_bueut70204</node><entry><content>content_9sblz80207</content></entry></data> 2022-08-17 23:02:15 | target: http://localhost:8088 2022-08-17 23:02:15 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-17 23:02:15 | entity: <data><node>node_bueut70204</node><entry><content>content_9sblz80207</content></entry></data> 2022-08-17 23:02:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 18 Aug 2022 06:02:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-17 23:02:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e77dc011-ec05-46cb-ae05-a6c7eb2d65b4</value></item-id></result> 2022-08-17 23:02:15 | contains: true 2022-08-17 23:02:20 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-17 23:02:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-08-17 23:02:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-17 23:02:21 | [Mutex] waiting for: [user_regularr6ry9k0203@test-domain.com:message:received:content_9sblz80207] 2022-08-17 23:02:21 | [Mutex] waiting for: [user_regularr6ry9k0203@test-domain.com:message:received:content_9sblz80207] 2022-08-17 23:02:21 | [Mutex] received everything. 2022-08-17 23:02:21 | [Mutex] isItemNotified: user_regularr6ry9k0203@test-domain.com:message:received:content_9sblz80207 :: true 2022-08-17 23:02:21 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-08-17 23:02:21 | [Mutex] received everything. 2022-08-17 23:02:21 | [Mutex] isItemNotified: node_bueut70204:subscribe_node:success :: true 2022-08-17 23:02:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-17 23:02:21 | command: <data><node>node_bueut70204</node><expire-at>2022-08-18T06:02:26Z</expire-at><entry><content>content_5uak7l0208</content></entry></data> 2022-08-17 23:02:21 | target: http://localhost:8088 2022-08-17 23:02:21 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-17 23:02:21 | entity: <data><node>node_bueut70204</node><expire-at>2022-08-18T06:02:26Z</expire-at><entry><content>content_5uak7l0208</content></entry></data> 2022-08-17 23:02:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 18 Aug 2022 06:02:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-17 23:02:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>938532d8-8b86-4f3b-aca7-fe77104ccddb</value></item-id></result> 2022-08-17 23:02:21 | contains: true 2022-08-17 23:02:29 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-17 23:02:29 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-08-17 23:02:29 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-17 23:02:29 | [Mutex] waiting for: [user_regularr6ry9k0203@test-domain.com:message:received:content_5uak7l0208] 2022-08-17 23:02:44 | [Mutex] timeout. Not received [user_regularr6ry9k0203@test-domain.com:message:received:content_5uak7l0208] 2022-08-17 23:02:44 | [Mutex] received everything. 2022-08-17 23:02:44 | [Mutex] isItemNotified: user_regularr6ry9k0203@test-domain.com:message:received:content_5uak7l0208 :: false 2022-08-17 23:02:44 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_5uak7l0208 :: true |