Test duration : 44.522s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.642s |
2023-02-17 22:04:01 |
2023-02-17 22:04:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-02-17 22:04:01 | ------------------------------------ 2023-02-17 22:04:01 | [Mutex] isItemNotified: node_cis9ap0204:exists :: false 2023-02-17 22:04:01 | [Mutex] waiting for: [node_cis9ap0204:create_node] 2023-02-17 22:04:01 | [Mutex] received everything. 2023-02-17 22:04:01 | [Mutex] isItemNotified: node_cis9ap0204:create_node:success :: true 2023-02-17 22:04:01 | [Mutex] waiting for: [node_cis9ap0204:subscribe_node] 2023-02-17 22:04:01 | [Mutex] waiting for: [node_cis9ap0204:subscribe_node] 2023-02-17 22:04:01 | [Mutex] received everything. 2023-02-17 22:04:01 | [Mutex] isItemNotified: node_cis9ap0204:subscribe_node:success :: true 2023-02-17 22:04:01 | ===== publishing normal message (to online) 2023-02-17 22:04:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-17 22:04:01 | command: <data><node>node_cis9ap0204</node><entry><content>content_5iuz5q0205</content></entry></data> 2023-02-17 22:04:01 | target: http://localhost:8088 2023-02-17 22:04:01 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-02-17 22:04:01 | entity: <data><node>node_cis9ap0204</node><entry><content>content_5iuz5q0205</content></entry></data> 2023-02-17 22:04:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 18 Feb 2023 06:04:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-17 22:04:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3f015e29-de04-4bc7-979e-a98dd209fc21</value></item-id></result> 2023-02-17 22:04:01 | contains: true 2023-02-17 22:04:01 | [Mutex] waiting for: [user_regularn4di7e0203@test-domain.com:message:received:content_5iuz5q0205] 2023-02-17 22:04:01 | [Mutex] received everything. 2023-02-17 22:04:01 | [Mutex] isItemNotified: user_regularn4di7e0203@test-domain.com:message:received:content_5iuz5q0205 :: true 2023-02-17 22:04:01 | ===== publishing already old message - expecting message being filtered out (to online) 2023-02-17 22:04:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-17 22:04:01 | command: <data><node>node_cis9ap0204</node><expire-at>2023-02-18T06:03:56Z</expire-at><entry><content>content_hbi9er0206</content></entry></data> 2023-02-17 22:04:01 | target: http://localhost:8088 2023-02-17 22:04:01 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-02-17 22:04:01 | entity: <data><node>node_cis9ap0204</node><expire-at>2023-02-18T06:03:56Z</expire-at><entry><content>content_hbi9er0206</content></entry></data> 2023-02-17 22:04:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 18 Feb 2023 06:04:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-17 22:04:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1641a385-0500-487a-a1ed-18b5db203094</value></item-id></result> 2023-02-17 22:04:01 | contains: true 2023-02-17 22:04:01 | [Mutex] waiting for: [user_regularn4di7e0203@test-domain.com:message:received:content_hbi9er0206] 2023-02-17 22:04:16 | [Mutex] timeout. Not received [user_regularn4di7e0203@test-domain.com:message:received:content_hbi9er0206] 2023-02-17 22:04:16 | [Mutex] isItemNotified: user_regularn4di7e0203@test-domain.com:message:received:content_hbi9er0206 :: false 2023-02-17 22:04:16 | ===== publishing normal message (to offline) 2023-02-17 22:04:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-17 22:04:16 | command: <data><node>node_cis9ap0204</node><entry><content>content_7z0jzr0207</content></entry></data> 2023-02-17 22:04:16 | target: http://localhost:8088 2023-02-17 22:04:16 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-02-17 22:04:16 | entity: <data><node>node_cis9ap0204</node><entry><content>content_7z0jzr0207</content></entry></data> 2023-02-17 22:04:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 18 Feb 2023 06:04:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-17 22:04:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2e91b99f-86a1-492c-9374-88acc3063080</value></item-id></result> 2023-02-17 22:04:16 | contains: true 2023-02-17 22:04:21 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-02-17 22:04:21 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2023-02-17 22:04:21 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-02-17 22:04:21 | [Mutex] waiting for: [user_regularn4di7e0203@test-domain.com:message:received:content_7z0jzr0207] 2023-02-17 22:04:21 | [Mutex] waiting for: [user_regularn4di7e0203@test-domain.com:message:received:content_7z0jzr0207] 2023-02-17 22:04:21 | [Mutex] received everything. 2023-02-17 22:04:21 | [Mutex] isItemNotified: user_regularn4di7e0203@test-domain.com:message:received:content_7z0jzr0207 :: true 2023-02-17 22:04:21 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-02-17 22:04:21 | [Mutex] received everything. 2023-02-17 22:04:21 | [Mutex] isItemNotified: node_cis9ap0204:subscribe_node:success :: true 2023-02-17 22:04:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-17 22:04:22 | command: <data><node>node_cis9ap0204</node><expire-at>2023-02-18T06:04:27Z</expire-at><entry><content>content_1hyocz0208</content></entry></data> 2023-02-17 22:04:22 | target: http://localhost:8088 2023-02-17 22:04:22 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-02-17 22:04:22 | entity: <data><node>node_cis9ap0204</node><expire-at>2023-02-18T06:04:27Z</expire-at><entry><content>content_1hyocz0208</content></entry></data> 2023-02-17 22:04:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 18 Feb 2023 06:04:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-17 22:04:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cae94833-4fd3-4074-9e53-9d697e52d8af</value></item-id></result> 2023-02-17 22:04:22 | contains: true 2023-02-17 22:04:30 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-02-17 22:04:30 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2023-02-17 22:04:30 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-02-17 22:04:30 | [Mutex] waiting for: [user_regularn4di7e0203@test-domain.com:message:received:content_1hyocz0208] 2023-02-17 22:04:45 | [Mutex] timeout. Not received [user_regularn4di7e0203@test-domain.com:message:received:content_1hyocz0208] 2023-02-17 22:04:45 | [Mutex] received everything. 2023-02-17 22:04:45 | [Mutex] isItemNotified: user_regularn4di7e0203@test-domain.com:message:received:content_1hyocz0208 :: false 2023-02-17 22:04:45 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_1hyocz0208 :: true |