Test duration: 44.788s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.682s |
2019-11-22 20:42:58 |
2019-11-22 20:42:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2019-11-22 20:42:58 | ------------------------------------ 2019-11-22 20:42:58 | [Mutex] isItemNotified: node_7e6c0d0184:exists :: false 2019-11-22 20:42:58 | [Mutex] waiting for: [node_7e6c0d0184:create_node] 2019-11-22 20:42:58 | [Mutex] received everything. 2019-11-22 20:42:58 | [Mutex] isItemNotified: node_7e6c0d0184:create_node:success :: true 2019-11-22 20:42:58 | [Mutex] waiting for: [node_7e6c0d0184:subscribe_node] 2019-11-22 20:42:58 | [Mutex] received everything. 2019-11-22 20:42:58 | [Mutex] isItemNotified: node_7e6c0d0184:subscribe_node:success :: true 2019-11-22 20:42:58 | ===== publishing normal message (to online) 2019-11-22 20:42:58 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2019-11-22 20:42:58 | command: <data><node>node_7e6c0d0184</node><entry><content>content_5d56oy0185</content></entry></data> 2019-11-22 20:42:58 | target: http://localhost:8088 2019-11-22 20:42:58 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2019-11-22 20:42:58 | entity: <data><node>node_7e6c0d0184</node><entry><content>content_5d56oy0185</content></entry></data> 2019-11-22 20:42:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 23 Nov 2019 04:42:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2019-11-22 20:42:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4459bd05-29fc-4e69-a01a-25b6a0e927ee</value></item-id></result> 2019-11-22 20:42:58 | contains: true 2019-11-22 20:42:58 | [Mutex] received everything. 2019-11-22 20:42:58 | [Mutex] isItemNotified: user_regularyfzuh20183@localhost:message:received:content_5d56oy0185 :: true 2019-11-22 20:42:58 | ===== publishing already old message - expecting message being filtered out (to online) 2019-11-22 20:42:58 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2019-11-22 20:42:58 | command: <data><node>node_7e6c0d0184</node><expire-at>2019-11-23T04:42:53Z</expire-at><entry><content>content_dxmp460186</content></entry></data> 2019-11-22 20:42:58 | target: http://localhost:8088 2019-11-22 20:42:58 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2019-11-22 20:42:58 | entity: <data><node>node_7e6c0d0184</node><expire-at>2019-11-23T04:42:53Z</expire-at><entry><content>content_dxmp460186</content></entry></data> 2019-11-22 20:42:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 23 Nov 2019 04:42:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2019-11-22 20:42:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ac60a79c-e557-4eaf-831f-18ef2e5e0c40</value></item-id></result> 2019-11-22 20:42:58 | contains: true 2019-11-22 20:42:58 | [Mutex] waiting for: [user_regularyfzuh20183@localhost:message:received:content_dxmp460186] 2019-11-22 20:43:13 | [Mutex] timeout. Not received [user_regularyfzuh20183@localhost:message:received:content_dxmp460186] 2019-11-22 20:43:13 | [Mutex] isItemNotified: user_regularyfzuh20183@localhost:message:received:content_dxmp460186 :: false 2019-11-22 20:43:13 | ===== publishing normal message (to offline) 2019-11-22 20:43:13 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2019-11-22 20:43:13 | command: <data><node>node_7e6c0d0184</node><entry><content>content_nd8vgu0187</content></entry></data> 2019-11-22 20:43:13 | target: http://localhost:8088 2019-11-22 20:43:13 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2019-11-22 20:43:13 | entity: <data><node>node_7e6c0d0184</node><entry><content>content_nd8vgu0187</content></entry></data> 2019-11-22 20:43:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 23 Nov 2019 04:43:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2019-11-22 20:43:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4f4d894b-40ee-43f6-92f2-64ecc1e7cec6</value></item-id></result> 2019-11-22 20:43:13 | contains: true 2019-11-22 20:43:18 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2019-11-22 20:43:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=457 thread=1] DNS entry stored in session object: localhost:5222 2019-11-22 20:43:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=457 thread=1] Opening connection to localhost/127.0.0.1:5222 2019-11-22 20:43:18 | [Mutex] waiting for: [user_regularyfzuh20183@localhost:message:received:content_nd8vgu0187] 2019-11-22 20:43:18 | [Mutex] waiting for: [user_regularyfzuh20183@localhost:message:received:content_nd8vgu0187] 2019-11-22 20:43:18 | [Mutex] received everything. 2019-11-22 20:43:18 | [Mutex] isItemNotified: user_regularyfzuh20183@localhost:message:received:content_nd8vgu0187 :: true 2019-11-22 20:43:18 | ===== publishing already old message - expecting message being filtered out (to offline) 2019-11-22 20:43:18 | [Mutex] received everything. 2019-11-22 20:43:18 | [Mutex] isItemNotified: node_7e6c0d0184:subscribe_node:success :: true 2019-11-22 20:43:18 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2019-11-22 20:43:18 | command: <data><node>node_7e6c0d0184</node><expire-at>2019-11-23T04:43:23Z</expire-at><entry><content>content_iuxigr0188</content></entry></data> 2019-11-22 20:43:18 | target: http://localhost:8088 2019-11-22 20:43:18 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2019-11-22 20:43:18 | entity: <data><node>node_7e6c0d0184</node><expire-at>2019-11-23T04:43:23Z</expire-at><entry><content>content_iuxigr0188</content></entry></data> 2019-11-22 20:43:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 23 Nov 2019 04:43:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2019-11-22 20:43:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cb394ee1-86c0-45b0-94dd-3d5a93ebed31</value></item-id></result> 2019-11-22 20:43:19 | contains: true 2019-11-22 20:43:27 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2019-11-22 20:43:27 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=458 thread=1] DNS entry stored in session object: localhost:5222 2019-11-22 20:43:27 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=458 thread=1] Opening connection to localhost/127.0.0.1:5222 2019-11-22 20:43:27 | [Mutex] waiting for: [user_regularyfzuh20183@localhost:message:received:content_iuxigr0188] 2019-11-22 20:43:27 | [Mutex] waiting for: [user_regularyfzuh20183@localhost:message:received:content_iuxigr0188] 2019-11-22 20:43:42 | [Mutex] timeout. Not received [user_regularyfzuh20183@localhost:message:received:content_iuxigr0188] 2019-11-22 20:43:42 | [Mutex] received everything. 2019-11-22 20:43:42 | [Mutex] isItemNotified: user_regularyfzuh20183@localhost:message:received:content_iuxigr0188 :: false 2019-11-22 20:43:42 | [Mutex] isItemNotified: admin@localhost:message:received:content_iuxigr0188 :: true |