Test duration : 44.509s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.569s |
2022-12-26 03:40:42 |
2022-12-26 03:40:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-12-26 03:40:42 | ------------------------------------ 2022-12-26 03:40:42 | [Mutex] isItemNotified: node_2qj9d30204:exists :: false 2022-12-26 03:40:42 | [Mutex] waiting for: [node_2qj9d30204:create_node] 2022-12-26 03:40:42 | [Mutex] waiting for: [node_2qj9d30204:create_node] 2022-12-26 03:40:42 | [Mutex] received everything. 2022-12-26 03:40:42 | [Mutex] isItemNotified: node_2qj9d30204:create_node:success :: true 2022-12-26 03:40:42 | [Mutex] waiting for: [node_2qj9d30204:subscribe_node] 2022-12-26 03:40:42 | [Mutex] waiting for: [node_2qj9d30204:subscribe_node] 2022-12-26 03:40:42 | [Mutex] received everything. 2022-12-26 03:40:42 | [Mutex] isItemNotified: node_2qj9d30204:subscribe_node:success :: true 2022-12-26 03:40:42 | ===== publishing normal message (to online) 2022-12-26 03:40:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-26 03:40:42 | command: <data><node>node_2qj9d30204</node><entry><content>content_etk3j00205</content></entry></data> 2022-12-26 03:40:42 | target: http://localhost:8088 2022-12-26 03:40:42 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-12-26 03:40:42 | entity: <data><node>node_2qj9d30204</node><entry><content>content_etk3j00205</content></entry></data> 2022-12-26 03:40:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 26 Dec 2022 11:40:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-26 03:40:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5eaf0cf8-ae13-4aee-aad5-20458241151c</value></item-id></result> 2022-12-26 03:40:42 | contains: true 2022-12-26 03:40:42 | [Mutex] waiting for: [user_regularlnvrxv0203@test-domain.com:message:received:content_etk3j00205] 2022-12-26 03:40:42 | [Mutex] received everything. 2022-12-26 03:40:42 | [Mutex] isItemNotified: user_regularlnvrxv0203@test-domain.com:message:received:content_etk3j00205 :: true 2022-12-26 03:40:42 | ===== publishing already old message - expecting message being filtered out (to online) 2022-12-26 03:40:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-26 03:40:42 | command: <data><node>node_2qj9d30204</node><expire-at>2022-12-26T11:40:37Z</expire-at><entry><content>content_7ix8aw0206</content></entry></data> 2022-12-26 03:40:42 | target: http://localhost:8088 2022-12-26 03:40:42 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-12-26 03:40:42 | entity: <data><node>node_2qj9d30204</node><expire-at>2022-12-26T11:40:37Z</expire-at><entry><content>content_7ix8aw0206</content></entry></data> 2022-12-26 03:40:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 26 Dec 2022 11:40:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-26 03:40:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f366683f-09fc-4ef7-b624-4886178a240b</value></item-id></result> 2022-12-26 03:40:42 | contains: true 2022-12-26 03:40:42 | [Mutex] waiting for: [user_regularlnvrxv0203@test-domain.com:message:received:content_7ix8aw0206] 2022-12-26 03:40:57 | [Mutex] timeout. Not received [user_regularlnvrxv0203@test-domain.com:message:received:content_7ix8aw0206] 2022-12-26 03:40:57 | [Mutex] isItemNotified: user_regularlnvrxv0203@test-domain.com:message:received:content_7ix8aw0206 :: false 2022-12-26 03:40:57 | ===== publishing normal message (to offline) 2022-12-26 03:40:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-26 03:40:57 | command: <data><node>node_2qj9d30204</node><entry><content>content_d4q0o00207</content></entry></data> 2022-12-26 03:40:57 | target: http://localhost:8088 2022-12-26 03:40:57 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-12-26 03:40:57 | entity: <data><node>node_2qj9d30204</node><entry><content>content_d4q0o00207</content></entry></data> 2022-12-26 03:40:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 26 Dec 2022 11:40:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-26 03:40:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>025bb73b-baca-44da-b477-42384e41bd99</value></item-id></result> 2022-12-26 03:40:57 | contains: true 2022-12-26 03:41:02 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-12-26 03:41:02 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-12-26 03:41:02 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-12-26 03:41:02 | [Mutex] waiting for: [user_regularlnvrxv0203@test-domain.com:message:received:content_d4q0o00207] 2022-12-26 03:41:02 | [Mutex] waiting for: [user_regularlnvrxv0203@test-domain.com:message:received:content_d4q0o00207] 2022-12-26 03:41:02 | [Mutex] received everything. 2022-12-26 03:41:02 | [Mutex] isItemNotified: user_regularlnvrxv0203@test-domain.com:message:received:content_d4q0o00207 :: true 2022-12-26 03:41:02 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-12-26 03:41:02 | [Mutex] received everything. 2022-12-26 03:41:02 | [Mutex] isItemNotified: node_2qj9d30204:subscribe_node:success :: true 2022-12-26 03:41:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-26 03:41:02 | command: <data><node>node_2qj9d30204</node><expire-at>2022-12-26T11:41:07Z</expire-at><entry><content>content_49ys2n0208</content></entry></data> 2022-12-26 03:41:02 | target: http://localhost:8088 2022-12-26 03:41:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-12-26 03:41:02 | entity: <data><node>node_2qj9d30204</node><expire-at>2022-12-26T11:41:07Z</expire-at><entry><content>content_49ys2n0208</content></entry></data> 2022-12-26 03:41:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 26 Dec 2022 11:41:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-26 03:41:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bd0aced9-a79f-42e7-9166-95f75ca4a04a</value></item-id></result> 2022-12-26 03:41:02 | contains: true 2022-12-26 03:41:10 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-12-26 03:41:10 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-12-26 03:41:10 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-12-26 03:41:11 | [Mutex] waiting for: [user_regularlnvrxv0203@test-domain.com:message:received:content_49ys2n0208] 2022-12-26 03:41:26 | [Mutex] timeout. Not received [user_regularlnvrxv0203@test-domain.com:message:received:content_49ys2n0208] 2022-12-26 03:41:26 | [Mutex] received everything. 2022-12-26 03:41:26 | [Mutex] isItemNotified: user_regularlnvrxv0203@test-domain.com:message:received:content_49ys2n0208 :: false 2022-12-26 03:41:26 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_49ys2n0208 :: true |