Test duration: 101.143s
| Passed Tests | ||
|---|---|---|
| tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
| testMessageExpiration | 100.455s |
2017-11-29 09:34:23 |
2017-11-29 09:34:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2017-11-29 09:34:23 | ------------------------------------ 2017-11-29 09:34:23 | [Mutex] isItemNotified: node_2g1dqo0106:exists :: false 2017-11-29 09:34:23 | [Mutex] waiting for: [node_2g1dqo0106:create_node] 2017-11-29 09:34:23 | [Mutex] received everything. 2017-11-29 09:34:23 | [Mutex] isItemNotified: node_2g1dqo0106:create_node:success :: true 2017-11-29 09:34:23 | [Mutex] waiting for: [node_2g1dqo0106:subscribe_node] 2017-11-29 09:34:23 | [Mutex] received everything. 2017-11-29 09:34:23 | [Mutex] isItemNotified: node_2g1dqo0106:subscribe_node:success :: true 2017-11-29 09:34:23 | ===== publishing normal message (to online) 2017-11-29 09:34:23 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2017-11-29 09:34:23 | command: <data><node>node_2g1dqo0106</node><entry><content>content_17v56w0107</content></entry></data> 2017-11-29 09:34:23 | target: http://localhost:8088 2017-11-29 09:34:23 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2017-11-29 09:34:23 | entity: <data><node>node_2g1dqo0106</node><entry><content>content_17v56w0107</content></entry></data> 2017-11-29 09:34:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 29 Nov 2017 08:34:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2017-11-29 09:34:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3948830e-bf3c-4394-a298-8a4b71a9638e</value></item-id></result> 2017-11-29 09:34:23 | contains: true 2017-11-29 09:34:23 | [Mutex] received everything. 2017-11-29 09:34:23 | [Mutex] isItemNotified: user_regularj7xd2o0105@localhost:message:received:content_17v56w0107 :: true 2017-11-29 09:34:23 | ===== publishing already old message - expecting message being filtered out (to online) 2017-11-29 09:34:23 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2017-11-29 09:34:23 | command: <data><node>node_2g1dqo0106</node><expire-at>2017-11-29T08:34:18Z</expire-at><entry><content>content_41pw540108</content></entry></data> 2017-11-29 09:34:23 | target: http://localhost:8088 2017-11-29 09:34:23 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2017-11-29 09:34:23 | entity: <data><node>node_2g1dqo0106</node><expire-at>2017-11-29T08:34:18Z</expire-at><entry><content>content_41pw540108</content></entry></data> 2017-11-29 09:34:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 29 Nov 2017 08:34:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2017-11-29 09:34:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b6ac26b7-4ecc-4f65-8b46-cb2c372ba2b3</value></item-id></result> 2017-11-29 09:34:23 | contains: true 2017-11-29 09:34:23 | [Mutex] waiting for: [user_regularj7xd2o0105@localhost:message:received:content_41pw540108] 2017-11-29 09:35:08 | [Mutex] timeout. Not received [user_regularj7xd2o0105@localhost:message:received:content_41pw540108] 2017-11-29 09:35:08 | [Mutex] isItemNotified: user_regularj7xd2o0105@localhost:message:received:content_41pw540108 :: false 2017-11-29 09:35:08 | ===== publishing normal message (to offline) 2017-11-29 09:35:13 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2017-11-29 09:35:13 | command: <data><node>node_2g1dqo0106</node><entry><content>content_a78l550109</content></entry></data> 2017-11-29 09:35:13 | target: http://localhost:8088 2017-11-29 09:35:13 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2017-11-29 09:35:13 | entity: <data><node>node_2g1dqo0106</node><entry><content>content_a78l550109</content></entry></data> 2017-11-29 09:35:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 29 Nov 2017 08:35:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2017-11-29 09:35:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d10620e2-5f36-409b-bea8-451d8302ad34</value></item-id></result> 2017-11-29 09:35:13 | contains: true 2017-11-29 09:35:18 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2017-11-29 09:35:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.createSocket: Opening connection to localhost/127.0.0.1:5222 2017-11-29 09:35:23 | [Mutex] received everything. 2017-11-29 09:35:23 | [Mutex] isItemNotified: user_regularj7xd2o0105@localhost:message:received:content_a78l550109 :: true 2017-11-29 09:35:23 | ===== publishing already old message - expecting message being filtered out (to offline) 2017-11-29 09:35:23 | [Mutex] received everything. 2017-11-29 09:35:23 | [Mutex] isItemNotified: node_2g1dqo0106:subscribe_node:success :: true 2017-11-29 09:35:28 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2017-11-29 09:35:28 | command: <data><node>node_2g1dqo0106</node><expire-at>2017-11-29T08:35:33Z</expire-at><entry><content>content_tkum0y0110</content></entry></data> 2017-11-29 09:35:28 | target: http://localhost:8088 2017-11-29 09:35:28 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2017-11-29 09:35:28 | entity: <data><node>node_2g1dqo0106</node><expire-at>2017-11-29T08:35:33Z</expire-at><entry><content>content_tkum0y0110</content></entry></data> 2017-11-29 09:35:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 29 Nov 2017 08:35:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2017-11-29 09:35:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d8aa8267-f710-4ee3-a812-8d26324ea959</value></item-id></result> 2017-11-29 09:35:28 | contains: true 2017-11-29 09:35:48 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2017-11-29 09:35:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.createSocket: Opening connection to localhost/127.0.0.1:5222 2017-11-29 09:35:49 | [Mutex] waiting for: [user_regularj7xd2o0105@localhost:message:received:content_tkum0y0110] 2017-11-29 09:35:49 | [Mutex] waiting for: [user_regularj7xd2o0105@localhost:message:received:content_tkum0y0110] 2017-11-29 09:36:04 | [Mutex] timeout. Not received [user_regularj7xd2o0105@localhost:message:received:content_tkum0y0110] 2017-11-29 09:36:04 | [Mutex] received everything. 2017-11-29 09:36:04 | [Mutex] isItemNotified: user_regularj7xd2o0105@localhost:message:received:content_tkum0y0110 :: false 2017-11-29 09:36:04 | [Mutex] isItemNotified: admin@localhost:message:received:content_tkum0y0110 :: true |