Test duration: 45.457s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.679s |
2020-06-02 13:42:53 |
2020-06-02 13:42:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-06-02 13:42:53 | ------------------------------------ 2020-06-02 13:42:53 | [Mutex] isItemNotified: node_1e4pw60206:exists :: false 2020-06-02 13:42:53 | [Mutex] waiting for: [node_1e4pw60206:create_node] 2020-06-02 13:42:53 | [Mutex] received everything. 2020-06-02 13:42:53 | [Mutex] isItemNotified: node_1e4pw60206:create_node:success :: true 2020-06-02 13:42:53 | [Mutex] waiting for: [node_1e4pw60206:subscribe_node] 2020-06-02 13:42:53 | [Mutex] received everything. 2020-06-02 13:42:53 | [Mutex] isItemNotified: node_1e4pw60206:subscribe_node:success :: true 2020-06-02 13:42:53 | ===== publishing normal message (to online) 2020-06-02 13:42:53 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-02 13:42:53 | command: <data><node>node_1e4pw60206</node><entry><content>content_44vv7a0207</content></entry></data> 2020-06-02 13:42:53 | target: http://localhost:8088 2020-06-02 13:42:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-06-02 13:42:53 | entity: <data><node>node_1e4pw60206</node><entry><content>content_44vv7a0207</content></entry></data> 2020-06-02 13:42:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 02 Jun 2020 20:42:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-02 13:42:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e5b7111e-8dbc-4341-850d-f99e16d980ff</value></item-id></result> 2020-06-02 13:42:53 | contains: true 2020-06-02 13:42:53 | [Mutex] waiting for: [user_regular80t27p0205@localhost:message:received:content_44vv7a0207] 2020-06-02 13:42:53 | [Mutex] received everything. 2020-06-02 13:42:53 | [Mutex] isItemNotified: user_regular80t27p0205@localhost:message:received:content_44vv7a0207 :: true 2020-06-02 13:42:53 | ===== publishing already old message - expecting message being filtered out (to online) 2020-06-02 13:42:53 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-02 13:42:53 | command: <data><node>node_1e4pw60206</node><expire-at>2020-06-02T20:42:48Z</expire-at><entry><content>content_hwaft60208</content></entry></data> 2020-06-02 13:42:53 | target: http://localhost:8088 2020-06-02 13:42:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-06-02 13:42:53 | entity: <data><node>node_1e4pw60206</node><expire-at>2020-06-02T20:42:48Z</expire-at><entry><content>content_hwaft60208</content></entry></data> 2020-06-02 13:42:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 02 Jun 2020 20:42:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-02 13:42:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>57c03099-d24a-4439-a877-b5f91e4958cf</value></item-id></result> 2020-06-02 13:42:53 | contains: true 2020-06-02 13:42:53 | [Mutex] waiting for: [user_regular80t27p0205@localhost:message:received:content_hwaft60208] 2020-06-02 13:43:08 | [Mutex] timeout. Not received [user_regular80t27p0205@localhost:message:received:content_hwaft60208] 2020-06-02 13:43:08 | [Mutex] isItemNotified: user_regular80t27p0205@localhost:message:received:content_hwaft60208 :: false 2020-06-02 13:43:08 | ===== publishing normal message (to offline) 2020-06-02 13:43:08 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-02 13:43:08 | command: <data><node>node_1e4pw60206</node><entry><content>content_mx07zs0209</content></entry></data> 2020-06-02 13:43:08 | target: http://localhost:8088 2020-06-02 13:43:08 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-06-02 13:43:08 | entity: <data><node>node_1e4pw60206</node><entry><content>content_mx07zs0209</content></entry></data> 2020-06-02 13:43:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 02 Jun 2020 20:43:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-02 13:43:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bc08a942-5aae-40a9-9c6e-7dbfafd4e4a6</value></item-id></result> 2020-06-02 13:43:08 | contains: true 2020-06-02 13:43:13 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2020-06-02 13:43:13 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=491 thread=1] DNS entry stored in session object: localhost:5222 2020-06-02 13:43:13 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=491 thread=1] Opening connection to localhost/127.0.0.1:5222 2020-06-02 13:43:13 | [Mutex] waiting for: [user_regular80t27p0205@localhost:message:received:content_mx07zs0209] 2020-06-02 13:43:13 | [Mutex] waiting for: [user_regular80t27p0205@localhost:message:received:content_mx07zs0209] 2020-06-02 13:43:13 | [Mutex] received everything. 2020-06-02 13:43:13 | [Mutex] isItemNotified: user_regular80t27p0205@localhost:message:received:content_mx07zs0209 :: true 2020-06-02 13:43:13 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-06-02 13:43:13 | [Mutex] received everything. 2020-06-02 13:43:13 | [Mutex] isItemNotified: node_1e4pw60206:subscribe_node:success :: true 2020-06-02 13:43:13 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-02 13:43:13 | command: <data><node>node_1e4pw60206</node><expire-at>2020-06-02T20:43:18Z</expire-at><entry><content>content_5nq1r30210</content></entry></data> 2020-06-02 13:43:13 | target: http://localhost:8088 2020-06-02 13:43:13 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-06-02 13:43:13 | entity: <data><node>node_1e4pw60206</node><expire-at>2020-06-02T20:43:18Z</expire-at><entry><content>content_5nq1r30210</content></entry></data> 2020-06-02 13:43:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 02 Jun 2020 20:43:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-02 13:43:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0eee814b-20fb-4d4f-b093-fb6a1a1dc9e6</value></item-id></result> 2020-06-02 13:43:13 | contains: true 2020-06-02 13:43:21 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2020-06-02 13:43:21 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=492 thread=1] DNS entry stored in session object: localhost:5222 2020-06-02 13:43:21 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=492 thread=1] Opening connection to localhost/127.0.0.1:5222 2020-06-02 13:43:22 | [Mutex] waiting for: [user_regular80t27p0205@localhost:message:received:content_5nq1r30210] 2020-06-02 13:43:22 | [Mutex] waiting for: [user_regular80t27p0205@localhost:message:received:content_5nq1r30210] 2020-06-02 13:43:22 | [Mutex] waiting for: [user_regular80t27p0205@localhost:message:received:content_5nq1r30210] 2020-06-02 13:43:37 | [Mutex] timeout. Not received [user_regular80t27p0205@localhost:message:received:content_5nq1r30210] 2020-06-02 13:43:37 | [Mutex] received everything. 2020-06-02 13:43:37 | [Mutex] isItemNotified: user_regular80t27p0205@localhost:message:received:content_5nq1r30210 :: false 2020-06-02 13:43:37 | [Mutex] isItemNotified: admin@localhost:message:received:content_5nq1r30210 :: true |