Test duration : 44.495s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.624s |
2022-12-30 09:55:43 |
2022-12-30 09:55:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-12-30 09:55:43 | ------------------------------------ 2022-12-30 09:55:43 | [Mutex] isItemNotified: node_m864mk0204:exists :: false 2022-12-30 09:55:43 | [Mutex] waiting for: [node_m864mk0204:create_node] 2022-12-30 09:55:43 | [Mutex] received everything. 2022-12-30 09:55:43 | [Mutex] isItemNotified: node_m864mk0204:create_node:success :: true 2022-12-30 09:55:43 | [Mutex] waiting for: [node_m864mk0204:subscribe_node] 2022-12-30 09:55:43 | [Mutex] waiting for: [node_m864mk0204:subscribe_node] 2022-12-30 09:55:43 | [Mutex] received everything. 2022-12-30 09:55:43 | [Mutex] isItemNotified: node_m864mk0204:subscribe_node:success :: true 2022-12-30 09:55:43 | ===== publishing normal message (to online) 2022-12-30 09:55:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-30 09:55:43 | command: <data><node>node_m864mk0204</node><entry><content>content_4lksvx0205</content></entry></data> 2022-12-30 09:55:43 | target: http://localhost:8088 2022-12-30 09:55:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-12-30 09:55:43 | entity: <data><node>node_m864mk0204</node><entry><content>content_4lksvx0205</content></entry></data> 2022-12-30 09:55:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Dec 2022 17:55:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-30 09:55:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fb04ea7f-41a3-44be-98ed-b39347352136</value></item-id></result> 2022-12-30 09:55:43 | contains: true 2022-12-30 09:55:43 | [Mutex] waiting for: [user_regularoelktp0203@test-domain.com:message:received:content_4lksvx0205] 2022-12-30 09:55:43 | [Mutex] received everything. 2022-12-30 09:55:43 | [Mutex] isItemNotified: user_regularoelktp0203@test-domain.com:message:received:content_4lksvx0205 :: true 2022-12-30 09:55:43 | ===== publishing already old message - expecting message being filtered out (to online) 2022-12-30 09:55:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-30 09:55:43 | command: <data><node>node_m864mk0204</node><expire-at>2022-12-30T17:55:38Z</expire-at><entry><content>content_2gny7t0206</content></entry></data> 2022-12-30 09:55:43 | target: http://localhost:8088 2022-12-30 09:55:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-12-30 09:55:43 | entity: <data><node>node_m864mk0204</node><expire-at>2022-12-30T17:55:38Z</expire-at><entry><content>content_2gny7t0206</content></entry></data> 2022-12-30 09:55:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Dec 2022 17:55:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-30 09:55:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f8bc8757-0def-4014-8d5e-f9a9db6d4941</value></item-id></result> 2022-12-30 09:55:43 | contains: true 2022-12-30 09:55:43 | [Mutex] waiting for: [user_regularoelktp0203@test-domain.com:message:received:content_2gny7t0206] 2022-12-30 09:55:58 | [Mutex] timeout. Not received [user_regularoelktp0203@test-domain.com:message:received:content_2gny7t0206] 2022-12-30 09:55:58 | [Mutex] isItemNotified: user_regularoelktp0203@test-domain.com:message:received:content_2gny7t0206 :: false 2022-12-30 09:55:58 | ===== publishing normal message (to offline) 2022-12-30 09:55:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-30 09:55:58 | command: <data><node>node_m864mk0204</node><entry><content>content_eksl830207</content></entry></data> 2022-12-30 09:55:58 | target: http://localhost:8088 2022-12-30 09:55:58 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-12-30 09:55:58 | entity: <data><node>node_m864mk0204</node><entry><content>content_eksl830207</content></entry></data> 2022-12-30 09:55:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Dec 2022 17:55:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-30 09:55:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>775fc0e4-ef3f-4965-b0bc-2101674edb15</value></item-id></result> 2022-12-30 09:55:58 | contains: true 2022-12-30 09:56:03 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-12-30 09:56:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-12-30 09:56:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-12-30 09:56:04 | [Mutex] waiting for: [user_regularoelktp0203@test-domain.com:message:received:content_eksl830207] 2022-12-30 09:56:04 | [Mutex] waiting for: [user_regularoelktp0203@test-domain.com:message:received:content_eksl830207] 2022-12-30 09:56:04 | [Mutex] received everything. 2022-12-30 09:56:04 | [Mutex] isItemNotified: user_regularoelktp0203@test-domain.com:message:received:content_eksl830207 :: true 2022-12-30 09:56:04 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-12-30 09:56:04 | [Mutex] received everything. 2022-12-30 09:56:04 | [Mutex] isItemNotified: node_m864mk0204:subscribe_node:success :: true 2022-12-30 09:56:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-30 09:56:04 | command: <data><node>node_m864mk0204</node><expire-at>2022-12-30T17:56:09Z</expire-at><entry><content>content_5djlve0208</content></entry></data> 2022-12-30 09:56:04 | target: http://localhost:8088 2022-12-30 09:56:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-12-30 09:56:04 | entity: <data><node>node_m864mk0204</node><expire-at>2022-12-30T17:56:09Z</expire-at><entry><content>content_5djlve0208</content></entry></data> 2022-12-30 09:56:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Dec 2022 17:56:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-30 09:56:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9de543ae-f2a5-4695-be7b-e69c3bc6e6f7</value></item-id></result> 2022-12-30 09:56:04 | contains: true 2022-12-30 09:56:12 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-12-30 09:56:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-12-30 09:56:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-12-30 09:56:12 | [Mutex] waiting for: [user_regularoelktp0203@test-domain.com:message:received:content_5djlve0208] 2022-12-30 09:56:12 | [Mutex] waiting for: [user_regularoelktp0203@test-domain.com:message:received:content_5djlve0208] 2022-12-30 09:56:12 | [Mutex] waiting for: [user_regularoelktp0203@test-domain.com:message:received:content_5djlve0208] 2022-12-30 09:56:27 | [Mutex] timeout. Not received [user_regularoelktp0203@test-domain.com:message:received:content_5djlve0208] 2022-12-30 09:56:27 | [Mutex] received everything. 2022-12-30 09:56:27 | [Mutex] isItemNotified: user_regularoelktp0203@test-domain.com:message:received:content_5djlve0208 :: false 2022-12-30 09:56:27 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_5djlve0208 :: true |