Test duration : 44.744s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.673s |
2023-07-09 22:44:34 |
2023-07-09 22:44:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-07-09 22:44:34 | ------------------------------------ 2023-07-09 22:44:34 | [Mutex] isItemNotified: node_u7to6j0208:exists :: false 2023-07-09 22:44:34 | [Mutex] waiting for: [node_u7to6j0208:create_node] 2023-07-09 22:44:34 | [Mutex] waiting for: [node_u7to6j0208:create_node] 2023-07-09 22:44:34 | [Mutex] received everything. 2023-07-09 22:44:34 | [Mutex] isItemNotified: node_u7to6j0208:create_node:success :: true 2023-07-09 22:44:34 | [Mutex] waiting for: [node_u7to6j0208:subscribe_node] 2023-07-09 22:44:34 | [Mutex] waiting for: [node_u7to6j0208:subscribe_node] 2023-07-09 22:44:34 | [Mutex] received everything. 2023-07-09 22:44:34 | [Mutex] isItemNotified: node_u7to6j0208:subscribe_node:success :: true 2023-07-09 22:44:34 | ===== publishing normal message (to online) 2023-07-09 22:44:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-09 22:44:34 | command: <data><node>node_u7to6j0208</node><entry><content>content_qmyeok0209</content></entry></data> 2023-07-09 22:44:34 | target: http://localhost:8088 2023-07-09 22:44:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-07-09 22:44:34 | entity: <data><node>node_u7to6j0208</node><entry><content>content_qmyeok0209</content></entry></data> 2023-07-09 22:44:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Jul 2023 05:44:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-09 22:44:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>94e9d395-c351-4af9-b612-2b1c63577742</value></item-id></result> 2023-07-09 22:44:34 | contains: true 2023-07-09 22:44:34 | [Mutex] received everything. 2023-07-09 22:44:34 | [Mutex] isItemNotified: user_regularylt1cn0207@test-domain.com:message:received:content_qmyeok0209 :: true 2023-07-09 22:44:34 | ===== publishing already old message - expecting message being filtered out (to online) 2023-07-09 22:44:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-09 22:44:34 | command: <data><node>node_u7to6j0208</node><expire-at>2023-07-10T05:44:29Z</expire-at><entry><content>content_b6wkgf0210</content></entry></data> 2023-07-09 22:44:34 | target: http://localhost:8088 2023-07-09 22:44:34 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-07-09 22:44:34 | entity: <data><node>node_u7to6j0208</node><expire-at>2023-07-10T05:44:29Z</expire-at><entry><content>content_b6wkgf0210</content></entry></data> 2023-07-09 22:44:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Jul 2023 05:44:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-09 22:44:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>46f516bb-4019-4c5d-b18b-cb9a61fd2506</value></item-id></result> 2023-07-09 22:44:34 | contains: true 2023-07-09 22:44:34 | [Mutex] waiting for: [user_regularylt1cn0207@test-domain.com:message:received:content_b6wkgf0210] 2023-07-09 22:44:49 | [Mutex] timeout. Not received [user_regularylt1cn0207@test-domain.com:message:received:content_b6wkgf0210] 2023-07-09 22:44:49 | [Mutex] isItemNotified: user_regularylt1cn0207@test-domain.com:message:received:content_b6wkgf0210 :: false 2023-07-09 22:44:49 | ===== publishing normal message (to offline) 2023-07-09 22:44:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-09 22:44:49 | command: <data><node>node_u7to6j0208</node><entry><content>content_ua0r2x0211</content></entry></data> 2023-07-09 22:44:49 | target: http://localhost:8088 2023-07-09 22:44:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-07-09 22:44:49 | entity: <data><node>node_u7to6j0208</node><entry><content>content_ua0r2x0211</content></entry></data> 2023-07-09 22:44:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Jul 2023 05:44:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-09 22:44:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>bd02a783-cae2-4ee3-af86-8cf33d67e695</value></item-id></result> 2023-07-09 22:44:49 | contains: true 2023-07-09 22:44:54 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-07-09 22:44:54 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-07-09 22:44:54 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-07-09 22:44:55 | [Mutex] waiting for: [user_regularylt1cn0207@test-domain.com:message:received:content_ua0r2x0211] 2023-07-09 22:44:55 | [Mutex] waiting for: [user_regularylt1cn0207@test-domain.com:message:received:content_ua0r2x0211] 2023-07-09 22:44:55 | [Mutex] received everything. 2023-07-09 22:44:55 | [Mutex] isItemNotified: user_regularylt1cn0207@test-domain.com:message:received:content_ua0r2x0211 :: true 2023-07-09 22:44:55 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-07-09 22:44:55 | [Mutex] received everything. 2023-07-09 22:44:55 | [Mutex] isItemNotified: node_u7to6j0208:subscribe_node:success :: true 2023-07-09 22:44:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-09 22:44:55 | command: <data><node>node_u7to6j0208</node><expire-at>2023-07-10T05:45:00Z</expire-at><entry><content>content_up20in0212</content></entry></data> 2023-07-09 22:44:55 | target: http://localhost:8088 2023-07-09 22:44:55 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-07-09 22:44:55 | entity: <data><node>node_u7to6j0208</node><expire-at>2023-07-10T05:45:00Z</expire-at><entry><content>content_up20in0212</content></entry></data> 2023-07-09 22:44:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Jul 2023 05:44:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-09 22:44:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fba90ada-953a-4b21-bd7c-4a039fb9fb1a</value></item-id></result> 2023-07-09 22:44:55 | contains: true 2023-07-09 22:45:03 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-07-09 22:45:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-07-09 22:45:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-07-09 22:45:03 | [Mutex] waiting for: [user_regularylt1cn0207@test-domain.com:message:received:content_up20in0212] 2023-07-09 22:45:03 | [Mutex] waiting for: [user_regularylt1cn0207@test-domain.com:message:received:content_up20in0212] 2023-07-09 22:45:03 | [Mutex] waiting for: [user_regularylt1cn0207@test-domain.com:message:received:content_up20in0212] 2023-07-09 22:45:18 | [Mutex] timeout. Not received [user_regularylt1cn0207@test-domain.com:message:received:content_up20in0212] 2023-07-09 22:45:18 | [Mutex] received everything. 2023-07-09 22:45:18 | [Mutex] isItemNotified: user_regularylt1cn0207@test-domain.com:message:received:content_up20in0212 :: false 2023-07-09 22:45:18 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_up20in0212 :: true |