Test duration: 44.875s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.576s |
2019-11-20 20:03:44 |
2019-11-20 20:03:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2019-11-20 20:03:44 | ------------------------------------ 2019-11-20 20:03:44 | [Mutex] isItemNotified: node_gt6kpt0172:exists :: false 2019-11-20 20:03:44 | [Mutex] waiting for: [node_gt6kpt0172:create_node] 2019-11-20 20:03:44 | [Mutex] received everything. 2019-11-20 20:03:44 | [Mutex] isItemNotified: node_gt6kpt0172:create_node:success :: true 2019-11-20 20:03:44 | [Mutex] waiting for: [node_gt6kpt0172:subscribe_node] 2019-11-20 20:03:44 | [Mutex] received everything. 2019-11-20 20:03:44 | [Mutex] isItemNotified: node_gt6kpt0172:subscribe_node:success :: true 2019-11-20 20:03:44 | ===== publishing normal message (to online) 2019-11-20 20:03:44 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2019-11-20 20:03:44 | command: <data><node>node_gt6kpt0172</node><entry><content>content_a2yi130173</content></entry></data> 2019-11-20 20:03:44 | target: http://localhost:8088 2019-11-20 20:03:44 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2019-11-20 20:03:44 | entity: <data><node>node_gt6kpt0172</node><entry><content>content_a2yi130173</content></entry></data> 2019-11-20 20:03:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 21 Nov 2019 04:03:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2019-11-20 20:03:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d79c9d63-2fdc-4ee5-a7ff-e2e6b1c7b0eb</value></item-id></result> 2019-11-20 20:03:44 | contains: true 2019-11-20 20:03:44 | [Mutex] received everything. 2019-11-20 20:03:44 | [Mutex] isItemNotified: user_regular8du7br0171@localhost:message:received:content_a2yi130173 :: true 2019-11-20 20:03:44 | ===== publishing already old message - expecting message being filtered out (to online) 2019-11-20 20:03:44 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2019-11-20 20:03:44 | command: <data><node>node_gt6kpt0172</node><expire-at>2019-11-21T04:03:39Z</expire-at><entry><content>content_lrbkeb0174</content></entry></data> 2019-11-20 20:03:44 | target: http://localhost:8088 2019-11-20 20:03:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2019-11-20 20:03:44 | entity: <data><node>node_gt6kpt0172</node><expire-at>2019-11-21T04:03:39Z</expire-at><entry><content>content_lrbkeb0174</content></entry></data> 2019-11-20 20:03:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 21 Nov 2019 04:03:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2019-11-20 20:03:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e361b8d4-a719-4f2a-8735-0710d094a5f9</value></item-id></result> 2019-11-20 20:03:44 | contains: true 2019-11-20 20:03:44 | [Mutex] waiting for: [user_regular8du7br0171@localhost:message:received:content_lrbkeb0174] 2019-11-20 20:03:59 | [Mutex] timeout. Not received [user_regular8du7br0171@localhost:message:received:content_lrbkeb0174] 2019-11-20 20:03:59 | [Mutex] isItemNotified: user_regular8du7br0171@localhost:message:received:content_lrbkeb0174 :: false 2019-11-20 20:03:59 | ===== publishing normal message (to offline) 2019-11-20 20:03:59 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2019-11-20 20:03:59 | command: <data><node>node_gt6kpt0172</node><entry><content>content_wzonb80175</content></entry></data> 2019-11-20 20:03:59 | target: http://localhost:8088 2019-11-20 20:03:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2019-11-20 20:03:59 | entity: <data><node>node_gt6kpt0172</node><entry><content>content_wzonb80175</content></entry></data> 2019-11-20 20:03:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 21 Nov 2019 04:03:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2019-11-20 20:03:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c19068eb-8b6b-4359-94de-8fc2a9eab1a8</value></item-id></result> 2019-11-20 20:03:59 | contains: true 2019-11-20 20:04:04 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2019-11-20 20:04:04 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=433 thread=1] DNS entry stored in session object: localhost:5222 2019-11-20 20:04:04 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=433 thread=1] Opening connection to localhost/127.0.0.1:5222 2019-11-20 20:04:05 | [Mutex] waiting for: [user_regular8du7br0171@localhost:message:received:content_wzonb80175] 2019-11-20 20:04:05 | [Mutex] waiting for: [user_regular8du7br0171@localhost:message:received:content_wzonb80175] 2019-11-20 20:04:05 | [Mutex] received everything. 2019-11-20 20:04:05 | [Mutex] isItemNotified: user_regular8du7br0171@localhost:message:received:content_wzonb80175 :: true 2019-11-20 20:04:05 | ===== publishing already old message - expecting message being filtered out (to offline) 2019-11-20 20:04:05 | [Mutex] received everything. 2019-11-20 20:04:05 | [Mutex] isItemNotified: node_gt6kpt0172:subscribe_node:success :: true 2019-11-20 20:04:05 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2019-11-20 20:04:05 | command: <data><node>node_gt6kpt0172</node><expire-at>2019-11-21T04:04:10Z</expire-at><entry><content>content_yn9ed00176</content></entry></data> 2019-11-20 20:04:05 | target: http://localhost:8088 2019-11-20 20:04:05 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2019-11-20 20:04:05 | entity: <data><node>node_gt6kpt0172</node><expire-at>2019-11-21T04:04:10Z</expire-at><entry><content>content_yn9ed00176</content></entry></data> 2019-11-20 20:04:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 21 Nov 2019 04:04:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2019-11-20 20:04:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bdad42f3-a35e-4f75-bdb9-3172115cdfee</value></item-id></result> 2019-11-20 20:04:05 | contains: true 2019-11-20 20:04:13 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2019-11-20 20:04:13 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=434 thread=1] DNS entry stored in session object: localhost:5222 2019-11-20 20:04:13 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=434 thread=1] Opening connection to localhost/127.0.0.1:5222 2019-11-20 20:04:13 | [Mutex] waiting for: [user_regular8du7br0171@localhost:message:received:content_yn9ed00176] 2019-11-20 20:04:13 | [Mutex] waiting for: [user_regular8du7br0171@localhost:message:received:content_yn9ed00176] 2019-11-20 20:04:13 | [Mutex] waiting for: [user_regular8du7br0171@localhost:message:received:content_yn9ed00176] 2019-11-20 20:04:28 | [Mutex] timeout. Not received [user_regular8du7br0171@localhost:message:received:content_yn9ed00176] 2019-11-20 20:04:28 | [Mutex] received everything. 2019-11-20 20:04:28 | [Mutex] isItemNotified: user_regular8du7br0171@localhost:message:received:content_yn9ed00176 :: false 2019-11-20 20:04:28 | [Mutex] isItemNotified: admin@localhost:message:received:content_yn9ed00176 :: true |