Test duration : 44.782s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.637s |
2022-07-05 23:08:13 |
2022-07-05 23:08:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-07-05 23:08:13 | ------------------------------------ 2022-07-05 23:08:13 | [Mutex] isItemNotified: node_p59hyd0204:exists :: false 2022-07-05 23:08:13 | [Mutex] waiting for: [node_p59hyd0204:create_node] 2022-07-05 23:08:13 | [Mutex] received everything. 2022-07-05 23:08:13 | [Mutex] isItemNotified: node_p59hyd0204:create_node:success :: true 2022-07-05 23:08:13 | [Mutex] waiting for: [node_p59hyd0204:subscribe_node] 2022-07-05 23:08:13 | [Mutex] received everything. 2022-07-05 23:08:13 | [Mutex] isItemNotified: node_p59hyd0204:subscribe_node:success :: true 2022-07-05 23:08:13 | ===== publishing normal message (to online) 2022-07-05 23:08:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-05 23:08:13 | command: <data><node>node_p59hyd0204</node><entry><content>content_odxo7y0205</content></entry></data> 2022-07-05 23:08:13 | target: http://localhost:8088 2022-07-05 23:08:13 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-05 23:08:13 | entity: <data><node>node_p59hyd0204</node><entry><content>content_odxo7y0205</content></entry></data> 2022-07-05 23:08:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 06 Jul 2022 06:08:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-05 23:08:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>36845336-b9ed-425b-994a-cf9dd92f018b</value></item-id></result> 2022-07-05 23:08:13 | contains: true 2022-07-05 23:08:13 | [Mutex] received everything. 2022-07-05 23:08:13 | [Mutex] isItemNotified: user_regulariyuaa60203@test-domain.com:message:received:content_odxo7y0205 :: true 2022-07-05 23:08:13 | ===== publishing already old message - expecting message being filtered out (to online) 2022-07-05 23:08:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-05 23:08:13 | command: <data><node>node_p59hyd0204</node><expire-at>2022-07-06T06:08:08Z</expire-at><entry><content>content_azuub30206</content></entry></data> 2022-07-05 23:08:13 | target: http://localhost:8088 2022-07-05 23:08:13 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-05 23:08:13 | entity: <data><node>node_p59hyd0204</node><expire-at>2022-07-06T06:08:08Z</expire-at><entry><content>content_azuub30206</content></entry></data> 2022-07-05 23:08:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 06 Jul 2022 06:08:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-05 23:08:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c04cfc10-50d3-4a11-98f1-b864188a090b</value></item-id></result> 2022-07-05 23:08:13 | contains: true 2022-07-05 23:08:13 | [Mutex] waiting for: [user_regulariyuaa60203@test-domain.com:message:received:content_azuub30206] 2022-07-05 23:08:28 | [Mutex] timeout. Not received [user_regulariyuaa60203@test-domain.com:message:received:content_azuub30206] 2022-07-05 23:08:28 | [Mutex] isItemNotified: user_regulariyuaa60203@test-domain.com:message:received:content_azuub30206 :: false 2022-07-05 23:08:28 | ===== publishing normal message (to offline) 2022-07-05 23:08:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-05 23:08:28 | command: <data><node>node_p59hyd0204</node><entry><content>content_vmyow0207</content></entry></data> 2022-07-05 23:08:28 | target: http://localhost:8088 2022-07-05 23:08:28 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2022-07-05 23:08:28 | entity: <data><node>node_p59hyd0204</node><entry><content>content_vmyow0207</content></entry></data> 2022-07-05 23:08:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 06 Jul 2022 06:08:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-05 23:08:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>167b20cb-9aac-4214-a44a-0a320c1ad96a</value></item-id></result> 2022-07-05 23:08:28 | contains: true 2022-07-05 23:08:33 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-05 23:08:33 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-07-05 23:08:33 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-05 23:08:33 | [Mutex] waiting for: [user_regulariyuaa60203@test-domain.com:message:received:content_vmyow0207] 2022-07-05 23:08:33 | [Mutex] received everything. 2022-07-05 23:08:33 | [Mutex] isItemNotified: user_regulariyuaa60203@test-domain.com:message:received:content_vmyow0207 :: true 2022-07-05 23:08:33 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-07-05 23:08:33 | [Mutex] received everything. 2022-07-05 23:08:33 | [Mutex] isItemNotified: node_p59hyd0204:subscribe_node:success :: true 2022-07-05 23:08:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-05 23:08:33 | command: <data><node>node_p59hyd0204</node><expire-at>2022-07-06T06:08:38Z</expire-at><entry><content>content_f9sxdi0208</content></entry></data> 2022-07-05 23:08:33 | target: http://localhost:8088 2022-07-05 23:08:33 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-05 23:08:33 | entity: <data><node>node_p59hyd0204</node><expire-at>2022-07-06T06:08:38Z</expire-at><entry><content>content_f9sxdi0208</content></entry></data> 2022-07-05 23:08:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 06 Jul 2022 06:08:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-05 23:08:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9d2116f4-4a45-43b9-a03d-7e2b736a75b8</value></item-id></result> 2022-07-05 23:08:33 | contains: true 2022-07-05 23:08:41 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-05 23:08:41 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-07-05 23:08:41 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-05 23:08:42 | [Mutex] waiting for: [user_regulariyuaa60203@test-domain.com:message:received:content_f9sxdi0208] 2022-07-05 23:08:42 | [Mutex] waiting for: [user_regulariyuaa60203@test-domain.com:message:received:content_f9sxdi0208] 2022-07-05 23:08:57 | [Mutex] timeout. Not received [user_regulariyuaa60203@test-domain.com:message:received:content_f9sxdi0208] 2022-07-05 23:08:57 | [Mutex] received everything. 2022-07-05 23:08:57 | [Mutex] isItemNotified: user_regulariyuaa60203@test-domain.com:message:received:content_f9sxdi0208 :: false 2022-07-05 23:08:57 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_f9sxdi0208 :: true |