Test duration : 44.623s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.593s |
2023-02-17 21:43:42 |
2023-02-17 21:43:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-02-17 21:43:42 | ------------------------------------ 2023-02-17 21:43:42 | [Mutex] isItemNotified: node_6xssq60204:exists :: false 2023-02-17 21:43:42 | [Mutex] waiting for: [node_6xssq60204:create_node] 2023-02-17 21:43:42 | [Mutex] waiting for: [node_6xssq60204:create_node] 2023-02-17 21:43:42 | [Mutex] received everything. 2023-02-17 21:43:42 | [Mutex] isItemNotified: node_6xssq60204:create_node:success :: true 2023-02-17 21:43:42 | [Mutex] waiting for: [node_6xssq60204:subscribe_node] 2023-02-17 21:43:42 | [Mutex] waiting for: [node_6xssq60204:subscribe_node] 2023-02-17 21:43:42 | [Mutex] received everything. 2023-02-17 21:43:42 | [Mutex] isItemNotified: node_6xssq60204:subscribe_node:success :: true 2023-02-17 21:43:42 | ===== publishing normal message (to online) 2023-02-17 21:43:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-17 21:43:42 | command: <data><node>node_6xssq60204</node><entry><content>content_o2cmmz0205</content></entry></data> 2023-02-17 21:43:42 | target: http://localhost:8088 2023-02-17 21:43:42 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-02-17 21:43:42 | entity: <data><node>node_6xssq60204</node><entry><content>content_o2cmmz0205</content></entry></data> 2023-02-17 21:43:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 18 Feb 2023 05:43:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-17 21:43:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cd8a2355-1e5b-46f1-a22e-63068b3f6c09</value></item-id></result> 2023-02-17 21:43:42 | contains: true 2023-02-17 21:43:42 | [Mutex] waiting for: [user_regularkwuqid0203@test-domain.com:message:received:content_o2cmmz0205] 2023-02-17 21:43:42 | [Mutex] received everything. 2023-02-17 21:43:42 | [Mutex] isItemNotified: user_regularkwuqid0203@test-domain.com:message:received:content_o2cmmz0205 :: true 2023-02-17 21:43:42 | ===== publishing already old message - expecting message being filtered out (to online) 2023-02-17 21:43:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-17 21:43:42 | command: <data><node>node_6xssq60204</node><expire-at>2023-02-18T05:43:37Z</expire-at><entry><content>content_xsuqzv0206</content></entry></data> 2023-02-17 21:43:42 | target: http://localhost:8088 2023-02-17 21:43:42 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-02-17 21:43:42 | entity: <data><node>node_6xssq60204</node><expire-at>2023-02-18T05:43:37Z</expire-at><entry><content>content_xsuqzv0206</content></entry></data> 2023-02-17 21:43:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 18 Feb 2023 05:43:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-17 21:43:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0d4e59c5-c062-438e-9190-4dd643e0eb2c</value></item-id></result> 2023-02-17 21:43:42 | contains: true 2023-02-17 21:43:42 | [Mutex] waiting for: [user_regularkwuqid0203@test-domain.com:message:received:content_xsuqzv0206] 2023-02-17 21:43:57 | [Mutex] timeout. Not received [user_regularkwuqid0203@test-domain.com:message:received:content_xsuqzv0206] 2023-02-17 21:43:57 | [Mutex] isItemNotified: user_regularkwuqid0203@test-domain.com:message:received:content_xsuqzv0206 :: false 2023-02-17 21:43:57 | ===== publishing normal message (to offline) 2023-02-17 21:43:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-17 21:43:57 | command: <data><node>node_6xssq60204</node><entry><content>content_gq937o0207</content></entry></data> 2023-02-17 21:43:57 | target: http://localhost:8088 2023-02-17 21:43:57 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-02-17 21:43:57 | entity: <data><node>node_6xssq60204</node><entry><content>content_gq937o0207</content></entry></data> 2023-02-17 21:43:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 18 Feb 2023 05:43:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-17 21:43:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4863a5ed-232d-44f8-aa37-097d3e7a7510</value></item-id></result> 2023-02-17 21:43:58 | contains: true 2023-02-17 21:44:03 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-02-17 21:44:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2023-02-17 21:44:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-02-17 21:44:03 | [Mutex] waiting for: [user_regularkwuqid0203@test-domain.com:message:received:content_gq937o0207] 2023-02-17 21:44:03 | [Mutex] received everything. 2023-02-17 21:44:03 | [Mutex] isItemNotified: user_regularkwuqid0203@test-domain.com:message:received:content_gq937o0207 :: true 2023-02-17 21:44:03 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-02-17 21:44:03 | [Mutex] received everything. 2023-02-17 21:44:03 | [Mutex] isItemNotified: node_6xssq60204:subscribe_node:success :: true 2023-02-17 21:44:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-17 21:44:03 | command: <data><node>node_6xssq60204</node><expire-at>2023-02-18T05:44:08Z</expire-at><entry><content>content_xo9no90208</content></entry></data> 2023-02-17 21:44:03 | target: http://localhost:8088 2023-02-17 21:44:03 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-02-17 21:44:03 | entity: <data><node>node_6xssq60204</node><expire-at>2023-02-18T05:44:08Z</expire-at><entry><content>content_xo9no90208</content></entry></data> 2023-02-17 21:44:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 18 Feb 2023 05:44:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-17 21:44:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>be854a58-e38f-4384-ac0e-40dbbddd29c2</value></item-id></result> 2023-02-17 21:44:03 | contains: true 2023-02-17 21:44:11 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-02-17 21:44:11 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2023-02-17 21:44:11 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-02-17 21:44:11 | [Mutex] waiting for: [user_regularkwuqid0203@test-domain.com:message:received:content_xo9no90208] 2023-02-17 21:44:26 | [Mutex] timeout. Not received [user_regularkwuqid0203@test-domain.com:message:received:content_xo9no90208] 2023-02-17 21:44:26 | [Mutex] received everything. 2023-02-17 21:44:26 | [Mutex] isItemNotified: user_regularkwuqid0203@test-domain.com:message:received:content_xo9no90208 :: false 2023-02-17 21:44:26 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_xo9no90208 :: true |