Test duration : 44.629s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.529s |
2023-03-15 23:01:47 |
2023-03-15 23:01:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-03-15 23:01:47 | ------------------------------------ 2023-03-15 23:01:47 | [Mutex] isItemNotified: node_jprbel0208:exists :: false 2023-03-15 23:01:47 | [Mutex] waiting for: [node_jprbel0208:create_node] 2023-03-15 23:01:47 | [Mutex] received everything. 2023-03-15 23:01:47 | [Mutex] isItemNotified: node_jprbel0208:create_node:success :: true 2023-03-15 23:01:47 | [Mutex] waiting for: [node_jprbel0208:subscribe_node] 2023-03-15 23:01:47 | [Mutex] waiting for: [node_jprbel0208:subscribe_node] 2023-03-15 23:01:47 | [Mutex] received everything. 2023-03-15 23:01:47 | [Mutex] isItemNotified: node_jprbel0208:subscribe_node:success :: true 2023-03-15 23:01:47 | ===== publishing normal message (to online) 2023-03-15 23:01:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-15 23:01:47 | command: <data><node>node_jprbel0208</node><entry><content>content_x88klf0209</content></entry></data> 2023-03-15 23:01:47 | target: http://localhost:8088 2023-03-15 23:01:47 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-03-15 23:01:47 | entity: <data><node>node_jprbel0208</node><entry><content>content_x88klf0209</content></entry></data> 2023-03-15 23:01:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Mar 2023 06:01:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-15 23:01:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>23d921f8-9e80-44b3-9364-379d84295003</value></item-id></result> 2023-03-15 23:01:47 | contains: true 2023-03-15 23:01:47 | [Mutex] received everything. 2023-03-15 23:01:47 | [Mutex] isItemNotified: user_regularponkss0207@test-domain.com:message:received:content_x88klf0209 :: true 2023-03-15 23:01:47 | ===== publishing already old message - expecting message being filtered out (to online) 2023-03-15 23:01:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-15 23:01:47 | command: <data><node>node_jprbel0208</node><expire-at>2023-03-16T06:01:42Z</expire-at><entry><content>content_y0a6520210</content></entry></data> 2023-03-15 23:01:47 | target: http://localhost:8088 2023-03-15 23:01:47 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-15 23:01:47 | entity: <data><node>node_jprbel0208</node><expire-at>2023-03-16T06:01:42Z</expire-at><entry><content>content_y0a6520210</content></entry></data> 2023-03-15 23:01:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Mar 2023 06:01:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-15 23:01:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2ef674a7-f339-4493-965c-db85cc51479f</value></item-id></result> 2023-03-15 23:01:47 | contains: true 2023-03-15 23:01:47 | [Mutex] waiting for: [user_regularponkss0207@test-domain.com:message:received:content_y0a6520210] 2023-03-15 23:02:02 | [Mutex] timeout. Not received [user_regularponkss0207@test-domain.com:message:received:content_y0a6520210] 2023-03-15 23:02:02 | [Mutex] isItemNotified: user_regularponkss0207@test-domain.com:message:received:content_y0a6520210 :: false 2023-03-15 23:02:02 | ===== publishing normal message (to offline) 2023-03-15 23:02:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-15 23:02:02 | command: <data><node>node_jprbel0208</node><entry><content>content_8qohbd0211</content></entry></data> 2023-03-15 23:02:02 | target: http://localhost:8088 2023-03-15 23:02:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-03-15 23:02:02 | entity: <data><node>node_jprbel0208</node><entry><content>content_8qohbd0211</content></entry></data> 2023-03-15 23:02:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Mar 2023 06:02:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-15 23:02:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e9bc4bcb-5310-4d67-8bf3-ed0188e81335</value></item-id></result> 2023-03-15 23:02:02 | contains: true 2023-03-15 23:02:07 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-15 23:02:07 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-03-15 23:02:07 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-15 23:02:07 | [Mutex] waiting for: [user_regularponkss0207@test-domain.com:message:received:content_8qohbd0211] 2023-03-15 23:02:07 | [Mutex] waiting for: [user_regularponkss0207@test-domain.com:message:received:content_8qohbd0211] 2023-03-15 23:02:07 | [Mutex] received everything. 2023-03-15 23:02:07 | [Mutex] isItemNotified: user_regularponkss0207@test-domain.com:message:received:content_8qohbd0211 :: true 2023-03-15 23:02:07 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-03-15 23:02:07 | [Mutex] received everything. 2023-03-15 23:02:07 | [Mutex] isItemNotified: node_jprbel0208:subscribe_node:success :: true 2023-03-15 23:02:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-15 23:02:07 | command: <data><node>node_jprbel0208</node><expire-at>2023-03-16T06:02:12Z</expire-at><entry><content>content_okr6ha0212</content></entry></data> 2023-03-15 23:02:07 | target: http://localhost:8088 2023-03-15 23:02:07 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-15 23:02:07 | entity: <data><node>node_jprbel0208</node><expire-at>2023-03-16T06:02:12Z</expire-at><entry><content>content_okr6ha0212</content></entry></data> 2023-03-15 23:02:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Mar 2023 06:02:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-15 23:02:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4608199b-a8fd-4401-ab06-a7a1757244aa</value></item-id></result> 2023-03-15 23:02:07 | contains: true 2023-03-15 23:02:15 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-15 23:02:15 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-03-15 23:02:15 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-15 23:02:15 | [Mutex] waiting for: [user_regularponkss0207@test-domain.com:message:received:content_okr6ha0212] 2023-03-15 23:02:30 | [Mutex] timeout. Not received [user_regularponkss0207@test-domain.com:message:received:content_okr6ha0212] 2023-03-15 23:02:30 | [Mutex] received everything. 2023-03-15 23:02:30 | [Mutex] isItemNotified: user_regularponkss0207@test-domain.com:message:received:content_okr6ha0212 :: false 2023-03-15 23:02:30 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_okr6ha0212 :: true |