Test duration: 45.288s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.609s |
2020-06-16 22:55:40 |
2020-06-16 22:55:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-06-16 22:55:40 | ------------------------------------ 2020-06-16 22:55:40 | [Mutex] isItemNotified: node_1kryi0206:exists :: false 2020-06-16 22:55:40 | [Mutex] waiting for: [node_1kryi0206:create_node] 2020-06-16 22:55:40 | [Mutex] received everything. 2020-06-16 22:55:40 | [Mutex] isItemNotified: node_1kryi0206:create_node:success :: true 2020-06-16 22:55:40 | [Mutex] waiting for: [node_1kryi0206:subscribe_node] 2020-06-16 22:55:40 | [Mutex] received everything. 2020-06-16 22:55:40 | [Mutex] isItemNotified: node_1kryi0206:subscribe_node:success :: true 2020-06-16 22:55:40 | ===== publishing normal message (to online) 2020-06-16 22:55:40 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-16 22:55:40 | command: <data><node>node_1kryi0206</node><entry><content>content_a8mwy90207</content></entry></data> 2020-06-16 22:55:40 | target: http://localhost:8088 2020-06-16 22:55:40 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2020-06-16 22:55:40 | entity: <data><node>node_1kryi0206</node><entry><content>content_a8mwy90207</content></entry></data> 2020-06-16 22:55:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Jun 2020 05:55:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-16 22:55:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b3a79ff0-5b95-401b-acfb-8ab5b9371adb</value></item-id></result> 2020-06-16 22:55:40 | contains: true 2020-06-16 22:55:40 | [Mutex] received everything. 2020-06-16 22:55:40 | [Mutex] isItemNotified: user_regularrysuei0205@localhost:message:received:content_a8mwy90207 :: true 2020-06-16 22:55:40 | ===== publishing already old message - expecting message being filtered out (to online) 2020-06-16 22:55:40 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-16 22:55:40 | command: <data><node>node_1kryi0206</node><expire-at>2020-06-17T05:55:35Z</expire-at><entry><content>content_caytt10208</content></entry></data> 2020-06-16 22:55:40 | target: http://localhost:8088 2020-06-16 22:55:40 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2020-06-16 22:55:40 | entity: <data><node>node_1kryi0206</node><expire-at>2020-06-17T05:55:35Z</expire-at><entry><content>content_caytt10208</content></entry></data> 2020-06-16 22:55:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Jun 2020 05:55:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-16 22:55:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>dedfb783-486c-42ca-a43d-63899d263a43</value></item-id></result> 2020-06-16 22:55:40 | contains: true 2020-06-16 22:55:40 | [Mutex] waiting for: [user_regularrysuei0205@localhost:message:received:content_caytt10208] 2020-06-16 22:55:55 | [Mutex] timeout. Not received [user_regularrysuei0205@localhost:message:received:content_caytt10208] 2020-06-16 22:55:55 | [Mutex] isItemNotified: user_regularrysuei0205@localhost:message:received:content_caytt10208 :: false 2020-06-16 22:55:55 | ===== publishing normal message (to offline) 2020-06-16 22:55:55 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-16 22:55:55 | command: <data><node>node_1kryi0206</node><entry><content>content_czj0ql0209</content></entry></data> 2020-06-16 22:55:55 | target: http://localhost:8088 2020-06-16 22:55:55 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2020-06-16 22:55:55 | entity: <data><node>node_1kryi0206</node><entry><content>content_czj0ql0209</content></entry></data> 2020-06-16 22:55:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Jun 2020 05:55:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-16 22:55:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9898f07f-2721-46bf-b9eb-a86e52ba5e23</value></item-id></result> 2020-06-16 22:55:55 | contains: true 2020-06-16 22:56:00 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2020-06-16 22:56:00 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=491 thread=1] DNS entry stored in session object: localhost:5222 2020-06-16 22:56:00 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=491 thread=1] Opening connection to localhost/127.0.0.1:5222 2020-06-16 22:56:01 | [Mutex] waiting for: [user_regularrysuei0205@localhost:message:received:content_czj0ql0209] 2020-06-16 22:56:01 | [Mutex] waiting for: [user_regularrysuei0205@localhost:message:received:content_czj0ql0209] 2020-06-16 22:56:01 | [Mutex] received everything. 2020-06-16 22:56:01 | [Mutex] isItemNotified: user_regularrysuei0205@localhost:message:received:content_czj0ql0209 :: true 2020-06-16 22:56:01 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-06-16 22:56:01 | [Mutex] received everything. 2020-06-16 22:56:01 | [Mutex] isItemNotified: node_1kryi0206:subscribe_node:success :: true 2020-06-16 22:56:01 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-16 22:56:01 | command: <data><node>node_1kryi0206</node><expire-at>2020-06-17T05:56:06Z</expire-at><entry><content>content_glw10h0210</content></entry></data> 2020-06-16 22:56:01 | target: http://localhost:8088 2020-06-16 22:56:01 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2020-06-16 22:56:01 | entity: <data><node>node_1kryi0206</node><expire-at>2020-06-17T05:56:06Z</expire-at><entry><content>content_glw10h0210</content></entry></data> 2020-06-16 22:56:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Jun 2020 05:56:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-16 22:56:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a7f0120f-4249-4596-be27-16f59e0a18b8</value></item-id></result> 2020-06-16 22:56:01 | contains: true 2020-06-16 22:56:09 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2020-06-16 22:56:09 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=492 thread=1] DNS entry stored in session object: localhost:5222 2020-06-16 22:56:09 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=492 thread=1] Opening connection to localhost/127.0.0.1:5222 2020-06-16 22:56:09 | [Mutex] waiting for: [user_regularrysuei0205@localhost:message:received:content_glw10h0210] 2020-06-16 22:56:09 | [Mutex] waiting for: [user_regularrysuei0205@localhost:message:received:content_glw10h0210] 2020-06-16 22:56:09 | [Mutex] waiting for: [user_regularrysuei0205@localhost:message:received:content_glw10h0210] 2020-06-16 22:56:24 | [Mutex] timeout. Not received [user_regularrysuei0205@localhost:message:received:content_glw10h0210] 2020-06-16 22:56:24 | [Mutex] received everything. 2020-06-16 22:56:24 | [Mutex] isItemNotified: user_regularrysuei0205@localhost:message:received:content_glw10h0210 :: false 2020-06-16 22:56:24 | [Mutex] isItemNotified: admin@localhost:message:received:content_glw10h0210 :: true |