Test duration : 44.754s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.584s |
2022-12-16 21:49:00 |
2022-12-16 21:49:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-12-16 21:49:00 | ------------------------------------ 2022-12-16 21:49:00 | [Mutex] isItemNotified: node_tf15bu0204:exists :: false 2022-12-16 21:49:00 | [Mutex] waiting for: [node_tf15bu0204:create_node] 2022-12-16 21:49:00 | [Mutex] waiting for: [node_tf15bu0204:create_node] 2022-12-16 21:49:00 | [Mutex] received everything. 2022-12-16 21:49:00 | [Mutex] isItemNotified: node_tf15bu0204:create_node:success :: true 2022-12-16 21:49:00 | [Mutex] waiting for: [node_tf15bu0204:subscribe_node] 2022-12-16 21:49:00 | [Mutex] waiting for: [node_tf15bu0204:subscribe_node] 2022-12-16 21:49:00 | [Mutex] received everything. 2022-12-16 21:49:00 | [Mutex] isItemNotified: node_tf15bu0204:subscribe_node:success :: true 2022-12-16 21:49:00 | ===== publishing normal message (to online) 2022-12-16 21:49:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-16 21:49:00 | command: <data><node>node_tf15bu0204</node><entry><content>content_iz2wp80205</content></entry></data> 2022-12-16 21:49:00 | target: http://localhost:8088 2022-12-16 21:49:00 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-12-16 21:49:00 | entity: <data><node>node_tf15bu0204</node><entry><content>content_iz2wp80205</content></entry></data> 2022-12-16 21:49:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 17 Dec 2022 05:49:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-16 21:49:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>add856c0-411c-4313-a6d3-f044ecc7a238</value></item-id></result> 2022-12-16 21:49:01 | contains: true 2022-12-16 21:49:01 | [Mutex] waiting for: [user_regularcpz6ss0203@test-domain.com:message:received:content_iz2wp80205] 2022-12-16 21:49:01 | [Mutex] received everything. 2022-12-16 21:49:01 | [Mutex] isItemNotified: user_regularcpz6ss0203@test-domain.com:message:received:content_iz2wp80205 :: true 2022-12-16 21:49:01 | ===== publishing already old message - expecting message being filtered out (to online) 2022-12-16 21:49:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-16 21:49:01 | command: <data><node>node_tf15bu0204</node><expire-at>2022-12-17T05:48:56Z</expire-at><entry><content>content_t9tf40206</content></entry></data> 2022-12-16 21:49:01 | target: http://localhost:8088 2022-12-16 21:49:01 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2022-12-16 21:49:01 | entity: <data><node>node_tf15bu0204</node><expire-at>2022-12-17T05:48:56Z</expire-at><entry><content>content_t9tf40206</content></entry></data> 2022-12-16 21:49:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 17 Dec 2022 05:49:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-16 21:49:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ac565d78-3df6-4433-89e2-333f246f3316</value></item-id></result> 2022-12-16 21:49:01 | contains: true 2022-12-16 21:49:01 | [Mutex] waiting for: [user_regularcpz6ss0203@test-domain.com:message:received:content_t9tf40206] 2022-12-16 21:49:16 | [Mutex] timeout. Not received [user_regularcpz6ss0203@test-domain.com:message:received:content_t9tf40206] 2022-12-16 21:49:16 | [Mutex] isItemNotified: user_regularcpz6ss0203@test-domain.com:message:received:content_t9tf40206 :: false 2022-12-16 21:49:16 | ===== publishing normal message (to offline) 2022-12-16 21:49:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-16 21:49:16 | command: <data><node>node_tf15bu0204</node><entry><content>content_liwes10207</content></entry></data> 2022-12-16 21:49:16 | target: http://localhost:8088 2022-12-16 21:49:16 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-12-16 21:49:16 | entity: <data><node>node_tf15bu0204</node><entry><content>content_liwes10207</content></entry></data> 2022-12-16 21:49:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 17 Dec 2022 05:49:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-16 21:49:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7762bae4-c42a-40b1-a411-f372c806f5f0</value></item-id></result> 2022-12-16 21:49:16 | contains: true 2022-12-16 21:49:21 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-12-16 21:49:21 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-12-16 21:49:21 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-12-16 21:49:21 | [Mutex] waiting for: [user_regularcpz6ss0203@test-domain.com:message:received:content_liwes10207] 2022-12-16 21:49:21 | [Mutex] waiting for: [user_regularcpz6ss0203@test-domain.com:message:received:content_liwes10207] 2022-12-16 21:49:21 | [Mutex] received everything. 2022-12-16 21:49:21 | [Mutex] isItemNotified: user_regularcpz6ss0203@test-domain.com:message:received:content_liwes10207 :: true 2022-12-16 21:49:21 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-12-16 21:49:21 | [Mutex] received everything. 2022-12-16 21:49:21 | [Mutex] isItemNotified: node_tf15bu0204:subscribe_node:success :: true 2022-12-16 21:49:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-16 21:49:21 | command: <data><node>node_tf15bu0204</node><expire-at>2022-12-17T05:49:26Z</expire-at><entry><content>content_gvkbhj0208</content></entry></data> 2022-12-16 21:49:21 | target: http://localhost:8088 2022-12-16 21:49:21 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-12-16 21:49:21 | entity: <data><node>node_tf15bu0204</node><expire-at>2022-12-17T05:49:26Z</expire-at><entry><content>content_gvkbhj0208</content></entry></data> 2022-12-16 21:49:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 17 Dec 2022 05:49:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-16 21:49:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e3169bc1-b909-421d-8fc2-93250a3a8919</value></item-id></result> 2022-12-16 21:49:21 | contains: true 2022-12-16 21:49:29 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-12-16 21:49:29 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-12-16 21:49:29 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-12-16 21:49:29 | [Mutex] waiting for: [user_regularcpz6ss0203@test-domain.com:message:received:content_gvkbhj0208] 2022-12-16 21:49:29 | [Mutex] waiting for: [user_regularcpz6ss0203@test-domain.com:message:received:content_gvkbhj0208] 2022-12-16 21:49:29 | [Mutex] waiting for: [user_regularcpz6ss0203@test-domain.com:message:received:content_gvkbhj0208] 2022-12-16 21:49:44 | [Mutex] timeout. Not received [user_regularcpz6ss0203@test-domain.com:message:received:content_gvkbhj0208] 2022-12-16 21:49:44 | [Mutex] received everything. 2022-12-16 21:49:44 | [Mutex] isItemNotified: user_regularcpz6ss0203@test-domain.com:message:received:content_gvkbhj0208 :: false 2022-12-16 21:49:44 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_gvkbhj0208 :: true |