Test duration: 45.363s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.640s |
2020-02-02 19:22:24 |
2020-02-02 19:22:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-02-02 19:22:24 | ------------------------------------ 2020-02-02 19:22:24 | [Mutex] isItemNotified: node_4t7ct20202:exists :: false 2020-02-02 19:22:24 | [Mutex] waiting for: [node_4t7ct20202:create_node] 2020-02-02 19:22:24 | [Mutex] received everything. 2020-02-02 19:22:24 | [Mutex] isItemNotified: node_4t7ct20202:create_node:success :: true 2020-02-02 19:22:24 | [Mutex] waiting for: [node_4t7ct20202:subscribe_node] 2020-02-02 19:22:24 | [Mutex] received everything. 2020-02-02 19:22:24 | [Mutex] isItemNotified: node_4t7ct20202:subscribe_node:success :: true 2020-02-02 19:22:24 | ===== publishing normal message (to online) 2020-02-02 19:22:24 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-02-02 19:22:24 | command: <data><node>node_4t7ct20202</node><entry><content>content_dkublf0203</content></entry></data> 2020-02-02 19:22:24 | target: http://localhost:8088 2020-02-02 19:22:24 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-02-02 19:22:24 | entity: <data><node>node_4t7ct20202</node><entry><content>content_dkublf0203</content></entry></data> 2020-02-02 19:22:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 03 Feb 2020 03:22:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-02-02 19:22:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0ba027b0-3564-4ce2-a698-474276cc91a7</value></item-id></result> 2020-02-02 19:22:24 | contains: true 2020-02-02 19:22:24 | [Mutex] received everything. 2020-02-02 19:22:24 | [Mutex] isItemNotified: user_regularw8oc9n0201@localhost:message:received:content_dkublf0203 :: true 2020-02-02 19:22:24 | ===== publishing already old message - expecting message being filtered out (to online) 2020-02-02 19:22:24 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-02-02 19:22:24 | command: <data><node>node_4t7ct20202</node><expire-at>2020-02-03T03:22:19Z</expire-at><entry><content>content_m205zu0204</content></entry></data> 2020-02-02 19:22:24 | target: http://localhost:8088 2020-02-02 19:22:24 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-02-02 19:22:24 | entity: <data><node>node_4t7ct20202</node><expire-at>2020-02-03T03:22:19Z</expire-at><entry><content>content_m205zu0204</content></entry></data> 2020-02-02 19:22:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 03 Feb 2020 03:22:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-02-02 19:22:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0f96c9e2-c872-40c6-b9d5-51e5faedd480</value></item-id></result> 2020-02-02 19:22:24 | contains: true 2020-02-02 19:22:24 | [Mutex] waiting for: [user_regularw8oc9n0201@localhost:message:received:content_m205zu0204] 2020-02-02 19:22:39 | [Mutex] timeout. Not received [user_regularw8oc9n0201@localhost:message:received:content_m205zu0204] 2020-02-02 19:22:39 | [Mutex] isItemNotified: user_regularw8oc9n0201@localhost:message:received:content_m205zu0204 :: false 2020-02-02 19:22:39 | ===== publishing normal message (to offline) 2020-02-02 19:22:39 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-02-02 19:22:39 | command: <data><node>node_4t7ct20202</node><entry><content>content_qtky60205</content></entry></data> 2020-02-02 19:22:39 | target: http://localhost:8088 2020-02-02 19:22:39 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2020-02-02 19:22:39 | entity: <data><node>node_4t7ct20202</node><entry><content>content_qtky60205</content></entry></data> 2020-02-02 19:22:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 03 Feb 2020 03:22:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-02-02 19:22:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2077dbaa-f772-45af-adc0-0512da8be026</value></item-id></result> 2020-02-02 19:22:39 | contains: true 2020-02-02 19:22:44 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2020-02-02 19:22:44 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2020-02-02 19:22:44 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2020-02-02 19:22:44 | [Mutex] waiting for: [user_regularw8oc9n0201@localhost:message:received:content_qtky60205] 2020-02-02 19:22:44 | [Mutex] waiting for: [user_regularw8oc9n0201@localhost:message:received:content_qtky60205] 2020-02-02 19:22:44 | [Mutex] received everything. 2020-02-02 19:22:44 | [Mutex] isItemNotified: user_regularw8oc9n0201@localhost:message:received:content_qtky60205 :: true 2020-02-02 19:22:44 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-02-02 19:22:44 | [Mutex] received everything. 2020-02-02 19:22:44 | [Mutex] isItemNotified: node_4t7ct20202:subscribe_node:success :: true 2020-02-02 19:22:44 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-02-02 19:22:44 | command: <data><node>node_4t7ct20202</node><expire-at>2020-02-03T03:22:49Z</expire-at><entry><content>content_si169s0206</content></entry></data> 2020-02-02 19:22:44 | target: http://localhost:8088 2020-02-02 19:22:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-02-02 19:22:44 | entity: <data><node>node_4t7ct20202</node><expire-at>2020-02-03T03:22:49Z</expire-at><entry><content>content_si169s0206</content></entry></data> 2020-02-02 19:22:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 03 Feb 2020 03:22:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-02-02 19:22:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e704865a-8e5a-4900-a9e2-74e3f38b6002</value></item-id></result> 2020-02-02 19:22:44 | contains: true 2020-02-02 19:22:52 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2020-02-02 19:22:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=487 thread=1] DNS entry stored in session object: localhost:5222 2020-02-02 19:22:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=487 thread=1] Opening connection to localhost/127.0.0.1:5222 2020-02-02 19:22:53 | [Mutex] waiting for: [user_regularw8oc9n0201@localhost:message:received:content_si169s0206] 2020-02-02 19:22:53 | [Mutex] waiting for: [user_regularw8oc9n0201@localhost:message:received:content_si169s0206] 2020-02-02 19:22:53 | [Mutex] waiting for: [user_regularw8oc9n0201@localhost:message:received:content_si169s0206] 2020-02-02 19:23:08 | [Mutex] timeout. Not received [user_regularw8oc9n0201@localhost:message:received:content_si169s0206] 2020-02-02 19:23:08 | [Mutex] received everything. 2020-02-02 19:23:08 | [Mutex] isItemNotified: user_regularw8oc9n0201@localhost:message:received:content_si169s0206 :: false 2020-02-02 19:23:08 | [Mutex] isItemNotified: admin@localhost:message:received:content_si169s0206 :: true |