Test duration: 45.379s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.736s |
2020-06-25 00:17:29 |
2020-06-25 00:17:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-06-25 00:17:29 | ------------------------------------ 2020-06-25 00:17:29 | [Mutex] isItemNotified: node_gl2ifb0206:exists :: false 2020-06-25 00:17:29 | [Mutex] waiting for: [node_gl2ifb0206:create_node] 2020-06-25 00:17:29 | [Mutex] received everything. 2020-06-25 00:17:29 | [Mutex] isItemNotified: node_gl2ifb0206:create_node:success :: true 2020-06-25 00:17:29 | [Mutex] waiting for: [node_gl2ifb0206:subscribe_node] 2020-06-25 00:17:29 | [Mutex] received everything. 2020-06-25 00:17:29 | [Mutex] isItemNotified: node_gl2ifb0206:subscribe_node:success :: true 2020-06-25 00:17:29 | ===== publishing normal message (to online) 2020-06-25 00:17:29 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-25 00:17:29 | command: <data><node>node_gl2ifb0206</node><entry><content>content_iyubkv0207</content></entry></data> 2020-06-25 00:17:29 | target: http://localhost:8088 2020-06-25 00:17:29 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-06-25 00:17:29 | entity: <data><node>node_gl2ifb0206</node><entry><content>content_iyubkv0207</content></entry></data> 2020-06-25 00:17:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Jun 2020 07:17:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-25 00:17:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0229286a-db9a-44f7-8e52-40e253a29c06</value></item-id></result> 2020-06-25 00:17:29 | contains: true 2020-06-25 00:17:29 | [Mutex] received everything. 2020-06-25 00:17:29 | [Mutex] isItemNotified: user_regular5bfhcq0205@localhost:message:received:content_iyubkv0207 :: true 2020-06-25 00:17:29 | ===== publishing already old message - expecting message being filtered out (to online) 2020-06-25 00:17:29 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-25 00:17:29 | command: <data><node>node_gl2ifb0206</node><expire-at>2020-06-25T07:17:24Z</expire-at><entry><content>content_nkwh2a0208</content></entry></data> 2020-06-25 00:17:29 | target: http://localhost:8088 2020-06-25 00:17:29 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-06-25 00:17:29 | entity: <data><node>node_gl2ifb0206</node><expire-at>2020-06-25T07:17:24Z</expire-at><entry><content>content_nkwh2a0208</content></entry></data> 2020-06-25 00:17:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Jun 2020 07:17:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-25 00:17:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>11415327-623c-4fe1-acc4-383b60b720dd</value></item-id></result> 2020-06-25 00:17:29 | contains: true 2020-06-25 00:17:29 | [Mutex] waiting for: [user_regular5bfhcq0205@localhost:message:received:content_nkwh2a0208] 2020-06-25 00:17:44 | [Mutex] timeout. Not received [user_regular5bfhcq0205@localhost:message:received:content_nkwh2a0208] 2020-06-25 00:17:44 | [Mutex] isItemNotified: user_regular5bfhcq0205@localhost:message:received:content_nkwh2a0208 :: false 2020-06-25 00:17:44 | ===== publishing normal message (to offline) 2020-06-25 00:17:44 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-25 00:17:44 | command: <data><node>node_gl2ifb0206</node><entry><content>content_g8njcb0209</content></entry></data> 2020-06-25 00:17:44 | target: http://localhost:8088 2020-06-25 00:17:44 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-06-25 00:17:44 | entity: <data><node>node_gl2ifb0206</node><entry><content>content_g8njcb0209</content></entry></data> 2020-06-25 00:17:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Jun 2020 07:17:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-25 00:17:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5f257d9c-5443-4a77-a1f0-99701caaad07</value></item-id></result> 2020-06-25 00:17:44 | contains: true 2020-06-25 00:17:49 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2020-06-25 00:17:49 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=491 thread=1] DNS entry stored in session object: localhost:5222 2020-06-25 00:17:49 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=491 thread=1] Opening connection to localhost/127.0.0.1:5222 2020-06-25 00:17:50 | [Mutex] waiting for: [user_regular5bfhcq0205@localhost:message:received:content_g8njcb0209] 2020-06-25 00:17:50 | [Mutex] waiting for: [user_regular5bfhcq0205@localhost:message:received:content_g8njcb0209] 2020-06-25 00:17:50 | [Mutex] received everything. 2020-06-25 00:17:50 | [Mutex] isItemNotified: user_regular5bfhcq0205@localhost:message:received:content_g8njcb0209 :: true 2020-06-25 00:17:50 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-06-25 00:17:50 | [Mutex] received everything. 2020-06-25 00:17:50 | [Mutex] isItemNotified: node_gl2ifb0206:subscribe_node:success :: true 2020-06-25 00:17:50 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-25 00:17:50 | command: <data><node>node_gl2ifb0206</node><expire-at>2020-06-25T07:17:55Z</expire-at><entry><content>content_6c04ma0210</content></entry></data> 2020-06-25 00:17:50 | target: http://localhost:8088 2020-06-25 00:17:50 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-06-25 00:17:50 | entity: <data><node>node_gl2ifb0206</node><expire-at>2020-06-25T07:17:55Z</expire-at><entry><content>content_6c04ma0210</content></entry></data> 2020-06-25 00:17:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Jun 2020 07:17:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-25 00:17:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cae1d02c-9976-4b9f-8e10-9373bb09a446</value></item-id></result> 2020-06-25 00:17:50 | contains: true 2020-06-25 00:17:58 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2020-06-25 00:17:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=492 thread=1] DNS entry stored in session object: localhost:5222 2020-06-25 00:17:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=492 thread=1] Opening connection to localhost/127.0.0.1:5222 2020-06-25 00:17:58 | [Mutex] waiting for: [user_regular5bfhcq0205@localhost:message:received:content_6c04ma0210] 2020-06-25 00:17:58 | [Mutex] waiting for: [user_regular5bfhcq0205@localhost:message:received:content_6c04ma0210] 2020-06-25 00:18:13 | [Mutex] timeout. Not received [user_regular5bfhcq0205@localhost:message:received:content_6c04ma0210] 2020-06-25 00:18:13 | [Mutex] received everything. 2020-06-25 00:18:13 | [Mutex] isItemNotified: user_regular5bfhcq0205@localhost:message:received:content_6c04ma0210 :: false 2020-06-25 00:18:13 | [Mutex] isItemNotified: admin@localhost:message:received:content_6c04ma0210 :: true |