Test duration : 45.019s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.812s |
2022-09-15 22:35:13 |
2022-09-15 22:35:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-09-15 22:35:13 | ------------------------------------ 2022-09-15 22:35:13 | [Mutex] isItemNotified: node_vqe8el0204:exists :: false 2022-09-15 22:35:13 | [Mutex] waiting for: [node_vqe8el0204:create_node] 2022-09-15 22:35:13 | [Mutex] waiting for: [node_vqe8el0204:create_node] 2022-09-15 22:35:13 | [Mutex] received everything. 2022-09-15 22:35:13 | [Mutex] isItemNotified: node_vqe8el0204:create_node:success :: true 2022-09-15 22:35:13 | [Mutex] waiting for: [node_vqe8el0204:subscribe_node] 2022-09-15 22:35:13 | [Mutex] waiting for: [node_vqe8el0204:subscribe_node] 2022-09-15 22:35:13 | [Mutex] received everything. 2022-09-15 22:35:13 | [Mutex] isItemNotified: node_vqe8el0204:subscribe_node:success :: true 2022-09-15 22:35:13 | ===== publishing normal message (to online) 2022-09-15 22:35:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-15 22:35:13 | command: <data><node>node_vqe8el0204</node><entry><content>content_g2vpwm0205</content></entry></data> 2022-09-15 22:35:13 | target: http://localhost:8088 2022-09-15 22:35:13 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-09-15 22:35:13 | entity: <data><node>node_vqe8el0204</node><entry><content>content_g2vpwm0205</content></entry></data> 2022-09-15 22:35:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Sep 2022 05:35:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-15 22:35:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ad7590e9-f8cb-421f-8048-1a587039000b</value></item-id></result> 2022-09-15 22:35:13 | contains: true 2022-09-15 22:35:13 | [Mutex] received everything. 2022-09-15 22:35:13 | [Mutex] isItemNotified: user_regular9gacml0203@test-domain.com:message:received:content_g2vpwm0205 :: true 2022-09-15 22:35:13 | ===== publishing already old message - expecting message being filtered out (to online) 2022-09-15 22:35:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-15 22:35:13 | command: <data><node>node_vqe8el0204</node><expire-at>2022-09-16T05:35:08Z</expire-at><entry><content>content_rsw8xg0206</content></entry></data> 2022-09-15 22:35:13 | target: http://localhost:8088 2022-09-15 22:35:13 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-09-15 22:35:13 | entity: <data><node>node_vqe8el0204</node><expire-at>2022-09-16T05:35:08Z</expire-at><entry><content>content_rsw8xg0206</content></entry></data> 2022-09-15 22:35:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Sep 2022 05:35:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-15 22:35:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f38790d1-6a08-465d-80ff-0dacf0a5f450</value></item-id></result> 2022-09-15 22:35:13 | contains: true 2022-09-15 22:35:13 | [Mutex] waiting for: [user_regular9gacml0203@test-domain.com:message:received:content_rsw8xg0206] 2022-09-15 22:35:28 | [Mutex] timeout. Not received [user_regular9gacml0203@test-domain.com:message:received:content_rsw8xg0206] 2022-09-15 22:35:28 | [Mutex] isItemNotified: user_regular9gacml0203@test-domain.com:message:received:content_rsw8xg0206 :: false 2022-09-15 22:35:28 | ===== publishing normal message (to offline) 2022-09-15 22:35:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-15 22:35:28 | command: <data><node>node_vqe8el0204</node><entry><content>content_a3xjuw0207</content></entry></data> 2022-09-15 22:35:28 | target: http://localhost:8088 2022-09-15 22:35:28 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-09-15 22:35:28 | entity: <data><node>node_vqe8el0204</node><entry><content>content_a3xjuw0207</content></entry></data> 2022-09-15 22:35:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Sep 2022 05:35:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-15 22:35:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8d8c2b4b-fcdc-4642-8f60-347c84050753</value></item-id></result> 2022-09-15 22:35:28 | contains: true 2022-09-15 22:35:33 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-09-15 22:35:33 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-09-15 22:35:33 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-09-15 22:35:33 | [Mutex] waiting for: [user_regular9gacml0203@test-domain.com:message:received:content_a3xjuw0207] 2022-09-15 22:35:33 | [Mutex] waiting for: [user_regular9gacml0203@test-domain.com:message:received:content_a3xjuw0207] 2022-09-15 22:35:33 | [Mutex] received everything. 2022-09-15 22:35:33 | [Mutex] isItemNotified: user_regular9gacml0203@test-domain.com:message:received:content_a3xjuw0207 :: true 2022-09-15 22:35:33 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-09-15 22:35:33 | [Mutex] received everything. 2022-09-15 22:35:33 | [Mutex] isItemNotified: node_vqe8el0204:subscribe_node:success :: true 2022-09-15 22:35:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-15 22:35:33 | command: <data><node>node_vqe8el0204</node><expire-at>2022-09-16T05:35:38Z</expire-at><entry><content>content_z0y6gm0208</content></entry></data> 2022-09-15 22:35:33 | target: http://localhost:8088 2022-09-15 22:35:33 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-09-15 22:35:33 | entity: <data><node>node_vqe8el0204</node><expire-at>2022-09-16T05:35:38Z</expire-at><entry><content>content_z0y6gm0208</content></entry></data> 2022-09-15 22:35:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Sep 2022 05:35:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-15 22:35:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1ceb4c42-7ab2-45f7-83f8-6c684479f29a</value></item-id></result> 2022-09-15 22:35:34 | contains: true 2022-09-15 22:35:42 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-09-15 22:35:42 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-09-15 22:35:42 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-09-15 22:35:42 | [Mutex] waiting for: [user_regular9gacml0203@test-domain.com:message:received:content_z0y6gm0208] 2022-09-15 22:35:42 | [Mutex] waiting for: [user_regular9gacml0203@test-domain.com:message:received:content_z0y6gm0208] 2022-09-15 22:35:57 | [Mutex] timeout. Not received [user_regular9gacml0203@test-domain.com:message:received:content_z0y6gm0208] 2022-09-15 22:35:57 | [Mutex] received everything. 2022-09-15 22:35:57 | [Mutex] isItemNotified: user_regular9gacml0203@test-domain.com:message:received:content_z0y6gm0208 :: false 2022-09-15 22:35:57 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_z0y6gm0208 :: true |