Test duration : 44.921s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.600s |
2022-05-24 09:45:37 |
2022-05-24 09:45:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-05-24 09:45:37 | ------------------------------------ 2022-05-24 09:45:37 | [Mutex] isItemNotified: node_s04t9z0204:exists :: false 2022-05-24 09:45:37 | [Mutex] waiting for: [node_s04t9z0204:create_node] 2022-05-24 09:45:37 | [Mutex] received everything. 2022-05-24 09:45:37 | [Mutex] isItemNotified: node_s04t9z0204:create_node:success :: true 2022-05-24 09:45:37 | [Mutex] waiting for: [node_s04t9z0204:subscribe_node] 2022-05-24 09:45:37 | [Mutex] received everything. 2022-05-24 09:45:37 | [Mutex] isItemNotified: node_s04t9z0204:subscribe_node:success :: true 2022-05-24 09:45:37 | ===== publishing normal message (to online) 2022-05-24 09:45:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-24 09:45:37 | command: <data><node>node_s04t9z0204</node><entry><content>content_bhhuif0205</content></entry></data> 2022-05-24 09:45:37 | target: http://localhost:8088 2022-05-24 09:45:37 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-05-24 09:45:37 | entity: <data><node>node_s04t9z0204</node><entry><content>content_bhhuif0205</content></entry></data> 2022-05-24 09:45:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 24 May 2022 16:45:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-24 09:45:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>035a9fd9-0a62-4e89-8109-d7cd47dec7c2</value></item-id></result> 2022-05-24 09:45:37 | contains: true 2022-05-24 09:45:37 | [Mutex] received everything. 2022-05-24 09:45:37 | [Mutex] isItemNotified: user_regularrw5qby0203@test-domain.com:message:received:content_bhhuif0205 :: true 2022-05-24 09:45:37 | ===== publishing already old message - expecting message being filtered out (to online) 2022-05-24 09:45:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-24 09:45:37 | command: <data><node>node_s04t9z0204</node><expire-at>2022-05-24T16:45:32Z</expire-at><entry><content>content_3078my0206</content></entry></data> 2022-05-24 09:45:37 | target: http://localhost:8088 2022-05-24 09:45:37 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-05-24 09:45:37 | entity: <data><node>node_s04t9z0204</node><expire-at>2022-05-24T16:45:32Z</expire-at><entry><content>content_3078my0206</content></entry></data> 2022-05-24 09:45:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 24 May 2022 16:45:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-24 09:45:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e3143517-968d-4d41-9d94-aa563251a976</value></item-id></result> 2022-05-24 09:45:37 | contains: true 2022-05-24 09:45:37 | [Mutex] waiting for: [user_regularrw5qby0203@test-domain.com:message:received:content_3078my0206] 2022-05-24 09:45:52 | [Mutex] timeout. Not received [user_regularrw5qby0203@test-domain.com:message:received:content_3078my0206] 2022-05-24 09:45:52 | [Mutex] isItemNotified: user_regularrw5qby0203@test-domain.com:message:received:content_3078my0206 :: false 2022-05-24 09:45:52 | ===== publishing normal message (to offline) 2022-05-24 09:45:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-24 09:45:52 | command: <data><node>node_s04t9z0204</node><entry><content>content_p18q1g0207</content></entry></data> 2022-05-24 09:45:52 | target: http://localhost:8088 2022-05-24 09:45:52 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-05-24 09:45:52 | entity: <data><node>node_s04t9z0204</node><entry><content>content_p18q1g0207</content></entry></data> 2022-05-24 09:45:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 24 May 2022 16:45:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-24 09:45:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>57789a6f-1f35-4ff2-b384-c9b84df6b324</value></item-id></result> 2022-05-24 09:45:52 | contains: true 2022-05-24 09:45:57 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-05-24 09:45:57 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-05-24 09:45:57 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-05-24 09:45:57 | [Mutex] waiting for: [user_regularrw5qby0203@test-domain.com:message:received:content_p18q1g0207] 2022-05-24 09:45:57 | [Mutex] waiting for: [user_regularrw5qby0203@test-domain.com:message:received:content_p18q1g0207] 2022-05-24 09:45:57 | [Mutex] received everything. 2022-05-24 09:45:57 | [Mutex] isItemNotified: user_regularrw5qby0203@test-domain.com:message:received:content_p18q1g0207 :: true 2022-05-24 09:45:57 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-05-24 09:45:57 | [Mutex] received everything. 2022-05-24 09:45:57 | [Mutex] isItemNotified: node_s04t9z0204:subscribe_node:success :: true 2022-05-24 09:45:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-24 09:45:57 | command: <data><node>node_s04t9z0204</node><expire-at>2022-05-24T16:46:02Z</expire-at><entry><content>content_lg5vbo0208</content></entry></data> 2022-05-24 09:45:57 | target: http://localhost:8088 2022-05-24 09:45:57 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-05-24 09:45:57 | entity: <data><node>node_s04t9z0204</node><expire-at>2022-05-24T16:46:02Z</expire-at><entry><content>content_lg5vbo0208</content></entry></data> 2022-05-24 09:45:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 24 May 2022 16:45:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-24 09:45:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8f0a89f2-960f-4ef1-9d94-c83d23ffa19c</value></item-id></result> 2022-05-24 09:45:57 | contains: true 2022-05-24 09:46:05 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-05-24 09:46:05 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-05-24 09:46:05 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-05-24 09:46:06 | [Mutex] waiting for: [user_regularrw5qby0203@test-domain.com:message:received:content_lg5vbo0208] 2022-05-24 09:46:06 | [Mutex] waiting for: [user_regularrw5qby0203@test-domain.com:message:received:content_lg5vbo0208] 2022-05-24 09:46:06 | [Mutex] waiting for: [user_regularrw5qby0203@test-domain.com:message:received:content_lg5vbo0208] 2022-05-24 09:46:21 | [Mutex] timeout. Not received [user_regularrw5qby0203@test-domain.com:message:received:content_lg5vbo0208] 2022-05-24 09:46:21 | [Mutex] received everything. 2022-05-24 09:46:21 | [Mutex] isItemNotified: user_regularrw5qby0203@test-domain.com:message:received:content_lg5vbo0208 :: false 2022-05-24 09:46:21 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_lg5vbo0208 :: true |