Test duration : 44.620s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.656s |
2022-06-30 22:32:47 |
2022-06-30 22:32:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-06-30 22:32:47 | ------------------------------------ 2022-06-30 22:32:47 | [Mutex] isItemNotified: node_kf25mb0204:exists :: false 2022-06-30 22:32:47 | [Mutex] waiting for: [node_kf25mb0204:create_node] 2022-06-30 22:32:47 | [Mutex] waiting for: [node_kf25mb0204:create_node] 2022-06-30 22:32:47 | [Mutex] received everything. 2022-06-30 22:32:47 | [Mutex] isItemNotified: node_kf25mb0204:create_node:success :: true 2022-06-30 22:32:47 | [Mutex] waiting for: [node_kf25mb0204:subscribe_node] 2022-06-30 22:32:47 | [Mutex] waiting for: [node_kf25mb0204:subscribe_node] 2022-06-30 22:32:47 | [Mutex] received everything. 2022-06-30 22:32:47 | [Mutex] isItemNotified: node_kf25mb0204:subscribe_node:success :: true 2022-06-30 22:32:47 | ===== publishing normal message (to online) 2022-06-30 22:32:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-30 22:32:47 | command: <data><node>node_kf25mb0204</node><entry><content>content_t47afh0205</content></entry></data> 2022-06-30 22:32:47 | target: http://localhost:8088 2022-06-30 22:32:47 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-30 22:32:47 | entity: <data><node>node_kf25mb0204</node><entry><content>content_t47afh0205</content></entry></data> 2022-06-30 22:32:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 01 Jul 2022 05:32:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-30 22:32:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5e2e728b-9465-4d16-9fb2-d3141557ae58</value></item-id></result> 2022-06-30 22:32:47 | contains: true 2022-06-30 22:32:47 | [Mutex] waiting for: [user_regularaccr3o0203@test-domain.com:message:received:content_t47afh0205] 2022-06-30 22:32:47 | [Mutex] received everything. 2022-06-30 22:32:47 | [Mutex] isItemNotified: user_regularaccr3o0203@test-domain.com:message:received:content_t47afh0205 :: true 2022-06-30 22:32:47 | ===== publishing already old message - expecting message being filtered out (to online) 2022-06-30 22:32:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-30 22:32:47 | command: <data><node>node_kf25mb0204</node><expire-at>2022-07-01T05:32:42Z</expire-at><entry><content>content_y086l20206</content></entry></data> 2022-06-30 22:32:47 | target: http://localhost:8088 2022-06-30 22:32:47 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-30 22:32:47 | entity: <data><node>node_kf25mb0204</node><expire-at>2022-07-01T05:32:42Z</expire-at><entry><content>content_y086l20206</content></entry></data> 2022-06-30 22:32:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 01 Jul 2022 05:32:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-30 22:32:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>78bae3e6-8134-4d6f-a46b-8fd87b4857bb</value></item-id></result> 2022-06-30 22:32:47 | contains: true 2022-06-30 22:32:47 | [Mutex] waiting for: [user_regularaccr3o0203@test-domain.com:message:received:content_y086l20206] 2022-06-30 22:33:02 | [Mutex] timeout. Not received [user_regularaccr3o0203@test-domain.com:message:received:content_y086l20206] 2022-06-30 22:33:02 | [Mutex] isItemNotified: user_regularaccr3o0203@test-domain.com:message:received:content_y086l20206 :: false 2022-06-30 22:33:02 | ===== publishing normal message (to offline) 2022-06-30 22:33:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-30 22:33:02 | command: <data><node>node_kf25mb0204</node><entry><content>content_z8j8wd0207</content></entry></data> 2022-06-30 22:33:02 | target: http://localhost:8088 2022-06-30 22:33:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-30 22:33:02 | entity: <data><node>node_kf25mb0204</node><entry><content>content_z8j8wd0207</content></entry></data> 2022-06-30 22:33:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 01 Jul 2022 05:33:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-30 22:33:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f00d87ce-0ec3-4975-854f-55671a00fc37</value></item-id></result> 2022-06-30 22:33:02 | contains: true 2022-06-30 22:33:07 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-30 22:33:07 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-06-30 22:33:07 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-30 22:33:07 | [Mutex] waiting for: [user_regularaccr3o0203@test-domain.com:message:received:content_z8j8wd0207] 2022-06-30 22:33:07 | [Mutex] waiting for: [user_regularaccr3o0203@test-domain.com:message:received:content_z8j8wd0207] 2022-06-30 22:33:07 | [Mutex] received everything. 2022-06-30 22:33:07 | [Mutex] isItemNotified: user_regularaccr3o0203@test-domain.com:message:received:content_z8j8wd0207 :: true 2022-06-30 22:33:07 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-06-30 22:33:07 | [Mutex] received everything. 2022-06-30 22:33:07 | [Mutex] isItemNotified: node_kf25mb0204:subscribe_node:success :: true 2022-06-30 22:33:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-30 22:33:07 | command: <data><node>node_kf25mb0204</node><expire-at>2022-07-01T05:33:12Z</expire-at><entry><content>content_h3sq3t0208</content></entry></data> 2022-06-30 22:33:07 | target: http://localhost:8088 2022-06-30 22:33:07 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-30 22:33:07 | entity: <data><node>node_kf25mb0204</node><expire-at>2022-07-01T05:33:12Z</expire-at><entry><content>content_h3sq3t0208</content></entry></data> 2022-06-30 22:33:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 01 Jul 2022 05:33:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-30 22:33:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7ce61514-ec01-4974-a193-77bb2e1214b0</value></item-id></result> 2022-06-30 22:33:07 | contains: true 2022-06-30 22:33:15 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-30 22:33:15 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-06-30 22:33:15 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-30 22:33:16 | [Mutex] waiting for: [user_regularaccr3o0203@test-domain.com:message:received:content_h3sq3t0208] 2022-06-30 22:33:16 | [Mutex] waiting for: [user_regularaccr3o0203@test-domain.com:message:received:content_h3sq3t0208] 2022-06-30 22:33:16 | [Mutex] waiting for: [user_regularaccr3o0203@test-domain.com:message:received:content_h3sq3t0208] 2022-06-30 22:33:31 | [Mutex] timeout. Not received [user_regularaccr3o0203@test-domain.com:message:received:content_h3sq3t0208] 2022-06-30 22:33:31 | [Mutex] received everything. 2022-06-30 22:33:31 | [Mutex] isItemNotified: user_regularaccr3o0203@test-domain.com:message:received:content_h3sq3t0208 :: false 2022-06-30 22:33:31 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_h3sq3t0208 :: true |