Test duration : 44.711s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.604s |
2023-01-10 21:29:56 |
2023-01-10 21:29:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-01-10 21:29:56 | ------------------------------------ 2023-01-10 21:29:56 | [Mutex] isItemNotified: node_rkgad10204:exists :: false 2023-01-10 21:29:56 | [Mutex] waiting for: [node_rkgad10204:create_node] 2023-01-10 21:29:56 | [Mutex] received everything. 2023-01-10 21:29:56 | [Mutex] isItemNotified: node_rkgad10204:create_node:success :: true 2023-01-10 21:29:56 | [Mutex] waiting for: [node_rkgad10204:subscribe_node] 2023-01-10 21:29:56 | [Mutex] waiting for: [node_rkgad10204:subscribe_node] 2023-01-10 21:29:56 | [Mutex] received everything. 2023-01-10 21:29:56 | [Mutex] isItemNotified: node_rkgad10204:subscribe_node:success :: true 2023-01-10 21:29:56 | ===== publishing normal message (to online) 2023-01-10 21:29:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-01-10 21:29:56 | command: <data><node>node_rkgad10204</node><entry><content>content_hjde4v0205</content></entry></data> 2023-01-10 21:29:56 | target: http://localhost:8088 2023-01-10 21:29:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-01-10 21:29:56 | entity: <data><node>node_rkgad10204</node><entry><content>content_hjde4v0205</content></entry></data> 2023-01-10 21:29:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 11 Jan 2023 05:29:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-01-10 21:29:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>47be31ef-863c-48cf-934f-f8b3202b3bda</value></item-id></result> 2023-01-10 21:29:56 | contains: true 2023-01-10 21:29:56 | [Mutex] waiting for: [user_regulary9hta70203@test-domain.com:message:received:content_hjde4v0205] 2023-01-10 21:29:56 | [Mutex] received everything. 2023-01-10 21:29:56 | [Mutex] isItemNotified: user_regulary9hta70203@test-domain.com:message:received:content_hjde4v0205 :: true 2023-01-10 21:29:56 | ===== publishing already old message - expecting message being filtered out (to online) 2023-01-10 21:29:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-01-10 21:29:56 | command: <data><node>node_rkgad10204</node><expire-at>2023-01-11T05:29:51Z</expire-at><entry><content>content_c9k2gn0206</content></entry></data> 2023-01-10 21:29:56 | target: http://localhost:8088 2023-01-10 21:29:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-01-10 21:29:56 | entity: <data><node>node_rkgad10204</node><expire-at>2023-01-11T05:29:51Z</expire-at><entry><content>content_c9k2gn0206</content></entry></data> 2023-01-10 21:29:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 11 Jan 2023 05:29:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-01-10 21:29:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a55590b1-7ff0-434f-90e7-bc0f6f704042</value></item-id></result> 2023-01-10 21:29:56 | contains: true 2023-01-10 21:29:56 | [Mutex] waiting for: [user_regulary9hta70203@test-domain.com:message:received:content_c9k2gn0206] 2023-01-10 21:30:11 | [Mutex] timeout. Not received [user_regulary9hta70203@test-domain.com:message:received:content_c9k2gn0206] 2023-01-10 21:30:11 | [Mutex] isItemNotified: user_regulary9hta70203@test-domain.com:message:received:content_c9k2gn0206 :: false 2023-01-10 21:30:11 | ===== publishing normal message (to offline) 2023-01-10 21:30:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-01-10 21:30:11 | command: <data><node>node_rkgad10204</node><entry><content>content_cbhf3y0207</content></entry></data> 2023-01-10 21:30:11 | target: http://localhost:8088 2023-01-10 21:30:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-01-10 21:30:11 | entity: <data><node>node_rkgad10204</node><entry><content>content_cbhf3y0207</content></entry></data> 2023-01-10 21:30:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 11 Jan 2023 05:30:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-01-10 21:30:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fb779e1e-e7ac-4896-a8c2-e188a8ef70b1</value></item-id></result> 2023-01-10 21:30:11 | contains: true 2023-01-10 21:30:16 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-01-10 21:30:16 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2023-01-10 21:30:16 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-01-10 21:30:16 | [Mutex] waiting for: [user_regulary9hta70203@test-domain.com:message:received:content_cbhf3y0207] 2023-01-10 21:30:16 | [Mutex] received everything. 2023-01-10 21:30:16 | [Mutex] isItemNotified: user_regulary9hta70203@test-domain.com:message:received:content_cbhf3y0207 :: true 2023-01-10 21:30:16 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-01-10 21:30:16 | [Mutex] received everything. 2023-01-10 21:30:16 | [Mutex] isItemNotified: node_rkgad10204:subscribe_node:success :: true 2023-01-10 21:30:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-01-10 21:30:16 | command: <data><node>node_rkgad10204</node><expire-at>2023-01-11T05:30:21Z</expire-at><entry><content>content_tui9470208</content></entry></data> 2023-01-10 21:30:16 | target: http://localhost:8088 2023-01-10 21:30:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-01-10 21:30:16 | entity: <data><node>node_rkgad10204</node><expire-at>2023-01-11T05:30:21Z</expire-at><entry><content>content_tui9470208</content></entry></data> 2023-01-10 21:30:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 11 Jan 2023 05:30:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-01-10 21:30:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8b66a2d8-6fe9-41c1-966b-3cd193eff846</value></item-id></result> 2023-01-10 21:30:16 | contains: true 2023-01-10 21:30:24 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-01-10 21:30:24 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2023-01-10 21:30:24 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-01-10 21:30:24 | [Mutex] waiting for: [user_regulary9hta70203@test-domain.com:message:received:content_tui9470208] 2023-01-10 21:30:24 | [Mutex] waiting for: [user_regulary9hta70203@test-domain.com:message:received:content_tui9470208] 2023-01-10 21:30:39 | [Mutex] timeout. Not received [user_regulary9hta70203@test-domain.com:message:received:content_tui9470208] 2023-01-10 21:30:39 | [Mutex] received everything. 2023-01-10 21:30:39 | [Mutex] isItemNotified: user_regulary9hta70203@test-domain.com:message:received:content_tui9470208 :: false 2023-01-10 21:30:39 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_tui9470208 :: true |